[issue10574] email.header.decode_header fails if the string contains multiple directives

2010-11-28 Thread Roy H. Han
New submission from Roy H. Han : email.header.decode_header fails for the following message subject: :: email.header.decode_header('=?UTF-8?B?MjAxMSBBVVRNIENBTEwgZm9yIE5PTUlO?==?UTF-8?B?QVRJT05TIG9mIFZQIGZvciBNZW1iZXJz?==?UTF-8?B?aGlw?=') If the directives are removed and t

[issue1598] unexpected response in imaplib

2009-03-24 Thread Roy H. Han
Roy H. Han added the comment: I'm also getting the same error retrieving a message through IMAP from a Lotus Notes server. Traceback (most recent call last): File "mail.py", line 152, in if 'setup' == argument: setup() File "mail.py", lin

[issue1598] unexpected response in imaplib

2009-03-24 Thread Roy H. Han
Roy H. Han added the comment: Using a different format, it seems the message involves cryptographic keys signed by Lotus Notes? >>> server.fetch(407, '(BODY.PEEK[HEADER] FLAGS)') To: pers...@place.com Subject: subject Message-ID: Date: Tue, 28 Oct 2008 17:53:22 -0400 Fro