Like This Site? 
 
RSS Feed Follow Us 

on Twitter! Be Our Fan!

Source Code to validate email address using Java Mail API?

Share this post!
 Vote this!

This code snippet shows you how to validate an email address using the javax.mail.internet.InternetAddress class. The validate() method throws a javax.mail.internet.AddressException when the email address passed to the constructor is not a valid email address.
Here is the complete code snippet:  more...

0 comments:

Post a Comment