Codice PHP:
<?php
$oggetto 
'Conferma registrazione';
    

//$headers = 'From: " [email]webmaster@xxx.it[/email]\r\nReply-To: [email]webmaster@xxx.it[/email]';
    
    
$headers "From: [email]admin@xxx.it[/email]\r\nReply-To: [email]admin@xxx.it[/email]\r\nMime-Version: 1.0\r\nContent-type: text/html; charset=iso-8859-1'";
    
    
    
//Scrivere messaggio
    
    
$messaggio '
<html>
<head>
<title>Convalida Registrazione</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="background-color:#000000;background-image:url([url]http://www.winbid.it/img/bodybg.gif[/url]);background-repeat:repeat-x;font-family:Verdana, Arial, Helvetica, sans-serif; color:#0066CC;">






  <center>
  <font color="#FF0000" size="+5" style="font-weight:bold;">Benvenuto!</font>
  </center>
  <table align="center" width="580px">
    <tr height="50px" align="center">
      <td colspan="3"></td>
    </tr>
    <tr height="100px">
      <td colspan="3" align="center">

<h3>Complimenti per esserti registrato!</p></h3></td>
    </tr>
    <tr height="100px">
      <td align="center">
      La registrazione dell\'account &egrave; avvenuta correttamente.
 Ora non ti resta che attivare il tuo account cliccando qui:


[url="http://www.xxx.it/xxx.php?xxx=' 
$xxx '"]ATTIVA IL TUO ACCOUNT![/url]
      </td>
    </tr>
  </table>
  
</body>
</html>

'
;

?>
questo documento contiene gli headers ke uso e il testo del messaggio