Edgewall Software

Changes between Version 57 and Version 58 of TracNotification


Ignore:
Timestamp:
Apr 10, 2010, 6:33:53 PM (14 years ago)
Author:
Christian Boos
Comment:

copied from 0.12/TracNotification@4

Legend:

Unmodified
Added
Removed
Modified
  • TracNotification

    v57 v58  
     1** Note: this page documents the 0.12 version of Trac, see [[0.11/TracNotification]] if you need the previous version **
    12= Email Notification of Ticket Changes =
    23[[TracGuideToc]]
    34
    4 [[PageOutline]]
    5 
    6 Trac supports notification about ticket changes via email.
     5Trac supports notification of ticket changes via email.
    76
    87Email notification is useful to keep users up-to-date on tickets/issues of interest, and also provides a convenient way to post all ticket changes to a dedicated mailing list. For example, this is how the [http://lists.edgewall.com/archive/trac-tickets/ Trac-tickets] mailing list is set up.
     
    4645   * `none`: no encoding. Use with plain english only (ASCII). E-mails with non-ASCII chars won't be delivered.
    4746 * '''`ticket_subject_template`''': (''since 0.11'') A [http://genshi.edgewall.org/wiki/Documentation/text-templates.html Genshi text template] snippet used to get the notification subject.
     47 * '''`email_sender`''': (''since 0.12'') Name of the component implementing `IEmailSender`. This component is used by the notification system to send emails. Trac currently provides the following components:
     48   * `SmtpEmailSender`: connects to an SMTP server (default).
     49   * `SendmailEmailSender`: runs a `sendmail`-compatible executable.
    4850
    4951Either '''`smtp_from`''' or '''`smtp_replyto`''' (or both) ''must'' be set, otherwise Trac refuses to send notification mails.
     
    5658 * '''`use_tls`''': (''since 0.10'') Toggle to send notifications via a SMTP server using [http://en.wikipedia.org/wiki/Transport_Layer_Security TLS], such as GMail.
    5759
     60The following option is specific to email delivery through a `sendmail`-compatible executable.
     61 * '''`sendmail_path`''': (''since 0.12'') Path to the sendmail executable. The sendmail program must accept the `-i` and `-f` options.
    5862
    5963=== Example Configuration (SMTP) ===
     
    6771}}}
    6872
     73=== Example Configuration (`sendmail`) ===
     74{{{
     75[notification]
     76smtp_enabled = true
     77email_sender = SendmailEmailSender
     78sendmail_path = /usr/sbin/sendmail
     79smtp_from = notifier@example.com
     80smtp_replyto = myproj@projects.example.com
     81smtp_always_cc = ticketmaster@example.com, theboss+myproj@example.com
     82}}}
    6983
    7084=== Customizing the e-mail subject ===