TenettiFamily:EmailNotification

From Tenetti
Revision as of 17:22, 26 November 2025 by WikiAdmin (talk | contribs) (1 revision imported)

Automatic email notification of wiki changes

Any email addresses on this page will get email notifications whenever major changes are made to any wiki page.

I tried to emit HTML since the results of the diff are HTML, but I need to learn more about the MTA first.

(and maybe sometime in the future I should look into doing this in php inside of of phpwiki)

The perl script which does this can be downloaded from: http://extra.worldfoundry.org/~kts/checkforwikichanges.pl

This script needs to be run at whatever rate you want email notifications to occur (I run it once an hour). Here is a sample crontab entry: 0 /home/kts/checkforwikichanges.pl "http://<yourwikipath>/index.php/" <username> <password> <optional filename prefix>

The username and password fields allow the script to work on password protected sites, if yours isn't just enter bogus values.

This has only been tested on PHPWiki 1.3.3 on ~RedHat 7.2 with qmail installed. You will also need to install wget if it isn't already. The first time this is run it will think all recent changes are new and report them.


Just add your email address to the list below to receive notifications (email address must be precceded by mailto (followed by a colon))

* mailto:kts@tenetti.org