My company uses dreamhost for several websites and we also use dreamhost to host our email for redrhinomg.com.
We actually host the webserver at our office and everything works great except when I’m trying to send auto emails.
Using php and the basic mail(), I’ve modified the .ini settings to have:
When trying to send the email I get the following error:
mail() [function.mail]: SMTP server response: 554 5.7.1 <unknown[22.214.171.124]>: Client host rejected: Access denied
I’m assuming because the email is originating form my server (126.96.36.199) and the dreamhost email server is rejecting?
The test php code is as follows:
mail($to, $subject, $message, $headers);
Thanks for your help!