# Ticket #4744 (closed enhancement: fixed)

Opened 4 years ago

## WatchlistPlugin should have email notifications

Reported by: Assigned to: k0s martin_s normal WatchlistPlugin normal 0.11

### Description

The WatchlistPlugin has a more sensible structure for watched changes than tWikiNotificationPlugin (which only works for the wiki), AnnouncerPlugin (which works based on path instead of individual resources), or the CC field (which conflates ticket attributes with event listeners).

However, the WatchlistPlugin does not do email or other notification. This is a big drawback.

Email notification should be implemented. I am willing to assist if requested.

## Change History

### 03/05/09 10:47:39 changed by martin_s

Very nice idea. So far I know Trac provides some change listener methods which can be used to trigger the notification, but I don't have much experience with them. I also have to check how to send emails using Trac.

I don't have any time for that at the moment. Maybe in a couple of weeks ... But feel free to make some outline how to program it.

### 08/17/09 22:30:24 changed by maxence

+1 for this, this would allow to workaround the limitations of Trac ticket's CC field.

### 08/18/09 16:19:56 changed by agross

Workaround:

I downloaded and modified the source of AnnouncerPlugin to rename its "Watch This"/"Unwatch This" links to "Email Changes" and "Don't Email Changes".

1. SVN Checkout AnnouncerPlugin
mkdir modified_announcer
cd modified_announcer
svn co http://trac-hacks.org/svn/announcerplugin/0.11/


2. Modify this file to rename the AnnouncerPlugin links:

0.11/announcerplugin/subscribers/watchers.py (lines 147 and 149)

3. Modify this file to update the version number:

0.11/setup.py

4. install using easy install

easy_install .


Hope this helps!

### 08/18/09 16:21:23 changed by agross

(The workaround described above will enable you to use both AnnouncerPlugin and WatchlistPlugin without confusing your users. AnnouncerPlugin emails you changes, and WatchlistPlugin adds your changes to a watchlist page. It doesn't change the functionality of either plugin.)

### 08/18/09 17:09:28 changed by maxence

@agross: thanks a lot for the tip, the AnnouncerPlugin does exactly what I was looking for!

Cheers, Maxence

### 10/22/09 18:18:44 changed by martin_s

• status changed from new to assigned.

### 10/24/09 03:43:44 changed by martin_s

• status changed from assigned to closed.
• resolution set to fixed.

I now added a notification column into the watchlist which allows the user to enable/disable the AnnouncerPlugin notifications for a watched wiki or ticket. This needs of course the AnnouncerPlugin installed. The modifications mentioned in comment:3 to change the context navigation bar labels of the AnnouncerPlugin are still recommended. Otherwise there are Watch and Watch this entries in the bar.

Use revision [6834] or later.

### 10/29/09 02:17:28 changed by martin_s

See #5682 for further integration of the WatchlistPlugin and AnnouncerPlugin.