摘要:
# 邮件正文内容——文本方式 :第三个参数:第一个为文本内容,第二个 plain 设置文本格式 , 第三个 utf-8 设置编码方式message = MIMEText('Python 邮件发送测试……','plain','utf-8')# 邮件正文——htm... 阅读全文
摘要:
sender = input('From:')password = input('Password:')receivers = input('To:') content = input('Content:')message = MIMEText(content... 阅读全文
摘要:
# python3import smtplibfrom email.mime.text import MIMETextfrom email.header import Header# 发送者sender = 'zhengxiaodong@trusfort.c... 阅读全文