Table of Contents

Class OutgoingSenderIdentity

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

States who one account's mail is sent as, which is the account's own decision and never a caller's.

public sealed record OutgoingSenderIdentity : IEquatable<OutgoingSenderIdentity>
Inheritance
OutgoingSenderIdentity
Implements
Inherited Members

Remarks

It is resolved from configuration for the account a send names, so the only way to send as a different person is to send through a different account — which is a decision an operator makes in a file rather than one any request can reach. The display name travels with the address for the same reason: both are what recipients see this mailbox as, and letting a caller supply either would be letting it write as somebody else in the half that recipients read first.

Properties

AccountId

Gets the account this identity belongs to.

Address

Gets the address every message this account sends is written from, with the name written beside it.

Domain

Gets the mail domain of the sending address, which is what a minted message identity is unique within.

Methods

Create(MailAccountId, EmailAddress)

Names who one account sends as.