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 nothing is stored under that identifier.