Method ReadAsync
- Namespace
- MailFathom.Application.Spam.Signals
- Assembly
- MailFathom.Application.dll
ReadAsync(StoredEmailContent, CancellationToken)
Reads one message's spam-relevant headers.
Task<SpamHeaderFacts> ReadAsync(StoredEmailContent content, CancellationToken cancellationToken)
Parameters
contentStoredEmailContentThe raw MIME already stored for the occurrence.
cancellationTokenCancellationTokenCancels the read.
Returns
- Task<SpamHeaderFacts>
The facts the headers carried, or None when the content carried or yielded none.
Exceptions
- ArgumentNullException
Thrown when
contentis null.