Class MailFolderRoleNaming
- Namespace
- MailFathom.Domain.Folders
- Assembly
- MailFathom.Domain.dll
Says which roles a folder may be created for, and what such a folder is called.
public static class MailFolderRoleNaming
- Inheritance
-
MailFolderRoleNaming
- Inherited Members
Remarks
A folder made for a role is never named by the person asking for it: they choose the role and this supplies the name, which is what stops a client from asking anybody to name their own trash folder and what makes the name the same on every account of every deployment. The names are the roles' own English words, which is deliberate rather than a gap in translation — a name here is an identifier a mail server and other mail clients read, and the name a person sees is theirs to draw from the role.
The set is narrower than MailFolderSpecialUse by three kinds. An inbox is never created, because RFC 3501 has every server hold one already. All, Flagged, and Important are views a server presents rather than folders anybody makes. Outbox is MailFathom's own label with no attribute behind it, so a server would have nothing to be told and nothing to advertise afterwards.
Properties
- Creatable
Gets the roles a folder may be created for, in the order a client may offer them.
Methods
- StandardNameOf(MailFolderSpecialUse)
Gets the name a folder created for a role is given.