简体   繁体   English

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

[英]SQL Azure VM (Resource Manager) can't send DBMail (Port 587 blocked)

I created a new VM for SQL Server and trying to setup the dbmail. 我为SQL Server创建了一个新的VM,并尝试设置dbmail。 The smtp server settings are all valid but I can't send emails out. smtp服务器设置均有效,但是我无法发送电子邮件。 I keep on getting following error: 我不断出现以下错误:

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).
)

I tried doing a telnet check on the IP and port no. 我尝试对IP和端口号进行telnet检查。 from my my local machine and SQL Server VM. 从我的本地计算机和SQL Server VM。 While the local machine just works fine, the SQL Server VM can't connect to the port. 尽管本地计算机运行良好,但SQL Server VM无法连接到端口。

I also tried to open a port 587 using the link http://michaelsync.net/2015/09/28/where-is-the-endpoint-setting-for-vm-in-new-azure-portal but even after allowing a port 587, I still can't send emails. 我还尝试使用链接http://michaelsync.net/2015/09/28/where-is-the-the-endpoint-setting-for-vm-in-new-azure-portal打开端口587,即使允许端口587,我仍然无法发送电子邮件。 Any help will be much appreciated. 任何帮助都感激不尽。

NOTE: The IP address 159.122.224.196 belongs to sendgrid. 注意:IP地址159.122.224.196属于sendgrid。

What E-mail (SMTP) server are you using? 您正在使用哪种电子邮件(SMTP)服务器? Make sure that you're configuring connectivity to it correctly and that the E-mail server is 确保您正确配置了与之的连接,并且电子邮件服务器处于

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM