• Do
not register here on develop.twiki.org, login with your twiki.org account.
• Use
Item7848 for generic
doc work for TWiki-6.1.1. Use
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 |
|
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