>  Q&A  >  본문

使用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일 전523

모든 응답(1)나는 대답할 것이다

  • ringa_lee

    ringa_lee2017-04-10 14:49:52

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

    회신하다
    0
  • 취소회신하다