Host = "smtp.163.com"; $mail->port =; $mail->smtpauth = true; $mail->smtpdebug = 1; $mail->username = ' 3855122@163.com '; $mail->password = ' xxxxxxx '; $mail->from = $from; $mail->fromname = $who; $mail AddAddress ($To, $who); $mail->wordwrap = $mail->ishtml (true); $mail->subject = ' TEST '; $mail->body = $ Body;if (! $mail->send ()) {echo $mail->errorinfo;exit;} Elseecho ' Ok ';} SendEmail ();? >
--I don't know which prawn can tell me why I can't send it out ... No local error ... But the test mailbox just didn't get ... The tears ran ...
Reply to discussion (solution)
Is it junk mail?
Error_reporting (E_all); At the beginning, add this sentence.
Is it junk mail?
Error_reporting (E_all); At the beginning, add this sentence.
Junk mail is also wood-I've been looking over and over again ...
In $mail->host = ""; add a sentence $mail->issmtp ();
In $mail->host = ""; add a sentence $mail->issmtp ();
--Thank you. A.. I didn't know why I deleted it when I wrote it.