Apache Commons Validator can be used as mentioned in the other answers.
Step:1)Download the jar file from here
Step:2)Add it into your project libs
The import:
import org.apache.commons.validator.routines.EmailValidator;
The code:
String email = "[email protected]";
boolean valid = EmailValidator.getInstance().isValid(email);
and to allow local addresses::
boolean allowLocal = true;
boolean valid = EmailValidator.getInstance(allowLocal).isValid(email);