eh eh... non hai letto con attenzione quello che ti ho scritto.
Tutti $_POST del tuo script devono avere [] !!!

Codice PHP:

$name 
$_POST('name');
$mail $_POST('mail');
$text $_POST('message');