You are here

README.txt in HTML Mail 7

HTML Mail

   HTML Mail lets you theme your outgoing messages the same way you theme
   the rest of your website.

   For a full description of the module, visit the [1]project page.

   To submit bug reports and feature suggestions, visit the [2]issue
   queue.

Requirements

   HTML Mail requires the [3]Mail System module.

Installation

   Install as usual; see [4]Installing contributed modules (Drupal 7) for
   further information.

   The following additional modules, while not required, are highly
   recommended:
     * [5]Emogrifier
     * [6]Pathologic
     * [7]Transliteration
       Requires a [8]patch.

Configuration

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

   Visit the HTML Mail settings page at admin/config/system/htmlmail to
   select a theme, pre-filter, and post-filter for your emails.

Theming

   The email message text goes through four transformations before
   sending:
    1. The Text format pre-filter 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 [11]Correct
       faulty and chopped off HTML from [12]filter.module, or a better
       replacement such as [13]HTML Purifier or [14]htmLawed.
    2. A theme template is applied. The default template is the included
       htmlmail.tpl.php 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.
    3. 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 [15]drupal theme system to format your
       emails.
    4. The Text format post-filter from the module settings page is
       applied. For best results, this should be an email-specific input
       format containing the following text format filters:
          + [16]Transliteration
          + [17]Emogrifier
          + [18]Pathologic
          + [19]Correct faulty and chopped off HTML

Related Modules

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

   HTML Mail : http://drupal.org/project/htmlmail

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

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

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

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

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

Documentation

   filter.module :
   http://api.drupal.org/api/drupal/modules--filter--filter.module/7

   Installing contributed modules (Drupal 7) :
   http://drupal.org/node/895232

   Theming guide : http://drupal.org/documentation/theme

   Standard filters :
   http://api.drupal.org/api/drupal/modules--filter--filter.module/group/s
   tandard_filters/7

Maintainers

     * [20]Chris Herberte
     * [21]Bob Vincent

References

   1. http://drupal.org/project/htmlmail
   2. http://drupal.org/project/issues/htmlmail
   3. http://drupal.org/project/mailsystem
   4. http://drupal.org/node/895232
   5. http://drupal.org/project/emogrifier
   6. http://drupal.org/project/pathologic
   7. http://drupal.org/project/transliteration
   8. http://drupal.org/node/1095278#comment-4219530
   9. http://api.drupal.org/api/drupal/modules--system--system.mail.inc/class/DefaultMailSystem/7
  10. http://api.drupal.org/api/drupal/includes--mail.inc/function/drupal_mail_system/7
  11. http://api.drupal.org/api/drupal/modules--filter--filter.module/function/_filter_htmlcorrector/7
  12. http://api.drupal.org/api/drupal/modules--filter--filter.module/7
  13. http://drupal.org/project/htmlpurifier
  14. http://drupal.org/project/htmlawed
  15. http://drupal.org/documentation/theme
  16. http://drupal.org/node/1095278#comment-4219530
  17. http://drupal.org/project/emogrifier
  18. http://drupal.org/project/pathologic
  19. http://api.drupal.org/api/drupal/modules--filter--filter.module/function/_filter_htmlcorrector/7
  20. http://drupal.org/user/1171
  21. http://drupal.org/user/36148

File

README.txt
View source
  1. HTML Mail
  2. HTML Mail lets you theme your outgoing messages the same way you theme
  3. the rest of your website.
  4. For a full description of the module, visit the [1]project page.
  5. To submit bug reports and feature suggestions, visit the [2]issue
  6. queue.
  7. Requirements
  8. HTML Mail requires the [3]Mail System module.
  9. Installation
  10. Install as usual; see [4]Installing contributed modules (Drupal 7) for
  11. further information.
  12. The following additional modules, while not required, are highly
  13. recommended:
  14. * [5]Emogrifier
  15. * [6]Pathologic
  16. * [7]Transliteration
  17. Requires a [8]patch.
  18. Configuration
  19. Visit the Mail System settings page at admin/config/system/mailsystem
  20. to select which parts of Drupal will use HTML Mail instead of the
  21. [9]default [10]mail system.
  22. Visit the HTML Mail settings page at admin/config/system/htmlmail to
  23. select a theme, pre-filter, and post-filter for your emails.
  24. Theming
  25. The email message text goes through four transformations before
  26. sending:
  27. 1. The Text format pre-filter from the module settings page is
  28. applied. This should be the same text format that your website uses
  29. for contributed content such as comments or blog postings. For
  30. consistency and security, it should include the the [11]Correct
  31. faulty and chopped off HTML from [12]filter.module, or a better
  32. replacement such as [13]HTML Purifier or [14]htmLawed.
  33. 2. A theme template is applied. The default template is the included
  34. htmlmail.tpl.php file. You may copy this file to your theme
  35. directory and use it to customize the contents and formatting of
  36. your emails. The comments within the file contain complete
  37. documentation on its usage.
  38. 3. The message may be wrapped in a website theme selected on the
  39. module settings page. Creating an email-specific theme lets you use
  40. the full power of the [15]drupal theme system to format your
  41. emails.
  42. 4. The Text format post-filter from the module settings page is
  43. applied. For best results, this should be an email-specific input
  44. format containing the following text format filters:
  45. + [16]Transliteration
  46. + [17]Emogrifier
  47. + [18]Pathologic
  48. + [19]Correct faulty and chopped off HTML
  49. Related Modules
  50. Emogrifier : http://drupal.org/project/emogrifier
  51. HTML Mail : http://drupal.org/project/htmlmail
  52. HTML Purifier : http://drupal.org/project/htmlpurifier
  53. htmLawed : http://drupal.org/project/htmlawed
  54. Mail System : http://drupal.org/project/mailsystem
  55. Pathologic : http://drupal.org/project/pathologic
  56. Transliteration : http://drupal.org/project/transliteration
  57. Documentation
  58. filter.module :
  59. http://api.drupal.org/api/drupal/modules--filter--filter.module/7
  60. Installing contributed modules (Drupal 7) :
  61. http://drupal.org/node/895232
  62. Theming guide : http://drupal.org/documentation/theme
  63. Standard filters :
  64. http://api.drupal.org/api/drupal/modules--filter--filter.module/group/s
  65. tandard_filters/7
  66. Maintainers
  67. * [20]Chris Herberte
  68. * [21]Bob Vincent
  69. References
  70. 1. http://drupal.org/project/htmlmail
  71. 2. http://drupal.org/project/issues/htmlmail
  72. 3. http://drupal.org/project/mailsystem
  73. 4. http://drupal.org/node/895232
  74. 5. http://drupal.org/project/emogrifier
  75. 6. http://drupal.org/project/pathologic
  76. 7. http://drupal.org/project/transliteration
  77. 8. http://drupal.org/node/1095278#comment-4219530
  78. 9. http://api.drupal.org/api/drupal/modules--system--system.mail.inc/class/DefaultMailSystem/7
  79. 10. http://api.drupal.org/api/drupal/includes--mail.inc/function/drupal_mail_system/7
  80. 11. http://api.drupal.org/api/drupal/modules--filter--filter.module/function/_filter_htmlcorrector/7
  81. 12. http://api.drupal.org/api/drupal/modules--filter--filter.module/7
  82. 13. http://drupal.org/project/htmlpurifier
  83. 14. http://drupal.org/project/htmlawed
  84. 15. http://drupal.org/documentation/theme
  85. 16. http://drupal.org/node/1095278#comment-4219530
  86. 17. http://drupal.org/project/emogrifier
  87. 18. http://drupal.org/project/pathologic
  88. 19. http://api.drupal.org/api/drupal/modules--filter--filter.module/function/_filter_htmlcorrector/7
  89. 20. http://drupal.org/user/1171
  90. 21. http://drupal.org/user/36148