SQL Azure VM(资源管理器)无法发送DBMail(端口587被阻止)

时间:2016-07-20 10:22:33

标签: sql-server azure virtual-machine azure-sql-database

我为SQL Server创建了一个新VM并尝试设置dbmail。 smtp服务器设置都有效,但我无法发送电子邮件。我继续收到以下错误:

The mail could not be sent to the recipients because of the mail server failure. 
(Sending Mail using Account 1 (2016-07-20T09:19:34). 
Exception Message: Could not connect to mail server. (A connection attempt     failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 159.122.224.196:587).
)

我尝试对IP和端口号进行telnet检查。从我的本地计算机和SQL Server VM。虽然本地计算机工作正常,但SQL Server VM无法连接到端口。

我还尝试使用链接http://michaelsync.net/2015/09/28/where-is-the-endpoint-setting-for-vm-in-new-azure-portal打开端口587,但即使在允许端口587之后,我仍然无法发送电子邮件。任何帮助将不胜感激。

注意:IP地址159.122.224.196属于sendgrid。

1 个答案:

答案 0 :(得分:0)

您使用的是哪种电子邮件(SMTP)服务器? 确保您正确配置与其的连接以及电子邮件服务器

相关问题