我嘗試在php.I中的聯繫表格,我收到的郵件在Gmail,雅虎等,但不接收任何郵件hotmail.I試了很多,但不知道最新的問題。爲什麼我不能在hotmail中收到郵件?這是代碼。在php中的聯繫表格不接收hotmail的郵件
if (empty($error)) {
$to = '[email protected], ' . $email;
$subject = " contact form message";
$repEmail = '[email protected]';
$headers = 'From: Contact Detail <'.$repEmail.'>'.$eol;
$content = "Contact Details: \n
Name:$name \n
Batch: $batch \n
Email: $email \n
mobile: $mobile " ;
$success = "<b>Thank you! Your message has been sent!</b>";
mail($to,$subject,$content,$headers);
}
}
?>
你檢查垃圾? – Jonast92 2014-11-22 03:50:52
雅檢查..但沒有郵件太 – user3675208 2014-11-22 03:51:47
你最好引用這個問題http://stackoverflow.com/questions/13324649/mail-not-being-received-by-hotmail-com – Rashid 2014-11-22 05:17:10