While rewritting messages caching code I decided to store message flags in one field as a binary sum. Of course the main idea is to get some unification and better performance. The bad side of this solution is that we can store this way only known flags defined in the code.
So my question is, do you know/use other flags than listed below (\ and $ chars removed)?
SEEN DELETED ANSWERED FLAGGED DRAFT MDNSENT FORWARDED SUBMITPENDING SUBMITTED JUNK NONJUNK LABEL1 LABEL2 LABEL3 LABEL4 LABEL5
On 16/09/11 11:17, A.L.E.C wrote:
So my question is, do you know/use other flags than listed below (\ and $ chars removed)?
The RFC 3501 ( http://tools.ietf.org/html/rfc3501#page-11 ) is mentioning the \Recent flag.
An overview of supported flags for different IMAP servers can be found at: http://getpopfile.org/docs/imapservers It seems \Resent is not common. This is may be due this note in the RFC:
--- Quote RFC 3501 ---- Note: The \Recent system flag is a special case of a session flag. \Recent can not be used as an argument in a STORE or APPEND command, and thus can not be changed at all.
SEEN DELETED ANSWERED FLAGGED DRAFT MDNSENT FORWARDED SUBMITPENDING SUBMITTED JUNK NONJUNK LABEL1 LABEL2 LABEL3 LABEL4 LABEL5
Regards Dominic _______________________________________________ List info: http://lists.roundcube.net/dev/ BT/aba52c80