Discover php code to send email using gmail, include the articles, news, trends, analysis and practical advice about php code to send email using gmail on alibabacloud.com
Summarize the common problems of PHPmailer group-sending Gmail, and phpmailer group-sending gmail. Summarize the frequently asked questions about PHPmailer group-sending Gmail. you may encounter many frequently asked questions when phpmailer
163 Mailbox
POP3 Server: pop.163.comSMTP Server: smtp.163.com
Yahoo Mail
Note: Yahoo in foxmail more than 4.1 of the version set as follows: (Outlook not yo ~)
POP3 Server:
Summarize the common problems of PHPmailer group-sending Gmail, and phpmailer group-sending gmail
You may encounter many Frequently Asked Questions in PHPmailer Group Sending Gmail. The following summarizes some frequently asked questions and hopes
System Environment: windows7 + wamp5
Environment requirements: Gmail account + open_ssl + PHPMailer;
1. Open_ssl is not enabled for wamp5 by default. You need to modify php. ini and remove the semicolon before extension = php_openssl.dll;
2.
PHPmailer group Gmail FAQ. 1. couldnotauthenticate first, if you do not use a loop, it is basically an incorrect account or password. if you use a loop to send a group, remember to call Sm 1 after the send () method ends. cocould not authenticate
This article mainly summarizes the common problems of PHPmailer group sending Gmail, and sorts out an example of phpmailer sending gmail mail, if you are interested, you can refer to the many Frequently Asked Questions you encounter in the PHPmailer
Phpmailer version used: 5.2.1
The following are some of the code given in the example folder of Phpmailer: test_gamil_basic.php.
The code is as follows
$mail = new Phpmailer (); $body = file_get_contents ('
Phpmailer version used: 5.2.1The following are some of the code given in the example folder of Phpmailer: test_gamil_basic.php.
The code is as follows
Copy Code
$mail = new Phpmailer ();$body = file_get_contents ('
1.Could not authenticate First, if you do not use the loop, it is basically the account or password is wrong; If you use the loop to Mass, send () method after the end remember to call Smtpclose (), send a shutdown once, Otherwise, you will be
Everyone in Phpmailer mass Gmail will encounter many common problems, the following for you to sum up some common problems, I hope to help you learn.
1.Could not authenticate
First of all, if you do not use the loop, it is basically the account or
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.