Database mail fails after transition to TLS 1.2

%3CLINGO-SUB%20id%3D%22lingo-sub-1322666%22%20slang%3D%22en-US%22%3EDatabase%20mail%20fails%20after%20transition%20to%20TLS%201.2%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1322666%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20are%20currently%20using%20SQL%20Server%202016%2C%20which%20is%20hosted%20on%20Windows%20Server%208%20(2016).%20According%20to%20our%20company's%20policy%2C%20we%20have%20to%20transition%20our%20Windows%20server%20to%20TLS%201.2%20before%20June%202020.%20After%20transitioning%2C%20we%20noticed%20that%20our%20database%20mail%20has%20stopped%20sending%20alerts.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe%20are%20instead%20given%20the%20error%20in%20the%20Mail%20Log%3A%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20mail%20could%20not%20be%20sent%20to%20the%20recipients%20because%20of%20the%20mail%20server%20failure.%20(Sending%20Mail%20using%20Account%201003%20(2020-04-20T07%3A01%3A28).%20Exception%20Message%3A%20Cannot%20send%20mails%20to%20mail%20server.%20(Failure%20sending%20mail.).%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOur%20database%20mail%20account%20has%20SSL%20enabled%20and%20uses%20Basic%20Authentication.%20We%20are%20connected%20to%20port%20587%20of%20the%26nbsp%3Bsmtp.office365.com%20mail%20server.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWe've%20also%20made%20sure%20that%20the%20SQL%20Server%20is%20up%20to%20date%20with%20the%20latest%20cumulative%20update.%3C%2FP%3E%0A%3CP%3ECan%20anyone%20provide%20a%20resolution%20to%20this%20issue%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThank%20you%2C%3C%2FP%3E%0A%3CP%3ETuan%3C%2FP%3E%3C%2FLINGO-BODY%3E
Microsoft

Hi,

 

We are currently using SQL Server 2016, which is hosted on Windows Server 8 (2016). According to our company's policy, we have to transition our Windows server to TLS 1.2 before June 2020. After transitioning, we noticed that our database mail has stopped sending alerts.

 

We are instead given the error in the Mail Log: 

The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1003 (2020-04-20T07:01:28). Exception Message: Cannot send mails to mail server. (Failure sending mail.).

 

Our database mail account has SSL enabled and uses Basic Authentication. We are connected to port 587 of the smtp.office365.com mail server.

 

We've also made sure that the SQL Server is up to date with the latest cumulative update.

Can anyone provide a resolution to this issue?

 

Thank you,

Tuan

0 Replies