Emails send is failing sporadically - The remote certificate is invalid according to the validation

Namita Patil asked on March 3, 2021 17:37

Hi,

We are facing an issue where Emails are failing sporadically, with below error. Some of the emails are getting sent in first go itself, but some of them not. They are stuck in email queue. We have admin site hosted as an internal website on server1 and our Live site is hosted on server1 and server2, with load balancer. Do we need to see specific setting, so that these emails will never fail to send.

Error: Failure sending mail.

The remote certificate is invalid according to the validation procedure.

Thanks!

Namita

Correct Answer

Namita Patil answered on March 10, 2021 22:52

Finally, got it resolved - we have made Load balancer to point to only one smtp server. It's working fine now.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Juraj Ondrus answered on March 4, 2021 06:00

What Kentico version and hotfix are you using? From your description I assume you are using MVC or Core development model.
The emails are sent by the Kentico admin app - if it is running internally, what is the connection to the SMTP server set in the Settings? Have you tried using different SMTP server or test locally by using PaperCut SMTP tool for local testing? Or, debugging emails? I would try using CMSDebugEmails key– disables sending of emails to the actual recipients. The system only logs emails into the event log. So, if the emails will be logged in the Event log, it means Kentico can process them and would pass them to the SMTP server which would indicate that the issue is either on the SMTP server side or in the connection to the SMTP server.

0 votesVote for this answer Mark as a Correct answer

Namita Patil answered on March 7, 2021 00:10

Thanks for the response! We are using Kentico 12 version and we have set-up the SMTP server in settings already.

Yes, it is logging all the emails in the email queue, so looks like its something to do with SMTP server connection. Will check it at server side. Thanks!

Namita

0 votesVote for this answer Mark as a Correct answer

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