Lets you theme your outgoing messages the same way you theme the rest of your website.
The following additional modules, while not required, are highly recommended:
Converts non-ASCII characters to their US-ASCII equivalents, such as from Microsoft "smart-quotes" to regular quotes.
Also available as a patch.
Check the module dependencies, as they have changed. The latest version of HTML Mail depends on the Mail System module and will not work without it.
The user-interface for adding email header and footer text has been removed. Headers and footers may be added by template files and/or by enabling the Echo module.
Any customized filters should be carefully tested, as some of the template variables have changed. Full documentation is provided both on the module configuration page (Click on the Instructions link) and as comments in the htmlmail.tpl.php
file itself.
The following options have been removed from the module settings page. In their place, any combination of over 200 filter modules may be used to create an email-specific text format for post-template filtering.
Full MIME handling, including automatic generation of a plaintext alternative part and conversion of image references to inline image attachments, is available simply by enabling the Mail MIME module.
Visit the Mail System settings page at admin/config/system/mailsystem to select which parts of Drupal will use HTML Mail instead of the default mail system.
Visit the HTML Mail settings page at admin/config/system/htmlmail to select a theme and post-filter for your messages.
The email message text goes through three transformations before sending:
A template file is applied to your message header, subject, and body text. The default template is the included htmlmail.tpl.php
file. You may copy this file to your email theme directory (selected below), and use it to customize the contents and formatting of your messages. The comments within that file contain complete documentation on its usage.
You may choose a theme that will hold your templates from Step 1 above. If the Echo module is installed, this theme will also be used to wrap your templated text in a webpage. You use any one of over 800 themes to style your messages, or create your own for even more power and flexibility.
You may choose a text format to be used for filtering email messages after theming. This allows you to use any combination of over 200 filter modules to make final changes to your message before sending.
Here is a recommended configuration:
Emogrifier Converts stylesheets to inline style rules for consistent display on mobile devices and webmail.
Transliteration Converts non-ASCII text to US-ASCII equivalents. This helps prevent Microsoft "smart-quotes" from appearing as question-marks in Mozilla Thunderbird.
Pathologic Converts relative URLS to absolute URLS so that clickable links in your message will work as intended.
Visit the issue queue for support and feature requests.
http://drupal.org/project/echo
http://drupal.org/project/emogrifier
http://drupal.org/project/htmlpurifier
http://drupal.org/project/htmlawed
http://drupal.org/project/mailmime
http://drupal.org/project/mailsystem
http://drupal.org/project/pathologic
http://drupal.org/project/transliteration
D7: http://api.drupal.org/api/drupal/modules--filter--filter.module/group/standard_filters/7
D7: http://drupal.org/documentation/install/modules-themes/modules-7
http://drupal.org/documentation/theme