title: HTML email just shows as Code
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/3058897/sending-html-email-from-php">Sending HTML email from PHP</a>  </p>
  </blockquote>
  
  
  
  <p>Using PHP to send an email. </p>
  
  <p>I want it to be HTML based but when I get the email in my inbox it just shows the raw code.</p>
  
  <p>How can I make it interprited as HTML rather then just text?!</p>
  
  <p>For everyone asking to see the code </p>
  
  <pre><code>&lt;?php
  //The email of the sender
  $email = $_POST['email'];
  //The message of the sender
  $message = "&lt;html&gt;&lt;/html&gt;";
  //The subject of the email
  $subject = "Fanshawe Student Success";
  $extra = $email."\r\nReply-To: ".$email."\r\n";
  mail($email,$subject,$message,$extra);
  ?&gt;
  </code></pre>