Hello everyone,
I am a PHP developer that is trying to test some functionality that involves sending emails locally. I have installed XAMPP 1.7.0 on Windows XP with the default settings of Mercury. I then realized that I PHP 5.2.8 invalidates email addresses that end up with @localhost, so I decided to use @localhost.domain.
I added in localhost.domain in my Windows hosts file and also in Mercury under: Core Module Configuration (Internet name of this system and Local domains) and SMTP Server (Announce myself as).
Then I used the PHP mail function to send an email from tudor@localhost.domain to support@localhost.domain. The email is sent, but there is a problem and all I get is a "Delivery failure" message back in tudor's Inbox, instead of the actual message in support's Inbox.
The error message is: "User support@localhost.domain not known at this site".
A screenshot of my Mercury Admin window can be found at: http://www.flashxml.net/bogdan/mercury.png
Of course I will be more than glad to provide any other kind of information that you might need.
<p>Hello everyone,</p><p>I am a PHP developer that is trying to test some functionality that involves sending emails locally. I have installed XAMPP 1.7.0 on Windows XP with the default settings of Mercury. I then realized that I PHP 5.2.8 invalidates email addresses that end up with @localhost, so I decided to use @localhost.domain.</p><p>I added in localhost.domain in my Windows hosts file and also in Mercury under: Core Module Configuration (Internet name of this system and Local domains) and SMTP Server (Announce myself as).</p><p>Then I used the PHP mail function to send an email from tudor@localhost.domain to support@localhost.domain. The email is sent, but there is a problem and all I get is a "Delivery failure" message back in tudor's Inbox, instead of the actual message in support's Inbox.</p><p>The error message is: "User support@localhost.domain not known at this site".</p><p>A screenshot of my Mercury Admin window can be found at:&nbsp;<a mce_href="http://www.flashxml.net/bogdan/mercury.png" href="http://www.flashxml.net/bogdan/mercury.png">http://www.flashxml.net/bogdan/mercury.png</a>&nbsp;</p><p>Of course I will be more than glad to provide any other kind of information that you might need.</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p>