MimeParserComplianceLogger Property

Get or set the logger to use for reporting MIME compliance violations.

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public IMimeComplianceLogger? ComplianceLogger { get; set; }

Property Value

IMimeComplianceLogger
The MIME compliance logger.

Remarks

Gets or sets the logger to use for reporting MIME compliance violations.

When no logger is set, no compliance checks are performed at all. When a logger is set, ComplianceOptions controls which checks are performed and how the violations that they detect are reported.

See Also