Tags:
create new tag
view all tags

Question

The notification feature of the Approval Plugin does not work on my 4.2.0 Wiki on Windows XP. I'm using Apache authentication, not the TWiki Template but I've set up myself as a TwikiUser with the user form and email addressin the form. Still no joy.

error reproted in log file: | 01 Oct 2008 - 11:20 | (TWiki::Plugins::ApprovalPlugin) - TWiki::Plugins::ApprovalPlugin: ERROR: Can't send mail, missing recipient at C:/Perl/lib/CGI/Carp.pm line 314. at C:/Perl/lib/CGI/Carp.pm line 314

CGI::Carp::realdie('ERROR
Can\'t send mail, missing recipient') called at C:/Perl/lib/CGI/Carp.pm line 389
CGI::Carp::die('ERROR: Can\'t send mail, missing recipient') called at E:/ProgramFiles/ApacheGroup/Apache2/htdocs/twiki/lib/TWiki/Net.pm line 407 TWiki::Net::_sendEmailByNetSMTP('TWiki::Net=HASH(0x1c44a84)', 'Date
Wed, 01 Oct 2008 15:20:01 GMT\x{a}From: david.pontzer@effem...') called at E:/ProgramFiles/ApacheGroup/Apache2/htdocs/twiki/lib/TWiki/Net.pm line 316 TWiki::Net::__ANON__() called at C:/Perl/site/lib/Error.pm line 379 eval {...} called at C:/Perl/site/lib/Error.pm line 371 Error::subs::try('CODE(0x2639a38)', 'HASH(0x275455c)') called at E:/ProgramFiles/ApacheGroup/Apache2/htdocs/twiki/lib/TWiki/Net.pm line 332 TWiki::Net::sendEmail('TWiki::Net=HASH(0x1c44a84)', 'From: david.pontzer@effem.com\x{a}To: , , \x{a}Cc: , \x{a}Subject: Change...') called at E:/ProgramFiles/ApacheGroup/Apache2/htdocs/twiki/lib/TWiki/Func.pm line 2104
TWiki::Func::sendEmail('From: david.pontzer@effem.com\x{a}To
, , \x{a}Cc: , \x{a}Subject: Change...') called at E:/ProgramFiles/ApacheGroup/Apache2/htdocs/twiki/lib/TWiki/Plugins/ApprovalPlugin.pm line 428 TWiki::Plugins::ApprovalPlugin::_changeState('Send For Review', 'REJECTED', 'MarsUSRandD', 'KbTest505') called at E:/ProgramFiles/ApacheGroup/Apache2/htdocs/twiki/lib/TWiki/Plugins/ApprovalPlugin.pm line 265 TWiki::Plugins::ApprovalPlugin::beforeCommonTagsHandler('\x{a}\x{a}\x{a}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional/...', 'KbTest505', 'MarsUSRandD', 'TWiki::Meta=HASH(0x22ab074)') called at E:/ProgramFiles/ApacheGroup/Apache2/htdocs/twiki/lib/TWiki/Plugin.pm line 266 TWiki::Plugin::invoke('TWiki::Plugin=HASH(0x1db2328)', 'beforeCommonTagsHandler', '\x{a}\x{a}\x{a}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional/...', 'KbTest505', 'MarsUSRandD', 'TWiki::Meta=HASH(0x22ab074)') called at E:/ProgramFiles/ApacheGroup/Apache2/htdocs/twiki/lib/TWiki/Plugins.pm line 344 ...

Any ideas?

Environment

TWiki version: TWikiRelease04x02x00
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Windows XP Pro
Web server: Apache 2.0
Perl version: 5.8
Client OS: Windows XP
Web Browser: FF or IE
Categories: Plugins

-- DavidPontzer - 01 Oct 2008

Answer

ALERT! 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.

My first impression is that TWiki can't find your email address. I can't remember where TWiki looks for emails, but im using Apache authentication and I think it gets the email address from the user topic.

Firstly I would check that WebNotify is working. I would also go to your user topic, append ?raw=debug to the url and look for something like (ensure the name and title paramenters are exactly the same):

%META:FIELD{name="Email" attributes="" title="Email" value="email@example.com"}%

It does seem this problem is more likely to be with your TWiki than this particular problem.

Hope this helps.

-- AndrewRJones - 02 Oct 2008

That is correct, and the problem is fixed. With apache authentication, the email is stored in the password file. Mine has no emails, hence the problem. I added emails to the password file and all is well. Thank you

-- DavidPontzer - 06 Oct 2008

Change status to:
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2008-10-07 - AndrewRJones
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.