Not completly true. You can use JavaMail to check the syntax of the address against RFC822. (at least a subset of it) The constructor of javax.mail.internet.InternetAddress will throw a ParseException if it recognises an syntax error.
To verify if the domain has an mx record have a look at: http://www.xbill.org/dnsjava/ > -----Ursprüngliche Nachricht----- > Von: Turner, John [mailto:[EMAIL PROTECTED]] > Gesendet: Mittwoch, 9. Oktober 2002 16:03 > An: 'Tomcat Users List' > Betreff: RE: How to validate email address in JSP by using javax.mail? > > Typically, there is no way to validate an email address. > For various reasons, any mail administrator with half a > brain turns off the VRFY command on their mailserver, > which is the only 100% guaranteed way to validate an > email address without sending a message and looking for > a bounce or other error. > > Other than that, you can take some precautions on the > processing end, like checking for minimum length, the > presence of '@', and a valid > MX lookup on the domain name, and even a valid connection > to port 25 of the host listed in that MX record. All of > that stuff, though, is regular Java, with nothing > to do with javax.mail. > <snip/> > All of that stuff, though, is regular Java, with nothing > to do with javax.mail. <snip/> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>