You are here

README.txt in HTML Mail 8.2

[1]HTML Mail

   Lets you theme your messages the same way you theme the rest of your
   website.

  [2]Requirement

     * [3]Mail System

  [4]Installation

   The following additional modules, while not required, are highly
   recommended:
     *

        [5]Echo
                Wraps your messages in a drupal theme. Now you can "brand"
                your messages with the same logo, header, fonts, and
                styles as your website.

     *

        [6]Emogrifier
                Converts stylesheets to inline style rules, for consistent
                display on mobile devices and webmail.

     *

        [7]Mail MIME
                Provides a text/plain alternative to text/html emails, and
                automatically converts image references to inline image
                attachments.

     *

        [8]Pathologic
                Converts urls from relative to absolute, so clickable
                links in your email messages work as intended.

     *

        [9]Transliteration
                Converts non-ASCII characters to their US-ASCII
                equivalents, such as from Microsoft "smart-quotes" to
                regular quotes.

                Also available as a [10]patch.

  [11]Updating from previous versions

   The [12]8.x-2.x branch shares 94% of its code with the [13]6.x-2.x
   branch, but only 15% of its code with the [14]7.x-1.x branch, and a
   tiny 8% of its code with the [15]6.x-1.x branch.

   Let your compatibility expectations be adjusted accordingly.
     * Check the module dependencies, as they may have changed.
     * Run update.php immediately after uploading new code.
     * 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 [16]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 within the htmlmail.tpl.php file itself.
     * The following options have been removed from the module settings
       page. In their place, any combination of [17]over 200 filter
       modules may be used to create an email-specific [18]text format for
       post-template filtering.
          + [19]Line break converter
          + [20]URL Filter
          + [21]Relative Path to Absolute URLs
          + [22]Emogrifier
          + [23]Token support
     * 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 [24]Mail MIME
       module.

  [25]Configuration

   Visit the [26]Mail System settings page at
   admin/config/system/mailsystem to select which parts of Drupal will use
   [27]HTML Mail instead of the [28]default [29]mail system.

   Visit the [30]HTML Mail settings page at admin/config/system/htmlmail
   to select a theme and post-filter for your messages.

  [31]Theming

   The email message text goes through three transformations before
   sending:
    1. Template File
       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.
    2. Theming
       You may choose a theme that will hold your templates from Step 1
       above. If the [32]Echo module is installed, this theme will also be
       used to wrap your templated text in a webpage. You use any one of
       [33]over 800 themes to style your messages, or [34]create your own
       for even more power and flexibility.
    3. Post-filtering
       You may choose a [35]text format to be used for filtering email
       messages after theming. This allows you to use any combination of
       [36]over 200 filter modules to make final changes to your message
       before sending.
       Here is a recommended configuration:
          + [37]Emogrifier Converts stylesheets to inline style rules for
            consistent display on mobile devices and webmail.
          + [38]Transliteration Converts non-ASCII text to US-ASCII
            equivalents. This helps prevent Microsoft "smart-quotes" from
            appearing as question-marks in Mozilla Thunderbird.
          + [39]Pathologic Converts relative URLS to absolute URLS so that
            clickable links in your message will work as intended.

  Troubleshooting

     * Double-check the [40]Mail System module settings and and make sure
       you selected HTMLMailSystem for your Site-wide default mail system.
     * Try selecting the [ ] (Optional) Debug checkbox at the [41]HTML
       Mail module settings page and re-sending your message.
     * Clear your cache after changing any .tpl.php files.
     * If you use a post-filter, make sure your filter settings page looks
       like [42]this.
     * Visit the [43]issue queue for support and feature requests.

  Related Modules

   Echo
          http://drupal.org/project/echo

   Emogrifier
          http://drupal.org/project/emogrifier

   HTML Purifier
          http://drupal.org/project/htmlpurifier

   htmLawed
          http://drupal.org/project/htmlawed

   Mail MIME
          http://drupal.org/project/mailmime

   Mail System
          http://drupal.org/project/mailsystem

   Pathologic
          http://drupal.org/project/pathologic

   Transliteration
          http://drupal.org/project/transliteration

  [44]Documentation

   [45]filter.module
          [46]api.drupal.org/api/drupal/modules--filter--filter.module
          [47]api.drupal.org/api/drupal/modules--filter--filter.module/gro
          up/standard_filters/8

   [48]Installing contributed modules
          [49]drupal.org/documentation/install/modules-themes/modules-7

   [50]Theming guide
          [51]drupal.org/documentation/theme

  Original Author

     * [52]Chris Herberte

  Current Maintainer

     * [53]Bob Vincent

References

   1. http://drupal.org/project/htmlmail
   2. http://www.dict.org/bin/Dict?Form=Dict2&Database=*&Query=requirement
   3. http://drupal.org/project/mailsystem
   4. http://drupal.org/documentation/install/modules-themes/modules-7
   5. http://drupal.org/project/echo
   6. http://drupal.org/project/emogrifier
   7. http://drupal.org/project/mailmime
   8. http://drupal.org/project/pathologic
   9. http://drupal.org/project/filter_transliteration
  10. http://drupal.org/node/1095278#comment-4219530
  11. http://drupal.org/node/250790
  12. http://drupal.org/node/1106064
  13. http://drupal.org/node/1119548
  14. http://drupal.org/node/355250
  15. http://drupal.org/node/329828
  16. http://drupal.org/project/echo
  17. http://drupal.org/project/modules/?filters=type%3Aproject_project%20tid%3A63%20hash%3A1hbejm%20-bs_project_sandbox%3A1%20bs_project_has_releases%3A1
  18. http://drupal.org/node/778976
  19. http://api.drupal.org/api/drupal/modules--filter--filter.module/function/_filter_autop
  20. http://api.drupal.org/api/drupal/modules--filter--filter.module/function/_filter_url/8
  21. http://drupal.org/project/rel_to_abs
  22. http://www.pelagodesign.com/sidecar/emogrifier/
  23. http://drupal.org/project/token
  24. http://drupal.org/project/mailmime
  25. http://drupal.org/files/images/htmlmail_settings_2.thumbnail.png
  26. http://drupal.org/project/mailsystem
  27. http://drupal.org/project/htmlmail
  28. http://api.drupal.org/api/drupal/modules--system--system.mail.inc/class/DefaultMailSystem/8
  29. http://api.drupal.org/api/drupal/includes--mail.inc/function/drupal_mail_system/8
  30. http://drupal.org/project/htmlmail
  31. http://drupal.org/documentation/theme
  32. http://drupal.org/project/echo
  33. http://drupal.org/project/themes
  34. http://drupal.org/documentation/theme
  35. http://drupal.org/node/778976
  36. http://drupal.org/project/modules/?filters=type%3Aproject_project%20tid%3A63%20hash%3A1hbejm%20-bs_project_sandbox%3A1%20bs_project_has_releases%3A1
  37. http://drupal.org/project/emogrifier
  38. http://drupal.org/project/filter_transliteration
  39. http://drupal.org/project/pathologic
  40. http://drupal.org/project/mailsystem
  41. http://drupal.org/project/htmlmail
  42. http://drupal.org/node/1130960
  43. http://drupal.org/project/issues/htmlmail
  44. http://drupal.org/project/documentation
  45. http://api.drupal.org/api/drupal/modules--filter--filter.module/6
  46. http://api.drupal.org/api/drupal/modules--filter--filter.module/8
  47. http://api.drupal.org/api/drupal/modules--filter--filter.module/group/standard_filters/8
  48. http://drupal.org/documentation/install/modules-themes/modules-7
  49. http://drupal.org/documentation/install/modules-themes/modules-7
  50. http://drupal.org/documentation/theme
  51. http://drupal.org/documentation/theme
  52. http://drupal.org/user/1171
  53. http://drupal.org/user/36148

File

README.txt
View source
  1. [1]HTML Mail
  2. Lets you theme your messages the same way you theme the rest of your
  3. website.
  4. [2]Requirement
  5. * [3]Mail System
  6. [4]Installation
  7. The following additional modules, while not required, are highly
  8. recommended:
  9. *
  10. [5]Echo
  11. Wraps your messages in a drupal theme. Now you can "brand"
  12. your messages with the same logo, header, fonts, and
  13. styles as your website.
  14. *
  15. [6]Emogrifier
  16. Converts stylesheets to inline style rules, for consistent
  17. display on mobile devices and webmail.
  18. *
  19. [7]Mail MIME
  20. Provides a text/plain alternative to text/html emails, and
  21. automatically converts image references to inline image
  22. attachments.
  23. *
  24. [8]Pathologic
  25. Converts urls from relative to absolute, so clickable
  26. links in your email messages work as intended.
  27. *
  28. [9]Transliteration
  29. Converts non-ASCII characters to their US-ASCII
  30. equivalents, such as from Microsoft "smart-quotes" to
  31. regular quotes.
  32. Also available as a [10]patch.
  33. [11]Updating from previous versions
  34. The [12]8.x-2.x branch shares 94% of its code with the [13]6.x-2.x
  35. branch, but only 15% of its code with the [14]7.x-1.x branch, and a
  36. tiny 8% of its code with the [15]6.x-1.x branch.
  37. Let your compatibility expectations be adjusted accordingly.
  38. * Check the module dependencies, as they may have changed.
  39. * Run update.php immediately after uploading new code.
  40. * The user-interface for adding email header and footer text has been
  41. removed. Headers and footers may be added by template files and/or
  42. by enabling the [16]Echo module.
  43. * Any customized filters should be carefully tested, as some of the
  44. template variables have changed. Full documentation is provided
  45. both on the module configuration page (Click on the Instructions
  46. link) and as comments within the htmlmail.tpl.php file itself.
  47. * The following options have been removed from the module settings
  48. page. In their place, any combination of [17]over 200 filter
  49. modules may be used to create an email-specific [18]text format for
  50. post-template filtering.
  51. + [19]Line break converter
  52. + [20]URL Filter
  53. + [21]Relative Path to Absolute URLs
  54. + [22]Emogrifier
  55. + [23]Token support
  56. * Full MIME handling, including automatic generation of a plaintext
  57. alternative part and conversion of image references to inline image
  58. attachments, is available simply by enabling the [24]Mail MIME
  59. module.
  60. [25]Configuration
  61. Visit the [26]Mail System settings page at
  62. admin/config/system/mailsystem to select which parts of Drupal will use
  63. [27]HTML Mail instead of the [28]default [29]mail system.
  64. Visit the [30]HTML Mail settings page at admin/config/system/htmlmail
  65. to select a theme and post-filter for your messages.
  66. [31]Theming
  67. The email message text goes through three transformations before
  68. sending:
  69. 1. Template File
  70. A template file is applied to your message header, subject, and
  71. body text. The default template is the included htmlmail.tpl.php
  72. file. You may copy this file to your email theme directory
  73. (selected below), and use it to customize the contents and
  74. formatting of your messages. The comments within that file contain
  75. complete documentation on its usage.
  76. 2. Theming
  77. You may choose a theme that will hold your templates from Step 1
  78. above. If the [32]Echo module is installed, this theme will also be
  79. used to wrap your templated text in a webpage. You use any one of
  80. [33]over 800 themes to style your messages, or [34]create your own
  81. for even more power and flexibility.
  82. 3. Post-filtering
  83. You may choose a [35]text format to be used for filtering email
  84. messages after theming. This allows you to use any combination of
  85. [36]over 200 filter modules to make final changes to your message
  86. before sending.
  87. Here is a recommended configuration:
  88. + [37]Emogrifier Converts stylesheets to inline style rules for
  89. consistent display on mobile devices and webmail.
  90. + [38]Transliteration Converts non-ASCII text to US-ASCII
  91. equivalents. This helps prevent Microsoft "smart-quotes" from
  92. appearing as question-marks in Mozilla Thunderbird.
  93. + [39]Pathologic Converts relative URLS to absolute URLS so that
  94. clickable links in your message will work as intended.
  95. Troubleshooting
  96. * Double-check the [40]Mail System module settings and and make sure
  97. you selected HTMLMailSystem for your Site-wide default mail system.
  98. * Try selecting the [ ] (Optional) Debug checkbox at the [41]HTML
  99. Mail module settings page and re-sending your message.
  100. * Clear your cache after changing any .tpl.php files.
  101. * If you use a post-filter, make sure your filter settings page looks
  102. like [42]this.
  103. * Visit the [43]issue queue for support and feature requests.
  104. Related Modules
  105. Echo
  106. http://drupal.org/project/echo
  107. Emogrifier
  108. http://drupal.org/project/emogrifier
  109. HTML Purifier
  110. http://drupal.org/project/htmlpurifier
  111. htmLawed
  112. http://drupal.org/project/htmlawed
  113. Mail MIME
  114. http://drupal.org/project/mailmime
  115. Mail System
  116. http://drupal.org/project/mailsystem
  117. Pathologic
  118. http://drupal.org/project/pathologic
  119. Transliteration
  120. http://drupal.org/project/transliteration
  121. [44]Documentation
  122. [45]filter.module
  123. [46]api.drupal.org/api/drupal/modules--filter--filter.module
  124. [47]api.drupal.org/api/drupal/modules--filter--filter.module/gro
  125. up/standard_filters/8
  126. [48]Installing contributed modules
  127. [49]drupal.org/documentation/install/modules-themes/modules-7
  128. [50]Theming guide
  129. [51]drupal.org/documentation/theme
  130. Original Author
  131. * [52]Chris Herberte
  132. Current Maintainer
  133. * [53]Bob Vincent
  134. References
  135. 1. http://drupal.org/project/htmlmail
  136. 2. http://www.dict.org/bin/Dict?Form=Dict2&Database=*&Query=requirement
  137. 3. http://drupal.org/project/mailsystem
  138. 4. http://drupal.org/documentation/install/modules-themes/modules-7
  139. 5. http://drupal.org/project/echo
  140. 6. http://drupal.org/project/emogrifier
  141. 7. http://drupal.org/project/mailmime
  142. 8. http://drupal.org/project/pathologic
  143. 9. http://drupal.org/project/filter_transliteration
  144. 10. http://drupal.org/node/1095278#comment-4219530
  145. 11. http://drupal.org/node/250790
  146. 12. http://drupal.org/node/1106064
  147. 13. http://drupal.org/node/1119548
  148. 14. http://drupal.org/node/355250
  149. 15. http://drupal.org/node/329828
  150. 16. http://drupal.org/project/echo
  151. 17. http://drupal.org/project/modules/?filters=type%3Aproject_project%20tid%3A63%20hash%3A1hbejm%20-bs_project_sandbox%3A1%20bs_project_has_releases%3A1
  152. 18. http://drupal.org/node/778976
  153. 19. http://api.drupal.org/api/drupal/modules--filter--filter.module/function/_filter_autop
  154. 20. http://api.drupal.org/api/drupal/modules--filter--filter.module/function/_filter_url/8
  155. 21. http://drupal.org/project/rel_to_abs
  156. 22. http://www.pelagodesign.com/sidecar/emogrifier/
  157. 23. http://drupal.org/project/token
  158. 24. http://drupal.org/project/mailmime
  159. 25. http://drupal.org/files/images/htmlmail_settings_2.thumbnail.png
  160. 26. http://drupal.org/project/mailsystem
  161. 27. http://drupal.org/project/htmlmail
  162. 28. http://api.drupal.org/api/drupal/modules--system--system.mail.inc/class/DefaultMailSystem/8
  163. 29. http://api.drupal.org/api/drupal/includes--mail.inc/function/drupal_mail_system/8
  164. 30. http://drupal.org/project/htmlmail
  165. 31. http://drupal.org/documentation/theme
  166. 32. http://drupal.org/project/echo
  167. 33. http://drupal.org/project/themes
  168. 34. http://drupal.org/documentation/theme
  169. 35. http://drupal.org/node/778976
  170. 36. http://drupal.org/project/modules/?filters=type%3Aproject_project%20tid%3A63%20hash%3A1hbejm%20-bs_project_sandbox%3A1%20bs_project_has_releases%3A1
  171. 37. http://drupal.org/project/emogrifier
  172. 38. http://drupal.org/project/filter_transliteration
  173. 39. http://drupal.org/project/pathologic
  174. 40. http://drupal.org/project/mailsystem
  175. 41. http://drupal.org/project/htmlmail
  176. 42. http://drupal.org/node/1130960
  177. 43. http://drupal.org/project/issues/htmlmail
  178. 44. http://drupal.org/project/documentation
  179. 45. http://api.drupal.org/api/drupal/modules--filter--filter.module/6
  180. 46. http://api.drupal.org/api/drupal/modules--filter--filter.module/8
  181. 47. http://api.drupal.org/api/drupal/modules--filter--filter.module/group/standard_filters/8
  182. 48. http://drupal.org/documentation/install/modules-themes/modules-7
  183. 49. http://drupal.org/documentation/install/modules-themes/modules-7
  184. 50. http://drupal.org/documentation/theme
  185. 51. http://drupal.org/documentation/theme
  186. 52. http://drupal.org/user/1171
  187. 53. http://drupal.org/user/36148