In fact, the PHP mailbox send function Not every project must be used to get, but in fact, each complete project, generally will contain a PHP mailbox send function.
General mailbox send function is commonly used for registration activation,
What are the advantages of Phpmailer?
Can be run on top of any platform
Support for SMTP authentication
Specify multiple recipients, CC address, send address and reply address when sending mail; Note: Add cc, BCC only under the win
A time ago wrote a blog: thinkphp Integration series of SMS Verification Code, order notificationSaid this is a text message notification flooding of the era; most of the website's mailbox registration has been replaced by SMS registration;But
A time ago wrote a blog: thinkphp Integration series of SMS Verification Code, order notificationSaid this is a text message notification flooding of the era; most of the website's mailbox registration has been replaced by SMS registration;But
I am a novice, because to do the mail to send verification code, so find and collect these, I can test completelyThis is 163 mailbox because the account that is not the enterprise mailbox fills in is 163 account number, but the password is the
Phpmailer Introduction Step One: Make QQ mailbox can send mail step two: Enable PHP to use QQ mailbox to send mail step three: Write the sending Code thinkphp use phpmailer send mail, This article will be through the QQ mailbox as an example to
TP uses phpmailer to send mail 1. request a mailbox for an SMTP service. I am applying for smtp.163.com Service, note that the SMTP service password is not a login password and needs to be set separately2. download the Phpmailer class library file
Copy Code code as follows:
/*phpmailer is a PHP function package that is used to send e-mail. The features it provides include:
*. Specify multiple recipients, CC addresses, dark addresses, and reply-to addresses when sending mail
*. Support
This is to use open source project Phpmailer to achieve the mail, first download the file, I download it here is 5.1 version, and then put three class.***.php files into the project file, I first use is Gmail, but failed, the problem is
Introduction of Phpmailer:Advantages:
Can be run on top of any platform
Support for SMTP authentication
Specify multiple recipients, CC address, send address and reply address when sending mail; Note: Add cc, BCC only under the win
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.