终于能够通过phpmailer使用gmail账号发送邮件了
April 14th, 2006
phpmailer(现在的版本是1.73)是一个很好用的工具,可以很方便的使用php语言发送邮件,支持smtp及验证,我们一直都用它。
但是,由于gmail的smtp采用了ssl连接:
Outgoing Mail (SMTP) Server – requires TLS: smtp.gmail.com (use authentication) Use Authentication: Yes Use STARTTLS: Yes (some clients call this SSL) Port: 465 or 587
使用phpmailer就无法正常连接gmail的发信
......[Continue Read/阅读全文]