Table of Contents

Constructor MailDraftFilingResult

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

MailDraftFilingResult(MailDraftId, MailDraftFilingOutcome, MailFathomErrorCode?, MailDraftDivergenceReason?)

Reports what one attempt against the mailbox did for one draft, already durable by the time it is read.

public MailDraftFilingResult(MailDraftId DraftId, MailDraftFilingOutcome Outcome, MailFathomErrorCode? Failure, MailDraftDivergenceReason? Divergence)

Parameters

DraftId MailDraftId

The draft the attempt was about.

Outcome MailDraftFilingOutcome

What it did.

Failure MailFathomErrorCode?

The code identifying what ended it, or null when nothing did.

Divergence MailDraftDivergenceReason?

Why the tracked copy was left alone, or null when none was.

Remarks

It names the draft rather than the message, and carries a code rather than a sentence. Nothing here is a subject, an address, or a line of what somebody wrote, which is what lets the whole result reach a log line and a counter.