Nager.EmailAuthentication
4.0.3
Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Nager.EmailAuthentication --version 4.0.3
NuGet\Install-Package Nager.EmailAuthentication -Version 4.0.3
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.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Nager.EmailAuthentication" Version="4.0.3" />
<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.3
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Nager.EmailAuthentication, 4.0.3"
#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.
#:package Nager.EmailAuthentication@4.0.3
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Nager.EmailAuthentication&version=4.0.3
#tool nuget:?package=Nager.EmailAuthentication&version=4.0.3
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.5 | 561 | 7/23/2025 |
4.0.4 | 439 | 7/21/2025 |
4.0.3 | 35 | 7/18/2025 |
4.0.2 | 37 | 7/18/2025 |
4.0.1 | 151 | 7/9/2025 |
4.0.0 | 279 | 6/18/2025 |
3.0.1 | 335 | 5/12/2025 |
3.0.0 | 169 | 4/30/2025 |
3.0.0-alpha | 140 | 4/4/2025 |
2.0.5 | 435 | 4/2/2025 |
2.0.4 | 163 | 3/28/2025 |
2.0.3 | 518 | 3/10/2025 |
2.0.2 | 288 | 3/7/2025 |
2.0.1 | 177 | 2/28/2025 |
2.0.0 | 123 | 2/28/2025 |
1.6.1 | 140 | 2/24/2025 |
1.6.0 | 110 | 2/23/2025 |
1.5.9 | 112 | 2/20/2025 |
1.5.8 | 110 | 2/12/2025 |
1.5.7 | 115 | 2/11/2025 |
1.5.6 | 115 | 2/9/2025 |
1.5.5 | 120 | 2/9/2025 |
1.5.4 | 118 | 2/8/2025 |
1.5.3 | 121 | 2/7/2025 |
1.5.2 | 116 | 2/7/2025 |
1.5.1 | 122 | 2/7/2025 |
1.5.0 | 112 | 2/7/2025 |
1.4.3 | 128 | 1/30/2025 |
1.4.2 | 107 | 1/29/2025 |
1.4.1 | 105 | 1/27/2025 |
1.4.0 | 107 | 1/27/2025 |
1.3.0 | 119 | 1/22/2025 |
1.2.0 | 92 | 1/15/2025 |
1.1.0 | 87 | 1/14/2025 |
1.0.0 | 90 | 1/14/2025 |