Table of Contents

Method FindContentAsync

Namespace
MailFathom.Application.Mail.Delivery.Filing
Assembly
MailFathom.Application.dll

FindContentAsync(IEmailContentStore, CancellationToken)

Reads the bytes this source names.

public Task<StoredEmailContent?> FindContentAsync(IEmailContentStore contentStore, CancellationToken cancellationToken)

Parameters

contentStore IEmailContentStore

The port every piece of raw MIME is held behind.

cancellationToken CancellationToken

Cancels the read.

Returns

Task<StoredEmailContent>

The stored message, or null when none is stored under this source.

Exceptions

ArgumentNullException

Thrown when contentStore is null.