【问题标题】:Send emails via Sendgrid in cPanel通过 cPanel 中的 Sendgrid 发送电子邮件
【发布时间】:2016-03-04 08:33:40
【问题描述】:

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

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

这是 /var/logs/exim_main 的 sn-p:

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

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

【问题讨论】:

    标签: php linux email cpanel exim


    【解决方案1】:

    我可以看到您无法连接 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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-06-05
      • 1970-01-01
      • 1970-01-01
      • 2022-01-11
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多