Php Mercury服务器未接收Apache localhost mail();雷鸟

Php Mercury服务器未接收Apache localhost mail();雷鸟,php,apache,email,xampp,thunderbird,Php,Apache,Email,Xampp,Thunderbird,我将Windows XAMPP升级到1.8.3,并尝试使用Apache 2.4.4、Mercury Mail 4.6和Thunderbird client 24.1.1在本地主机上(再次)运行php。Thunderbird可以在两个帐户之间发送和接收邮件。php的mail()返回true,但没有邮件通过 php.ini设置为在端口25上侦听 [mail function] ; XAMPP: Comment out this if you want to work with an SMTP Ser

我将Windows XAMPP升级到1.8.3,并尝试使用Apache 2.4.4、Mercury Mail 4.6和Thunderbird client 24.1.1在本地主机上(再次)运行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

我注释掉了下面的一行,它成功了

; sendmail_path="C:\xampp\mailtodisk\mailtodisk.exe"
为了更好地衡量,我将此更改为:

sendmail_path = "\"C:\xampp\sendmail\sendmail.exe\" -t"

我不知道为什么默认使用mailtodisk.exe,但这似乎只是将邮件写入一个文件夹,无法发送。

您是否尝试测试mercury的电子邮件?可能是一个愚蠢的问题。Mercury是服务器。除了使用Thunderbird,我如何测试来自it的电子邮件?很好的教程。是的,这是一个很好的教程。它启发我删除我在Thunderbird中的两个imap帐户并尝试pop3。还是不走运。奇怪的是php.log中没有错误,sendmail日志也不存在。