Prova a stampare la query a vedere cosa nn ti inserisce...
$query = "INSERT INTO utenti_webmail(nome, cognome, email , nick_forum, nick_email, password, commenti, ip, hash_utente, confermato) VALUES('$nome','$cognome','$email','$nick_forum',' $nick_email','$password','$commenti','$ip','$hash_ utente', '0')";

echo "Query: ".$query;

inoltre nel link presente nel messaggio della mail:
<a href=\"http://www.boh.net/conferma.php?utente=$hash_utente&email=$encoded_em ail\">clicca qui</a>

cmq prima assicurati dell'inserimento,perche se nn hai nex output,prob è perche c'e qlcs ke nn funzia nella query...
ciao