DmarcValidationResult Class

The result of DMARC validation.

Definition

Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
public sealed class DmarcValidationResult
Inheritance
Object    DmarcValidationResult

Remarks

The result of DMARC validation, as returned by DmarcVerifier.

The result does not decide what to do with the message. The final disposition of a message is a matter of local policy (RFC 9989, Section 5.4): a policy of reject should not be the sole reason to reject a message (RFC 9989, Section 7.4), and local overrides such as trusted forwarders or ARC are up to the caller.

The result also carries the information needed to build DMARC aggregate and failure reports.

Properties

AlignedDkimResult Get the DKIM result that is aligned with the Author Domain.
AuthorDomain Get the Author Domain.
AuthorDomainResults Get the results for each Author Domain.
DkimAligned Get whether a DKIM-Authenticated Identifier is aligned with the Author Domain.
DkimResults Get the DKIM results that were evaluated.
Errors Get the problems that were encountered during validation.
IsTesting Get whether the Domain Owner is testing its policy.
OrganizationalDomain Get the Organizational Domain of the Author Domain.
Policy Get the Domain Owner Assessment Policy to apply to the message if it fails DMARC validation.
PolicyDomain Get the DMARC Policy Domain.
PolicyDomainSource Get the location at which the applicable DMARC Policy Record was discovered.
Record Get the applicable DMARC Policy Record.
RequestedPolicy Get the Domain Owner Assessment Policy requested for the Author Domain.
SpfAligned Get whether the SPF-Authenticated Identifier is aligned with the Author Domain.
SpfResult Get the SPF result that was evaluated.
Status Get the DMARC result.

Methods

Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCode Serves as the default hash function.
(Inherited from Object)
GetType Gets the Type of the current instance.
(Inherited from Object)
ToAuthenticationMethodResult Create an AuthenticationMethodResult for the Authentication-Results header.
ToString Returns a string that represents the current object.
(Inherited from Object)

See Also