[Imap-protocol] FLAGS reply

Mark Crispin mrc at CAC.Washington.EDU
Sat Dec 1 23:42:47 PST 2007

On Sun, 2 Dec 2007, Timo Sirainen wrote:

> I see that when adding a new keyword, most servers send:

> * FLAGS (hello \Answered \Flagged \Deleted \Draft \Seen)

> * OK [PERMANENTFLAGS (hello \* \Answered \Flagged \Deleted \Draft \Seen)] Permanent flags

> before sending the FETCH FLAGS:

> * 1 FETCH (FLAGS (hello))

This confirms the creation of the flag and whether or not it is a
permanent flag. It needs to be sent.

> Is this really useful/required? RFC seems to say it's supposed to be

> sent only on SELECT.

Any response can be sent at any time.

-- Mark --

Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.

More information about the Imap-protocol mailing list