Method TryCreateForDomain
- Namespace
- MailFathom.Domain.Delivery.Governance
- Assembly
- MailFathom.Domain.dll
TryCreateForDomain(string?, out OutgoingRecipientRule?)
Builds an entry naming a whole organization.
public static bool TryCreateForDomain(string? domain, out OutgoingRecipientRule? rule)
Parameters
domainstringThe domain text an operator wrote.
ruleOutgoingRecipientRuleThe entry, when the text is a domain this system compares on.
Returns
Remarks
The domain is held in the same comparison form every other domain in this system is, so an entry written in one encoding of an internationalized name matches an address that carried the other.