Constructor MailDraftRecipient
- Namespace
- MailFathom.Domain.Delivery.Drafts
- Assembly
- MailFathom.Domain.dll
MailDraftRecipient(OutgoingRecipient, AuthoredRecipientProvenance)
Names one person a draft is addressed to, and how that address came to be on it.
public MailDraftRecipient(OutgoingRecipient Recipient, AuthoredRecipientProvenance Provenance)
Parameters
RecipientOutgoingRecipientThe address the message would be offered to, and the header it is named in.
ProvenanceAuthoredRecipientProvenanceWhere the address came from, which the promotion judges the caller's own word by.
Remarks
It is a draft's recipient rather than a send's because of the second member alone. An outgoing record holds OutgoingRecipient and nothing more, since a send was governed before it was written down; a draft is written down before any of that governance has run, and the promotion that finally runs it has only what the draft kept to run it on.
Nothing here reaches the composed message. The provenance is not a header, not an envelope address, and not something a recipient ever sees — it is this deployment's own account of who chose the address.