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
accountIdMailAccountIdThe account whose records are marked.
cancellationTokenCancellationTokenCancels the write.
Returns
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.