Login to follow
YAEmailValidator

YAEmailValidator (ODC)

Stable version 0.9.2 (Compatible with ODC)
Uploaded on 20 Feb by António Pereira
YAEmailValidator

YAEmailValidator (ODC)

Details
Detailed Description

This high-performance utility provides rigorous validation using the EmailValidation 1.3.0 library by Jeffrey Stedfast. Unlike System.Net.Mail.MailAddress, which is designed for sending mail and permits loose formatting, this tool adheres to RFC 5321 for SMTP transport.


RFC 5321 vs. RFC 5322

RFC 5322 defines message headers, while RFC 5321 defines the "envelope" used by mail servers (MTAs). Addresses violating 5321 are often rejected at the server level before delivery starts.


FeatureSystem.Net.MailEmailValidation
GoalObject for sendingPure RFC validation
RigorLow (allows names)High (Pure addr-spec)
LogicInternal .NET ParserRecursive Descent
PerfModerateExcellent (Low-alloc)


Technical Standards

  • Enforced Limits: Local-part (64 chars), Total address (254 chars).

  • Security: Recursive descent parser prevents ReDoS vulnerabilities.

  • Global: Full support for RFC 6531 (EAI) non-ASCII characters.

Release notes 
  • Improved tests coverage
  • Improved descriptions
  • Replaced lib icon