ho modificato questa parte di codice:
/*Impostazioni messaggio amministratore*/
$headers = "MIME-Version: 1.0\n".
"Content-type: text/html; charset=utf-8\n".
"From: $nome <$mail>\n";
$message = "<strong>Data contatto:</strong> $todayis \n<br />
<strong>Da:</strong> $nome ($mail)\n<br />
<strong>Cognome:</strong> $cognome \n<br />
<strong>Url:</strong> $url \n<br />
<strong>Messaggio:</strong> $testo \n<br />
<strong>Informazioni addizionali:</strong> IP = $ip \n<br />
<strong>Browser Info:</strong> $httpagent \n<br />
<strong>Referral:</strong> $httpref \n";
mail("Webmaster <
[email protected]>", $oggetto, "<p>$message</p>", $headers);
/*Impostazioni messaggio pubblico*/
$headers_p = "MIME-Version: 1.0\n".
"Content-type: text/html; charset=utf-8\n".
"From: Webmaster <
[email protected]>\n";
mail("$mail\n","Conferma: messaggio inviato!","<p>Gentile $nome, lo staff di miosito.com, risponderà alla tua richiesta nel più breve tempo possibile.</p>
<p>Un saluto! <font color='#cdcdcd'>Lo Staff di miosito.com</font></p>", $headers_p );
```In questo modo l'email arriverà sia a te webmaster che all'utente, in formato html codificato in UTF-8. ;)