PHP mail "unable to relay" error
Posted on 2010-09-20
Hi there. I'm building email functionality on a PHP contact form processor. It sends to and from a set email address on the same domain as the server. I have tested this successfully on my own development server, but when the code is tested on the client's web site, I get the following error message:
"Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Unable to relay for email@example.com in C:\Program Files (x86)\EasyPHP-5.3.3\www\contact\feedback.php on line 221"
Note: i removed the email address and put 'firstname.lastname@example.org' in its place. Online, I'm using a valid email address.
I don't have access to the client's web server. He deploys the code himself. Are there any instructions I could briefly point my client to in order for him to properly configure his mail server?