$headers = '';
$headers .= "Content-type: text/html; charset=iso-8859-1\n";
$headers .= "MIME-Version: 1.0" . "\r\n";
$headers .= "From: $fromName <$from>" . "\n";
$headers .= "Cc: " . "\n";
$headers .= "Bcc: $bcc" . "\n";
$headers .= "Reply-To: successive.testing@gmail.com" . "\r\n";
$headers .= "X-Mailer: PHP/" . phpversion();
$success = mail($to, $subject, $body, $headers, '-f reply@xyz.com');
It's working fine when i am sending mail in gmail id but when try to send mail at live, yahoo id then mail going to spam. What reason may be?