• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item7046: SendEmailPlugin doesn't expand variables in an email template

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension SendEmailPlugin Enhancement Closed   n/a  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

SendEmailPlugin doesn't expand variables in an email template. Set $TWiki::cfg{Plugins}{SendEmailPlugin}{ExpandVariablesInTemplate} = 1 to turn on expanding templates, by default email template doesn't get expanded. If we expands template, its original variable in template like %FROM% %TO% might conflict with other existing variables. So we have to use %SENDEMAIL_XXX% like "%SENDEMAIL_FROM%, %SENDEMAIL_TO%" to avoid conflicts.

-- TWiki:Main/YaojunFei - 2012-11-20

ItemTemplate
Summary SendEmailPlugin doesn't expand variables in an email template
ReportedBy TWiki:Main.YaojunFei
Codebase ~twiki4, 5.1.1
SVN Range TWiki-5.1.3-trunk, Thu, 15 Nov 2012, build 24062
AppliesTo Extension
Component SendEmailPlugin
Priority Enhancement
CurrentState Closed
WaitingFor

Checkins TWikirev:24157
TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r3 - 2012-11-21 - YaojunFei
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback