[Email-SIG] Email Address Validator

Stuart Bishop stuart at stuartbishop.net
Sun Oct 24 06:54:46 CEST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Barry Warsaw wrote:

| This is not something our email package parser should do.  What our
| parser should do is validate the syntax of addresses according to RFC
| 2822, and probably also be able to split addr-specs into local-parts and
| domains (in 2822-speak).  Higher level tools can then do stricter
| validation of email addresses based on the requirements of the
| application.

This also ties into Unicode email addresses, which currently has a patch
with a single (negative) review on SF and still has had 0 comments in
this forum despite being brougt up twice before:

http://www.stuartbishop.net/Software/EmailAddress/

I suspect this already handles most of this, except for better splitting
and validation of the domain part. If nothing else, any address
vaidation work should use it as an example on how to translate between
Unicode and ASCII email address representations.
- --
Stuart Bishop <stuart at stuartbishop.net>
http://www.stuartbishop.net/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBezWWAfqZj7rGN0oRAlJoAKCGh+6u8/uL7wsDr7GQODZgPQZC6QCcCIRz
xZf1RB8nNIyqilNqTW76y7U=
=K4Dk
-----END PGP SIGNATURE-----


More information about the Email-SIG mailing list