question: public static boolean isEmailValid ( String email ) { if ( email == null || email . length ( ) == 0 ) return false ; try { InternetAddress ia = new InternetAddress ( email , true ) ; if ( ia != null ) return true ; } catch ( AddressException ex ) { log . warning ( email + " - " + ex . getLocalizedMessage ( ) ) ; } return false ; }
target:  Is EMail address valid