Changes between Version 15 and Version 16 of TracNotification
- Timestamp:
- 22/07/2019 15:54:54 (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracNotification
v15 v16 98 98 }}} 99 99 100 === Customizing the e -mail subject101 The e -mail subject can be customized with the `ticket_subject_template` option, which contains a [http://genshi.edgewall.org/wiki/Documentation/text-templates.html Genshi text template] snippet. The default value is:100 === Customizing the email subject 101 The email subject can be customized with the `ticket_subject_template` option, which contains a [https://genshi.edgewall.org/wiki/Documentation/text-templates.html Genshi text template] snippet. The default value is: 102 102 {{{#!genshi 103 103 ${prefix} #${ticket.id}: ${summary} … … 110 110 * `ticket`: The ticket model object (see [trac:source:branches/1.2-stable/trac/ticket/model.py model.py]). Individual ticket fields can be accessed by appending the field name separated by a dot, eg `${ticket.milestone}`. 111 111 112 === Customizing the e -mail content113 114 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 is:112 === Customizing the email content 113 114 The notification email 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 is: 115 115 116 116 {{{#!genshi … … 191 191 }}} 192 192 193 where ''user'' and ''password'' match an existing GMail account, ie the ones you use to log in on [http ://gmail.com].193 where ''user'' and ''password'' match an existing GMail account, ie the ones you use to log in on [https://gmail.com]. 194 194 195 195 Alternatively, you can use `smtp_port = 25`.[[br]]