Table of Contents

Method TryCreateForAddress

Namespace
MailFathom.Domain.Delivery.Governance
Assembly
MailFathom.Domain.dll

TryCreateForAddress(string?, out OutgoingRecipientRule?)

Builds an entry naming one mailbox.

public static bool TryCreateForAddress(string? address, out OutgoingRecipientRule? rule)

Parameters

address string

The address text an operator wrote.

rule OutgoingRecipientRule

The entry, when the text is an address this system compares on.

Returns

bool

true when the text is usable; otherwise false.

Remarks

The address is split at the last at-sign, the way every address in this system is, because a quoted local part may contain one.