I am having issues sending emails to my list with PHPMail.
My server has been setup with:
IP PTR Record
Domain SPF Record
Mail be sent using simple PHP Mail script (I have also tested PHP Mailer with the same results):
$to = "$toname<$to>";
$subject = $subject;
$header = "From: $fromname<$from>\r\n";
$header .= "Reply-To: <$from>\r\n";
$header .= "Content-type: text/html; charset=iso-8859-1\r\n";
$header .= "MIME-Version: 1.0\r\n";
$header .= 'X-Mailer: PHP/' . phpversion()."\r\n";
mail($to, $subject , stripslashes($body), $header);
I am hitting spam box with Hotmail & Yahoo (Only tested those 2 email services).
The IP address is fresh / never before been used for mailing purposes. The domain is also only 4/5 months old.
Could anybody help provide me with a script to send mail & actually hit my subscribers inboxes.
My mailing purposes are legit. All my optins are double opted in & my emails are CANSPAM compliant so please do not try to sell me any spam software etc, the mail needs to be sent from my Linux server.