faqts : Computers : Programming : Languages : Python : Snippets

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

0 of 2 people (0%) answered Yes
Recently 0 of 2 people (0%) answered Yes

Entry

could python be made to open an e-mail client and have it send mail?

Jan 1st, 2004 07:03
Matthias Urlichs, chase cobb,


That depends on exactly what you want to do.

If all you want to do is to send email, you don't need a client -- just
open a SMTP port, or a pipe to /usr/sbin/sendmail, and send it off.

See the Library Reference for details, esp. the email and smtplib packages.