--- htmlmail.module.orig	2009-04-18 14:40:44.000000000 +0200
+++ htmlmail.module	2009-04-18 14:41:07.000000000 +0200
@@ -17,9 +17,7 @@ function htmlmail_help($path, $arg) {
 }
 
 function htmlmail_mail_alter(&$message) {
-  $message['headers'] = array(
-    'Content-Type' => 'text/html; charset=UTF-8;',
-  );
+  $message['headers']['Content-Type'] = 'text/html; charset=UTF-8;';
 
   // as of d6 body may be array
   $message['body'] = is_array($message['body']) ? implode("\n\n", $message['body']) : $message['body'];
