New test thinkphp3.2 Integration phpmailer send mail, thinkphp3.2 integration dwz_php Tutorial

Source: Internet
Author: User

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 ...

  • 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.