Table of Contents

Method Draft

Namespace
MailFathom.Domain.Delivery
Assembly
MailFathom.Domain.dll

Draft(MailDraftId)

Names the promotion of one draft, which is the draft rather than a key whoever asked supplied.

public static OutgoingEmailRequester Draft(MailDraftId draft)

Parameters

draft MailDraftId

The draft being sent, which is what makes two callers promoting it one request.

Returns

OutgoingEmailRequester

A requester naming that draft's promotion.

Remarks

A draft is promoted once, so the draft is the act and there is nothing for a caller to key it by. That is what closes the race a supplied key would leave open: two callers promoting one draft together both find it unpromoted, and it is this identity that makes their two asks one record instead of one message sent twice — the same reasoning an occasion of a recurring send is keyed by, where the duplicate would likewise be a message in somebody's mailbox rather than a row.