互联网 · 2018-11-12

Gmail邮箱允许异地登录

smtplib.SMTPAuthenticationError: (534, '5.7.14  Please log in via\n5.7.14 your web browser and then try again.\n5.7.14  Learn more at\n5.7.14  https://support.google.com/mail/answer/78754 r8sm15707984pgr.48 - gsmtp')

1: 登录谷歌
https://accounts.google.com

2: 允许安全性较低的应用的访问权限
https://myaccount.google.com/lesssecureapps

3: 打开页面并允许登录
https://accounts.google.com/DisplayUnlockCaptcha