New thinkphp3.2 integrated PHPMailer to send emails, thinkphp3.2 integrated dwz. New test thinkphp3.2 integrated PHPMailer to send emails, thinkphp3.2 integrated dwzPHPMailer official website: phpmailer. worxware. comPHPMailer latest class library: [click to download new test thinkphp3.2 integrated PHPMailer to send emails, thinkphp3.2 integrated dwz
PHPMailer official website: http://phpmailer.worxware.com/
PHPMailer latest class library: [click to download]
PHPMailer GitHub: https://github.com/synchro/phpmailer. this page also contains the use case.
Refer to http://my.oschina.net/BearCatYN/blog/299192 blog
Only the directory settings are selected.
Articles for reference http://jingyan.baidu.com/article/0bc808fc6498cd1bd585b95c.html
Refer to the code and php. in configuration.
Even if the above steps are completed, the SMTP class cannot be found, as long as you start introducing it in class. phpmailer. php
Require_once ("class. smtp. php ");
You can.
Smtp server: smtp.163.com
Server User: xxxxx@163.com
Server password: xxxxxx
The following settings allow you to debug SMTP error messages.
$ Mail-> SMTPDebug = 3; // disable SMTP debugging.
// 1 = errors and messages
// 2 = messages only
$ Mail-> ErrorInfo; // you can obtain error information.
Thinkthinkphp3.2 integrated PHPMailer to send mail, thinkphp3.2 integrated dwz PHPMailer official website: http://phpmailer.worxware.com/PHPMailer latest class library: [click to download...