Table of Contents

Method TryCreateForDomain

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

TryCreateForDomain(string?, bool, out TrustedSenderEntry?)

Builds an entry that recognizes a whole domain.

public static bool TryCreateForDomain(string? domain, bool includeSubdomains, out TrustedSenderEntry? entry)

Parameters

domain string

The domain text an operator or a reader supplied.

includeSubdomains bool

Whether the entry also reaches the names beneath that domain.

entry TrustedSenderEntry

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

Returns

bool

true when the text is usable; otherwise false.