Question
I am having a problem with
WebNotify being selective on who it sends notifications to. There could be 5 people watching the same page and only 3 of them receive the email. I do not see any syntax problems in
WebNotify.
After more investigating here is what is happening:
I have the following line in
WebNotify
* MichaelMazza: + WebHome
Now if I was to make a change to
WebHome I will get a notification. However if another user makes the change I do NOT get the notification.
Has anyone else had this problem?
Let me know if you need more information.
Thanks in Advance
Environment
--
MichaelMazza - 30 Nov 2006
Answer
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.
Michael, check that all your users are
able to receive notifications viz. that they all have registered email addresses. Then check that permissions are not set such that they are unable to view the pages that have changed. Then run the mailnotify script from the command line without the -q option option, at a time when you know a notification should be going out.
--
CrawfordCurrie - 14 Dec 2006
I tried that already. It almost seems like the scripts are working backwards. Example: Joe is watching
WebHome if I make a change to
WebHome he does NOT receive the notification. If Joe makes the change he does get the notification.
--
MichaelMazza - 14 Dec 2006
Definitely sounds broken. What's your mailnotify command line? What other lines are in WebNotify? Can you chop down your WebNotify and mailnotify command lines to an absolute minimum that illustrates the problem?
--
CrawfordCurrie - 15 Dec 2006
mailnotify commandline
/usr/local/bin/perl -I /prod/twiki/bin /prod/twiki/tools/mailnotify
WebNotify Syntax
* Main.User1: + WebHome (2) + WebNotify
* Main.User2: + MyPersonalPage + SomeTopic
If a user is watching all pages they enter the following syntax (this user gets all updates no matter who makes the change.
* User3 - user3@domain.com
I can't figure it out. I have tried looking through the code and can't find anything that would cause the problem.
--
MichaelMazza - 18 Dec 2006
I upgraded to the latest version of
MailerContrib/MailNotify and I am still having the same issue.
However now I get the following error when it starts to process the Main Web
Use of uninitialized value in hash element at /prod/twiki/lib/TWiki/Meta.pm line 252.
Please if anyone can help it is greatly appreciated
--
MichaelMazza - 21 Dec 2006
I was able to figure out the problem. I was under the assumption that
MailerContrib would look for the email address under .htpasswd but it looks for the Meta:Field->Email so after writing a script to restore the Userform to all users personal topics notifications are being sent once again. Many of our users did not like the Form on their personal page so they removed it. I changed the template it is not displayed. So hopefully they wont delete it. Thanks for the help. Mike
--
MichaelMazza - 27 Dec 2006