wiki:FullBlogNotificationPlugin

Version 20 (modified by Ryan J Ollos, 14 years ago) (diff)

Added another optional notification_action

Email Notifications for FullBlogPlugin

Notice: This plugin is unmaintained and available for adoption.

Description

This plugin uses the blog change interface in FullBlogPlugin to send out email notifications for:

  • new posts
  • updated posts
  • comment added
  • deleted posts

Email notifications are sent to the user who made the change. Notifications can also be sent to other users or a distribution list by specifying the smtp_always_cc option.

The emails are sent in plain text using a template that was modeled after Trac's ticket_notify_email template.

If you are using the AnnouncerPlugin, you should use its FullBlogPlugin rather than the FullBlogNotificationPlugin.

Bugs/Feature Requests

Existing bugs and feature requests for FullBlogNotificationPlugin are here.

If you have any issues, create a new ticket.

Download

Download the zipped source from [download:fullblognotificationplugin here].

Source

You can check out FullBlogNotificationPlugin from here using Subversion, or browse the source with Trac.

Example

You should first configure Trac to send notifications. For details see t:TracNotification.

Once Trac is configured to send notifications, using the trac.ini options available below you can get notifications of blog changes:

[fullblog-notification]
always_notify_author = False
from_email = trac+blog@localhost
from_name = None
notification_actions = post_created, post_updated, post_comment_added, post_deleted, post_deleted_version
no_notification_categories = Draft, draft
smtp_always_cc = []
subject_template = $prefix $blog.title ($action)

Recent Changes

10014 by rjollos on 2011-04-03 04:03:16
Refs #8662: Merged [10013] into the 0.12 branch.
10013 by rjollos on 2011-04-03 03:40:58
Fixes #8662: The reply_to_email configuration setting is now correctly used to set the email header reply-to field.
8581 by rjollos on 2010-08-31 23:11:19
0.11 branch: Replicated changes made to new Genshi template in 0.12 branch in [8564] and [8565]. Refs #7581.
(more)

Author/Contributors

Author: trickie
Maintainer: rjollos
Contributors: