Constructor ClassifiableEmail
- Namespace
- MailFathom.Application.Spam
- Assembly
- MailFathom.Application.dll
ClassifiableEmail(StoredEmailId, MailAccountId, MailFolderAlias)
The little a classification needs to know about the occurrence it is about, besides the content.
public ClassifiableEmail(StoredEmailId Id, MailAccountId AccountId, MailFolderAlias FolderAlias)
Parameters
IdStoredEmailIdThe stable local identifier of the occurrence.
AccountIdMailAccountIdThe account the occurrence was stored from.
FolderAliasMailFolderAliasMailFathom's own name for the folder it was stored from.
Remarks
The account and the folder are here because two decisions rest on them and neither is in the content: whether the configured scope covers the folder, and whether that folder is the one the account advertises for junk. Nothing else about the occurrence is needed, which is why this carries no subject, no participant, and no size.