#*_*coding=utf8*_*
import smtplib
from email.mime.text import MIMEText
smtp = smtplib.SMTP()
smtp.connect('smtp.163.com')
smtp.login('actionwhat@163.com', 'XXX')
content = 'XXX'
msg = MIMEText(content, 'html', 'utf-8')
#print(content)
msg['Subject'] = "XXX"
smtp.sendmail('actionwhat@163.com', ['lixy@Kachabank.com'], msg.as_string())
smtp.quit()
print('发送成功....')