Codice PHP:
if(!filter_var($emailFILTER_VALIDATE_EMAIL))
{
exit(
"E-mail non valida");