Menu
I am trying to set it so my emails go from a different mail server.
my code is
ini_set ( “SMTP”, “mail.ddd.com” );
and then
$success = mail($recipient,$subject,$msg,$extraHeaders);
When I run this from server 1 this works and the email is sent.
For some reason when I run the same code from my second server I don’t recieve the emails.
Any Ideas or suggestions?