开发者

Python e-mailing? Easiest way?

开发者 https://www.devze.com 2023-02-23 03:20 出处:网络
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.htmlsmtplib

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

精彩评论

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