通过cPanel

时间:2016-03-04 08:33:40

标签: php linux email cpanel exim

我在Google Cloud Compute中有一个虚拟机,我正在尝试发送电子邮件。 Google doesn't allow通过端口25和465传出连接。我在VM中安装了cPanel,我现在正尝试将其设置为通过Sendgrid发送电子邮件。

有关如何在SendGrid网站上执行此操作的详细文档,但在按照说明一步一步完成后,电子邮件仍未发送。

这是/ var / logs / exim_main的片段:

2016-03-03 19:22:21 cwd=/ 2 args: /usr/sbin/exim -q
2016-03-03 19:22:21 Start queue run: pid=25773
2016-03-03 19:23:24 1abTCN-0003j0-Is H=smtp.sendgrid.net [158.85.10.138] Connection timed out
2016-03-03 19:23:34 SMTP connection from [127.0.0.1]:47219 (TCP/IP connection count = 1)
2016-03-03 19:23:35 SMTP connection from (localhost) [127.0.0.1]:47219 closed by QUIT
2016-03-03 19:24:27 1abTCN-0003j0-Is H=smtp.sendgrid.net [108.168.190.108] Connection timed out
2016-03-03 19:24:27 1abTCN-0003j0-Is == example@gmail.com R=send_via_sendgrid T=sendgrid_smtp defer (110): Connection timed out
2016-03-03 19:24:27 1abPZb-0000qa-33 Message is frozen
2016-03-03 19:24:27 End queue run: pid=25773

任何帮助将不胜感激。提前致谢

1 个答案:

答案 0 :(得分:0)

我可以看到您无法连接sendgrid服务器来发送邮件。请检查您与sendgrid服务器的服务器连接

  

2016-03-03 19:24:27 1abTCN-0003j0-Is H = smtp.sendgrid.net [108.168.190.108]连接超时

https://support.sendgrid.com/hc/en-us/articles/200182038-Testing-your-connectivity-to-Sendgrid-s-SMTP-relay-using-Telnet

相关问题