Io ho scritto in questo modo
Codice PHP:
$target "simone.macmini@fastwebnet.it";
        
$subject "INVIO MODULO DISPONIBILITA";
        
$msg "<html><head><title>Richiesta di Disponibilità</title>";
        
$msg .= "<link href='http://www.ancoravela.it/stylesheet.css' rel='stylesheet' type='text/css' /></head><body>";
        
$msg .= "<table class=\"mail_table\" width=\"500\" cellpadding=\"2\" cellspacing=\"2\">
              <tr>
                <td width=\"500\">[b]Richiesta inoltrata da[/b]</td>
              </tr>
              <tr>
                <td>"
.RemoveHtml(strtoupper($cognome))."".RemoveHtml(strtoupper($nome))."</td>
              </tr>
              <tr>
                <td>"
.fun_pulisco_a_capo($testo)."</td>
              </tr>
              </table>"
;
        
$msg .= "</body></html>";
        
$text $msg;
        
            
// Questa sono le righe che funzionano da
            // intestazione alla mail
            
$header_html "From: Ancora Vela WebSite<info@ancoravela.it>
                       Reply-To: 
$mail
                       X-Mailer: PHP/4.0.2
                       MIME-Version: 1.0\r\n
                       Content-type: text/html; charset=iso-8859-1\r\n"
;
        
        
           
// Funzione mail!
           
mail ($target,$subject,$text,$header_html); 
La mail non viene interpretata in html, ma si stampa tutto il sorgente e inoltre mi stampa
Content-type: text/html; charset=iso-8859-1 ad inizio mail. Dove può essere l'errore?