说明
本人环境
- windows7 x64
- python 3.8
问题一: 提示错误代码 535
发送报错
smtplib.SMTPAuthenticationError: (535, b'Error: authentication failed')
原因 账号密码错误
解决网上给了很多解决办法有很多:
http://markmail.org/message/3ub3itxq4aqwaikx
https://segmentfault.com/q/1010000003802498
import smtplib
server = smtplib.SMTP('smtp.163.com')
server.login('aerwfafd@163.com', 'clientPassword')