• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

mailnotify silently drops notification when the following conditions are met:

  • subscription on the WebNotify page contains WikiName but not the email address
  • subscriber is intranet user, i.e. login name is different from WikiName
  • email field in the UserForm is not filled

user name is still reported in the console output of the mailnotify script, but no email will be sent.

following patch can be applied to fix the problem:

--- Subscriber.pm.orig   2006-10-25 03:16:08.000000000 +0300
+++ Subscriber.pm   2007-01-10 14:32:06.000000000 +0200
@@ -73,7 +73,7 @@
             push( @{$this->{emails}}, $this->{name} );
         } else {
             my $user = $this->{session}->{users}->findUser
-              ( $this->{name}, $this->{name}, 1 );
+              ( $this->{name}, undef, 1 );
             if( $user ) {
                 push( @{$this->{emails}}, $user->emails() );
             }

-- TWiki:Main.AlexanderSmishlajev

Excellent analysis and fix seems to be spot on.

I checked the fix and it seems to be quite right.

Checked into SVN and waiting for release. Fix will be in 4.1.0

Thanks Alexander

KJL

Added doc update

KJL

ItemTemplate
Summary mailnotify does not send notifications to intranet users
ReportedBy TWiki:Main.AlexanderSmishlajev
Codebase 4.0.5
SVN Range TWiki-4.1.0, Wed, 10 Jan 2007, build 12474
AppliesTo Extension
Component MailerContrib
Priority Urgent
CurrentState Closed
WaitingFor

Checkins 12496 12508
TargetRelease minor
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r7 - 2007-01-16 - JasonHill
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback