$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');
当我在 gmail id 中发送邮件时它工作正常,但是当尝试实时发送邮件时,yahoo id 然后邮件进入垃圾邮件。可能是什么原因?