Introduction to PHPmailer

What are the advantages of PHPMailer?

Can run on any platform

Supports SMTP authentication

Send Specify multiple recipients, CC address, BCC address and reply address when mailing; Note: Adding CC and BCC is only supported by SMTP mode under the win platform. Supports multiple

Email encodings include: 8bit, base64, binary and quoted-printable

Supports redundant SMTP servers, that is, you can specify the main SMTP server address or only the backup SMTP server

Supports emails with attachments. You can add attachments in any format to emails --- of course your server must have enough bandwidth to support

Customized emails Header information, which is similar to sending header information through the header function in PHP

Supports making the email body into HTMl content, then you can insert pictures into the email body

Flexible debug support

Tested and compatible SMTP servers include: Sendmail, qmail, Postfix, Imail, Exchange, etc.

How to download?

PHPMailer project address: https://github.com/PHPMailer/PHPMailer Use git command to clone to local, or directly in the project Click "Download ZIP" at the bottom right of the page to get the complete PHPMailer code package.

The above method usually downloads the latest version. This case uses PHPmailer5.2.22, download address:

Link: https://pan.baidu.com/s/1eNu0gmJL52Z-S_Q7OR_JkQ Password: d4ch



##

Continuing Learning
||
<?php echo "PHPmailer的介绍";
submitReset Code
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!