测试邮件未在Windows 2012服务器中以drupal 7 SMTP配置发送

时间:2015-10-12 16:04:33

标签: drupal-7 smtp windows2012

我在Drupal 7中安装并配置了具有适当详细信息的smtp模块。我尝试在Windows 2012服务器中发送测试邮件,但收到以下错误。

   **SMTP -> ERROR: Failed to connect to server: php_network_getaddresses: getaddrinfo failed: This is usually a temporary error during hostname resolution and means that the local server did not receive a response from an authoritative server. (0) 
SMTP Error: Could not connect to SMTP host.

无法发送电子邮件。如果问题仍然存在,请与站点管理员联系。 **

image1

image2

在Windows Xp,07和ubuntu环境中,相同的构建工作正常。是什么导致了这个问题?

1 个答案:

答案 0 :(得分:0)

更正用于gmail SMTP配置的TLS端口。它应该是587.您可以参考下面的链接 -

https://support.google.com/a/answer/176600?hl=en