Table of Contents

Method SaveContentAsync

Namespace
MailFathom.Application.EmailContent.Storage
Assembly
MailFathom.Application.dll

SaveContentAsync(IPersistenceSession, StoredEmailId, RemoteEmailContent, CancellationToken)

Saves raw MIME content idempotently for one locally stored email.

Task SaveContentAsync(IPersistenceSession session, StoredEmailId storedEmailId, RemoteEmailContent content, CancellationToken cancellationToken)

Parameters

session IPersistenceSession

The explicit persistence session this content write participates in.

storedEmailId StoredEmailId

The stable local identifier of the corresponding metadata row.

content RemoteEmailContent

The raw content to store.

cancellationToken CancellationToken

Propagates caller cancellation.

Returns

Task

A task that completes after durable storage.