MimeComplianceOptionsDefault Field

The default compliance options.

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public static readonly MimeComplianceOptions Default

Field Value

MimeComplianceOptions

Remarks

A MimeReader starts out with a copy of these options. Changing them therefore affects every MimeReader that is created afterward, which makes this a convenient place to apply application-wide configuration, such as disabling a validator, at startup.

  Note

These options are not thread-safe. They should be configured once, before any MimeReader is created, and not changed afterward.

See Also