我試圖用一個簡單的PHP電子郵件PHP郵件錯誤 - 無法發送郵件到SMTP服務器。未指定收件人。伊特。準備。在
這是在我的生產服務器的工作。但是這不適用於我的開發服務器。我無法找到什麼服務器配置缺少
我正在錯誤
Unable to send message to SMTP server. No recipients specified. ite. ready. in "filepath" on line 17
這是什麼ITE?
$toemail="[email protected]";
$subject="subject line" ;
$content="conetent message";
$frmemail = "From:[email protected]" ;
mail($toemail,$subject,$content,$frmemail) ;
任何人都可以提出什麼樣的配置或PHP INI設置是缺少
開發我端口訪問。
我這裏
http://www.phpfreaks.com/forums/index.php?topic=134654
http://forums.zend.com/viewtopic.php?t=5151&f=77#p23409
看到完全相同的錯誤,但什麼都可以從不同的域的某些安全設置阻止發送電子郵件?
ZMAil
SMTP localhost
smtp_port 25
sendmail_from no value
你可能有錯誤頭部,PLZ張貼在什麼'$ frmemail'。 – 2012-03-22 16:16:25
沒有大碼..anyway我更新它 – zod 2012-03-22 16:20:13
你在共享主機?這可能是值得一問的託管服務提供商約 – 2012-03-22 17:32:40