DmarcValidationResultPolicy Property

Get the Domain Owner Assessment Policy to apply to the message if it fails DMARC validation.

Definition

Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
public DmarcPolicy? Policy { get; }

Property Value

NullableDmarcPolicy
The policy or if the DMARC mechanism does not apply.

Remarks

Gets the RequestedPolicy after the test mode (t=y) has been applied. In test mode, the policy is lowered by one level: reject becomes quarantine and quarantine becomes none.

This is the value of the policy.dmarc property of the Authentication-Results header.

See Also