使用Python发送HTML格式的邮件
import smtplibfrom email.mime.text import MIMETextmailto_list = ["123456@qq.com"] # 收件人的邮箱账号mail_host = "smtp.qq.com" # 设置服务器mail_user = "123456@qq.com" # 发件人的邮箱mail_pass = "