您好,欢迎访问一九零五行业门户网

PHP send email configuration in XAMPP

a few xampp configuration points to send the email from php by using gmail account,
1, \xampp\sendmail\sendmail.ini
smtp_server=smtp.gmail.com
smtp_port=587
auth_username=huilin.xiong@gmail.com (your gmail account)
auth_password=your passowrd
2, \xampp\php\php.ini
sendmail_path = \d:\php\xampp\sendmail\sendmail.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.
以上就介绍了php send email configuration in xampp,包括了方面的内容,希望对php教程有兴趣的朋友有所帮助。
其它类似信息

推荐信息