public static boolean validateEmailAdress ( final String emailAddress ) { boolean isValid = true ; try { final InternetAddress internetAddress = new InternetAddress ( emailAddress ) ; internetAddress . validate ( ) ; } catch ( final AddressException e ) { isValid = false ; } return isValid ; }
Validate the given email address .