发布时间:2013-11-25 13:36:46
#!/usr/bin/pythonimport smtplibimport syslog_file = open('/tmp/mail.log','a')log_file.write('test start')def sendmail(**args): host = 'smtp.126.com' port = 25 user = 'yamoalq@126.com' passwd = 'w' smtp = smtplib.SMTP() .........【阅读全文】
阅读(1748) | 评论(0) | 转发(0)