【发布时间】:2013-12-17 17:24:45
【问题描述】:
我将 Windows XAMPP 升级到 1.8.3 并尝试使用 Apache 2.4.4、Mercury Mail 4.6 和 Thunderbird 客户端 24.1.1 在 localhost 上(再次)运行 php。 Thunderbird 可以在两个帐户之间发送和接收邮件。 php 的 mail() 返回 true,但没有邮件通过。
php.ini 设置为监听 25 端口。
[mail function]
; XAMPP: Comment out this if you want to work with an SMTP Server like Mercury
SMTP = localhost (I've also tried 127.0.0.1)
smtp_port = 25
任何想法我可能会错过什么?提前致谢。
注意:sendmail.ini 也有
smtp_server=localhost
smtp_port=25
【问题讨论】:
-
您是否尝试从水星测试电子邮件?
-
也许是个愚蠢的问题。 Mercury 是服务器。除了使用 Thunderbird 之外,我如何测试来自它的电子邮件?
-
是的,这是一个很好的教程。它启发我删除了我在 Thunderbird 中的两个 imap 帐户并尝试使用 pop3。仍然没有运气。奇怪的是 php.log 中没有错误,并且 sendmail 日志不存在。
标签: php apache email xampp thunderbird