Suggestion Email validation library to support IEA
Dear all, I have a suggestion to UASG that might help to improve IEA adoption in software applications like (web apps, mobile apps) Software developers nowadays depend on open source packages or libraries either to use it directly or use it as a reference to rewrite it in other programming languages. Some developers write their own regular expression(regex) to validate email which usually does not support IDN emails since a regex that supports IEA will be too complex and hard to write and debug. A standard library that has a function like validateEmail() eases the support for IEA in web and mobile apps development. I wish the UASG considers contacting open source software vendors like (Microsoft,php.net or openjdk.java.net .. etc.) to include email validation in their standard libraries or to sponsor an existing library to be the official email validation library and be the reference implementation for other software developers. With best regards, Suhayb Alghutaymil SaudiNIC
A standard library that has a function like validateEmail() eases the support for IEA in web and mobile apps development.
We've been working on this in the IETF. See https://datatracker.ietf.org/doc/draft-seantek-mail-regexen/ Also keep in mind that addresses have to be syntaxtically valid, but just because the syntax is valid doesn't mean the address actually works. The only way to check is to send it a message and see if anyone responds. R's, John
I'd be interested in contributing to this effort; which WG is the discussion on. Having a reference implementation in C or a C-compatible language interests me because it makes it easy and straightforward to create libraries for popular programming languages that can be tested against the reference code as well as see if it can be mainlined into languages that have standard email validation stuff like PHP and Python. Michael On Sun, Dec 9, 2018 at 6:09 PM John Levine <john.levine@standcore.com> wrote:
A standard library that has a function like validateEmail() eases the support for IEA in web and mobile apps development.
We've been working on this in the IETF. See
https://datatracker.ietf.org/doc/draft-seantek-mail-regexen/
Also keep in mind that addresses have to be syntaxtically valid, but just because the syntax is valid doesn't mean the address actually works. The only way to check is to send it a message and see if anyone responds.
R's, John
I'd be interested in contributing to this effort; which WG is the discussion on.
I brought it up in DISPATCH in Bangkok. It got a modest amount of interest. You might send a note to the dispatch list saying you're interested and what's the status.
Having a reference implementation in C or a C-compatible language ...
These are just regular expressions. You should be able to use them with the regexp libraries in whatever language you're using. That's a lot easier than having to splice yet another C library into python or perl or php or java or whatever. Regards, John Levine, john.levine@standcore.com Standcore LLC
participants (3)
-
John Levine -
Michael Casadevall -
SUHAYB ALGHUTAYMIL