title: How do I send HTML formatted mail using PHP?
body: <p>Trying to send a html email via mail(), however gmail just displays the email as plain text, no mark up, eg:</p>
  <pre><code>mail(&quot;blah@blah.com&quot;, &quot;subject&quot;, &quot;&lt;i&gt;Italic Text&lt;/i&gt;&quot;);
  </code></pre>
  <p>just appears as</p>
  <pre><code>&lt;i&gt;Italic Text&lt;/i&gt;
  </code></pre>
  <p>Any ideas?</p>