Changes between Version 3 and Version 4 of TracNotification


Ignore:
Timestamp:
Sep 27, 2014, 6:01:12 PM (10 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracNotification

    v3 v4  
    9898=== Customizing the e-mail content ===
    9999
    100 The notification e-mail content is generated based on `ticket_notify_email.txt` in `trac/ticket/templates`.  You can add your own version of this template by adding a `ticket_notify_email.txt` to the templates directory of your environment. The default looks like this:
     100The notification e-mail content is generated based on `ticket_notify_email.txt` in `trac/templates`.  You can add your own version of this template by adding a `ticket_notify_email.txt` to the templates directory of your environment. The default looks like this:
    101101
    102102{{{
     
    170170}}}
    171171
    172 with this instead:
     172with this instead (''requires Python 2.6 or later''):
    173173{{{
    174174--------------------------------------------------------------------------
     
    220220}}}
    221221
    222 However, it's not as perfect as an HTML formatted e-mail would be, but presented ticket properties are at least readable...
     222**Important**: Only those ticket fields that are listed in `sel` are part of the HTML mail. If you have defined custom ticket fields which shall be part of the mail they have to be added to `sel`, example:
     223{{{
     224   sel = ['Reporter', ..., 'Keywords', 'Custom1', 'Custom2']
     225}}}
     226
     227However, it's not as perfect as an automatically HTML-formatted e-mail would be, but presented ticket properties are at least readable by default in MS Outlook...
    223228
    224229