Re: [Evolution] Confirmation of mail status indicators



On Tue, 2001-10-16 at 11:38, Andrew Lombardi wrote:
Just wanted to confirm how Evolution stores mbox status

It's a four-digit hex number. The bits are defined in
camel-folder-summary.h:

enum _CamelMessageFlags {
        CAMEL_MESSAGE_ANSWERED = 1<<0,
        CAMEL_MESSAGE_DELETED = 1<<1,
        CAMEL_MESSAGE_DRAFT = 1<<2,
        CAMEL_MESSAGE_FLAGGED = 1<<3,
        CAMEL_MESSAGE_SEEN = 1<<4,
        CAMEL_MESSAGE_ATTACHMENTS = 1<<5,

So what you said is correct at the moment, but there may be additional
flags added later, in which case you could see other values in that
byte.

-- Dan




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]