# 显示发送人邮箱地址 Kevin 指的是设置的显示的发件人迷城
msg['From'] = self....# 传入需要的文本信息,文本格式或者html格式的,设定格式:普通文本,或者html
msg.attach(MIMEText('{}'.format(message), 'html', 'utf-8'...filename=allDir)
mime.add_header('Content-ID', '')
mime.add_header('X-Attachment-Id', '0')
# 把附件的内容读进来...html格式的,设定格式:普通文本,或者html
msg.attach(MIMEText('{}'.format(self.html), 'html', 'utf-8'))...')
mime.add_header('X-Attachment-Id', '0')
# 把附件的内容读进来