[Python-bugs-list] [ python-Bugs-571334 ] imaplib fetch is broken

noreply@sourceforge.net noreply@sourceforge.net
Thu, 20 Jun 2002 01:13:50 -0700


Bugs item #571334, was opened at 2002-06-19 21:22
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=571334&group_id=5470

Category: Python Library
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: John Goerzen (jgoerzen)
>Assigned to: Piers Lauder (pierslauder)
Summary: imaplib fetch is broken

Initial Comment:
This bug is 100% reproducible in Python 2.2.1 and the 
imaplib.py from Python's CVS tree. 
 
They'll send the message body in this form: 
{100} 
Headers here, body here, (100 characters worth) 
 
This is specified in RFC2060 secion 4.3.  imaplib's fetch 
chokes on 
"unexpected data" in the response. 
 
imaplib should receive this prefix-quoted string properly 
and return it in a 
non-quoted fashion. 
 
As it is, it is totally impossible to read messages from 
most imap servers. 
 

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=571334&group_id=5470