My app is attempting to send an email using a template. The logs are saying the email has been sent but the custom email server never receives anything to send to the recipient. Am I looking at the wrong logs in Backendless? Occasionally, I receive an error message, “Exception: Could not connect to SMTP host: mail.xxxxxxxx.com, port: 465”. I am using a custom email server and have passed the access tests.
Sergey,
The app id is DEC6B808-645B-7B62-FF97-8D7C3B617700.
I am looking to make sure that the email in the SEND attempt has actually left the Backendless server. I am also investigating the receiving server, because I am not seeing receipt of any transaction at the SMTP server.
Hi @Richard_Munger,
Sorry for the long delay. Does this problem still actual for you?
Regards, Andriy
I have looked at all sides of this process, the sender (backendless), the SMTP server (the custom email server defined in backendless), and the receiving server and the recipient email client.
The email problem is caused when a third-party (like backendless) uses an SMTP server. Many of the ISPs have imposed stricter policies for email, forcing all of us to employ the following:
- Use direct SMTP server - if you use MS365 for your SMTP, change the server name to the direct server name defined by Microsoft. The same rules would also apply to Gmail or Yahoo.
- DNS changes - define DKIM, DMARC, and SPF records for your sending domain. This will prevent the email from getting rejected by the ISP or being placed into the recipient’s Junk folder.