摘要: 1 import smtplib 2 3 mail_host='smtp.qq.com' 4 mail_user=raw_input('enter the qq num:')+'@qq.com' 5 mail_pwd=raw_input('enter the qq password:') 6 7 mail_to=raw_input('enter the mailto') 8 content='hello python' 9 try:10 s=smtplib.SMTP()11 s.connect(ma 阅读全文
posted @ 2013-03-10 08:12 ffedu 阅读(212) 评论(0) 推荐(0) 编辑