Interface ISpamActionSettingsReader
- Namespace
- MailFathom.Application.Spam.Actions
- Assembly
- MailFathom.Application.dll
Answers what one account asks to happen to mail a classification calls junk.
public interface ISpamActionSettingsReader
Remarks
It is a port of its own rather than a second property on ISpamClassificationSettingsReader because the two answer for different halves of the feature: that one decides whether a verdict is reached at all, and this one decides whether anything is done about it. Keeping them apart is what lets the classifier stay a use case that writes nothing but its own record — it never resolves this reader and cannot reach a mailbox through it.
The answer is one account's because the act is on that account's own mail server: moving a message and marking it read are things done to one mailbox, and no other mailbox's settings may decide them.
Methods
- ActionsFor(MailAccountId)
Gets what one account states, as it stands now.