title: Why is the HTML not being interpreted in this e-mail?
body: <p>I'm running a website loccaly useing WAMP and have installed Test Mail Server Tool to act as a mail server (all it does is saves the messages as .eml files). I've tried opening the messages with Lotus Notes and gmail (web interface) and both do not interpret the HTML, for example instead of having a clickable link they have <code>&lt;a href='localhost'&gt;click here&lt;/a&gt;</code> Did I make a mistake with the headers?</p>
  
  <p>Here is the code I am using</p>
  
  <pre><code>$to = 'bepusslai@fakeinbox.com';
  $from = 'From: tester1@localhost.com';
  $subject = 'this is a test';
  $message = '&lt;html&gt;&lt;head&gt;&lt;/head&gt;&lt;body&gt;Hello. Please follow &lt;a href="http://localhost/proc.php?uid=45ab3"&gt;this link&lt;/a&gt; to activate your account.'
      ."r\n".'&lt;a href="http://localhost/proc.php?uid=45ab3"&gt;&lt;img src="images/ActivateButton.gif" alt="activate button" /&gt;
      &lt;/body&gt;&lt;/html&gt;';
  $headers = 'MIME-Version: 1.0' . "\r\n";
  $headers .= 'Content-type: text/html; utf-8' . "\r\n";
  $headers .= 'From: testk1@localhost.com' . "\r\n";
  mail($to, $subject, $message, $from, $headers);
  </code></pre>
  
  <p>By the way, I was stuck not having a mail server since WAMP doesn't come with one and I red on another question someone recommended Test Mail Server Tool. I'm open to using a different one because it doesn't seem popular.</p>