Table of Contents

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.

Two paths need the answer in two shapes, for the reason IMailFolderParticipationReader gives about its own two: a mailbox read narrows a table and needs the whole set as a value it can put into a predicate, while classification holds one occurrence and asks about that occurrence's folder. Both answers come from the same configuration, so neither can drift from the other.

Properties

JunkFolders

Gets every account's junk folder, empty when no account maps one.

Methods

IsJunkFolder(MailAccountId, MailFolderAlias)

Reports whether one folder is the junk folder of its account.