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
a_server=smtp.gmail.com
smtp_port=587
a_user_username=huin. auth_password=your passowrd
2, xamppphpphp.ini
sendmail_path = ""D:PHPxamppsendmailsendmail.exe" -t"
3, gmail account sign-in & security setting,
set Alapp less s secured 3L s 305 月 333 月 70 , the sending email will fail.
以上就介紹了PHP send email configuration in XAMPP,包含了方面的內容,希望對PHP教程有興趣的朋友有幫助。