How to send E-mail without an external SMTP server ?

Rob Wolfe blue99 at interia.pl
Mon Oct 16 02:51:57 EDT 2006


fdu.xiaojf at gmail.com wrote:
> Hi,
>
> I just want to send a very simple email from within python.
>
> I think the standard module of smtpd in python can do this, but I
> haven't found documents about how to use it after googleing. Are there
> any examples of using smtpd ? I'm not an expert,so I need some examples
> to learn how to use it.

See standard documentation:

http://docs.python.org/lib/SMTP-example.html

HTH,
Rob




More information about the Python-list mailing list