摘要:
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 阅读全文