prova cosi:
Codice PHP:
<?php
$from = "tua_mail";
$to = "email_destinatario";
$Subject = "Email dal modulo ISCRIVITI";
$Nome = Trim(stripslashes($_POST['Nome']));
$Cognome = Trim(stripslashes($_POST['Cognome']));
$Email = Trim(stripslashes($_POST['Email']));
$Citta = Trim(stripslashes($_POST['Citta']));
$Provincia = Trim(stripslashes($_POST['Provincia']));
$Indirizzo = Trim(stripslashes($_POST['Indirizzo']));
$Telefono = Trim(stripslashes($_POST['Telefono']));
$Cellulare = Trim(stripslashes($_POST['Cellulare']));
$Messaggio = Trim(stripslashes($_POST['Messaggio']));
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "Content-Transfer-Encoding: 7bit\r\n";
$headers .= "From: " . $from . "\r\n";
// modifica questa riga:
// send email
$success = mail($to, $Subject, $Body, $headers );
// etc....
?>
non ne sono sicuro, comunque provala, a me ha sempre funzionato.
facci sapere!