I am validating a email address adheres to the RFC822 format by a creating email address object using javamail 1.4.4 'InternetAddress' Class.
InternetAddress internetAdd = new InternetAddress("test@test.com");
If it throws an AddressException then it's invalid.
Is there any simpler break down of what type of email address are accepted other than reading the RFC822 documentation?
http://www.w3.org/Protocols/rfc822/#z25
For example, what special charchters can it contain, etc?
Thanks