Table of Contents

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

content StoredEmailContent

The raw MIME already stored for the occurrence.

cancellationToken CancellationToken

Cancels the read.

Returns

Task<SpamHeaderFacts>

The facts the headers carried, or None when the content carried or yielded none.

Exceptions

ArgumentNullException

Thrown when content is null.