Sending HTML email with drupal_mail() I'm trying to send HTML emails from a module and I'm using drupal_mail().
It's not possible to send HTML email with just drupal_mail() (see here), and I've installed Mimemail. However, the email is still being stripped of all HTML tags.
Do I need to make any extra calls in the email template, or is there something else I've forgotten?
Set-Up
Mail System

format() -- mimemail system
mail() -- SMTP module

Mimemail

Email Format: Filtered HTML (My filtered HTML allows &lt;p&gt; and &lt;br&gt; tags.
Include all site stylesheets.

SMTP module

Allow HTML formatted emails

drupal_mail
tellafriend_mail($key, &amp;$message, $params) {

  $message['headers']['MIME-Version'] = '1.0';
  $message['headers']['Content-Type'] = 'multipart/mixed;';
  $message['headers']['Content-Type'] = 'text/html;';
  $message['subject'] = t('This is a test email');

  $message['body'][] = t(&quot;This is a test email&quot;).&quot;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&quot;.t(&quot;This should be a new paragraph.&quot;).&quot;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&quot;.t(&quot;And a third paragraph.&quot;).&quot;&lt;/p&gt;&quot;;
  $message['params']['attachments'] = $params; 
  }
As it turns out HTML email was infact enabled. The problem was the stylesheets that the email was being bundled with.

If you head to admin/config/system/mimemail you can choose to either bundle the email with your website stylesheets, or set-up a mail.css in your default theme directory.

I suspect if you're using a sub-theme and haven't got mail.css it'll just use the original theme mail.css which is probably not what you want.