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   (12 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 Code Snippet [B4X] SMTP Errors - yiankos1    Jun 27, 2024   (2 reactions) Hello team, I have lost three days in order to find out how SMTP library works with SMTP services(smtp2go, Sendpulse etc...) without errors about RCPT and more.... Private SMTP As SMTP SMTP.Initialize("mail.smtp2go.com",587,"username","password","SMTP") SMTP.Subject = "Subject" SMTP.Body = "Body" SMTP.To.add("[email protected]") SMTP.MailFrom="[email protected]" 'DO NOT FORGET TO ADD YOUR DOMAIN SENDER... 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... B4i Question How to test SMTP Connection without sending email - mcqueccu    Aug 23, 2022 I have this application I am working on, in which users have to use their own SMTP server details to send emails.
The problem I am encountering is whiles some servers are working with TLS, some don't and rather work with SSL.
My question is,
1. Is there a way to test the connection first by without sending email.
(This can help test both TLS or SSL on the submitted server and port to know... B4i Question SMTP doesn't send emails - Alex_197    Aug 10, 2022 is a code
Private Sub SendEmail(ErrorStr As String)
Try
Dim mail As SMTP....DebugLogs = True
mail.Initialize("smtp.ionos.com", Port, "xxxx", "xxxx", "SMTP")
mail.StartTLSMode = True
mail.UseSSL=True....HtmlBody=True
mail.Send
Wait For smtp_MessageSent(Success As Boolean)
Log(Success... B4i Question sending mail smtp - Ebic (first post)    Nov 16, 2020 Ho risolto utilizzando
SMTP.StartTLSMode=False
:)... B4A Tutorial [B4X] Features that Erel recommends to avoid - Erel    Dec 6, 2023   (95 reactions) JobDone -> Wait For (j) JobDone: OkHttpUtils2 with Wait For Sub Smtp_MessageSent (and others) -> Wait For ...: https://www.b4x.com/android/forum/threads/b4x-net-library-ftp-smtp-pop-with-wait-for... B4A Tutorial [B4X] Sending emails with Gmail REST API - Erel    Jul 17, 2017   (38 reactions)   tags: Mail, b4x, google, send, Email This solution is compatible with B4A, B4J and B4i. Up until now there were two ways to send emails: 1. Using the default mobile app which required the user to actually send the message (available in B4A and B4i). 2. Using SMTP from the Net library. This required the user to enter the email account details. Both options are problematic. Now there is a third option which is to ask the user once for permission to send emails through his gmail account: https://www.b4x.com/basic4android/images... B4i Question [solved]smtp.send - Jorge Sanz (first post)    Jan 21, 2018 Hello
It worked for me, setting SMTP.StartTLSMode = False but with another email account.
Thank you... Page: 1   2   3   4   |