[Tutor] Python and mail

Sheila King sheila@thinkspot.net
Mon, 17 Sep 2001 15:12:11 -0700


On Mon, 17 Sep 2001 17:57:58 -0400 (EDT), <fleet@teachout.org>  wrote
about [Tutor] Python and mail:

:Is there a (probably better) Python way to accomplish this?  I've looked
:through the modules and find things for retrieving mail, but nothing about
:sending mail.

For sending mail, you will want to use the smtplib.

http://www.python.org/doc/current/lib/module-smtplib.html


Here's an example of sending mail using the smtplib:

http://www.faqts.com/knowledge_base/view.phtml/aid/2607/fid/380


Hope this helps to get you started.

--
Sheila King
http://www.thinkspot.net/sheila/
http://www.k12groups.org/