Method FindSenderIdentity
- Namespace
- MailFathom.Application.Mail.Delivery.Composition
- Assembly
- MailFathom.Application.dll
FindSenderIdentity(MailAccountId)
Gets the identity one account sends as.
OutgoingSenderIdentity? FindSenderIdentity(MailAccountId accountId)
Parameters
accountIdMailAccountIdThe local account identifier.
Returns
- OutgoingSenderIdentity
The identity, or null when the account is no longer configured or configures no address to send from.
Remarks
Absence is an ordinary answer for both reasons, so a caller composes nothing rather than raising: an account a
reload removed and an account whose submission endpoint was written without a sending address both leave nothing
to write a From header from, and neither is something the composition can repair.