tags:

views:

19

answers:

1

How to send HTML email in drupal 6 using drupal_mail ? How can I change HTML header to show email contents in HTML.

A: 

You can to set the header in hook_mail_alter()

<?php
hook_mail_alter(&$message) {    
    $message['headers']['Content-Type'] = 'text/html; charset=UTF-8; format=flowed';
}
?>
Johan