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
domainstringThe domain text an operator or a reader supplied.
includeSubdomainsboolWhether the entry also reaches the names beneath that domain.
entryTrustedSenderEntryThe entry, when the text is a domain this system compares on.