Tags:
create new tag
view all tags

SID-00260: Mailnotify works except news

Status: Answered Answered TWiki version: 4.2.3 Perl version: 5.6.1
Category: MailerContrib Server OS: Windows Server 2000 Last update: 16 years ago

Mailnotify is working for all my webs. Today I created a newsletter page and a cron job to send (added -news to the existing crontab job). Even though there is a topic that I've subscribed to that has changed, I get errors on the -news run as follows:

ERROR: Can't send mail, missing 'From:' at D:\twiki\lib/TWiki/Net.pm line 381.

ERROR: Can't send mail, missing 'From:' at D:\twiki\lib/TWiki/Net.pm line 381.

ERROR: Can't send mail, missing 'From:' at D:\twiki\lib/TWiki/Net.pm line 381.

ERROR: Can't send mail, missing 'From:' at D:\twiki\lib/TWiki/Net.pm line 381.

Too many failures sending mail

My normal (without -news option) webnotifies all work. This only happens if I add the -news option. For testing, I ensured that the page I had subscribed to had changed. Also, this is running by itself (not at the same time as another cron job).

The complete command line is: c:\perl\bin\perl -I d:\twiki\bin d:\twiki\tools\mailnotify -news

This is in a Windows environment.

-- PaulOpitz - 2009-04-09

Discussion and Answer

Despite the instructions specifically saying:

  • If %STARTPUBLISH% is the first control tag seen in the file, everything before it will be ignored.

In fact, if you want to ignore the first part of a topic, a %STOPPUBLISH% is needed at the beginning of the topic. (At least, doing that solved my problem...)

-- PaulOpitz - 2009-04-16

      Change status to:
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.
SupportForm
Status Answered
Title Mailnotify works except news
SupportCategory MailerContrib
TWiki version 4.2.3
Server OS Windows Server 2000
Web server Apache
Perl version 5.6.1
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2009-04-16 - PeterThoeny
 
  • 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.