Object documentation: SMTP B4A Library New Net library - Android FTP, SMTP and POP3 - Erel    Feb 14, 2021   (21 reactions)   tags: FTP, ftp smtp pop3, Net, B4A, Email The Net library supports FTP, SMTP and POP3 protocols. This library replaces the FTP library. Both regular connections and SSL connections are supported. SMTP - Allows to directly connect to SMTP... that there are no older copies in the internal libraries folder. V1.81 - latest version V1.80 - SMTP... calling with Wait For: https://www.b4x.com/android/forum/threads/b4x-net-library-ftp-smtp-pop-with-wait-for.84821/ SMTP.AdditionalHeaders map. Allows adding headers to the messages. V1.63 - Fixes an issue... B4A Tutorial [B4X] Net library (FTP, SMTP, POP) with Wait For - Erel    Feb 14, 2021   (16 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.... B4J Code Snippet [B4X] Solving encoding issues with html mails sent with SMTP (Net library) - Erel    Mar 14, 2021   (11 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 Question Net Library - Using SMTP to send an email message. - rleiman    Oct 28, 2020 Greetings, I'm experimenting with the Net library in an attempt to send an email message using SMTP with gmail as the email server. The message is not being sent. My logs show a "False" coming from the "Success" event. No errors are reported from the Try / Catch statement in the coding. email.Initialize("smtp.gmail.com", 587, "[email protected]"... that they said to use. Outgoing Mail (SMTP) Server smtp.gmail.com Requires SSL: Yes Requires TLS: Yes... B4i Question SMTP not sending email - mcqueccu    Aug 3, 2021 I am having problem sending email with SMTP. Same code and Credentials work well in B4A and... As NavigationController
Private Page1 As Page
Private xui As XUI
Dim smtpServer As String... B4A Question SMTP auth trouble: 503 or 530 error (auth) - peacemaker    Dec 10, 2017 Hi, All Suddently B4A projects with SMTP usage stopped to work - servers return 503 like errors... always used SMTP1.UseSSL = True with port 465, it was OK. Now: 1) gmail.com: java.lang... authorization. Also tried: SMTP1.Initialize(SMTPserver,SMTPport,SMTPlogin,SMTPpass,"SMTP1") SMTP1.AuthMethod = SMTP1.AUTH_LOGIN SMTP1.UseSSL = SMTPssl 'here always True SMTP1.StartTLSMode = True Here is GMAIL sending error after timout: org.apache.commons.net.smtp... B4J Question smtp.gmail.com - Harris    Mar 3, 2020   (1 reaction) Error: java.lang.RuntimeException: Empty writer returned: 530-5.7.0 Authentication Required. Learn more at 530 5.7.0 https://support.google.com/mail/?p=WantAuthError x16sm6245133qki.89 - gsmtp After many days trying to use "Private smtp As SMTP" in my server app (which used to work just fine), I finally solved the issue stated above... CHANGE (RESET) YOUR GMAIL PASSWORD! Unusual sign-in location detected Why you must complete an additional step to sign in We've detected... B4A Question SMTP.MailFrom not working - JohnC    Apr 19, 2019 I'm using NET lib 1.80 with B4a 9.00. I have the below code: SMTP.Initialize("mail.mydomain.com",222,"[email protected]","123Pass","SMTP") SMTP.To.Add("[email protected]") SMTP.HtmlBody = False SMTP.Body = EmailBody SMTP.Subject = EmailSubject SMTP.MailFrom = "[email protected]" SMTP.AuthMethod = SMTP.AUTH_LOGIN SMTP.Send The email is sent OK, but the "From:" is the username "[email protected]" and not... B4J Question SMTP - Rejected by outbound spam filtering - aaronk    Jul 24, 2023   (1 reaction) shared hosting providers SMTP server from cPanel.
Everything was working fine until the past few... cPanel's Delivery Report it shows the result as:
ECDHE-RSA-AES256-GCM-SHA384:256 CV=no: SMTP... formed emails.
The code I am using (which was working):
Dim smtpPort As Int = 465
Dim smtpServer As String = "mail.mysite.net"
Dim user As String = "[email protected]... B4J Question SMTP.AddAttachment - marcick    Jan 12, 2023 This command require a directory and a filename. How to use other data, for example a list of string ?
Do I have to create a temporary file, fill it with my data and then use it as attachment or there... Page: 1   2   3   4   5   6   7   |