禁用TLS 1.0,1.1和SSL后,SQL数据库邮件未发送电子邮件 [英] SQL database mail is not sending an email after disabling TLS 1.0, 1.1 and SSL

查看:483
本文介绍了禁用TLS 1.0,1.1和SSL后,SQL数据库邮件未发送电子邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好, 


我 在SQL服务器中配置了数据库邮件,最近出于安全原因,我从同一服务器禁用了TLS 1.1,1.0和SSL,并将SQL默认端口更改为另一个,此后邮件停止向任何帐户发送任何电子邮件, 


当我发送测试消息时,它直接返回以下错误: 


Date 25/10/2018 09:57:50 AM

日志 数据库邮件(数据库邮件日志)



日志ID 1315

流程ID 6124

邮件物品ID 1142
$
最后修改 25/10/2018 09:57:50 AM
最后修改者 " user" ; $


消息

因为mai邮件无法发送给收件人l服务器故障。 (使用帐户1发送邮件(2018-10-25T09:57:50)。例外消息:无法向邮件服务器发送邮件。(发送邮件失败。)。


使用


Microsoft SQL Server 2014(SP2-GDR)(KB4057120) - 12.0.5214.6(X64) 

Windows服务器标准版2012 R2




任何回复或帮助将受到高度赞赏 



B问候

解决方案

你怎么知道这个问题是由于TLS 1.0引起的?错误消息看起来有点不同


无论如何,这里是DBMail的修复,如果TLS 1.0是可分的


https://www.ryanjadams.com/2016/07/database-mail-breaks-tls-1-0 -disabled /


Hi All, 

I  have database mail configured in SQL server , recently for security reason I disabled TLS 1.1,1.0 and SSL from the same server and changing SQL default port to another one , after doing so the messages stopped sending any email to any account, 

and when I am sending test message it's directly returning the following error : 

Date 25/10/2018 09:57:50 AM
Log Database Mail (Database Mail Log)

Log ID 1315
Process ID 6124
Mail Item ID 1142
Last Modified 25/10/2018 09:57:50 AM
Last Modified By "user"

Message
The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2018-10-25T09:57:50). Exception Message: Cannot send mails to mail server. (Failure sending mail.).
)

using

Microsoft SQL Server 2014 (SP2-GDR) (KB4057120) - 12.0.5214.6 (X64) 
Windows server standard 2012 R2


any reply or help would be highly appreciated 

B regards

解决方案

How do you know that issue is due to TLS 1.0 ? The error message looks a bit different

Anyways here's the fix for DBMail if TLS 1.0 is dsiabled

https://www.ryanjadams.com/2016/07/database-mail-breaks-tls-1-0-disabled/


这篇关于禁用TLS 1.0,1.1和SSL后,SQL数据库邮件未发送电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆