Dmarc Validation ResultTo Authentication Method Result Method
Create an AuthenticationMethodResult for the Authentication-Results header.
Definition
Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
The authentication method result.
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
public AuthenticationMethodResult ToAuthenticationMethodResult()Return Value
AuthenticationMethodResultThe authentication method result.
Remarks
Creates an AuthenticationMethodResult for the dmarc method, suitable for adding to an Authentication-Results header (RFC 8601).
The header.from property is set to the Author Domain. When the message fails DMARC validation, the policy.dmarc property is set to the Policy (RFC 9989, Section 9.1).