| Mailer Contrib |
|
< < |
Allows users to "subscribe" to regularly scheduled e-mails containing either:
- A report on changes to all topics that have changed within a particular TWiki web.
- A report on changes to a specific topic or set of topics the user can define flexibly.
- The entire content of a specific topic or set of topics. This is referred to as "news mode."
- The companion plugin (TWiki:Plugins.SubscribePlugin
) lets you trivially add a "Subscribe to changes" button to topics
|
| |
|
> > |
Send e-mail notification of changes to topics in TWiki webs |
| |
|
> > | Introduction |
| |
|
< < | WARNING: TWiki-4 only. If you want to use this extension with an earlier version of TWiki, please use revision 17 of the zip . |
> > | The Mailer Contrib allows users to "subscribe" to regularly scheduled e-mails containing either: |
| |
|
< < | |
> > |
- A report on changes to all topics that have changed within a particular TWiki web.
- A report on changes to a specific topic or set of topics the user can define flexibly.
- The entire content of a specific topic or set of topics. This is referred to as "news mode."
- The companion plugin (TWiki:Plugins.SubscribePlugin
) lets you trivially add a "Subscribe to changes" button to topics
|
|
tools/mailnotify |
| The script collates the changes emails so that each subscriber only receives one changes notification for all changes in all webs in the TWiki. Furthermore, users can elect to receive just summaries of changes, or the entire content of topics that have changed.
Each web can optionally contain a topic called WebNotify. |
|
< < | <-- Included by WebChangesAlert --> |
> > | <-- Included by WebChangesAlert --> |
| |
|
< < | Users subscribe to email notifications using their WikiName or an alternative email address, and can specify the webs/topics they wish to track, Whole groups of users can also be subscribed for notification. |
> > | Users subscribe to email notifications using their WikiName or an alternative email address, and can specify the webs/topics they wish to track, Whole groups of users can also be subscribed for notification. |
|
The general format of a subscription is:
three spaces * subscriber [ : topics ] |
|
< < | Where subscriber can be a WikiName, an E-mail address, or a |
> > | Where subscriber can be a WikiName, an E-mail address, or a |
| group name. If subscriber contains any characters that are not legal in
an email address, then it must be enclosed in 'single' or "double" quotes. |
|
If a group is listed for notification, the group will be recursively expanded to the e-mail addresses of all members. |
|
< < | __ Warning: Because an email address is not linked to a user name, there is no way for TWiki to check access controls for subscribers identified by email addresses. A subscriber identified by an email address alone will only be sent change notifications if the topic they are subscribed to is readable by guest users. You can limit what email addresses can be used in %NOTIFYTOPIC%, or even block use of emails altogther, using the {MailerContrib}{EmailFilterIn} setting in =configure . |
> > | Warning: Because an email address is not linked to a user name, there is no way for TWiki to check access controls for subscribers identified by email addresses. A subscriber identified by an email address alone will only be sent change notifications if the topic they are subscribed to is readable by guest users. You can limit what email addresses can be used in %NOTIFYTOPIC%, or even block use of emails altogther, using the {MailerContrib}{EmailFilterIn} setting in =configure . |
|
Tip: List names in alphabetical order to make it easier to find the names. |
|
will generate newsletters from all webs every week on midnight Saturday. |
|
< < | Note: Multiple instances of mailnotify script are not allowed to be executed simutaneously. If you need to run the script multiple times with different options, make sure the cron jobs are scheduled so a previous run has finished before the next starts. You can also write a small script that runs mailnotify in sequence as described in TWiki:Support.DuplicateNotificationsFromMailerCon . |
> > | Note: Multiple instances of mailnotify script are not allowed to be executed simultaneously. If you need to run the script multiple times with different options, make sure the cron jobs are scheduled so a previous run has finished before the next starts. You can also write a small script that runs mailnotify in sequence as described in TWiki:Support.DuplicateNotificationsFromMailerCon . |
|
|
|
> > | |
| Developer Notes |
|
> > | |
| The changes mails sent to subscribers are based on a TWiki template called mailnotify . This template must contain the following definitions. |
|
> > | |
|
HTML:before |
Section of a HTML mail before the changes |
HTML:middle |
Repeated in a HTML mail for each change |
HTML:after |
Section of a HTML mail after the changes |
|
|
PLAIN:middle |
Repeated in a plain text mail for each changes |
PLAIN:after |
Section of a plain text mail after the changes |
MailNotifyBody |
All the above are embedded in this. %HTML_TEXT% expands to the HTML obtained by expanding the HTML:* templates, and %PLAIN_TEXT% from the PLAIN:* templates. |
|
|
> > | |
| The default template sends multipart mails containing both HTML and plaintext versions. You can easily provide a custom version of this template using a local skin.
Newsletters are sent after formatting using the standard view template, using whatever skin is selected in the topic being mailed.
Contrib Info |
|
< < | Another great TWiki extension from the WikiRing - working together to improve your wiki experience! |
| Many thanks to the following sponsors for supporting this work:
|
|
< < |
Copyright ©: |
2004, Wind River Systems; 2006, http://WikiRing.com |
License: |
GPL |
Version: |
17629 (14 Oct 2008) |
Change History: |
|
14 Oct 2008 |
TWikibug:Item6066 : fixed issue for user mappings where cuid = login |
|
> > |
|
|
|
|
1 Oct 2004 |
1.002 PeterThoeny provided additional documentation |
27 Sep 2004 |
1.001 runnable as CGI script, minor bugfixes, removed dependency on DBCacheContrib |
8 Sep 2004 |
1.000 Initial version |
|
|
< < |
|
> > |
|
|
|
|
< < |
META FILEATTACHMENT |
attr="h" comment="" name="wikiringlogo20x20.png" version="1" |
META FILEATTACHMENT |
attr="h" comment="" name="logo.gif" version="1" |
|
> > | Related Topics: TWikiPreferences |