email from windows

Chris Rebert clp2 at rebertia.com
Mon Mar 30 04:20:23 CEST 2009


2009/3/29 prakash jp <prakash.stack at gmail.com>:
> Hi all,
>
> In windows environment, how to send email from one gmail address to another
> gmail (or another mail) addrress

Use the `smtplib` and `email` standard libraries (which, as a bonus,
are cross-platform):
http://docs.python.org/library/smtplib.html
http://docs.python.org/library/email.html

Cheers,
Chris

-- 
I have a blog:
http://blog.rebertia.com



More information about the Python-list mailing list