想测试下php的邮件功能,使用PHPMailer是可以成功的;
但使用sendmail时,却总是提示邮件发送失败,配置方面都已经参考下面的这篇文章了:
http://blog.techwheels.net/send-email-from-localhost-wamp-server-using-sendmail/
但依然提示“Email sending failed”。
这个是error.log里的错误信息:
<code>14/05/13 15:32:48 : Socket Error # 10060Connection timed out.</code>
请教下有经验的人,谢谢了!
~来1源gaodai#ma#com搞*代#码1网搞代gaodaima码
回复内容:
想测试下php的邮件功能,使用PHPMailer是可以成功的;
但使用sendmail时,却总是提示邮件发送失败,配置方面都已经参考下面的这篇文章了:
http://blog.techwheels.net/send-email-from-localhost-wamp-server-using-sendmail/
但依然提示“Email sending failed”。
这个是error.log里的错误信息:
<code>14/05/13 15:32:48 : Socket Error # 10060Connection timed out.</code>
请教下有经验的人,谢谢了!
这个需要经验么?连接超时,当然是你的网络有问题。