Enum MailFolderSpecialUse
- Namespace
- MailFathom.Domain.Folders
- Assembly
- MailFathom.Domain.dll
Names the role a mail server assigns to a folder, independently of what it calls the folder.
public enum MailFolderSpecialUse
Fields
All = 6The virtual folder presenting every message in the account.
Archive = 1The folder holding messages the user archived.
Drafts = 2The folder holding unsent drafts.
Flagged = 7The virtual folder presenting flagged messages.
Important = 8The virtual folder presenting messages the server considers important.
Inbox = 0The mailbox every IMAP server exposes for incoming mail.
Junk = 4The folder holding messages classified as spam.
Sent = 3The folder holding sent messages.
Trash = 5The folder holding deleted messages.
Remarks
The roles mirror the special-use attributes of RFC 6154 and the inbox RFC 3501 mandates. Mapping an alias onto a role is what lets an account whose server names its folders in another language synchronize without an operator writing a server-specific path into configuration.