The basic setting of Trac for using Gmail to send notifications
Contents
A lot of companys are using Trac to track their daily work, and there are also a lot of small companys which are using Google Apps to build their Email systems and etc..
Here shows an example about how to set Trac for using Google Apps Gmail to send Email notifications. Modify trac.ini file with following part:
[notification] admit_domains = always_notify_owner = false always_notify_reporter = false always_notify_updater = true email_sender = SmtpEmailSender ignore_domains = mime_encoding = none sendmail_path = sendmail smtp_always_bcc = smtp_always_cc = example@yourcompany.com smtp_default_domain = smtp_enabled = true smtp_from = trac@yourcompany.com smtp_from_name = Trac smtp_password = your_password smtp_port = 587 smtp_replyto = trac@yourcompany.com smtp_server = smtp.gmail.com smtp_subject_prefix = __default__ smtp_user = trac@yourcompany.com ticket_subject_template = $prefix #$ticket.id: $summary use_public_cc = false use_short_addr = false use_tls = true
Just replace the trac@yourcompany.com with your own Email address. Please check The Trac Configuration File for the detail explanation of the settings.
Then enjoy the Email notifications.
Author Watterry
LastMod 2010-09-19