"localhost" would have helped as the server is sure that the domain that is using the mail server is a local address.
For the error that you receive, I would suggest you to make sure that the From: email address used in the script to send email is a valid and local email address. Also you will not be able to send emails if you authenticate with the email 'info@domain_name' and specify From: address as 'sales@another_domain'.
|