imaplib.IMAP4: Bug in implementation

Oliver Kurz olku at web.de
Wed Mar 17 07:06:40 EST 2004


Hello,

I just discovered a "bug" in the imaplib.

I want to send the following command to the imap-server and I was suprised to get a error. :-)

The command:

UID STORE 2349672398 +FLAGS (\SEEN)

IMAP4 makes from this command:

UID STORE 2323423233 "+FLAGS(\SEEN)"

This is not valid (http://community.roxen.com/developers/idocs/rfc/rfc3501.html)

So ... is there a fix for this problem? Or have someone a workaround für this problem? 

I call the uid like this

uid("STORE",uid,"+FLAGS(\SEEN)")

--
Oliver Kurz





More information about the Python-list mailing list