Tags:
create new tag
view all tags

Question

  • TWiki version: Version: 01 Feb 2003
  • Perl version: 5.6.1-2 (Cygwin)
  • Web server & version: Apache/1.3.27 (Win32)
  • Server OS: Windows NT Server 4.0
  • Web browser & version: IE6.0
  • Client OS: Windows NT Server 4.0

I am having real problems getting mailnotify to work at all. Currently I have my scheduled tasks configured like this

at 9:00am /every:m,t,w,th,f c:\cygwin\bin\perl5.6.1.exe -wT c:\twiki\bin\mailnotify -q

The task seem to run OK but nothing happens

Note: Net::SMTP (2.16) is installed and automatic response from user registration works fine.

I cannot find any help file on configuring mailnotify. Can you point me to any such file or give me any pointers/assistance as to how to I might get this to work?

Many thanks

Stephen Anderson -- StephenAnderson - 04 Jun 2003

Answer

You either have to run mailnotify from the twiki/bin directory or you need to add some INClude paramaters to the commandline so that perl can find twiki/bin/setlib.cfg. I use a batch file and ask AT to run that instead:

  @echo off
  c:
  cd \twiki\bin
  c:\cygwin\bin\perl.exe -wT mailnotify -q

Run it without the '-q' manually first to see if it works before adding it to the AT schedule.

-- MattWilkie - 24 Jul 2003

Another debugging technique is to change into the appropriate directory and try to run mailnotify yourself, interactively, from the command line. If that does not run, you have some configuration error, such as not having your mailer specified corrrectly, or bad paths in your setlib.cfg or TWiki.pm.

-- AndyGlew - 28 Jul 2003

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2003-07-28 - AndyGlew
 
  • 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.