title: Send errors message via email using error_log()
body: <p>The php function error_log() let you send logs to email setting the second param to 1. I do that, but i want to dispay message in html. The code looks like this:</p>
  
  <pre><code>error_log($this-&gt;_errorMsg, 1, ADMIN_MAIL, "Content-Type: text/html; charset=utf8\r\nFrom: ".MAIL_ERR_FROM."\r\nTo: ".ADMIN_MAIL);
  </code></pre>
  
  <p>Probably i mess something declaring the content type, because i get msg in plain text:</p>
  
  <pre><code>&lt;h1&gt;Website Error&lt;/h1&gt;
  &lt;b&gt;ERRNO:&lt;/b&gt;&lt;font color='red'&gt;1&lt;/font&gt;
  ...
  </code></pre>