Table of Contents

Method TryCreateForAddress

Namespace
MailFathom.Domain.Emails.Authentication
Assembly
MailFathom.Domain.dll

TryCreateForAddress(string?, out TrustedSenderEntry?)

Builds an entry that recognizes one mailbox.

public static bool TryCreateForAddress(string? address, out TrustedSenderEntry? entry)

Parameters

address string

The address text an operator or a reader supplied.

entry TrustedSenderEntry

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 the way every address in this system is, at the last at-sign, because a quoted local part may contain one. Its domain half is held in the same comparison form a domain entry's is, so an entry written in one encoding of an internationalized name recognizes a message that carried the other.