Table of Contents

Method FindAsync

Namespace
MailFathom.Application.Spam.Actions
Assembly
MailFathom.Application.dll

FindAsync(StoredEmailId, CancellationToken)

Finds the occurrence one local email currently has.

Task<SpamActionOccurrence?> FindAsync(StoredEmailId emailId, CancellationToken cancellationToken)

Parameters

emailId StoredEmailId

The local email a classification was recorded for.

cancellationToken CancellationToken

Cancels the read.

Returns

Task<SpamActionOccurrence>

Where the email is and how it stands, or null when there is nothing a change could be issued against: nothing is stored under that identifier, or the stored email carries no occurrence because no mail server holds it any longer.