我的网站https://www.smcin.com/在drupal 7中创建并托管在Google云控制台中。我正在使用PHPmailer smtp模块通过端口25通过网站发送电子邮件。但是尚未触发邮件并给出错误
“测试电子邮件尚未发送到xxxxxxxx@yahoo.com。您应检查 错误消息的日志。”
在日志上仅显示此消息:
MESSAGE: Error sending e-mail (from xxxxxxxx@xxxxxxx.xxx to xxxxxxxx@yahoo.com).
SEVERITY: error.
我也尝试了其他端口(80、465、2525)和服务器(gmail,我的官方网络邮件),但是没有任何作用。 我浪费了很多时间,但找不到解决方案。