README.txt 9.2 KB

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