In message <mailman.1600.1286865707.29448.python-l...@python.org>, Chris 
Rebert wrote:

> On the gripping hand, you should consider just using smtplib to send
> the email directly from Python and thus avoid having to run an
> external command at all:
> http://docs.python.org/library/smtplib.html

But then you have to worry about configuration settings to communicate with 
the right SMTP server.

Household-name programs like Mutt simply spawn a /usr/sbin/sendmail command, 
on the assumption that that already knows the right configuration settings, 
no need to duplicate them, so why not follow that example?
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to