Table of Contents

Method RecordFailureAsync

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

RecordFailureAsync(MailDraftId, MailFathomErrorCode, CancellationToken)

Records why the last attempt against the mail server did not leave this draft where it belongs.

Task RecordFailureAsync(MailDraftId draftId, MailFathomErrorCode failure, CancellationToken cancellationToken)

Parameters

draftId MailDraftId

The draft whose copy could not be settled.

failure MailFathomErrorCode

The code identifying what ended the attempt.

cancellationToken CancellationToken

Cancels the write.

Returns

Task

A task that completes when the code is on the record.