Google GMail SMTP无法连接的解决方法

1233

依次访问下面的链接进行设置:

https://www.google.com/settings/u/1/security/lesssecureapps
https://accounts.google.com/b/0/DisplayUnlockCaptcha
https://security.google.com/settings/security/activity?hl=en&pli=1

需要注意的是这几个URL地址需要你需要验证的设备上访问,也就是说如果你在Web服务端使用gmail smtp服务,你必须要在Web服务器上访问授权

Gmail SMTP 设置参数:

  • SMTP username: Your Gmail address
  • SMTP password: Your Gmail password
  • SMTP server address: smtp.gmail.com
  • Gmail SMTP port (TLS): 587
  • SMTP port (SSL): 465
  • SMTP TLS/SSL required: yes

Post Comment