Soenneker.SendGrid.Validation
4.0.1762
Prefix Reserved
See the version list below for details.
dotnet add package Soenneker.SendGrid.Validation --version 4.0.1762
NuGet\Install-Package Soenneker.SendGrid.Validation -Version 4.0.1762
<PackageReference Include="Soenneker.SendGrid.Validation" Version="4.0.1762" />
<PackageVersion Include="Soenneker.SendGrid.Validation" Version="4.0.1762" />
<PackageReference Include="Soenneker.SendGrid.Validation" />
paket add Soenneker.SendGrid.Validation --version 4.0.1762
#r "nuget: Soenneker.SendGrid.Validation, 4.0.1762"
#:package Soenneker.SendGrid.Validation@4.0.1762
#addin nuget:?package=Soenneker.SendGrid.Validation&version=4.0.1762
#tool nuget:?package=Soenneker.SendGrid.Validation&version=4.0.1762
Soenneker.SendGrid.Validation
Returns SendGrid's detailed email-address validation result or a simplified fail-open verdict.
Installation
dotnet add package Soenneker.SendGrid.Validation
Configuration
{
"SendGrid": {
"ValidationApiKey": "SG.xxxxxxxxx",
"Validation": {
"Enabled": true,
"LogEnabled": false
}
}
}
Usage
using Soenneker.SendGrid.Validation.Abstract;
using Soenneker.SendGrid.Validation.Registrars;
services.AddSendGridValidationUtilAsSingleton();
public sealed class SignupValidator
{
private readonly ISendGridValidationUtil _validation;
public SignupValidator(ISendGridValidationUtil validation)
{
_validation = validation;
}
public ValueTask<bool> Accept(
string email,
CancellationToken cancellationToken)
{
return _validation.GetVerdict(
email,
source: "signup",
cancellationToken: cancellationToken);
}
}
Validate returns the full SendGrid response, or null when validation is disabled, the API fails after retries, or no result is returned. GetVerdict returns false only when SendGrid explicitly returns a verdict other than Valid; disabled or unavailable validation returns true. Requested cancellation is propagated rather than treated as a passing verdict.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. |
-
net10.0
- Soenneker.Extensions.HttpClient (>= 4.0.4059)
- Soenneker.SendGrid.Client.Validation (>= 4.0.2349)
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.1772 | 0 | 9/17/2026 |
| 4.0.1771 | 0 | 9/16/2026 |
| 4.0.1770 | 0 | 9/16/2026 |
| 4.0.1768 | 22 | 9/16/2026 |
| 4.0.1767 | 37 | 9/16/2026 |
| 4.0.1766 | 46 | 9/16/2026 |
| 4.0.1765 | 45 | 9/16/2026 |
| 4.0.1764 | 46 | 9/15/2026 |
| 4.0.1763 | 52 | 9/15/2026 |
| 4.0.1762 | 85 | 9/13/2026 |
| 4.0.1761 | 77 | 9/13/2026 |
| 4.0.1760 | 81 | 9/13/2026 |
| 4.0.1758 | 72 | 9/13/2026 |
| 4.0.1757 | 75 | 9/13/2026 |
| 4.0.1756 | 81 | 9/12/2026 |
| 4.0.1755 | 85 | 9/12/2026 |
| 4.0.1754 | 73 | 9/12/2026 |
| 4.0.1750 | 98 | 9/10/2026 |
| 4.0.1749 | 89 | 9/10/2026 |
| 4.0.1748 | 92 | 9/9/2026 |
Updated NuGet packages
NuGet-Builder-Operation: 17c6072d12ea43f19120ed5f5f12e6d8