python实现电子邮件(E-mail)发送
前几天需要服务端发送邮件的脚本,发现直接用sendmail相对来说复杂,大才小用了,因为我只需要一个发送的功能即可。于是查查改改,很容易弄了一个。 python弄这些简单的email client,http client, tcp client之类的真的很方便,而且windows上也可以直接执行。 # Import smtplib for the actual sendin
原创
2012-05-15 00:11:57 ·
15784 阅读 ·
3 评论