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.
sendmail.py is neither stable nor well-tested.
Refering articles:
- timtools 0.6.33 released (Releases 07.06.07) — This binary release contains sendmail.py: several bugs fixed. Get it from the Download page. Committed revision 458 and 459. timtools 0.6.32 is now obsolete.