Proverei un qualcosa del tipo

Codice PHP:
$mostraForm true;

if(
mail(...))
   
$mostraForm false;

if(
$mostraForm){
//Mostra il form


Thinker