Home > Backend Development > PHP Tutorial > PHP send email configuration in XAMPP

PHP send email configuration in XAMPP

WBOY
Release: 2016-07-29 09:05:25
Original
1003 people have browsed it

A few XAMPP configuration points to send the email from PHP by using gmail account,
1, xamppsendmailsendmail.ini
smtp_server=smtp.gmail.com
smtp_port=587
auth_username=huilin.xiong@gmail.com (your gmail account)
auth_password=your passowrd
2, xamppphpphp.ini
sendmail_path = ""D:PHPxamppsendmailsendmail.exe" -t"
3, gmail account sign-in & security setting,
set Allow less secure apps: ON
If this is not set , the sending email will fail.

The above has introduced PHP send email configuration in XAMPP, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template