Table of Contents

Method StartThreadAsync

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

StartThreadAsync(IPersistenceSession, MailAccountId, CancellationToken)

Starts a conversation for the account and reports its identity.

Task<EmailThreadId> StartThreadAsync(IPersistenceSession session, MailAccountId accountId, CancellationToken cancellationToken)

Parameters

session IPersistenceSession

The transaction the conversation is created in.

accountId MailAccountId

The account that owns it.

cancellationToken CancellationToken

Propagates caller cancellation.

Returns

Task<EmailThreadId>

The new conversation's identity.