Changes between Version 5 and Version 6 of TracNotification
- Timestamp:
- 2013-10-21T04:27:16Z (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracNotification
v5 v6 98 98 === Customizing the e-mail content === 99 99 100 The notification e-mail content is generated based on `ticket_notify_email.txt` in `trac/t icket/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:100 The 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: 101 101 102 102 {{{ … … 170 170 }}} 171 171 172 with this instead :172 with this instead (''requires Python 2.6 or later''): 173 173 {{{ 174 174 -------------------------------------------------------------------------- … … 220 220 }}} 221 221 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 227 However, 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... 223 228 224 229