Pas de mail reçu dans la boîte de réception avec XAMPP version 1.8.0, MercuryMail et mail()

J'ai mis à jour mon serveur local en utilisant XAMPP 1.8.0 qui contient Apache 2.4.2, PHP 5.4.5 et MySQL 5.5.
J'ai envoyer des mails avec la fonction PHP mail() en exécutant MercuryMail, mais pas de mail reçu dans ma boîte de réception.

L'envoi de mails sont de travail quand je l'ai testé avec Mozilla Thunderbird. Et la fonction mail() semble être de travailler avec aucune erreur émis.

J'ai vérifié php.ini dans mon chemin d'installation de XAMPP D:\xampp\php. J'ai vu ce ci-dessous

[mail function]  
; XAMPP: Comment out this if you want to work with an SMTP Server like Mercury  
; SMTP = localhost  
; smtp_port = 25  

; For Win32 only.  
; http://php.net/sendmail-from  
; sendmail_from = postmaster@localhost  

; XAMPP IMPORTANT NOTE (1): If XAMPP is installed in a base directory with spaces (e.g. c:\program filesD:\xampp) fakemail and mailtodisk do not work correctly.  
; XAMPP IMPORTANT NOTE (2): In this case please copy the sendmail or mailtodisk folder in your root folder (e.g. C:\sendmail) and use this for sendmail_path.    

; XAMPP: Comment out this if you want to work with fakemail for forwarding to your mailbox (sendmail.exe in the sendmail folder)  
; sendmail_path = "\"D:\xampp\sendmail\sendmail.exe\" -t"  

; XAMPP: Comment out this if you want to work with mailToDisk, It writes all mails in the D:\xampp\mailoutput folder  
; sendmail_path = "D:\xampp\mailtodisk\mailtodisk.exe"  

J'ai modifié une combinaison de paramètres SMTP.

J'ai commenté l'hôte et le port

; XAMPP: Comment out this if you want to work with an SMTP Server like Mercury  
SMTP = localhost  
smtp_port = 25

J'ai commenté sendmail_path, mais il n'a pas de travail. Le courrier n'a pas pu être envoyé.

; XAMPP: Comment out this if you want to work with fakemail for forwarding to your mailbox (sendmail.exe in the sendmail folder)  
sendmail_path = "\"D:\xampp\sendmail\sendmail.exe\" -t"  

Encore une fois, j'ai commenté anothor sendmail_path de travailler avec mailToDisk

; XAMPP: Comment out this if you want to work with mailToDisk, It writes all mails in the D:\xampp\mailoutput folder  
sendmail_path = "D:\xampp\mailtodisk\mailtodisk.exe"  

Il semble de travail, mais pas de mail reçu dans la boîte de réception. Rien trouvé dans D:\xampp\mailoutput

En php mail log (D:\xampp\php\logs\php_mail.log), j'ai trouvé plusieurs lignes de log qui a probablement dire mails ont été l'envoi.

mail() on [D:\xampp\htdocs\....:127]: To: sithu@localhost.com -- Headers: MIME-Version: 1.0  Content-type: text/html; charset=text/html  Return-Path:Sithu <stk@localhost.com>  From: Sithu <stk@localhost.com>  Reply-To: Sithu <stk@localhost.com>  
mail() on [D:\xampp\htdocs\....:127]: To: test@localhost.com -- Headers: MIME-Version: 1.0  Content-type: text/html; charset=text/html  Return-Path:admin@localhost.com  From: admin@localhost.com  Reply-To: admin@localhost.com  
mail() on [D:\xampp\htdocs\....:127]: To: test@localhost.com -- Headers: MIME-Version: 1.0  Content-type: text/html; charset=text/html  Return-Path:Members <admin@localhost.com>  From: Members <admin@localhost.com>  Reply-To: Members <admin@localhost.com> 

J'ai aussi essayé de commenter sendmail_from, mais pas de chance.

; For Win32 only.  
; http://php.net/sendmail-from  
sendmail_from = postmaster@localhost  

Importe quelle configuration, je suis toujours en manque?

[Modifier]

Mercure serveur de messagerie est en cours d'exécution.

Chaque fois que j'ai mis à jour php.ini, j'ai redémarré le serveur Apache.

InformationsquelleAutor Sithu | 2012-10-27