摘要: 11 阅读全文
posted @ 2020-05-09 23:40 wqbin 阅读(230) 评论(0) 推荐(0) 编辑
摘要: 我也是被坑了好久才发现。 解决方法: 经过多次测试发现MIMEText()["to"]的数据类型与sendmail(from_addrs,to_addrs,...)的to_addrs不同; 前者为str类型,多个地址使用逗号分隔,后者为list类型。 原本有问题的代码: def send_mail_ 阅读全文
posted @ 2020-05-09 14:58 wqbin 阅读(1183) 评论(0) 推荐(0) 编辑