B4J Question smtp attachments with Chinese filenames - Erel (first post)    Mar 30, 2018 The Net library uses UTF8 as the encoding. I guess that your mail server doesn't. Worth testing with several mail servers.... B4A Question gmail smtp attachment speed - Erel (first post)    Jun 5, 2015   (1 reaction) I don't recommend you to use SMTP for non-small files. First it needs to encode the file with base64 encoding which can slow it down and increase the file size by 33%.
Secondly the SMTP library... B4A Library New Net library - Android FTP, SMTP and POP3 - Erel    Feb 14, 2021   (19 reactions)   tags: FTP, ftp smtp pop3, Net, B4A, Email with SMTP mails with attachments. The closing boundary was previously missing.
V1.62 - Fixes...The Net library supports FTP, SMTP and POP3 protocols. This library replaces the FTP library. Both... B4A Question SMTP cripples my attachments - padvou (first post)    Nov 15, 2012 The mail server is doing it. Strange that if i send the attached files to a gmail account and then forward them to the original destination which goes through the mail server, the attachements arrive... B4A Question MailParser / POP3 Problem handling attachments sent via SMTP - Antonio Ferreira (first post)    Jul 7, 2016 I never use B4J, but i try it on
Thank you Erel... B4A Question I need to send email with pdf created attachment - MarcoRome (first post)    Nov 16, 2021 Search:
121746
or "SMTP attachment"
https://www.b4x.com/android/forum/pages/results/?query=SMTP+attachment
... B4J Code Snippet [B4X] Solving encoding issues with html mails sent with SMTP (Net library) - Erel    Mar 14, 2021   (9 reactions) Encoding the html text with base64 avoids encoding issues, especially with MS Outlook.
This code is compatible with B4A and B4J:
Dim su As StringUtils
smtp.Body = su.EncodeBase64(html.GetBytes("utf8")) 'html = the html body
smtp.AdditionalHeaders.Put("Content-Transfer-Encoding", "BASE64")
Note that it will not work with messages with attachments.... B4A Tutorial [B4X] Net library (FTP, SMTP, POP) with Wait For - Erel    Feb 14, 2021   (14 reactions)   tags: FTP, SMTP, POP.Net, B4X Net ftp smtp pop wait -net-library-android-ftp-smtp-and-pop3.10892/#content Note that B4J and B4A libraries are identical.... B4A Question Is it possible to send more then one Attachment - Licht2002    Dec 4, 2019 Hallo, with following code i can send an Email with ONE Attachment Dim SMTP As SMTP .... .... SMTP.Initialize("smtp.gmail.com", 587, "sender@gmail.com", "xxxxx", "SMTP") SMTP.StartTLSMode = True SMTP.To.Add("xxxxxx@googlemail.com") SMTP.Subject = "Subject-Text " SMTP.Body = "Body-Text"" SMTP.AddAttachment(File.DirInternalCache , "iv_shoot.jpg") SMTP.Send If i add one more Line with "SMTP... B4A Question SMTP BCC bug? Seems to do opposite of expected. - Randori    Oct 17, 2019 it hides the TO recipient from the BCC recipient. SMTP1.Initialize("smtp.gmail.com",465,"donotreply@XXXXX.com","XXXXXXX","SMTP") SMTP1.UseSSL=True SMTP1.To.Add(toWho) SMTP1.BCC.Add("yyyyy@xxxxxxx.com") SMTP1.Subject = "INVOICE FROM XXXXXXX" SMTP1.Body = "SEE ATTACHMENT" SMTP1.AddAttachment(File.DirRootExternal, "1.pdf") SMTP1.Send Log("Attempted to Send May Have Failed: ") ... Page: 1   2   3   4   5   6   7   |