Namespace: S22.Imap
Assembly: S22.Imap (in S22.Imap.dll) Version: 3.6.0.0 (3.6.0.0)
Syntax
C# |
---|
public enum MailboxFlag |
Members
Member name | Value | Description | |
---|---|---|---|
AllMail | 0 | The mailbox presents a view on all messages in the user's message store. | |
Archive | 1 | The mailbox is used to archive messages. The meaning of an "archival" mailbox is server dependent. | |
Drafts | 2 | The mailbox is used to hold draft messages, typically these are messages that are being composed but have not yet been sent. | |
Sent | 3 | The mailbox is used to hold copies of messages that have been sent. | |
Spam | 4 | The mailbox is where messages deemed to be junk mail (spam) are held. | |
Trash | 5 | The mailbox is used to hold messages that have been deleted or marked for deletion. |
Remarks
An IMAP mailbox can have a number of flags (read: attributes) set on it, indicating its designated purpose (such as "Spam" or "Drafts").
This is especially convenient when dealing with international mailbox names, because, by examining the associated flags, the mailbox purpose can be determined, even if the mailbox name provides no useful indication.
Unfortunately, as with many things IMAP, reporting the flags described here is an optional extension (XLIST) to the IMAP protocol and as such may or may not be supported by an IMAP server.