diff options
Diffstat (limited to 'TWiki/WebChangesAlert.mdwn')
-rw-r--r-- | TWiki/WebChangesAlert.mdwn | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/TWiki/WebChangesAlert.mdwn b/TWiki/WebChangesAlert.mdwn index 33182ff4..d66c1539 100644 --- a/TWiki/WebChangesAlert.mdwn +++ b/TWiki/WebChangesAlert.mdwn @@ -1,12 +1,22 @@ ## <a name="TWiki_Notification_of_Changes"> TWiki Notification of Changes </a> -Each %WIKITOOLNAME% web does an automatic email notification of recent changes. Users can subscribe / unsubscribe themselves in %NOTIFYTOPIC% of each TWiki web. The Perl script `mailnotify` is called by a deamon in regular intervals. The script is sending an automated email to subscribed users in case some topics changed in a web within this interval. +Each %WIKITOOLNAME% web does an automatic email notification of recent changes. Users can subscribe / unsubscribe themselves in %NOTIFYTOPIC% of each TWiki web. The Perl script <code>**mailnotify**</code> is called by a deamon in regular intervals. The script is sending an automated email to subscribed users in case some topics changed in a web within this interval. -Installation note for Unix platforms: Edit the cron table so that `mailnotify` is called in an interval of your choice. Please consult `man crontab` of how to modify the table that schedules program execution at certain intervals. Example: +### <a name="Configuring_outgoing_mail"> Configuring outgoing mail </a> + +%WIKITOOLNAME% will use the <code>**Net::SMTP**</code> module in case it is installed on your system. You need to specify the <code>**SMTPMAILHOST**</code> variable in [[TWikiPreferences]]. + +You can use an external mail program like <code>**sendmail**</code> in case the <code>**Net::SMTP**</code> module is not installed. In this case specify the <code>**$mailProgram**</code> in <code>**twiki/bin/TWiki.cfg**</code>. + +### <a name="Call_mailnotify_in_regular_inter"> Call <code>**mailnotify**</code> in regular intervals </a> + +For Unix platforms: Edit the cron table so that <code>**mailnotify**</code> is called in an interval of your choice. Please consult <code>**man crontab**</code> of how to modify the table that schedules program execution at certain intervals. Example: % crontab -e 15,45 * * * * (cd ~twiki/public_html/bin; ./mailnotify -q) -The above line will call mailnotify at 15 minutes and 45 minutes past every hour. The `-q` switch suppresses all normal output. +The above line will call mailnotify at 15 minutes and 45 minutes past every hour. The <code>**-q**</code> switch suppresses all normal output. + +On Windows NT / 2000 you can use a scheduled task. -- [[PeterThoeny]] - 16 Mar 2001 <br /> |