public static boolean isValid ( @ Nullable final String sEmail ) { return s_aPerformMXRecordCheck . get ( ) ? isValidWithMXCheck ( sEmail ) : EmailAddressHelper . isValid ( sEmail ) ; }
Checks if a value is a valid e - mail address . Depending on the global value for the MX record check the check is performed incl . the MX record check or without .