Table of Contents

Struct MailDraftRecipient

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

Names one person a draft is addressed to, and how that address came to be on it.

public readonly record struct MailDraftRecipient : IEquatable<MailDraftRecipient>
Implements
Inherited Members

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.

Constructors

MailDraftRecipient(OutgoingRecipient, AuthoredRecipientProvenance)

Names one person a draft is addressed to, and how that address came to be on it.

Properties

Provenance

Where the address came from, which the promotion judges the caller's own word by.

Recipient

The address the message would be offered to, and the header it is named in.