Tags:
create new tag
view all tags

SID-00887: %MAKETEXT showing up in email subject

Status: Answered Answered TWiki version: 5.0.0 Perl version:
Category: MailerContrib Server OS: Ubuntu Last update: 15 years ago

I've been wrestling with notifications for the past few days and got it working today (mainly issues with my MTA and errors in my cron).

But now, when my users receive their updates the subject comes as: TWiki EW %MAKETEXT{"Web"} - Automated notification of topic changes

(for example)

I looked into the %MAKETEXT function but am not sure if I am missing a parameter. The only place I see this text is in the email subject line.

Thanks!

-- JerryBirdwell - 2010-07-07

Discussion and Answer

Not sure. Did you modify twiki/templates/mailnotify.tmpl? By default, it has this subject line:

Subject: %WIKITOOLNAME%.%WEB% - %MAKETEXT{"Automated notification of topic changes"}%

MAKETEXT is documented at VarMAKETEXT.

-- PeterThoeny - 2010-07-07

I did not modify it --- but there is a slight difference, notice the <nop> prior to the %WEB% tag. Here is the subject from my mailnotify.tmpl.

Subject: %WIKITOOLNAME% <nop>%WEB% %MAKETEXT{"Web"} - %MAKETEXT{"Automated notification of topic changes"}%

Should I take out the <nop> ?

-- JerryBirdwell - 2010-07-09

Simple fix: Add a % at the end of MAKETEXT, e.g. %MAKETEXT{"Web"}%.

I just checked, the TWiki-5.0.0 distribution has the proper content, but the latest MailerContrib has this bug. I will update the mailer package.

-- PeterThoeny - 2010-07-09

The MailerContrib package is now updated. This TWikibug:Item6518 was not in the TWiki-5.0.0 release, only in the mailer package since 2010-06-12.

-- PeterThoeny - 2010-07-09

Added the "%" and got it working --- thanks for the help and for logging the defect. Jerry

-- JerryBirdwell - 2010-07-09

      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 %MAKETEXT showing up in email subject
SupportCategory MailerContrib
TWiki version 5.0.0
Server OS Ubuntu
Web server Apache2
Perl version

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