MimeComplianceContext Enumeration

An enumeration of the contexts that a MIME message may be used in.

Definition

Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public enum MimeComplianceContext

Remarks

A handful of MIME compliance violations are requirements of the channel that a message travels over rather than of the message itself. Such violations are serious when a message is transmitted over the network but routine and harmless when a message is read from local disk storage.

The affected violations are BareLinefeedInHeader, BareLinefeedInBody and OversizedLine. Every other violation is rated the same in both contexts.

Members

Transport 0 The message is being transmitted over the network.
Storage 1 The message is being read from local storage.

See Also

Reference