There are two modules (plugins) that can take care of the email notifications...
Announcer vs. Notification module
This two modules basically do the same thing... they both send email updates, and you can use one or the other.
- "notification" is the default module, with basic features, but it is robust.
- While "announcer" is the suped-up version of "notification". "Announcer" has some extra features like "watch this" for wikis and tickets, but may not be as stable.
Read on to set either one of this up.
Setting up the Default "Notification" Module
Trac comes with a default "Notification" module to take care of the email notifications. However, it's turned off by default. To turn it on please:
- Login to Trac as an Admin > Click Admin > Click notification > set smtp_enabled to true > Apply Changes.
All other settings can remain the same if they have NOT been previously changed. However, you might want to set to true 'always_notify_owner' and 'always_notify_reporter' as you need.
Setting up the "announcer" plugin
This is the improved version of the notification module. It does basically the same, plus a bit more like emails for wiki changes.
To set this up:
- First, turn the 'Override global Trac plugin settings' to 'On'
- Now, you will need to set the plugin first on the CloudForge Dashboard (Login as Admin to CloudForge > Projects > Trac > Check "Announcements and Email Notifications for Trac")
- Scroll down to the Plugin:
- Now that you have it enabled the Announcer plugin. Go to Trac...
- Login to Trac as an Admin > Click on Admin > Click announcer and set the following field values,
- email_enabled: true
- email_from: <A_valid_email_address>
- email_replyto: <A_valid_email_address>
Note that it might not be wise to turn on the email updates on both modules, as you will get one email for each.
Default SMTP settings
You can use your own SMTP, however, the default settings work fine and might make settings a lot easier. Also because ticket creations or updates wait while Trac contacts the SMTP server, using a remote SMTP server will make these at least slightly slower. Strongly recommended to leave the default values in place.
Here are the list of the default settings in case you change them and need to go back:
- smtp_enabled = true
- smtp_from_name = (leave blank)
- smtp_password = (leave blank)
- smtp_port = 25
- smtp_replyto = trac@localhost
- smtp_server = localhost
- smtp_to = (leave blank)
- smtp_user = (leave blank)