Send ticket notification with HTML part (​trac:#2625)


This plugin wraps the notification email in HTML before sending it.

Bugs/Feature Requests

Existing bugs and feature requests for TracHtmlNotificationPlugin are here.

If you have any issues, create a new ticket.


11 / 12


4 / 7


3 / 4


Download the zipped source from here.


You can check out TracHtmlNotificationPlugin from here using Subversion, or browse the source with Trac.


  1. If the installed version of Trac is 1.1.3, upgrade to 1.1.4 or downgrade to 1.1.2.
  2. Install the plugin:
    $ pip install ''
    $ easy_install -Z ''
  3. Enable the plugin in your trac.ini file, by adding the following lines:
    trachtmlnotification.* = enabled
  4. If the installed version of Trac is 1.1.2 or earlier, use HtmlNotificationSmtpEmailSender as email_sender in [notification] section of your trac.ini file:
    email_sender = HtmlNotificationSmtpEmailSender
  5. If the installed version of Trac is 1.1.4 or later, configure to use text/html format for email distributor in the Notifications panel of the Preferences page in your Trac or set the option to text/html in the notifications section of your trac.ini.
  6. Try to create a new ticket!

Recent Changes

17594 by jun66j5 on 2019-11-25 09:37:28
TracHtmlNotificationPlugin: make compatible with Trac 1.4 (closes #13663)
16119 by jun66j5 on 2016-12-19 07:48:24
trachtmlnotification: fix breakage with FakeSession changed since Trac 1.2 (trac:r15075)
14384 by jun66j5 on 2015-01-22 07:56:13
TracHtmlNotificationPlugin: added support of INotificationFormatter for Trac 1.1.3+ (refs #12158)


Author: jun66j5
Maintainer: Jun Omae
Contributors: OpenGroove,Inc. and tracpath

Last modified 2 years ago Last modified on Nov 25, 2019, 4:19:08 PM