摘要: import smtplibimport osfrom email.MIMEMultipart import MIMEMultipartfrom email.MIMEBase import MIMEBasefrom email.MIMEText import MIMETextfrom email.Utils import COMMASPACE, formatdatefrom email import Encodersdef send_mail(send_from, send_to, subject, text, files=[], server="localhost"): 阅读全文
posted @ 2012-04-09 15:58 bettermanlu 阅读(391) 评论(0) 推荐(0) 编辑