© 1999-2048 dssz.net 粤ICP备11031372号
[其它] 【Python】发送邮件提示“535 Login Fail. Please enter your authorization code ”
说明:问题: 使用python给qq邮箱发送邮件提示“535 Login Fail. Please enter your authorization code ”。QQ邮箱的SMTP服务已开启。 代码如下: #!/usr/bin/python # -*- coding: UTF-8 -*- import smtplib from email.mime.text import MIMEText from email.header import Header # 第三方 SMTP 服务 mail_hos<weixin_38688855> 上传 | 大小:33kb