Interface ISpamActionOccurrenceReader
- Namespace
- MailFathom.Application.Spam.Actions
- Assembly
- MailFathom.Application.dll
Reads where a classified email currently is and whether its mail server already reports it read.
public interface ISpamActionOccurrenceReader
Remarks
A port of its own rather than a widening of IClassifiableEmailReader, because the two are asked at different moments and about different things: that one is asked before a verdict exists and answers what the verdict is judged from, and this one is asked after and answers what a change would be issued against. Widening the first would put a remote occurrence and a flag into every classification that never touches a mailbox.
Methods
- FindAsync(StoredEmailId, CancellationToken)
Finds the occurrence one local email currently has.