First Last Prev Next    No search results available
: Support using SmartTemplate4 variables in Thunderbird Tem...
Bug#: 26536
: smarttemplate4
: General
Resolution: FIXED
: PC
: Windows NT
: unspecified
: P3
: normal
: ---

  Show dependency tree - Show dependency graph
Reporter: Axel Grude <>
Assigned To: Axel Grude <>

1.5.2 prerelease 53 (476.55 KB, application/x-xpinstall)
2018-05-19 11:46, Axel Grude
no flags Details
2.1 pre 17 (536.02 KB, application/x-xpinstall)
2019-01-04 02:19, Axel Grude
no flags Details


You need to log in before you can comment on or make changes to this bug.

Related actions

Description:   Opened: 2018-05-19 11:05
SmartTemplate4 should support replacing %variable% when creating a new email
from a Template (Thunderbird Templates folder). At the moment it is completely
bypassed in this case.
------- Comment #1 From Axel Grude 2018-05-19 11:46:57 -------
Created an attachment (id=8462) [details]
1.5.2 prerelease 53

This version allows using %variables% such as %datelocal% within a Thunderbird

It is important that the attribute


has to be removed from the <body> element before saving the template otherwise
the variable replacements won't work as expected. 
Also, still to do: when _editing_ the template (with the new "Edit Template..."
command we currently experience multiple nested

<div id="smartTemplate4-template">

Elements, which is obviously not desired. And also, the problem of the editor
resolving the %variables% which makes Thunderbird Composer less than ideal for
editing HTML that contains ST4 %variables%. I usually use an external  editor
like notepad++ when editing Stationery (HTML) templates, and a web browser for
previewing. Maybe I can find a workaround and stop ST4 from processing if
"template editing" is actually executed.
------- Comment #2 From Axel Grude 2019-01-04 02:19:16 -------
Created an attachment (id=8576) [details]
2.1 pre 17

This version addresses the following issues
- variables are cleaned up automatically when the Email is sent
- variables are not replace when creating an email from a template
- signature is appended as eexpected
- the %sig% variable can be used within a Thunderbird template
------- Comment #3 From Axel Grude 2019-07-28 06:43:43 -------
Complete: Release 2.1 - 28/07/2019

First Last Prev Next    No search results available