@@ -0,0 +1,920 @@
+#!/usr/bin/python%0A%0Aimport smtplib  %0Afrom email.mime.text import MIMEText  %0Amailto_list=%22123997654@qq.com%22%0Amail_host=%22smtp.gmail.com%22 %0Amail_user=%22yhhong1943%22    %0Amail_pass=%22hyh159263.%22%0Amail_postfix=%22gmail.com%22%0A  %0Adef send_mail(to_list,sub,content):%0A    me=%22hello%22+%22%3C%22+mail_user+%22@%22+mail_postfix+%22%3E%22 %0A    msg = MIMEText(content,_subtype='html',_charset='gb2312')    %0A    msg%5B'Subject'%5D = sub    %0A    msg%5B'From'%5D = me  %0A    msg%5B'To'%5D = to_list  %0A    try:  %0A        s = smtplib.SMTP(mail_host,587)  %0A%0A %09s.ehlo()%0A%09s.starttls()%0A        s.login(mail_user,mail_pass)  %0A        s.sendmail(me, to_list, msg.as_string())  %0A        s.close()  %0A        return True  %0A    except Exception, e:  %0A        print str(e)  %0A        return False  %0Aif __name__ == '__main__':  %0A    if send_mail(mailto_list,%22hello%22,%22%3Ca href='http://blog.csdn.net/yinghuihong'%3Eyinghuihong..%3C/a%3E%22):  %0A        print %22success%22  %0A    else:  %0A        print %22fail%22  

Test push to the second repository.