Table of Contents

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

domain string

The domain text an operator wrote.

rule OutgoingRecipientRule

The entry, when the text is a domain this system compares on.

Returns

bool

true when the text is usable; otherwise false.

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.