如何使用drupal_mail在drupal 6中发送HTML电子邮件?如何更改HTML标头以HTML格式显示电子邮件内容.
你可以在hook_mail_alter()中设置标题
<?php
hook_mail_alter(&$message) {
$message['headers']['Content-Type'] = 'text/html; charset=UTF-8; format=flowed';
}
?>
Run Code Online (Sandbox Code Playgroud)