DmarcStatus Enumeration

The result of DMARC validation.

Definition

Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
public enum DmarcStatus

Remarks

The DMARC result codes, as defined by RFC 9989, Section 9.2.

The exact cause of a None, TempError or PermError result is reported by Errors.

Members

None 0 No DMARC Policy Record exists for the Author Domain, so the DMARC mechanism does not apply.
Pass 1 A DMARC Policy Record exists for the Author Domain, and an Authenticated Identifier with Identifier Alignment exists.
Fail 2 A DMARC Policy Record exists for the Author Domain, but no Authenticated Identifier with Identifier Alignment exists.
TempError 3 An error that is likely transient in nature, such as a DNS server being temporarily unreachable, occurred during DMARC evaluation.
PermError 4 An unrecoverable error occurred during DMARC evaluation, such as a message without exactly one From header.

See Also