| 1 | = Email Notification of Ticket Changes = |
| 2 | Trac supports automatic email notification upon ticket changes. |
| 3 | |
| 4 | '''Note:''' This feature is disabled by default, and must be configured to be activated. |
| 5 | |
| 6 | == Receiving Notification == |
| 7 | When reporting a new ticket or adding a comment, if you enter a valid email address in the ''reporter'', ''editor'' or ''cc'' field, you will automatically receive an email upon future changes to the ticket. |
| 8 | |
| 9 | This is useful to keep up-to-date on an issue or enhancement request that interests you. |
| 10 | |
| 11 | == Configuring SMTP Notification == |
| 12 | |
| 13 | === Config Options === |
| 14 | These are the available options for the ''[notification]'' section in trac.ini. |
| 15 | * '''smtp_enabled''': Enable notification. |
| 16 | * '''smtp_server''': SMTP server used for notification messages. |
| 17 | * '''smtp_replyto''': Email address to use for ''Reply-To''-headers in notification emails. |
| 18 | * '''smtp_always_cc''': List of email addresses to always send notifications to. ''Typically used to post ticket changes to a dedicated mailing list.'' |
| 19 | |
| 20 | === Example Configuration === |
| 21 | |
| 22 | {{{ |
| 23 | [notification] |
| 24 | smtp_enabled = true |
| 25 | smtp_server = mail.example.com |
| 26 | smtp_replyto = myproj@projects.example.com |
| 27 | smtp_always_cc = ticketmaster@example.com, theboss+myproj@example.com |
| 28 | }}} |
| 29 | |
| 30 | == Sample Email == |
| 31 | {{{ |
| 32 | #42: testing |
| 33 | ---------------------------+------------------------------------------------ |
| 34 | Id: 42 | Status: assigned |
| 35 | Component: report system | Modified: Fri Apr 9 00:04:31 2004 |
| 36 | Severity: major | Milestone: 0.9 |
| 37 | Priority: lowest | Version: 0.6 |
| 38 | Owner: anonymous | Reporter: jonas@example.com |
| 39 | ---------------------------+------------------------------------------------ |
| 40 | Changes: |
| 41 | * component: changset view => search system |
| 42 | * priority: low => highest |
| 43 | * owner: jonas => anonymous |
| 44 | * cc: daniel@example.com => |
| 45 | daniel@example.com, jonas@example.com |
| 46 | * status: new => assigned |
| 47 | |
| 48 | Comment: |
| 49 | I'm interested too! |
| 50 | |
| 51 | -- |
| 52 | Ticket URL: <http://example.com/trac/ticket/42> |
| 53 | My Project <http://myproj.example.com/> |
| 54 | }}} |
| 55 | ---- |
| 56 | See also: TracTickets |