[Imap-protocol] SELECT of same mailbox
daboo at isamet.com
Wed Sep 7 10:22:08 PDT 2005
--On September 7, 2005 4:09:56 PM +0200 Arnt Gulbrandsen
<arnt at gulbrandsen.priv.no> wrote:
> The SELECT command automatically deselects any
> currently selected mailbox before attempting the new selection.
> Consequently, if a mailbox is selected and a SELECT command that
> fails is attempted, no mailbox is selected.
What does 'fails' mean in this context? Does it mean both 'NO' and 'BAD'
responses, or only 'NO'?
I ask because the CMU server remains in the previous selected state, if a
subsequent SELECT results in a 'BAD' response. It correctly leaves selected
state if a subsequent SELECT results in a 'NO'.
More information about the Imap-protocol