DmarcRecordPolicy Property

Get the Domain Owner Assessment Policy.

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 it was absent or invalid.

Remarks

Gets the policy specified by the p tag.

The value is if the p tag was absent or invalid. To distinguish the two, check Errors for InvalidPolicy. According to RFC 9989, Section 4.10.1, a record without a p tag is treated as if it specified p=none, while a record with an invalid p tag is treated as if it specified p=none only if it has at least one valid aggregate report URI.

See Also