Home  >  Q&A  >  body text

使用php的sendmail发送邮件失败,求高人解救

想测试下php的邮件功能,使用PHPMailer是可以成功的;
但使用sendmail时,却总是提示邮件发送失败,配置方面都已经参考下面的这篇文章了:
http://blog.techwheels.net/send-email-from-localhost-wamp-server-using-sendmail/
但依然提示“Email sending failed”。
这个是error.log里的错误信息:

14/05/13 15:32:48 : Socket Error # 10060<EOL>Connection timed out.

请教下有经验的人,谢谢了!

PHP中文网PHP中文网2749 days ago520

reply all(1)I'll reply

  • ringa_lee

    ringa_lee2017-04-10 14:49:52

    这个需要经验么?连接超时,当然是你的网络有问题。

    reply
    0
  • Cancelreply