The nsMsgMessageFlags interface describes possible flags for messages. Equivalent flags are also defined in nsMsgMessageFlags.h.

Constants

Name Value Description
Read 0x00000001 Indicates whether or not the message is read.
Replied 0x00000002 Indicates whether or not the message has been replied to.
Marked 0x00000004 Indicates whether or not the message has been flagged/starred
Expunged 0x00000008 Indicates whether or not the message is deleted (but not compacted)
HasRe 0x00000010 Indicates whether or not 'Re: ' should be added to the head of the subject to get the proper subject.
Elided 0x00000020 Indicates whether or not the thread rooted at this message is open or closed in the UI.
Offline 0x00000080 Indicates whether or not we have this message in the offline cache.
Watched 0x00000100 Indicates whether or not this thread is being watched.
SenderAuthed 0x00000200  
Partial 0x00000400 Indicates whether or not the body we have is a complete message.
Queued 0x00000800 Indicates whether or not the message is queued to be delivered.
Forwarded 0x00001000 Indicates whether or not the message has been forwarded.
Priorities 0x0000E000 The set of bits that indicate the priority.
New 0x00010000 Indicates whether or not the message is new since the last time the folder was opened.
Ignored 0x00040000 Indicates whether or not the (sub-)thread has been ignored.
ImapDeleted 0x00200000 Indicates whether or not the message has been deleted on the IMAP server
MDNReportNeeded 0x00400000 Indicates whether or not a delivery receipt was requested.
MDNReportSent 0x00800000 Indicates whether or not a delivery receipt was sent.
Template 0x01000000 Indicates whether or not the message is a template.
Attachment 0x10000000 Indicates whether or not the message has an attachment.
Labels 0x0E000000 The set of bits used to identify labels. Not returned in header.flags.
RuntimeOnly 0x00000020 Indicates the flags which are not emitted to the database.