Domain Detective

API Reference

Class

EmailAddressValidationOptions

Namespace DomainDetective
Assembly DomainDetective
Modifiers sealed

Options controlling email address validation behavior.

Inheritance

  • Object
  • EmailAddressValidationOptions

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

public EmailAddressValidationOptions() #

Properties

public Boolean AllowInternational { get; set; } #

Allow international characters in the local part.

public Boolean AllowTopLevelDomains { get; set; } #

Allow top-level-only domains (no dot).

public Boolean CheckMx { get; set; } #

Enable MX/A/AAAA validation.

public Boolean CheckSmtp { get; set; } #

Enable SMTP probe for deliverability.

public Boolean CheckCatchAll { get; set; } #

Attempt catch-all detection when SMTP probing.

public Boolean DisableCatchAllForB2C { get; set; } #

Disable catch-all probing for known B2C providers.

public Boolean EnableProviderWebChecks { get; set; } #

Enable provider-specific web checks when available.

public String ProtonAuthCookie { get; set; } #

Proton API auth cookie value (AUTH-<uid>).

public String ProtonUid { get; set; } #

Proton API uid value (x-pm-uid).

public Int32 SmtpPort { get; set; } #

SMTP port to probe.

public TimeSpan SmtpTimeout { get; set; } #

Timeout for SMTP probing.

public Boolean AllowInvalidSmtpCertificates { get; set; } #

Allow invalid SMTP TLS certificates when STARTTLS is used.

public TimeSpan SmtpProbeDelay { get; set; } #

Delay between SMTP probe attempts.

public Int32 SmtpMaxHosts { get; set; } #

Maximum number of SMTP hosts to try (from MX records).

public Int32 SmtpRetryCount { get; set; } #

Number of retries for SMTP verification on temporary failures.

public TimeSpan SmtpRetryDelay { get; set; } #

Delay between SMTP retries.

public String SmtpHelloName { get; set; } #

EHLO/HELO name to present during SMTP probing.

public String SmtpFromAddress { get; set; } #

MAIL FROM address used during SMTP probing.

public EmailSmtpProxyOptions SmtpProxy { get; set; } #

Optional SOCKS5 proxy settings for SMTP probing.

public Boolean CheckGravatar { get; set; } #

Check for Gravatar existence.

public Boolean CheckHaveIBeenPwned { get; set; } #

Check Have I Been Pwned for breach status.

public String HaveIBeenPwnedApiKey { get; set; } #

API key for Have I Been Pwned.

public String HaveIBeenPwnedBaseUrl { get; set; } #

Base URL for Have I Been Pwned API (must end with '/').

public Boolean CheckFreeProvider { get; set; } #

Include free-provider classification.

public Boolean TreatFreeProvidersAsB2C { get; set; } #

Treat free providers as B2C when no explicit B2C match exists.

public Boolean ApplyProviderPolicies { get; set; } #

Apply provider-specific SMTP policies when available.

public IDictionary<MailProviderKind, EmailSmtpProviderPolicy> ProviderPolicies { get; set; } #

Optional per-provider SMTP policy overrides.

public TimeSpan HttpTimeout { get; set; } #

Timeout for HTTP lookups (Gravatar/HIBP).

public String DisposableDomainsPath { get; set; } #

Optional path to a disposable domain list (overrides built-in).

public String RoleAccountsPath { get; set; } #

Optional path to a role account list (overrides built-in).

public String FreeProvidersPath { get; set; } #

Optional path to a free provider list (overrides built-in).

public String B2CProvidersPath { get; set; } #

Optional path to a B2C provider list (overrides built-in).

public String SmtpRulesPath { get; set; } #

Optional path to SMTP rules JSON.

public Boolean UseBuiltinSmtpRules { get; set; } #

Use built-in SMTP rules when no custom rules path is provided.

{{ include "footer" }}