grande!
mi hai salvato
pero' tutte le altre intestazioni le ho messe tra parentesi e doppie virgolette, ecco l'esempio
Codice PHP:
$mail->Host = "www.sito.it"; // SMTP server
$mail->SMTPDebug = 1; // enables SMTP debug information (for testing)
$mail->SMTPAuth = true; // enable SMTP authentication
$mail->Host = "www.sito.it"; // sets the SMTP server
$mail->Port = 25; // set the SMTP port for the GMAIL server
$mail->Username = "user"; // SMTP account username
$mail->Password = "pass"; // SMTP account password
$mail->ConfirmReadingTo = 'info@sito.it';
$mail->AddAddress("$destinatario", "Nome Destinatario");
$mail->SetFrom("info@sito.it", "Mio Nome");
$mail->AddReplyTo("info@sito.it", "Mio Nome");
$mail->Subject = "Conferma";
Come mai funzionano bene?