2016-07-20 32 views
0

我創建了一個新的虛擬機的SQL Server,並試圖建立的dbmail。 smtp服務器設置都是有效的,但我無法發送電子郵件。我繼續得到以下錯誤:SQL Azure的VM(資源管理器),不能發送DBMail(端口587阻塞)

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

我試着做一個telnet檢查的IP和端口號。從我的本地機器和SQL Server VM。雖然本地機器工作正常,但SQL Server虛擬機無法連接到端口。

我也試過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。

回答

0

什麼電子郵件(SMTP)服務器您使用的? 確保你正確配置連接到它和電子郵件服務器

相關問題