fiorix/cyclone — pull request #62 by tewald (2012-07-27 14:56:02+00:00)
Title: Mail.py encondig problem and other change

Hi,

I've made this small changes to mail.py:

1. Added a attach_filename to the attach() method. I needed this to define the attachment filename since, in my case, the actual filename on the filesystem doesn't match the real filename from the database;

2. Changed the intantiation of MIMEText to pass the charset to initialize. I did this because the default charset is "us_ascii", and was causing troubles with my utf-8 messages. :-)

I hope this is somewhat helpful to make to the official repo ;-)

Thanks!