Property FolderRole
- Namespace
- MailFathom.Application.Rules.Facts
- Assembly
- MailFathom.Application.dll
FolderRole
Gets the special-use role the folder plays for its account, absent when configuration gave it none.
public static MailRuleFact FolderRole { get; }
Property Value
Remarks
It is a fact of its own rather than a second spelling of Folder, because a condition compares one
value against one literal: a single fact answering to both an alias and a role would make
folder == 'Junk' true for a folder actually called Junk and for whichever folder plays that role,
and an operator could no longer write a condition meaning only one of them. Naming this one is how a rule reaches
the junk folder of whichever account this email came from without knowing what each account called it.