Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

EmailAuthenticationOptions

OfficeIMO.Email

Namespace
OfficeIMO.Email
Assembly
OfficeIMO.Email
Source revision
ac7e6e1bad8a with working tree changes
Modifiers
sealed

Resource limits and policy for DKIM and ARC verification.

Inheritance

  • object
  • EmailAuthenticationOptions

Usage

Explore 2 API references to this type

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

Accepted by parameters 2

Constructors

public EmailAuthenticationOptions() #

Properties

public long MaxMessageBytes { get; set; } #

Maximum raw message size processed. Larger messages are not verified.

public int MaxHeaderFields { get; set; } #

Maximum number of header fields parsed.

public int MaxSignatures { get; set; } #

Maximum DKIM-Signature header fields evaluated; later ones are reported as not evaluated.

public int MaxSignedHeaderFields { get; set; } #

Maximum names in one h= list.

public int MaxKeyLookups { get; set; } #

Maximum distinct key lookups per verification.

public int MinimumRsaKeyBits { get; set; } #

Minimum accepted RSA key size. RFC 8301 requires at least 1024 bits.

public bool RejectBodyLengthLimit { get; set; } #

When true, signatures carrying an l= body length limit are refused with EmailDkimResult.Policy. When false (the default), they are evaluated and reported with a warning and EmailDkimSignatureResult.UnsignedBodyBytes.

public DateTimeOffset? VerificationTime { get; set; } #

Verification time used for x= expiration. Defaults to the current UTC time.

public TimeSpan AllowedClockSkew { get; set; } #

Allowed clock skew for t= timestamps in the future before a warning is recorded.