wiki:TracHtmlNotificationPlugin

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

Description

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.

defect

13 / 13

enhancement

6 / 8

task

3 / 4

Download

Download the zipped source from here.

Source

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

Installation

  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 svn+https://trac-hacks.org/svn/trachtmlnotificationplugin/0.12/
    
    Or
    $ easy_install -Z https://trac-hacks.org/svn/trachtmlnotificationplugin/0.12/
    
  3. Enable the plugin in your trac.ini file, by adding the following lines:
    [components]
    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:
    [notification]
    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 ​default_format.email option to text/html in the notifications section of your trac.ini.
  6. Try to create a new ticket!

Recent Changes

18735 by jun66j5 on 2026-07-17 00:15:00
TracHtmlNotificationPlugin: follow-up to r18646, TICKET VIEW permission is no longer required for anonymous when rendering the html part of the notification (refs #14346)
18646 by jun66j5 on 2024-06-25 00:31:49
TracHtmlNotificationPlugin: respect email obfuscation settings (closes #14346)

Initial patch by: bmispelon

18645 by jun66j5 on 2024-06-24 20:38:22
TracHtmlNotificationPlugin: add Trac 1.6 to envlist in tox.ini and make tests compatible with Python 3
(more)

Author/Contributors

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

Last modified 5 months ago Last modified on Jun 22, 2026, 11:45:40 AM