Nager.EmailAuthentication
3.0.1
Prefix Reserved
dotnet add package Nager.EmailAuthentication --version 3.0.1
NuGet\Install-Package Nager.EmailAuthentication -Version 3.0.1
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="3.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Nager.EmailAuthentication" Version="3.0.1" />
<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 3.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Nager.EmailAuthentication, 3.0.1"
#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=3.0.1
#tool nuget:?package=Nager.EmailAuthentication&version=3.0.1
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 |
---|---|---|
3.0.1 | 227 | 5/12/2025 |
3.0.0 | 153 | 4/30/2025 |
3.0.0-alpha | 121 | 4/4/2025 |
2.0.5 | 412 | 4/2/2025 |
2.0.4 | 139 | 3/28/2025 |
2.0.3 | 470 | 3/10/2025 |
2.0.2 | 276 | 3/7/2025 |
2.0.1 | 154 | 2/28/2025 |
2.0.0 | 92 | 2/28/2025 |
1.6.1 | 125 | 2/24/2025 |
1.6.0 | 95 | 2/23/2025 |
1.5.9 | 95 | 2/20/2025 |
1.5.8 | 89 | 2/12/2025 |
1.5.7 | 95 | 2/11/2025 |
1.5.6 | 98 | 2/9/2025 |
1.5.5 | 102 | 2/9/2025 |
1.5.4 | 100 | 2/8/2025 |
1.5.3 | 104 | 2/7/2025 |
1.5.2 | 100 | 2/7/2025 |
1.5.1 | 101 | 2/7/2025 |
1.5.0 | 94 | 2/7/2025 |
1.4.3 | 100 | 1/30/2025 |
1.4.2 | 93 | 1/29/2025 |
1.4.1 | 91 | 1/27/2025 |
1.4.0 | 95 | 1/27/2025 |
1.3.0 | 99 | 1/22/2025 |
1.2.0 | 75 | 1/15/2025 |
1.1.0 | 73 | 1/14/2025 |
1.0.0 | 78 | 1/14/2025 |