Message207032
Yes, it works on python3.3 (from debian); I am parsing directly via email.message_from_string:
Python 3.3.3 (default, Dec 8 2013, 14:51:59)
[GCC 4.8.2] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import email
>>> msg="""Content-Type: text/plain; charset="utf-8"
... MIME-Version: 1.0
... Content-Transfer-Encoding: 8bit
... Subject: =?utf-8?q?Ch=C3=A8re_maman?=
... From: from@example.com
... To: to@example.com
... Date: Sat, 28 Dec 2013 13:08:07 -0000
... Message-ID: <20131228130807.3669.79195@localhost>
...
... Je t'aime très fort"""
>>> email.message_from_string(msg)
<email.message.Message object at 0x7fcfbcbf9090> |
|
Date |
User |
Action |
Args |
2013-12-28 15:44:40 | apollo13 | set | recipients:
+ apollo13, barry, r.david.murray |
2013-12-28 15:44:40 | apollo13 | set | messageid: <1388245480.95.0.672857267408.issue20089@psf.upfronthosting.co.za> |
2013-12-28 15:44:40 | apollo13 | link | issue20089 messages |
2013-12-28 15:44:40 | apollo13 | create | |
|