SID-00226: E-mail notication not working
| Status: |
Answered |
TWiki version: |
4.2.4 |
Perl version: |
5.10.0 |
| Category: |
CategoryEmail |
Server OS: |
Windows server 2003 |
Last update: |
17 years ago |
Our Twikisite can not send webnotify email when the topic changed , May you let me known what's wrong ? thanks
--
AndyHHuang - 27 Mar 2009
Discussion and Answer
Lots of things can be wrong. Check first the
Mail and proxies section of configure script. Do you receive notification mails when register a new user?
--
EnriqueCadalso - 27 Mar 2009
You need to install a scheduled task / cron job to send e-mail notifications.
More at
TWikiInstallationGuide,
MailerContrib,
WindowsInstallCookbookForTWiki04x01
--
PeterThoeny - 27 Mar 2009
Yes, I can recieved email when the new user registered ,How can I install the scheduled task / cron job ? Thanks
--
AndyHHuang - 30 Mar 2009
Hi Andy,
Typical cron job for mailnotify is as follow:
0 0 * * * cd /var/www/twiki && perl -I bin tools/mailnotify
This cron job sends mails every hour at zero'th minute. This job assumes your TWiki root as
/var/www/twiki directory.
--
SopanShewale - 32 Mar 2009
For windows installation, as Peter said, you should follow instructions in
WindowsInstallCookbookForTWiki04x01
--
EnriqueCadalso - 31 Mar 2009
I did 3 small steps to get my mail notifications working...
- Under your /twiki/tools create an BAT file which contains the following commands (name it as mailnotify.bat)
cd d:\twiki\twiki\tools perl -I /twiki/twiki/bin mailnotify
Please change the above DOS commands to match your twiki location
- Open the mailnotify perl script (usually lies under /twiki/tools) change the First line to match your perl bin location. (my perl is been installed on C drive, so I have put up as c:\perl\bin\perl -w )
- Just for testing purpose execute the mailnotify.bat file before proceeding to next step. You must see a change notification email in your mail box
- Now goto Control panel and open Scheduled Task and Add an new task that executes mailnotify.bat
--
RajeshN - 03 Apr 2009
Thanks . it works now
--
AndyHHuang - 2009-04-10
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.