Lino Website

Fixed bugs several bugs fixed

Wednesday, 6. June 2007 23:00.

sendmail had problems with non-ascii headers in the message's Subject: header. New command-line option --encoding or -e to specify the encoding of the .eml file. Bugfix: It ignored Bcc: and CC: fields in the .eml file.

When used with an .eml file, it now always sends an utf-8-encoded message. (Todo: test for the most efficient encoding.)

sendmail now sends one message per run() and it calls smtplib.SMTP.sendmail() only once. Todo: Maybe I should once add a possibility to split the sendmail() call in case there are more recipients than the mail server allows. is neither stable nor well-tested.

Refering articles:

Copyright 2001-2007 Luc Saffre.
Generated 2007-06-07 16:22:56