在Drupal 7中无法使用PHPmailer发送电子邮件

我的网站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,我的官方网络邮件),但是没有任何作用。 我浪费了很多时间,但找不到解决方案。

zrchuo 回答:在Drupal 7中无法使用PHPmailer发送电子邮件

您不清楚您使用的是哪种Google Cloud Platform服务。

假设您使用的是Compute Engine,请参阅https://firebase.google.com/docs/auth/admin/custom-claims

NB “端口25始终被阻止并且无法使用”

您应该可以将其配置为使用例如465。

在为实例的IP地址显示良好声誉方面,您可能会继续面临挑战。

本文链接:https://www.f2er.com/2727311.html

大家都在问