Email Queue - Email Delivery Very Unreliable and Inconsistent

Greg Laycock asked on March 29, 2019 18:57

Good afternoon. I've got a client who relies on timely email delivery who is extremely frustrating by their Kentico website's inability to consistently deliver email. This is an older Kentico 9.0 site developed in ASPX + Portal, using a simple and standard Kentico form. I don't know how long the issue has persisted (the client only became aware of it a few months ago), but it's maddening. I've tried both the standard task interval and the application scheduler interval for email delivery. With both methods, most emails are delivered immediately, but some emails will randomly get stuck in the Kentico email queue where they will sit, often for several hours or even days, before they suddenly all send at once. I can see each form entry into the database in the event log immediately after the form is submitted, and there are no related errors. I'm leaning towards trying the external scheduler next, but since the email queue seems to be the issue, I don't know if that'll do any good. Please help!

Recent Answers


Peter Mogilnitski answered on March 29, 2019 21:42 (last edited on March 29, 2019 21:51)

You can check scheduled tasks, there is a task called Send queued emails. Check the settings there. If you really have 2 identical emails and one is sent and the other is not, I doubt that this is a Kentico issue. What about Clean email queue task? When was it run?

1 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on April 1, 2019 04:14

I've ran into this before and the issue was my client's IT department messed up their Office 365 email/SMTP settings and accounts. Once they revamped the settings and accounts there was no issue.

If Kentico is sending the emails but they are sporadic then check your SMTP provider. For simplifying things setup a free send grid account and see if the issue persists. If so there are some other web.config keys you can add if you need to turn logging on.

1 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.