New test thinkphp3.2 Integration phpmailer send mail, thinkphp3.2 integration DWZ
Phpmailer's official website: http://phpmailer.worxware.com/
Phpmailer Latest class Library download address: "Click to download"
Phpmailer GitHub Download Address: Https://github.com/Synchro/PHPMailer, this page also provides examples of use, but not very comprehensive.
Refer to http://my.oschina.net/BearCatYN/blog/299192 's blog post
Only the part where the directory settings are selected
Refer to Http://jingyan.baidu.com/article/0bc808fc6498cd1bd585b95c.html's article
Reference the code inside, and the php.in configuration
Even if you finish the above steps, the SMTP class will not be found, as long as the class.phpmailer.php in the beginning of the introduction
Require_once ("class.smtp.php");
You can do it.
SMTP server: smtp.163.com
Server User name: xxxxx@163.com
Server Password: xxxxxx
The following settings can debug SMTP error messages
$mail->smtpdebug = 3; Turn off the SMTP debugging feature
1 = errors and messages
2 = messages Only
$mail->errorinfo; Can get error message
http://www.bkjia.com/PHPjc/1075863.html www.bkjia.com true http://www.bkjia.com/PHPjc/1075863.html techarticle New test thinkphp3.2 integrated phpmailer send mail, thinkphp3.2 integration DWZ Phpmailer's official website: Http://phpmailer.worxware.com/PHPMailer Latest Class Library Download address: "Click to download ...