Table of Contents

Method PlaceAsync

Namespace
MailFathom.Application.Emails.Threads
Assembly
MailFathom.Application.dll

PlaceAsync(IPersistenceSession, StoredEmailId, EmailThreadId, StoredEmailId?, CancellationToken)

Records which conversation one email belongs to and which of its messages it answers.

Task PlaceAsync(IPersistenceSession session, StoredEmailId storedEmailId, EmailThreadId threadId, StoredEmailId? answeredStoredEmailId, CancellationToken cancellationToken)

Parameters

session IPersistenceSession

The transaction the placement is part of.

storedEmailId StoredEmailId

The email being placed.

threadId EmailThreadId

The conversation it belongs to.

answeredStoredEmailId StoredEmailId?

The message it answers, or null when it answers none held here.

cancellationToken CancellationToken

Propagates caller cancellation.

Returns

Task