Ciao,

ritengo che l'errore sia qui:

# Set Your Options:
$mail = matteob7@virgilio.it; # 1 = Yes; 0 = No

devi solo mettere:

# Set Your Options:
$mail = 1; # 1 = Yes; 0 = No

Ciao.