Table of Contents

Method MarkUnknownOutcomesAsync

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

MarkUnknownOutcomesAsync(MailAccountId, CancellationToken)

Marks the account's sends whose transmission was never answered, so an operator reads why they are stuck.

Task<int> MarkUnknownOutcomesAsync(MailAccountId accountId, CancellationToken cancellationToken)

Parameters

accountId MailAccountId

The account whose records are marked.

cancellationToken CancellationToken

Cancels the write.

Returns

Task<int>

How many records this call marked.

Remarks

A record left at TransmissionBegun by a process that stopped has no attempt left to record why, so the first pass after the restart writes the code onto it. It marks only a record that carries no failure yet, which is what keeps it from writing over the reason a live attempt already recorded, and it moves no stage: the stage is what says the outcome is unknown.