【发布时间】:2017-08-22 14:31:53
【问题描述】:
我已经在我的 VPS 服务器上安装了 Webmin,并且还安装了用于外发邮件的 Postfix。我使用 Ubuntu 作为操作系统
我将 SMTP 插件用于我的 wordpress 网站。我已经使用 Zoho SMTP 设置了 SMTP 设置,我确定所有设置都正常。
当我尝试使用 SMTP 测试电子邮件 Wordpress 插件发送消息时,我收到了这条消息
The SMTP debugging output is shown below:
2017-08-22 14:27:26 Connection: opening to smtp.zoho.com:587, timeout=300, options=array (
)
2017-08-22 14:27:26 Connection: Failed to connect to server. Error number 2. "Error notice: stream_socket_client(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution
2017-08-22 14:27:26 Connection: Failed to connect to server. Error number 2. "Error notice: stream_socket_client(): unable to connect to smtp.zoho.com:587 (php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution)
2017-08-22 14:27:26 SMTP ERROR: Failed to connect to server: php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution (0)
2017-08-22 14:27:26 SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting
我已经研究过上述问题,但没有任何解决方案。但是,我很确定问题出在我的 VPS 邮件设置中,我不确定需要更改什么设置来解决这个 SMTP 问题。
【问题讨论】:
标签: php wordpress email smtp vps