I'm sending "no-reply" mails using PHP [mail](http://www.php.net/manual/en/function.mail.php) function. The problem is that mails were sent, but not receiving in my inbox when I use the following "From" headers:

1. From: Sender Name `<noreply@localhost.com>`
2. From: `noreply@localhost.com`
3. From: Sender Name `<test@localhost.com>`

I have no actual mail address `noreply@localhost.com`, but I have `test@localhost.com`.  

I think all of them are the correct formats according to [the PHP documentation](http://www.php.net/manual/en/function.mail.php).

When I tried `From: test@localhost.com`, it did work and I received the mail.  

I really want to use the No. 1 format `Form: My Site Name <noreply@localhost.com>`. It should work. Any idea?

I'm using [XAMPP 1.6.7](http://www.apachefriends.org/index.html) with PHP 5.2.6 and MercuryMail.