> But then when a FETCH UID FLAGS (\Recent) is issued *after* a 
> select, nothing will be returned.

New messages inserted *after* the SELECT Command will be returned,
won't they? AFAIU this is the intention of RECENT: to notify the 
client about *new* arrived messages within a session.
They aren't new anymore if the client already has been told 
about new arrived messages in the answer to SELECT.

FETCH UID FLAGS (\Recent) returning nothing right after
the SELECT would IMHO be RFC-compliant (if no message has been 
inserted in the meantime). For unread messages the \Seen flag 
would be used anyway.

> No, unless you cache the list of message ids that are \Recent 
> at selection of the mailbox.

I don't see any need for that, as they aren't recent anymore when
the server already told the client about them with

* <n> RECENT


--
Wolfram
(slightly confused by the semantics of RFC 3501)

Reply via email to