Emailing from the Database using DBMail sql 2012 we are seeing many emails run fine while others error. We currently run sql 2012 and have used DB mail for about 4 years but the past few months we are seeing emails not sending with the below:
The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2022-01-21T09:34:01). Exception Message: Cannot send mails to mail server. (Failure sending mail.).
)
Keep in mind this only happens here and there, yesterday 105 didn't send of well over 300. With the above error. OH and we are using Office 365, we have scoured the internet for a solution but nothing.
Can you check the relevant Email server is working fine? Even if you're sending out message from Database, it does make use of the service of that Email server there. Is there any change like account password leading to the problem?