在Xampp中配置设置以通过Gmail帐户发送邮件
我正在
`Socket Error # 10061<EOL>Connection refused`
php.ini设置
`SMTP=smtp.gmail.com smtp_port=587 sendmail_from = my-gmail-id@gmail.com sendmail_path = "\"C:\xampp\sendmail\sendmail.exe\" -t"`
sendmail.ini设置
smtp_server=smtp.gmail.com smtp_port=587 error_logfile=error.log debug_logfile=debug.log auth_username=my-gmail-id@gmail.com auth_password=my-gmail-password force_sender=my-gmail-id@gmail.com