Well, it worked, but my email still goes to spam, even though I have a 9/10 rating with mail-checker.com
http://www.mail-tester.com/web-Tw0wT2I have everything working except DKIM but I am almost positive that is not required to reach inbox for google.
I have not been able to get a linode to reach google inbox, what am I doing wrong? Have you been able to get sendmail to reach inbox using sendmail?
<?php
$to = "dcman99@gmail.com";
$subject = "How are you?";
$message = "Did you get this email? This is a test from the new server setup.";
$header = 'From:
info@appstoreranktracker.com' . "\r\n" .
'Reply-To:
info@appstoreranktracker.com' . "\r\n" .
'Return-Path:
info@appstoreranktracker.com' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
$retval = mail ($to,$subject,$message,$header, '-f
info@appstoreranktracker.com');
if( $retval == true )
{
echo "Message sent successfully...";
}
else
{
echo "Message could not be sent...";
}
?>