Tags:
create new tag
view all tags

Bug: TWiki::Net Does Not Add Date

TWiki::Net doesn't put a date into the body of the email it sends. This is not a big deal for most mailers, but qmail is rude about it. Other mailers might not behave well either.

I attach a modified Net.pm that solves the problem.

Test case

Multiple re-runs of a user registration using a slightly touched-up TWikiRegistrationPub form. Also did some logging to see what was getting produced.

Environment

TWiki version: 20011201
TWiki plugins:  
Server OS: FreeBSD 4.3-RELEASE
Web server: Apache 1.3.20 w/mod_perl
Perl version: 5.005_03
Client OS: Debian GNU/Linux 2.2r2
Web Browser: Mozilla 5.0

-- JbBell - 12 Mar 2002

Follow up

Fix record

  • Net.pm: Removed unnecessary debugging code

Thanks for the patch, now in CVS for TWikiAlphaRelease. I don't have Qmail to test with, but the patch is very simple and it worked with my ISP's SMTP server.

-- RichardDonkin - 22 Mar 2002

Topic attachments
I Attachment History Action Size Date Who Comment
Perl source code filepm Net.pm r2 r1 manage 6.1 K 2002-03-13 - 03:26 UnknownUser Removed unnecessary debugging code
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2002-03-22 - RichardDonkin
 
  • 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.