Nager.EmailAuthentication
4.0.0
Prefix Reserved
dotnet add package Nager.EmailAuthentication --version 4.0.0
NuGet\Install-Package Nager.EmailAuthentication -Version 4.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Nager.EmailAuthentication" Version="4.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Nager.EmailAuthentication" Version="4.0.0" />
<PackageReference Include="Nager.EmailAuthentication" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Nager.EmailAuthentication --version 4.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Nager.EmailAuthentication, 4.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Nager.EmailAuthentication&version=4.0.0
#tool nuget:?package=Nager.EmailAuthentication&version=4.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Nager.EmailAuthentication
Nager.EmailAuthentication is a .NET library designed to parse and validate DMARC and DKIM easily. With built-in support for error handling and validation, this library simplifies working with email authentication configurations.
Features
- Parse DMARC records with comprehensive validation.
- Parse DKIM Public Key records with comprehensive validation.
- Parse DKIM Signatures with comprehensive validation.
- Parse SPF records
- Identify and report errors in DMARC configurations.
- Identify and report errors in DKIM configurations.
Examples
Parsing a DMARC Record
var dmarcRecordRaw = "v=DMARC1; p=reject;";
if (!DmarcRecordParser.TryParse(dmarcRecordRaw, out var dmarcRecord))
{
}
Handling Validation Errors
var dmarcRecord = "v=DMARC1; p=invalid;";
if (!DmarcRecordDataFragmentParser.TryParse(dmarcRecord, out var dmarcDataFragment, out var parsingResults))
{
}
License
This project is licensed under the MIT License. See the LICENSE file for details.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Nager.KeyValueParser (>= 1.1.0)
-
net9.0
- Nager.KeyValueParser (>= 1.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last Updated |
---|---|---|
4.0.0 | 238 | 6/18/2025 |
3.0.1 | 313 | 5/12/2025 |
3.0.0 | 160 | 4/30/2025 |
3.0.0-alpha | 127 | 4/4/2025 |
2.0.5 | 424 | 4/2/2025 |
2.0.4 | 147 | 3/28/2025 |
2.0.3 | 503 | 3/10/2025 |
2.0.2 | 280 | 3/7/2025 |
2.0.1 | 162 | 2/28/2025 |
2.0.0 | 102 | 2/28/2025 |
1.6.1 | 132 | 2/24/2025 |
1.6.0 | 100 | 2/23/2025 |
1.5.9 | 101 | 2/20/2025 |
1.5.8 | 99 | 2/12/2025 |
1.5.7 | 103 | 2/11/2025 |
1.5.6 | 103 | 2/9/2025 |
1.5.5 | 109 | 2/9/2025 |
1.5.4 | 108 | 2/8/2025 |
1.5.3 | 113 | 2/7/2025 |
1.5.2 | 105 | 2/7/2025 |
1.5.1 | 109 | 2/7/2025 |
1.5.0 | 100 | 2/7/2025 |
1.4.3 | 111 | 1/30/2025 |
1.4.2 | 98 | 1/29/2025 |
1.4.1 | 95 | 1/27/2025 |
1.4.0 | 99 | 1/27/2025 |
1.3.0 | 106 | 1/22/2025 |
1.2.0 | 82 | 1/15/2025 |
1.1.0 | 77 | 1/14/2025 |
1.0.0 | 81 | 1/14/2025 |