title: No mail received in inbox with XAMPP 1.8.0, MercuryMail and mail()
body: <p>I upgraded my local server using XAMPP 1.8.0 which contains Apache 2.4.2, PHP 5.4.5 and MySQL 5.5.
  I send mails with PHP mail() function by running MercuryMail, but no email received in my inbox.<br>
  Sending mails are working when I tested with Mozilla Thunderbird. And the mail() function seems to be working with no error issued. </p>
  
  <p>I checked <strong>php.ini</strong> in my XAMPP installation path <strong>D:\xampp\php</strong>. I saw this below</p>
  
  <pre><code>[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"  
  </code></pre>
  
  <p>I tweaked some combination of SMTP settings.<br>
  I commented out host and port  </p>
  
  <pre><code>; XAMPP: Comment out this if you want to work with an SMTP Server like Mercury  
  SMTP = localhost  
  smtp_port = 25
  </code></pre>
  
  <p>I commented out <strong>sendmail_path</strong>, but it did not work. Mail could not be sent. </p>
  
  <pre><code>; 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"  
  </code></pre>
  
  <p>Again, I commented out anothor sendmail_path to work with mailToDisk  </p>
  
  <pre><code>; 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"  
  </code></pre>
  
  <p>It seems working, but no mail received in inbox. Nothing found in <strong>D:\xampp\mailoutput</strong>  </p>
  
  <p>In php mail log (D:\xampp\php\logs\php_mail.log), I found several log lines which likely saying mails were sending.  </p>
  
  <pre><code>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 &lt;stk@localhost.com&gt;  From: Sithu &lt;stk@localhost.com&gt;  Reply-To: Sithu &lt;stk@localhost.com&gt;  
  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 &lt;admin@localhost.com&gt;  From: Members &lt;admin@localhost.com&gt;  Reply-To: Members &lt;admin@localhost.com&gt; 
  </code></pre>
  
  <p>I also tried to comment out <strong>sendmail_from</strong>, but no luck.  </p>
  
  <pre><code>; For Win32 only.  
  ; http://php.net/sendmail-from  
  sendmail_from = postmaster@localhost  
  </code></pre>
  
  <p>Any configuration I'm still missing?</p>
  
  <p><strong>[Edit]</strong><br>
  Mercury mail server is running.<br>
  Whenever I updated <strong>php.ini</strong>, I restarted Apache server.</p>