>Requires a <ahref="http://drupal.org/node/1095278#comment-4219530"
>patch</a
>.</em
></p
></li
></ul
></div
><divid="theming"
><h2
>Theming</h2
><p
>The email message text goes through four transformations before sending:</p
><olstyle="list-style-type: decimal;"
><li
><p
>The <em
>Text format pre-filter</em
> from the module settings page is applied. This should be the same text format that your website uses for contributed content such as comments or blog postings. For consistency and security, it should include the the <ahref="http://api.drupal.org/api/drupal/modules--filter--filter.module/function/_filter_htmlcorrector/7"
>Correct faulty and chopped off HTML</a
> from <ahref="http://api.drupal.org/api/drupal/modules--filter--filter.module/7"
>filter.module</a
>, or a better replacement such as <ahref="http://drupal.org/project/htmlpurifier"
>HTML Purifier</a
> or <ahref="http://drupal.org/project/htmlawed"
>htmLawed</a
>.</p
></li
><li
><p
>A theme template is applied. The default template is the included <em
>htmlmail.tpl.php</em
> file. You may copy this file to your theme directory and use it to customize the contents and formatting of your emails. The comments within the file contain complete documentation on its usage.</p
></li
><li
><p
>The message may be wrapped in a website theme selected on the module settings page. Creating an email-specific theme lets you use the full power of the <ahref="http://drupal.org/documentation/theme"
>drupal theme system</a
> to format your emails.</p
></li
><li
><p
>The <em
>Text format post-filter</em
> from the module settings page is applied. For best results, this should be an email-specific input format containing the following text format filters:</p