Soenneker.Validators.Email.Syntax
4.0.1305
Prefix Reserved
dotnet add package Soenneker.Validators.Email.Syntax --version 4.0.1305
NuGet\Install-Package Soenneker.Validators.Email.Syntax -Version 4.0.1305
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="Soenneker.Validators.Email.Syntax" Version="4.0.1305" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Validators.Email.Syntax" Version="4.0.1305" />
<PackageReference Include="Soenneker.Validators.Email.Syntax" />
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 Soenneker.Validators.Email.Syntax --version 4.0.1305
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Soenneker.Validators.Email.Syntax, 4.0.1305"
#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 Soenneker.Validators.Email.Syntax@4.0.1305
#: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=Soenneker.Validators.Email.Syntax&version=4.0.1305
#tool nuget:?package=Soenneker.Validators.Email.Syntax&version=4.0.1305
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Soenneker.Validators.Email.Syntax
A validation module for checking email syntax.
Install
dotnet add package Soenneker.Validators.Email.Syntax
Quick start
using Soenneker.Validators.Email.Syntax.Registrars;
using Microsoft.Extensions.DependencyInjection;
var services = new ServiceCollection();
var result = services.AddEmailSyntaxValidatorAsSingleton();
Adds IEmailSyntaxValidator as a singleton service.
What you get
IEmailSyntaxValidator— A validation module for checking email syntax.EmailSyntaxValidatorRegistrar— A validation module checking if a given email's domain is disposable/temporary, updated daily (if available).
API at a glance
| API | What it does | Result / important behavior |
|---|---|---|
IEmailSyntaxValidator.Validate(email, allowInternational, allowTopLevelDomains, logOnInvalid) |
Validate the specified email address for syntax. | true if the email address is valid; otherwise, false. |
EmailSyntaxValidatorRegistrar.AddEmailSyntaxValidatorAsSingleton(services) |
Adds IEmailSyntaxValidator as a singleton service. |
The same service collection, so additional registrations can be chained. |
EmailSyntaxValidatorRegistrar.AddEmailSyntaxValidatorAsScoped(services) |
Adds IEmailSyntaxValidator as a scoped service. |
The same service collection, so additional registrations can be chained. |
Important behavior
IEmailSyntaxValidator.Validate(email, allowInternational, allowTopLevelDomains, logOnInvalid): Validates the syntax of an email address. IfallowInternationalistrue, then the validator will use the newer International Email standards for validating the email address.IEmailSyntaxValidator.Validate(email, allowInternational, allowTopLevelDomains, logOnInvalid):emailisnull.
| 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- EmailValidation (>= 1.4.0)
- Soenneker.Validators.Validator (>= 4.0.736)
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.1305 | 0 | 8/29/2026 |
| 4.0.1304 | 6 | 8/29/2026 |
| 4.0.1303 | 28 | 8/29/2026 |
| 4.0.1301 | 324 | 8/17/2026 |
| 4.0.1300 | 124 | 8/12/2026 |
| 4.0.1299 | 178 | 7/28/2026 |
| 4.0.1298 | 115 | 7/27/2026 |
| 4.0.1297 | 224 | 7/16/2026 |
| 4.0.1295 | 138 | 7/14/2026 |
| 4.0.1294 | 602 | 6/18/2026 |
| 4.0.1292 | 283 | 6/9/2026 |
| 4.0.1291 | 200 | 6/5/2026 |
| 4.0.1289 | 348 | 5/12/2026 |
| 4.0.1287 | 387 | 4/21/2026 |
| 4.0.1286 | 134 | 4/14/2026 |
| 4.0.1285 | 174 | 3/13/2026 |
| 4.0.1284 | 130 | 3/12/2026 |
| 4.0.1283 | 134 | 3/12/2026 |
| 4.0.1281 | 137 | 3/12/2026 |
| 4.0.1279 | 134 | 3/12/2026 |
Loading failed
Update dependency Soenneker.Validators.Validator to 4.0.736 (#1851)