[Patches] [ python-Patches-1605192 ] Make Imap Error more helpful

SourceForge.net noreply at sourceforge.net
Wed Nov 29 12:52:04 CET 2006


Patches item #1605192, was opened at 2006-11-29 11:52
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1605192&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Library (Lib)
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Thomas Guettler (guettli)
Assigned to: Nobody/Anonymous (nobody)
Summary: Make Imap Error more helpful

Initial Comment:
Hi,

In my app I got this error:

 imaplib.error: command SEARCH illegal in state AUTH.

but I did successfully login. After reading the source
of imaplib.py I realized that this was meant:

imaplib.error: command SEARCH illegal in state AUTH. Allowed after: SELECTED

Attached is a small patch to make the error message
more helpful.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1605192&group_id=5470


More information about the Patches mailing list