开发者

Python e-mailing? Easiest way?

How can I send an e-mail from Python without any third 开发者_C百科party programs?


Use the python email and smtplib modules. Examples: http://docs.python.org/library/email-examples.html


smtplib

You need an SMTP server to send mail with, of course.


Python comes with an email module: http://docs.python.org/library/email-examples.html

Note though that you still need to contend with a host of emailing issues unrelated to Python, like setting up your SMTP server. I hope you aren't intending to spam.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜