Php 如何通过gmail帐户从xampp localhost发送邮件
在Xampp中配置设置以通过gmail帐户发送邮件 我越来越 sendmail.ini设置Php 如何通过gmail帐户从xampp localhost发送邮件,php,email,xampp,localhost,sendmail.exe,Php,Email,Xampp,Localhost,Sendmail.exe,在Xampp中配置设置以通过gmail帐户发送邮件 我越来越 sendmail.ini设置 smtp_server=smtp.gmail.com smtp_端口=587 error\u logfile=error.log debug_logfile=debug.log auth_username=我的gmail-id@gmail.com auth_password=我的gmail密码 force_sender=我的gmail-id@gmail.com 我在大学里使用代理服务器,这可能是它不能正常
smtp_server=smtp.gmail.com
smtp_端口=587
error\u logfile=error.log
debug_logfile=debug.log
auth_username=我的gmail-id@gmail.com
auth_password=我的gmail密码
force_sender=我的gmail-id@gmail.com
我在大学里使用代理服务器,这可能是它不能正常工作的原因。你能用telnet smtp.gmail.com 587吗
`Socket Error # 10061<EOL>Connection refused`
`SMTP=smtp.gmail.com
smtp_port=587
sendmail_from = my-gmail-id@gmail.com
sendmail_path = "\"C:\xampp\sendmail\sendmail.exe\" -t"`