Dmarc Record Class
A DMARC Policy Record.
Definition
Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
public sealed class DmarcRecord- Inheritance
- Object DmarcRecord
Remarks
A DMARC Policy Record is published by a Domain Owner as a DNS TXT record at _dmarc.<domain> and is defined by RFC 9989, Section 4.7.
The record must begin with a v=DMARC1 tag; any text that does not is not a DMARC Policy Record. Beyond that, the parser is lenient, as required by RFC 9989, Section 4.8: unknown tags (including the historic pct, rf and ri tags) are ignored, and a tag with an invalid value is discarded in favor of the default value. Discarded errors are reported by the Errors property.
Properties
| AggregateReportUris | Get the URIs to which aggregate feedback reports should be sent. |
| DkimAlignment | Get the DKIM identifier alignment mode. |
| Errors | Get the syntax errors that were discarded while parsing the record. |
| FailureReportingOptions | Get the failure reporting options. |
| FailureReportUris | Get the URIs to which failure reports should be sent. |
| NonExistentSubdomainPolicy | Get the Domain Owner Assessment Policy for non-existent subdomains. |
| Policy | Get the Domain Owner Assessment Policy. |
| PublicSuffixDomain | Get whether the domain is a Public Suffix Domain. |
| SpfAlignment | Get the SPF identifier alignment mode. |
| SubdomainPolicy | Get the Domain Owner Assessment Policy for existing subdomains. |
| Testing | Get whether the Domain Owner is testing its policy. |
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) |
| Parse | Parse the given text into a new DmarcRecord instance. |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| TryParse | Try to parse the given text into a new DmarcRecord instance. |