每天一点点,记录工作中实操可行

在用python登录qq邮箱发送邮件时,出现以下错误

raise SMTPAuthenticationError(code, resp)
smtplib.SMTPAuthenticationError: (535, b’Error: 等等

原因:qq邮箱未开启SMTP服务
解决方法:
登录你的qq邮箱,选择“设置”,点进去,选“账户”
python for qq email raise SMTPAuthenticationError 535

然后,下拉,下拉,下拉,拉到这个位置
把这里,改为“开启”(因为我的已经开启了,所以现在看到的是“关闭”)
就哦了
python for qq email raise SMTPAuthenticationError 535

这里的密码,是python里的password哦~千万不要写成你的qq邮箱登录密码啦

python for qq email raise SMTPAuthenticationError 535

相关文章:

  • 2022-12-23
  • 2022-01-30
  • 2021-04-15
  • 2021-11-08
  • 2021-05-13
  • 2021-10-27
  • 2021-11-19
  • 2022-01-09
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-25
  • 2021-07-03
  • 2021-09-13
  • 2021-08-12
  • 2021-07-19
相关资源
相似解决方案