codice:
    
if(mail('foo@bar.com', 'Form test', $values['text'], "From: \"{$values['name']}\" <{$values['email']}>")){
header('Location: clienti.php') ;
}
perché
Returns TRUE if the mail was successfully accepted for delivery, FALSE otherwise.