You can check if the email is valid or not by using regular experessions. Just copy and use the function below
function is_valid_email($email) { if( preg_match("/[a-zA-Z0-9_-.+]+@[a-zA-Z0-9-]+.[a-zA-Z]+/", $email) > 0) return true; else return false; }