Table of Contents

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 = 6

The virtual folder presenting every message in the account.

Archive = 1

The folder holding messages the user archived.

Drafts = 2

The folder holding unsent drafts.

Flagged = 7

The virtual folder presenting flagged messages.

Important = 8

The virtual folder presenting messages the server considers important.

Inbox = 0

The mailbox every IMAP server exposes for incoming mail.

Junk = 4

The folder holding messages classified as spam.

Sent = 3

The folder holding sent messages.

Trash = 5

The 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.