I am recieving mails sent to here in spam folder .I have shifted our email services to google mail.And this started happening since.
<?php
$message = "Our New app";
        $to='[email protected]';
        $subject="New Mail";
        $from = '[email protected]';
        $body='Just wanted to ask one thing as we are planning for release date, how long do you think it will take to test the android app?';
        $headers = "From: " . strip_tags($from) . "\r\n";
        $headers .= "Reply-To: ". strip_tags($from) . "\r\n";
        $headers .= "MIME-Version: 1.0\r\n";
        $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n";
mail($to,$subject,$body,$headers);
?>
I changed the from addres from [email protected] to [email protected] still it was marked as spam.
Here is my phpinfo .Please help.Thanks
                        
Try confirming the domain you're sending from has a valid SPF record for the website you're sending from.