<?php
// L'INDIRIZZO DEL DESTINATARIO DELLA MAIL
$to = "sitecostruction@live.it";

// IL SOGGETTO DELLA MAIL
$subject = "Modulo proveniente dal sito www.tis-consulting.com";

// COSTRUZIONE DEL CORPO DEL MESSAGGIO
$body = "Contenuto del modulo:\n\n";

$body .= "Dati personali ;
nome: " . trim(stripslashes($_POST["nome"])) . "\n";
$body .= "cognome: " . trim(stripslashes($_POST["cognome"])) . "\n";
$body .= "Città: " . trim(stripslashes($_POST["citta"])) . "\n";
$body .= "Oggetto: " . trim(stripslashes($_POST["oggetto"])) . "\n";
$body .= "testo: " . trim(stripslashes($_POST["testo"])) . "\n";
$body .= "mail: " . trim(stripslashes($_POST["mail"])) . "\n";

// INTESTAZIONI SUPPLEMENTARI
$headers = "From: Modulo utenti www.tis-consulting.com";

// INVIO DELLA MAIL
if(mail($to, $subject, $body, $headers)) { // SE L'INOLTRO E' ANDATO A BUON FINE...

echo "La mail è stata inoltrata con successo.";

} else {// ALTRIMENTI...

echo "Si sono verificati dei problemi nell'invio della mail.";

}

?>


come vedi ho tolto la @ dalla funzione mail , ma mi dice sempre : Si sono verificati dei problemi nell'invio della mail senza specificarmi l'errore