Risolto ogni problema. qua il codice corretto.
Codice PHP:
<?php
    ob_start
();
    function 
mailMsg ($status) {
    
header('Location:contatti2.php?status=' .$status);
    
header ('Content-Type: text/plain; charset=UTF-8');    //Codifica caratteri accentati TESTO
//    header ('Content-Type: content=text/html;charset=ISO-8859-1'); //Codifica caratteri accentati HTML
//    header ('Content-Type: text/html; charset=UTF-8');    //Codifica caratteri accentati HTML
    
header ('Content-Transfer-Encoding: 8bit');    
    

    exit;
}
        
setlocale(LC_TIME'ita''it_IT.utf8');

        if(isset(
$_POST['button'])) {
                
$nome $_POST['name'];
                
$email_mittente $_POST['email_mittente'];
                
$testo $_POST['messagge'];
                
$azienda $_POST['azienda'];
        
                
        
$nome htmlspecialchars(addslashes ($nome));
        
$email_mittente htmlspecialchars(addslashes ($email_mittente));
        
$testo htmlspecialchars(addslashes ($testo));
        
$azienda htmlspecialchars(addslashes ($azienda));
        
        
$time date("H:i:s"); //Orario
        
$data strftime("%A, %d %B %Y"); //Data
        
$IP = ($_SERVER['REMOTE_ADDR']);
        
$Browser = ($_SERVER['HTTP_USER_AGENT']);
        

        if (empty(
$nome)){
        
mailMsg(Fo);
        } else if (empty(
$email_mittente)){
        
mailMsg(Fn);
        } elseif (empty(
$testo)){
        
mailMsg(Ft);
        } if (!
filter_var($email_mittente,FILTER_VALIDATE_EMAIL)){ mailMsg(Fm);
        } else {
        
        
//Includo la classe phpmailer
        
include ("class.phpmailer.php");
        include (
"class.smtp.php");
        
//Instanzo la classe
        
$mail = new PHPmailer();
        
$mail2 = new PHPMailer();
        
$mail->IsSMTP();
        
$mail->SMTPDebug true;
        
        
$mail->Host "smtp.server.it";
        
$mail->Port 25;
        
        
$mail->SMTPAuth true;
        
$mail->Username "miamail@fastwebnet.it";
        
$mail->Password "psw";
        
        
$header "MIME-Version: 1.0\n";
        
$header .= "Content-Transfer-Encoding: 8bit\n\n";
        
$header .= "Content-Type: text/html; charset=UTF-8\n";    //Codifica caratteri accentati HTML
//        $header .= "Content-Type: text/html; charset=\”iso-8859-1\"\n";


        
$address "mail@gmail.com"//Inserire la mail di

        
$mail->AddAddress ($email_mittente,$nome,$address); //Mail che riceverà il mittente per conoscenza
        
$mail->From = ($address); //Inserire al posto della mia mail quella di
        
$mail->FromName "hfgf"// Nome che apparirà come Mittente al cliente
        
$mail->AddReplyTo($address 'N');
        
$mail->AddBCC ($email_mittente);
        
$mail->Subject = ("Richiesta Informazioni dal sito t.com");
        
$mail->Body $header;        
        
$mail->Body .= 'Nome:' "\n" $nome "\n";
        
$mail->Body .= 'Azienda:' "\n" .  $azienda "\n\r";
        
$mail->Body .= 'Messaggio:' "\n" .  $testo "\n\r";


//Impostazioni x la Mail Inviata a Me
        
$mail2->From = ($email_mittente);    // Mail del cliente
        
$mail2->FromName = ($nome);    // Nome che apparirà a  quando riceverà la mail dal sito
        
$mail2->AddAddress($address); //Mail che ricever
    
$mail2->Subject = ("Richiesta Informazioni dal sito .com");
        
$mail2->Body $header;
        
$mail2->Body .= 'Nome:' "\n" $nome "\n\r";
        
$mail2->Body .= 'E-mail:' "\n" $email_mittente "\n\r";
        
$mail2->Body .= 'Azienda:' "\n"  $azienda "\n\r";
        
$mail2->Body .= 'Richiesta:' "\n"  $testo "\n\r";
        
$mail2->Body .= $data "\n";
        
$mail2->Body .= $time "\n";
        
$mail2->Body .= $IP "\n";
        
$mail2->Body .= $Browser "\n";

        }    if (!
$mail->Send()){
            echo (
mailMsg (F));            //    Messaggio di errore invio mail
            
} else if (!$mail2->Send()) {
            echo 
$mail2->ErrorInfo;
            } else {            
            echo (
mailMsg (T));             //Messaggio invio riuscito
            
}
            }
ob_end_flush();
?>