New thinkphp3.2 integrated PHPMailer to send emails, thinkphp3.2 integrated dwz_PHP tutorial

Source: Internet
Author: User
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...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.