PHP郵件不工作。沒有錯誤信息。 php.ini顯示錯誤並顯示E_ALL也在。PHP郵件不工作
<?php
$to = "[email protected]";
$subject = "Hi!";
$body = "Hi,\n\nHow are you?";
$headers = 'From: [email protected]' . "\r\n" .
'Reply-To: [email protected]' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
mail($to, $subject, $body, $headers);
?>
你怎麼知道它不工作呢? – 2010-10-12 15:46:29
即時消息沒有得到電子郵件 – 2010-10-12 15:47:11
嘗試你的垃圾郵件收件箱... – Shoban 2010-10-12 15:47:58