Support Topics Documentation Slack YouTube Blog

Email Delays


(Parley Burnett) #1

We are experiencing cases where emails are delivered after several minutes, sometimes longer. Also, our user registration should result in two emails being sent, but sometimes only one is delivered. Are there any known issues with servers now or is there a suggested way we can test on our end?


(Anton Govorushkin) #2

Hi Parley

I’ve just tested out email sending functionality via API and also email templates (such as User made registration and Confirmation template). All of the emails are delivered no longer then in 30 seconds.

Are you always facing issue with delays or it started happening recently?

Regards Anton


(Anton Govorushkin) #3

Also please specify your application id

Regards Anton


(Parley Burnett) #4

Seems to be more recent - maybe after changes made yesterday to Security Roles and data table permissions?


(Parley Burnett) #5

Here is application ID: C535699F-7846-E672-FF7E-945594327700
Attached image of both emails that get sent after user registration at 7:45 pm. Notice large delay on second email. Still waiting ~12 later for other emails sent to other aliases.
Thanks!
http://support.backendless.com/public/attachments/c733f974d18ef120cca7779e917a8177.jpg</img>


(Anton Govorushkin) #6

Hi Parley

I’ve just connected to your app and tried registering a new user to investigate the cause of delays, but facing trouble with denied permissions for users table. Would you mind if I try testing it further?

We’ve also checked our system for absence of queue of tasks on sending emails and there is no such problem. That means if you will keep getting delays after my investigation - I’d recommend changing SMTP server to default one or any else.

Regards Anton


(Parley Burnett) #7

Hi Anton, we have reset the permissions temporarily so you can hopefully test it further. Please let me know the outcome. Thank you


(Parley Burnett) #8

Any update here? We changed even the email settings to use a different hosted email service and still found the emails to be unreliable. Some come in very fast - others are significantly delayed and a few don’t show up. (especially sending to Microsoft accounts)


(Parley Burnett) #9

Sorry for the rapid fire notes here - just wanted to add that when we use the default server, the emails send really fast and reliable, even to Microsoft accounts. However, this is not an option for us as we need the email address as appearing with our sender@domain.com. Also, we have a custom coded template that is sent and it doesn’t send (see below message)
http://support.backendless.com/public/attachments/66c141912dde767bf91c962fd4cddd0a.jpg</img>


(Ilya Veklenko) #10

Hi Parley

According to your reports, I can make the conclusion that cause of the email delay is not on the Backendless side but on your custom SMTP server.

Regards Ilya


(Thiago Almeida) #11

Hi Ilya, thanks for the update.

Is there any specific service that you recommend? We have tried 3 different providers and we keep getting unreliable results.


(Anton Govorushkin) #12

Have you tried Google’s SMTP?

Regards Anton


(Parley Burnett) #13

We are using Office 365 smtp with success now. Thank you for your help