Interface IJunkMailFolderCatalog
- Namespace
- MailFathom.Application.Folders
- Assembly
- MailFathom.Application.dll
Answers which of an account's mapped folders is the one its server advertises for junk.
public interface IJunkMailFolderCatalog
Remarks
This is a fact about the mailbox rather than an opinion MailFathom formed, which is why it is read here and not derived from a classification. It is true with no scanner deployed and with nothing ever classified: mail the provider filed as junk is in the junk folder because the provider put it there.
This is the answer about one folder, for classification, which holds one occurrence and asks about that occurrence's folder. A mailbox read narrows a table and needs the whole set as a value it can put into a predicate, which IDeploymentMailFolders answers as Junk from the account records. This answer reads the settings its scope was prepared with until #2330 moves it, so the two agree within one convergence interval of the account's last write committing, as IDeploymentMailFolders states.
Methods
- IsJunkFolder(MailAccountId, MailFolderAlias)
Reports whether one folder is the junk folder of its account.