SmartTemplates Version History
87 versions
Be careful with old versions!
These versions are displayed for reference and testing purposes. You should always use the latest version of an add-on.
Version 4.2.1
The full change log with screen shots can be found here
Enhancements / Changes
Bugs Fixed
Enhancements / Changes
- The button in the email header bar is now shorter not containing the untranslated phrase 'Follow up with SmartTemplates' anymore - you can even completely hide the SmartTemplates label so that only the icon remains visible while in icon+text mode. [issue 254]
- Added "settings" item to bottom of SmartTemplates thread tools menu
Bugs Fixed
- A problem was fixed that prevented other account templates loading when you change the 'From' address in the email editor window. [issue 256]
However there will be a prompt now, as Thunderbird currently incorrectly reports a New Email as "changed" when the event happens. We're hoping that this problem may be addressed in a future version.
- Source code released under Custom License
Version 3.18
The full change log with screen shots can be found here
SmartTemplates is now compatible with the latest version of Thunderbird (115.2.3). This required numerous substantial changes, and rewriting of many functions. This version 3.17.1 backports some of the changes to Thunderbird 102 and earliser.
Enhancements
Bugfixes
SmartTemplates is now compatible with the latest version of Thunderbird (115.2.3). This required numerous substantial changes, and rewriting of many functions. This version 3.17.1 backports some of the changes to Thunderbird 102 and earliser.
Enhancements
- New option to inject contents of
<head>
tags into the Thunderbird composers' head section. Merge attributes of template<body>
into the body tag of the Email. [issue 79]
Thunderbird used to discard any body tags that were injected into composer. With this new feature we can influence the look and feel of the page better (including background color and images). Moving style sections into the head of the email can also make the layout translate better in various email environments. Some webmail sites discard styles that are not located within the head section.
This behavior can be toggled on the advanced settings page.
Bugfixes
- Avoid error in log when smartTemplates.json file (list of external templates) does not exist [issue 227]
- Fixed a problem with cardbook when no match round and fallback to standard AB is not defined
- Source code released under Custom License
Version 4.1
The full change log with screen shots can be found here
Enhancements / Changes
Bugs Fixed
Known issues / Plans
Enhancements / Changes
- Any code within a <head> tag will from now be moved into the main <head> section of the document. Also <body> attributes are now transferred to the main <body>. This should make CSS styles more visible in other mail clients. [issue 79]
Bugs Fixed
- In the previous version, the license website did not open when clicking on any buttons in the License dialog. This was fixed and also opening the support site in the standard browser.
- Fixed miscellaneous layout issues in settings screen.
Known issues / Plans
- There may still be some stability issues with displaying / updating the template menus.
- Future versions will hide irrelevant menus (reply list, reply all) based on current context.
- Source code released under Custom License
Version 4.0.2
Enhancements / Changes
Bugs Fixed
Known issues / Plans
- The menu item for last used template is now updated as expected. This means also when you load a template directly from disk this will afterwards show up in the appropriate menu (Reply, Write or Forward) as "Last template" for easier reuse.
Bugs Fixed
- Fixed a problem with the Add-on CardBook. If Cardbook support was enabled in SmartTemplates, without the Add-on being active / installed, then falling back to searching the standard address book would also fail.
- Fixed an issue with opening templates or snippets directly from file - these functions did not insert any data. [issue 249]
- Fixed missing write / reply / forward tabs in Common settings if no account was selected (e.g. when opening the settings from Local Folders)
Known issues / Plans
- There may still be some stability issues with displaying / updating the template menus.
- Future versions will hide irrelevant menus (reply list, reply all) based on current context.
- Source code released under Custom License
Version 4.0b3
The full change log with screen shots can be found here
Maintenance itens for 4.0b3
Enhancements / Changes
Known issues / Plans
Maintenance itens for 4.0b3
- Fixed a bug which broke the template menus when modifying (the menus were saved in a broken format). [issue 247]
- The
%recipient%
variable will now update to the correct address when inserting it from a smart fragment in a reply, even after it was changed manually. [issue 248]
Enhancements / Changes
- User Interface: The template dropdown menus are now displayed through dedicated buttons in the new unified toolbar and the message header area. Thunderbird does not allow modifying existing buttons with a dropdown anymore.
- New option to automatically reuse last external template [issue 243]
- Supports {{%replaceText%}} and {{%deleteText%}} to modify html that was imported using {{%file()%}}. This way you can use placeholder variables and replace them from the containing template.[issue 244]
- 4.0b2 (rev266): Avoid error when smartTemplates.json file does not exist.[issue 227]
Known issues / Plans
- There may still be some stability issues with displaying / updating the template menus.
- Future versions will hide irrelevant menus (reply list, reply all) based on current context.
- Source code released under Custom License
Version 3.17.1
The full change log with screen shots can be found here
SmartTemplates is now compatible with the latest version of Thunderbird (115.0). This required numerous substantial changes, and rewriting of many functions. This version 3.17.1 backports some of the changes to Thunderbird 102 and earliser.
Enhancements
SmartTemplates is now compatible with the latest version of Thunderbird (115.0). This required numerous substantial changes, and rewriting of many functions. This version 3.17.1 backports some of the changes to Thunderbird 102 and earliser.
Enhancements
- Allow %replaceText()% and %deleteText()% to affect content that was imported using %file()%
issue 244
We frequently need to import text fragments ("building blocks") that have a generic message but need to include some specific keywords, such as a product name or URL. Previously the following pattern did not work within the text that is imported:
<pre>%file("snippets/why-renew.html")%
%replaceText("{addonName}","quickFilters")%
%replaceText("{github}","https://github.com/RealRaven2000/quickFilters")%</pre>
Contained file (why-renew.html)
<pre><p>
All changes of the Add-on {addonName} can be seen as they are
created and tracked <a href="{github}/issues">on Github</a>;
</p></pre>
Previously, SmartTemplates did the replacements before the contents of the file were inserted into the template text.
New behavior: First load the file and replace its contents into the template, then do the text replacements afterwards. As demonstrated in the example above, it can also be used to modify HTML markup and affect things like HTML attributes such as the URL of a web link. - Fixed problem where an invalid HTML signature path could lead to problems in the template.
- Update Number of days left in license at midnight
- Source code released under Custom License
Version 4.0b2
The full change log with screen shots can be found here
SmartTemplates 4.0 is a brand new version for Thunderbird 115, which is in active process of release over the next weeks and which has a completely redesigned new user interface "Supernova".
If you would like to share feedback on this beta version, I recommend that you visit Github issue 213.
Please buy a license or renew your license to finance this work if you want to use SmartTemplates in the future.
Important known issue
In [issue 247] I found out that the new version of SmartTemplates cannot save the template lists correctly. So please do not change the template menus until this is resolved in the next release 4.0b3 or download the patched version linked here.
Enhancements / Changes
Known issues / Plans
SmartTemplates 4.0 is a brand new version for Thunderbird 115, which is in active process of release over the next weeks and which has a completely redesigned new user interface "Supernova".
If you would like to share feedback on this beta version, I recommend that you visit Github issue 213.
Please buy a license or renew your license to finance this work if you want to use SmartTemplates in the future.
Important known issue
In [issue 247] I found out that the new version of SmartTemplates cannot save the template lists correctly. So please do not change the template menus until this is resolved in the next release 4.0b3 or download the patched version linked here.
Enhancements / Changes
- 4.0b2 (rev266): Avoid error when smartTemplates.json file does not exist.[issue 227]
- User Interface: The template dropdown menus are now displayed through dedicated buttons in the new unified toolbar and the message header area. Thunderbird does not allow modifying existing buttons with a dropdown anymore.
- Unified Toolbar Menu
This button is automatically added on installation on the top right of Thunderbird - you can move it to the left via the context menu and selecting Customize... - Header Actions Menu
The new menu button is added beside the reply / forward buttons in the header pane above the email view. - New option to automatically reuse last external template [issue 243]
Once you select an external HTML from the dropdown when replying, this will be used for all subsequent replies using Thunderbird's standard reply / reply all buttons.
This feature will be available to all users with a valid license (Standard, Pro and Domain) and can be activated in Global Settings - Supports %replaceText% and %deleteText% to modify html that was imported using %file()%. This way you can use placeholder variables and replace them from the containing template.
Known issues / Plans
- There may still be some stability issues with displaying / updating the template menus.
- Future versions will hide irrelevant menus (reply list, reply all) based on current context.
- Source code released under Custom License
Version 4.0b1
The full change log with screen shots can be found here
SmartTemplates 6.0 is a brand new version for Thunderbird 115, which is in active process of release over the next weeks and which has a completely redesigned new user interface "Supernova".
If you would like to share feedback on this beta version, I recommend that you visit Github issue 213.
Please buy a license or renew your license to finance this work if you want to use SmartTemplates in the future.
Enhancements / Changes
Known issues / Plans
SmartTemplates 6.0 is a brand new version for Thunderbird 115, which is in active process of release over the next weeks and which has a completely redesigned new user interface "Supernova".
If you would like to share feedback on this beta version, I recommend that you visit Github issue 213.
Please buy a license or renew your license to finance this work if you want to use SmartTemplates in the future.
Enhancements / Changes
- User Interface: The template dropdown menus are now displayed through dedicated buttons in the new unified toolbar and the message header area. Thunderbird does not allow modifying existing buttons with a dropdown anymore.
- Unified Toolbar Menu
This button is automatically added on installation on the top right of Thunderbird - you can move it to the left via the context menu and selecting Customize... - Header Actions Menu
The new menu button is added beside the reply / forward buttons in the header pane above the email view. - New option to automatically reuse last external template [issue 243]
Once you select an external HTML from the dropdown when replying, this will be used for all subsequent replies using Thunderbird's standard reply / reply all buttons.
This feature will be available to all users with a valid license (Standard, Pro and Domain) and can be activated in Global Settings - Supports %replaceText% and %deleteText% to modify html that was imported using %file()%. This way you can use placeholder variables and replace them from the containing template.
Known issues / Plans
- There may still be some stability issues with displaying / updating the template menus.
- Future versions will hide irrelevant menus (reply list, reply all) based on current context.
- Source code released under Custom License
Version 3.17
The full change log with screen shots can be found here
Enhancements
Bug Fixes / Maintenance
Miscellaneous
Enhancements
- New %deleteForwardedBody% function removes the body of the original email when forwarding inline. Can be used to process information from automated mails while removing the original information. [issue 236] (function requires SmartTemplates Pro license)
- Insert Snippet now supports inserting contents of a CSS file as style block. [issue 238]
- Allow %file()% and %style% command to use ../ to access parent folders of a file [issue 237]
Examples:
%file(../faq.html)%
%file(../../history/qf-5.16-de.html)%
%style(../styles/quickfolders-reminder.css)% - Improvements in Template Manager: Show Category in the list for easier navigation.
- Added pricing section to licensing dialog [issue 232]
Bug Fixes / Maintenance
- Corrected the Number of days left in license by rounding up [issue 234]
Miscellaneous
- Added Czech translation to licensing dialog
- SmartTemplates does not trigger "news" unless min ver changes at least. This way test versions can be loaded without always displaying the "News" label on the toolbar / status bar.
- Source code released under Custom License
Version 3.16.1
The full change log with screen shots can be found here
Maintenance version 3.16.1
Enhancements
Bug Fixes / Maintenance
Maintenance version 3.16.1
- Fixed: Forward with Template doesn't send off mail automatically any more. [issue 231]
- Fixed: Scripts in template
%{%
%}%
- [issue 229] - Fixed:
%from(addressbook,nickname)%
created an error when trying to use CardBook.
Enhancements
- Added CardBook support (Pro License Feature). You need to install Cardbook 84.5 as a minimal version to retrieve the addresses from it. [issue 50]. You can enable this feature on the advanced settings page.
- Also added platform switches to chatname, which select a specific chat name based on the what it is for, such as %from(chatname.skype)% You can find all currently supported switches on the variables page under
the section 'Address Book Fields' and can be combined with all address-related variables such as %to%, %from%, %cc%, %recipient% or %identity%.
Bug Fixes / Maintenance
- Fixed: Template Categories containing space characters disrupt the template menus [issue 222]
- Fixed: bracketName(";") parameter was broken. [issue 219]
- Source code released under Custom License
Version 3.16
The full change log with screen shots can be found here
Enhancements
Bug Fixes / Maintenance
Enhancements
- Added CardBook support (Pro License Feature). You need to install Cardbook 84.6 as a minimal version to retrieve the addresses from it. [issue 50]. You can enable this feature on the advanced settings page.
- Also added platform switches to chatname, which select a specific chat name based on the what it is for, such as %from(chatname.skype)% You can find all currently supported switches on the variables page under the section 'Address Book Fields' and can be combined with all address-related variables such as %to%, %from%, %cc%, %recipient% or %identity%.
- Spellchecker will now be activated by %spellcheck()% command, even if it is disabled in global composer settings.
Bug Fixes / Maintenance
- Template Categories may now contain space characters without breaking the template menus [issue 222]
- The bracketName(";") parameter can now be used with double quotes. [issue 219]
- Source code released under Custom License
Version 3.15.1
The full change log with screen shots can be found here
Maintenance Release 3.15.1
Minor maintenance fix for text search in variables tab that could break repeated searching using F3.
Enhancements
Bug Fixes / Maintenance
Maintenance Release 3.15.1
Minor maintenance fix for text search in variables tab that could break repeated searching using F3.
Enhancements
- Added backwards search in variables window - press [Shift] + [F3]to search text going up. You can also use the [Enter] key on the number pad to enter a new search term. This previously closed the SmartTemplates settings window
- Added optional attributes list to variable %file()% when it is used to include images , see [issue 216].
You can add additional attributes to like this:
%file(img/bargain.png,id=bargainStar,width=192,"alternative text")%
This will generate the following html code after importing the image data:
<img
src="data:img/png;filename=bargain.png;base64,iVBORw0KGgoAAAAN...." id="bargainStar" width="192" alt="alternative text">
Bug Fixes / Maintenance
- Fixed a problem with <tt>addressbook</tt> switch, which can be used with address headers and also %identity%. This was broken by recent changes related to
toclipboard
. Also added support for the new vCard format. [issue 217]. Example:
%identity(addressbook,work.title,work.department,work.organization)%
- Source code released under Custom License
Version 3.15
The full change log with screen shots can be found here
Enhancements
Bug Fixes / Maintenance
Enhancements
- Added backwards search in variables window - press [Shift] + [F3]to search text going up. You can also use the [Enter] key on the number pad to enter a new search term. This previously closed the SmartTemplates settings window
- Added optional attributes list to variable %file()% when it is used to include images , see [issue 216].
You can add additional attributes to like this:
%file(img/bargain.png,id=bargainStar,width=192,"alternative text")%
This will generate the following html code after importing the image data:
<img
src="data:img/png;filename=bargain.png;base64,iVBORw0KGgoAAAAN...." id="bargainStar" width="192" alt="alternative text">
Bug Fixes / Maintenance
- Fixed a problem with <tt>addressbook</tt> switch, which can be used with address headers and also %identity%. This was broken by recent changes related to
toclipboard
. Also added support for the new vCard format. [issue 217]. Example:
%identity(addressbook,work.title,work.department,work.organization)%
- Source code released under Custom License
Version 3.14
The full change log with screen shots can be found here
Enhancements
Bug Fixes / Maintenance
Enhancements
- Added a search field to the variables page.[issue 215]
Enter a search term to find any words in the complete variables documentation (including currently collapsed chapters). Push [Enter] to start the search and [F3] to continue to the next match. - Improved colors in variables window when using dark themes.
- Support using 'toclipboard' parameter to copy data to clipboard multiple times in the same template.[issue 210]
- Added a new chapter that explains clipboard functions in variables tab
Bug Fixes / Maintenance
- Fixed header variables with uppercase letters, such as %Message-Id% and %Newsgroups% [issue 211]
- Source code released under Custom License
Version 3.13
The full change log with screen shots can be found here
Enhancements
Bug Fixes / Maintenance
Miscellaneous
Enhancements
- New
toclipboard
parameter for address fields such as%from(name)%
to copy results to clipboard. - Improved the parameters
bracketMail
andbracketName
for using with clipboard. These now do not encode the < and > signs anymore. - [issue 208] Improved accessibility for settings dialog. tabs and buttons can now be navigated using keyboard only.
- After updating, SmartTemplates does not display the tab with version log automatically anymore. The original behavior can be restored on the licenses tab in the new 'Updates' section.
The fully translated "News" screen or a detailed change log (in English) on the support site can also be displayed opened from here.
Bug Fixes / Maintenance
- [issue 205] Fixed: After FiltaQuilla automatically forwarded or replied to an email using smarttemplate, the same template had been used in error on a following manual reply in error.
- [issue 204] Repaired the context menu command to update and replace field variables with content (without updating the content - to update it just use a left click beforehand).
- [issue 206] Repaired: %datelocal% returned a blank space instead of the localized date.
Miscellaneous
- In Thunderbird 102 We now use compose-window-init event in 102 to reliably attain headers at an earlier
stage - in order to extract headers from the original email.
- Source code released under Custom License
Version 3.12.2
The full change log with screen shots can be found here
Maintenance Version 3.12.2
Enhancements
Maintenance Version 3.12.2
- [issue 197] - Expand / collapse / help buttons are now also visible when opening settings from Add-ons Manager
- [issue 198] - Renew license button on left bottom of settings dialog now works as expected
Enhancements
- [issue 183] SmartTemplates now supports using "clipboard" as argument for text and header manipulation functionsheader manipulation - examples
%header.set(to,clipboard)%
- set the final recipient from the clipboard%header.append(to,clipboard)%
- add a recipient from clipboard%header.prefix(subject,clipboard)%
- add some subject prefix from clipboard
%replaceText(regularExpression,clipboard)%
- overwrite placeholder text in template from clipboard%replaceQuotedText(regularExpression,clipboard)%
- replace text in the quoted part with clipboard contents
- [issue 187] Support transferring headers / variable results to clipboard
Use the parameter <tt>toclipboard</tt> to transfer header contents such as email addresses to the clipboard:%from(mail,toclipboard)%
Use it when replying or forwarding messages to extract text from the original message body or subject to the clipboard, for example:
%matchTextFromBody("Please reply until (.*)",1,toclipboard)%
%matchTextFromSubject("\[Support\] (.*)",1,toclipboard)%
You can use it for copying the date with dateformat as well:
Wrap the format strings in double quotes, and add the parameter <tt>toclipboard</tt> to force copying the date to clipboard instead of inserting it into the email. Use the additional parameter <tt>current</tt> to always enforce current time (without that, it will interpret it as the timestamp of the replied to / forwarded original mail)
Examples:
<pre class="code">
%dateformat("A, e/n/Y H:M",toclipboard)%
%dateformat("A, e/n/Y H:M",current,toclipboard)%</pre> - [issue 189] Support multiple spellcheck languages with %spellcheck()% command - for example:
use %spellcheck(en,de)% to enable combined English / German dictionary checking. - [issue 182] Improved *selection* placeholder in Snippets to better support processing html elements.
For example, you can now wrap an image with some HTML to add a shadow. Just click on the image and then load the following Smart Template:
<pre>
<div style="border: 1px solid rgba(80, 80, 80, 0.3);
box-shadow: rgba(80, 80, 80, 0.3) 5px 5px 5px;
width:max-content;">*selection*</div>
</pre>
This will add a nice outlines and drop shadow. There are many more creative way to add functionality to the Thunderbird Composer using the SmartTemplates Snippets button, by using HTML and style rules. - [issue 185] Simplified and modernized SmartTemplates Settings - Accounts dropdown and toolbar buttons.
The accounts dropdown often showed squashed buttons at the top right due to long labels, also the icons
were confusing - I have decided to streamline this by taking the following steps:
- removed the "Advanced" label and using the widely used [...] icon to expand dialog to advanced settings
- used monochrome scalable svg icons for most of the toolbarbutton
- removed the account name from the account label - the identity name should be enough.
If you need to add it back (or additional info such as the account id)
you can right-click the "Account:" label - reduced space between buttons to save even more space
- Compatibility changes for Thunderbird ESR 102:<br>
Increased minimum version number<br>
Fixed notifications<br>
Fixed setting focus in composer<br>
Stabilized code when reading external signatures or including external files<br>
Fixed menu spacings for Templates in reply / write / forward / Snippets buttons.<br> Bug Fixes / Maintenance - [issue 186] Fixed various issues in
bracketMail
parameter in %to% / %from% etc:
- You can now use bracketMail without the parentheses:
%to(name,bracketMail)%
this will default to wrapping the email in the standard of angled brackets: <[email protected]> - Fixed: Explict delimiters given as bracket parameters should not repeat on all following fields. <br> For example,
%to(bracketName({;}),mail)%
will generate "{Fred} [email protected]" and not the faulty "{Fred} {[email protected]}" - When using deferred fields (e.g. when using %to(bracketMail)% within a write template), angle brackets used to be encoded twice leading to an output of "&l;;[email protected]&g;;" instead of the expected "<[email protected]>" when the user clicks to update the field.
- Using multiple
bracketMail
functions could lead to only the last[[ optional section ]]
to be removed as expected. See related [issue 192]
- You can now use bracketMail without the parentheses:
- Ongoing work: [issue 184]
Move template processing into background script
In order to use ComposeScripts and allow integration of SmartTemplates with other mail extensions (not just legacy) all template / string processing and the insertion into Composer need to be moved into the background script. The new code will be implemented on the current ESR branch (currently 91, soon to be 102) but not activated until it is ready.
Once the main parser runs within background we are an essential step closer to conversion to a native API mail extension [mx] without legacy code and without requiring full permissions to the user's PC. However it is likely that things like UI integration (3 buttons in composer toolbar), full access to external files, access to certain MIME headers etc. might then still not possible with non-experimental Add-ons. - New Greek translation by StratosL (Work in Progress)
- Source code released under Custom License
Version 3.12.1
The full change log with screen shots can be found here
Enhancements 3.12
Enhancements 3.12
- [issue 183] SmartTemplates now supports using "clipboard" as argument for text and header manipulation functionsheader manipulation - examples
%header.set(to,clipboard)%
- set the final recipient from the clipboard%header.append(to,clipboard)%
- add a recipient from clipboard%header.prefix(subject,clipboard)%
- add some subject prefix from clipboard
%replaceText(regularExpression,clipboard)%
- overwrite placeholder text in template from clipboard%replaceQuotedText(regularExpression,clipboard)%
- replace text in the quoted part with clipboard contents
- [issue 187] Support transferring headers / variable results to clipboard
Use the parameter <tt>toclipboard</tt> to transfer header contents such as email addresses to the clipboard:%from(mail,toclipboard)%
Use it when replying or forwarding messages to extract text from the original message body or subject to the clipboard, for example:
%matchTextFromBody("Please reply until (.*)",1,toclipboard)%
%matchTextFromSubject("\[Support\] (.*)",1,toclipboard)%
You can use it for copying the date with dateformat as well:
Wrap the format strings in double quotes, and add the parameter <tt>toclipboard</tt> to force copying the date to clipboard instead of inserting it into the email. Use the additional parameter <tt>current</tt> to always enforce current time (without that, it will interpret it as the timestamp of the replied to / forwarded original mail)
Examples:
<pre class="code">
%dateformat("A, e/n/Y H:M",toclipboard)%
%dateformat("A, e/n/Y H:M",current,toclipboard)%</pre> - [issue 189] Support multiple spellcheck languages with %spellcheck()% command - for example:
use %spellcheck(en,de)% to enable combined English / German dictionary checking. - [issue 182] Improved *selection* placeholder in Snippets to better support processing html elements.
For example, you can now wrap an image with some HTML to add a shadow. Just click on the image and then load the following Smart Template:
<pre>
<div style="border: 1px solid rgba(80, 80, 80, 0.3);
box-shadow: rgba(80, 80, 80, 0.3) 5px 5px 5px;
width:max-content;">*selection*</div>
</pre>
This will add a nice outlines and drop shadow. There are many more creative way to add functionality to the Thunderbird Composer using the SmartTemplates Snippets button, by using HTML and style rules. - [issue 185] Simplified and modernized SmartTemplates Settings - Accounts dropdown and toolbar buttons.
The accounts dropdown often showed squashed buttons at the top right due to long labels, also the icons were confusing - I streamlined this through:
- removed the "Advanced" label and using the widely used [...] icon to expand dialog to advanced settings
- used monochrome scalable svg icons for most of the toolbarbutton
- removed the account name from the account label - the identity name should be sufficient - if you need it back (or additional info such as the account id), right-click the "Account:" label
- reduced space between buttons to save even more space
- Compatibility changes for Thunderbird ESR 102:<br>
Increased minimum version number<br>
Fixed notifications<br>
Fixed setting focus in composer<br>
Stabilized code when reading external signatures or including external files<br>
Fixed menu spacings for Templates in reply / write / forward / Snippets buttons.<br> Bug Fixes / Maintenance - [issue 186] Fixed various issues in
bracketMail
parameter in %to% / %from% etc:
- You can now use bracketMail without the parentheses:
%to(name,bracketMail)%
this will default to wrapping the email in the standard of angled brackets: <[email protected]> - Fixed: Explict delimiters given as bracket parameters should not repeat on all following fields. <br> For example,
%to(bracketName({;}),mail)%
will generate "{Fred} [email protected]" and not the faulty "{Fred} {[email protected]}" - When using deferred fields (e.g. when using %to(bracketMail)% within a write template), angle brackets used to be encoded twice leading to an output of "&l;;[email protected]&g;;" instead of the expected "<[email protected]>" when the user clicks to update the field.
- Using multiple
bracketMail
functions could lead to only the last[[ optional section ]]
to be removed as expected. See related [issue 192]
- You can now use bracketMail without the parentheses:
- Ongoing work: [issue 184]
Move template processing into background script
In order to use ComposeScripts and allow integration of SmartTemplates with other mail extensions (not just legacy) all template / string processing and the insertion into Composer need to be moved into the background script. The new code will be implemented on the current ESR branch (currently 91, soon to be 102) but not activated until it is ready.
Once the main parser runs within background we are an essential step closer to conversion to a native API mail extension [mx] without legacy code and without requiring full permissions to the user's PC. However it is likely that things like UI integration (3 buttons in composer toolbar), full access to external files, access to certain MIME headers etc. might then still not possible with non-experimental Add-ons. - New Greek translation by StratosL (Work in Progress)
- Source code released under Custom License
Version 3.11
The full change log with screen shots can be found here
Enhancements 3.11
Enhancements 3.11
- [issue 173] Auto-Forward / Auto-Reply with template - implement triggering template from filter (using FiltaQuilla). This requires the Add-on FiltaQuilla version 3.4 or later.
In order to use this feature, open Filtaquilla settings and enable the "forward with SmartTemplates" option on the actions page. One can then add the new action on any message filter.
For detailed documentation refer to the article on the quickFilters premium features page. - [issue 172] Modifiy text in body of forwarded mail [inline]. This now works in the functions:
%deleteQuotedText()%
,%replaceQuotedText()%
,%deleteQuotedTags()%
,%replaceQuotedTags()%
. Read the full documentation here.
These have to be called with a quote level parameter of "0" from the template and then they can be used to delete or replace text or HTML parts from the original mail.
Limitation: the string parameters cannot contain double quotes ", the percent sign % or parentheses ( ) . - [issue 174]
%suppressQuoteHeaders%
command to suppress all quote headers - the ones inserted by Thunderbird automatically (usally along the lines of "on 12/03/2020 John Doe wrote:") and also any of the replacement ones configured in SmartTemplates account settings. - New Greek translation by StratosL (Work in Progress)
- Source code released under Custom License
Version 3.10.2
The full change log with screen shots can be found here
Enhancements 3.10.2
Bug Fixes 3.10.2
Enhancements from 3.10.1
Bug Fixes from 3.10.1
Enhancements 3.10.2
- [issue 170] Added a method to view license extension sooner than 1 month before expiry of Pro license. If you need to extend your license by another year before it expires, you can click the valid date in Settings / SmartTemplates license tab to open the licensing screen to extend it
Bug Fixes 3.10.2
- [issue 171] SmartTemplates Settings Dialog: Empty Examples tab in Thunderbird 91. This was caused by Thunderbird 91 enabling multi-process browsing which doesn't allow remote iFrames. Examples are now loaded in a browser element instead. Note that the examples are pulled from the support site and as such are always in English only.
Enhancements from 3.10.1
- [issue 154] Support pushing [Esc] to close template change confirmation. Also removed non-functional buttons from this dialog.
- [issue 166] Implemented:
%recipient%
should use reply-to header if present when replying. - [issue 150] Removed nag screen which pops up after trial date is expired.
Bug Fixes from 3.10.1
- [issue 167] Fixed: BCC list entry not expanded with empty "To:" address.
- [issue 168] Fixed: custom background and text colors ignored in composer when writing new mails.
- Source code released under Custom License
Version 3.9
The full change log with screen shots can be found here
Enhancements
Bug Fixes
Miscellaneous
Enhancements
- [issue 164] Feature: Added *selection* placeholder for inserting HTML snippets (fragments). This is a SmartTemplates Pro feature.
Bug Fixes
- Fixed: [issue 162] Main toolbar - template dropdowns - items in category submenus don't trigger composer.
- Fixed: [issue 139] Duplicate template inserted when replying to own email - Tb Conversations Add-on!
- Fixed: [issue 155] reply template applied twice in thunderbird 91.2.0.
- Fixed: [issue 163] With Cardbook installed, SmartTemplates statusbar icon may not be shown.
Miscellaneous
- [issue 161]
remove text shadow in html edit boxes for dark themes - this makes the text better readable.
- Source code released under Custom License
Version 3.8
The full change log with screen shots can be found here
Enhancements
Bug Fixes
Miscellaneous
Enhancements
- [issue 142] New feature to insert html Smart snippets within Composer.
- [issue 151]
New single variable%recipient%
for final recipient to replace%to%
/%from%
in all templates - [issue 147] Added categories / folders to structure template menus
Bug Fixes
- Fixed: [issue 148] Regression: Saving / Loading account templates from settings doesn't work without Pro License.
- Fixed: [issue 156] When FORWARDING, %quotePlaceholder% doesn't position forwarded mail text correctly
- Fixed: [issue 158] Could not switch spell checker language with
%spellcheck()%
command. - Fixed: displaying trial date on license tab.
Miscellaneous
- Removed "workaround" experimental APIs (notifications, accounts)
- Removed obsolete "Shim" code
- Source code released under Custom License
Version 3.7
Full change log with screen shots can be found here
Enhancements
Bug Fixes
Enhancements
- [issue 118] New variable
%clipboard%
to insert clipboard contents - this will be inserted
as HTML if copied from a HTML source such as a webpage or a Word Document. You can also insert HTML source code which will be converted to HTML. - [issue 127] Make SmartTemplates compatible with Thunderbird 91:
- Replaced deprecated fixIterator function.
- Replaced Array types where necessary.
- Fixed sliding notifications in composer and icons in all sliding notifications.
- Fixed about:config dialogs. These are used for adding hidden settings that do not have dedicated User Interface, such as the Debug Settings. Typically they are displayed by right-clicking on an option in the settings dialog.
- Removed Utilities.openLinkExternally and replaced with messenger.windows.openDefaultBrowser.
- Splash screen: this is now not shown immediately on update anymore; instead the Statusbar panel and main toolbar button will turn blue and show the splash screen once when clicked. To read it later again, click on the About SmartTemplates tab, and then the first button "Show changes + news". This will show you a quick overview of what's new, localized in 19 different languages. Also simplified contents: removed message about permissions.
Bug Fixes
- Fixed "Buy License" button at bottom of Settings window.
- Fixed: [issue 143] Template Files - Toolbar buttons missing.
- Only display standard license upgrade special offer when within the reduction period
- Source code released under Custom License
Version 3.6
Full change log with screen shots can be found here
Enhancements
Bug Fixes
Miscellaneous
Enhancements
- [issue 135] Expand multiple recipients with %to(firstname)% in New Mail Template.
When replying to an email we expect the variable %to(firstname)% to fill in all recipient names, using the address widget. They will be delimited by the character entered in advanced settings under the Name Rules box. - [issue 137]
SmartTemplates doesn't auto-update to 3.5.4 (because it needs permissions?)
After adding necessary permissions for using the new mail extension APIs (for accounts and notifications), the user isn't prompted to install the updated Add-on anymore. Instead there is a small yellow "warning" icon added to the main menu button, which must be clicked to reveal questions about adding permissions.
I noticed that the majority of users suddenly stopped updating and found that the permissions was the likely cause. As this is now standard behavior in Thunderbird in order to prevent users being distracted from their daily workflow, I had to remove the permissions and modern API code and create my own version so I could make sure my users are updated with the latest version. I have no final satisfactory solution for this behavior as conversion to the new APIs is 100% necessary in order to rewrite SmartTemplates for future versions of Thunderbird.
The main menu button currently has a little yellow warning triangle if Add-ons are awaiting new permissions.
I hope to either educate my users to complete upgrades by clicking this button or code another method of directly alerting the user from the previous version of SmartTemplates when a new version is available.
Bug Fixes
- [issue 134] Support tab missing in version 3.5.4
Miscellaneous
- Removed animation on Splash screen for licensed users.
- Source code released under Custom License
Version 2.16
Full change log with screen shots can be found here
Latest News
I have rewritten SmartTemplates for compatibility with Thunderbird 78. We had a few 1000$ costs for my Add-on migrations. The main effort for new features and bug fixes will go into this new version - latest version is 3.5.4.
I may backport some fixes / features for Thunderbird 60-68 in the SmartTemplate version 2.*. See the item lists below for more detail.
If you are interested in using a version of SmartTemplates that works with Thunderbird 78 and later, consider buying a license to support the project.
Enhancements
Miscellaneous
Latest News
I have rewritten SmartTemplates for compatibility with Thunderbird 78. We had a few 1000$ costs for my Add-on migrations. The main effort for new features and bug fixes will go into this new version - latest version is 3.5.4.
I may backport some fixes / features for Thunderbird 60-68 in the SmartTemplate version 2.*. See the item lists below for more detail.
If you are interested in using a version of SmartTemplates that works with Thunderbird 78 and later, consider buying a license to support the project.
Enhancements
- [issue 135] Expand multiple recipients with %to(firstname)% in New Mail Template.
When replying to an email we expect the variable %to(firstname)% to fill in all recipient names, using the address widget. They will be delimited by the character entered in advanced settings under the Name Rules box.
Miscellaneous
- [issue 127] Make SmartTemplates compatible with Thunderbird 91.0 - this is ongoing work which aims for a smooth transition toward the next ESR version, Thunderbird 91 which is planned to be released in Summer 2021.
- Source code released under Custom License
Version 3.5.4
ull change log with screen shots can be found here
Enhancements
Miscellaneous
Enhancements
- [issue 125] Improved support for converting encoded characters used in address fields such as "from"
- [issue 133] Fixed in 3.5.3 - a Problem with Licensing Dialog that couldn't open the web shop if valid license was already entered.
- [issue 126] Fixed: Enabling 'Resolve names from Address book' falsely disables advanced options
- [issue 130] Fixed: Error in localization for Traditional Chinese (zh-TW) breaks settings dialog.
- Added Localization for Catalan language - this is partly derived from the Occitan locale of an older version.
- Problem with Trial date calculation due to new Legacy Prefs method - fixded in 3.5.2
Miscellaneous
- 3.5.4 - Added wrench button to open settings from Add-ons Manager with a single click.
- [issue 127] Make SmartTemplates compatible with Thunderbird 89.0 - this is ongoing work which aims for a smooth transition toward the next ESR version, Thunderbird 91 which is planned to be released in Summer 2022.
- SmartTemplates now supports multiple Thunderbird windows, via the new background script notifications. Using the new background script notification mechanism for all template menus. When configuring the menus, these are now updated properly across all windows once the settings dialog is closed. Even with multiple Thunderbird windows opened.
- Opening web pages (such as support) uses a different URL variable format from Thunderbird 80 onward, so this will work again with the latest version of SmartTemplates.
- Source code released under Custom License
Version 3.5.3
Full change log with screen shots can be found here
Enhancements
Miscellaneous
Enhancements
- [issue 125] Improved support for converting encoded characters used in address fields such as "from"
- [issue 133] Fixed in 3.5.3 - a Problem with Licensing Dialog that couldn't open the web shop if valid license was already entered.
- [issue 126] Fixed: Enabling 'Resolve names from Address book' falsely disables advanced options
- [issue 130] Fixed: Error in localization for Traditional Chinese (zh-TW) breaks settings dialog.
- Added Localization for Catalan language - this is partly derived from the Occitan locale of an older version.
- Problem with Trial date calculation due to new Legacy Prefs method - fixded in 3.5.2
Miscellaneous
- [issue 127] Make SmartTemplates compatible with Thunderbird 89.0 - this is ongoing work which aims for a smooth transition toward the next ESR version, Thunderbird 91 which is planned to be released in Summer 2022.
- SmartTemplates now supports multiple Thunderbird windows, via the new background script notifications. Using the new background script notification mechanism for all template menus. When configuring the menus, these are now updated properly across all windows once the settings dialog is closed. Even with multiple Thunderbird windows opened.
- Opening web pages (such as support) uses a different URL variable format from Thunderbird 80 onward, so this will work again with the latest version of SmartTemplates.
- Source code released under Custom License
Version 2.15
<meta charset="UTF-8">
<style>b { display: block; margin-top: 10px; } </style>
Full change log with screen shots can be found here
Latest News
I have rewritten SmartTemplates for compatibility with Thunderbird 78. We had a few 1000$ costs for my Add-on migrations. The main effort for new features and bug fixes will go into this new version - latest version is 3.5.
I may backport some fixes / features for Thunderbird 60-68 in the SmartTemplate version 2.*. See the item lists below for more detail.
If you are interested in using a version of SmartTemplates that works with Thunderbird 78 and later, consider
buying a license
to support the project.
Enhancements
Miscellaneous
<style>b { display: block; margin-top: 10px; } </style>
Full change log with screen shots can be found here
Latest News
I have rewritten SmartTemplates for compatibility with Thunderbird 78. We had a few 1000$ costs for my Add-on migrations. The main effort for new features and bug fixes will go into this new version - latest version is 3.5.
I may backport some fixes / features for Thunderbird 60-68 in the SmartTemplate version 2.*. See the item lists below for more detail.
If you are interested in using a version of SmartTemplates that works with Thunderbird 78 and later, consider
buying a license
to support the project.
Enhancements
- [issue 125] Improved support for converting encoded characters used in address fields such as "from" [issue 125] Cardbook address names are resolved with weird characters
- [issue 126] Fixed: Enabling 'Resolve names from Address book' falsely disables advanced options
- [issue 130] Fixed: Error in localization for Traditional Chinese (zh-TW) breaks settings dialog.
Miscellaneous
- [issue 127] Make SmartTemplates compatible with Thunderbird 88.0 - this is ongoing work which aims for a smooth transition toward the next ESR version, Thunderbird 91 which is planned to be released in Summer 2022.
- Source code released under Custom License
Version 3.4.4
Full change log with screen shots can be found here
Latest News
3.4.4 is a maintenance patch release that fixes a important problem [issue 121] in settings dialog, and also a broken Spanish locale - for details see below.
We had to rewrite much of the code to become compatible with Thunderbird 78. To keep having support sites and ongoing development, please buy a Pro license
Migration to the Thunderbird 78 Add-ons system - mail extensions with experimental APIs - was time intensive and costly. This is only the first step toward future proofing, next year Thunderbird may restrict the use of experimental APIs, which depends on having new APIs available on the Core side of the code. This relies on a good relationship between Add-on developers and the Core team (Thunderbird Council) and requires ongoing talking and design work on both sides; that's why the licensing model once again shows its superiority as it is able to fund the necessary time that needs to be spent.
Improvements
Changes / Bug Fixes
Latest News
3.4.4 is a maintenance patch release that fixes a important problem [issue 121] in settings dialog, and also a broken Spanish locale - for details see below.
We had to rewrite much of the code to become compatible with Thunderbird 78. To keep having support sites and ongoing development, please buy a Pro license
Migration to the Thunderbird 78 Add-ons system - mail extensions with experimental APIs - was time intensive and costly. This is only the first step toward future proofing, next year Thunderbird may restrict the use of experimental APIs, which depends on having new APIs available on the Core side of the code. This relies on a good relationship between Add-on developers and the Core team (Thunderbird Council) and requires ongoing talking and design work on both sides; that's why the licensing model once again shows its superiority as it is able to fund the necessary time that needs to be spent.
Improvements
- [issue 91] Improve functions %deleteQuotedText% and %replaceQuotedText% to work in plain text mode (quote level argument will be ignored). In plain text mode, you can now use this to remove quote marks, with the command %deleteQuotedText("\>\s")% or use %replaceQuotedText("\>\s","| ")% to replace the quote marks with straight vertical lines
- [issue 71] Added support for setting non-standard header attributes starting with "List" e.g. List-Unsubscribe
- [issue 82] Improved / fixed warning messages for users with expired licenses. Added a notice about soon-to-expire license in status bar.
Changes / Bug Fixes
- [issue 117]
%header.set(from,"[email protected]")%
not working in Thunderbird 78. You can now also add a name when setting the from address. For example%header.set(from,"Postmaster <[email protected]>")%
This function only works if the Email address is listed in any identity (including aliases). - [issue 115] Erratic %datetime()% results when forcing HTML with Shift. This happens when your account is configured to use plain text and you force a HTML reply using the Shift key. If you need special characters or HTML entities within your Dates, and encounter unexpected results, try breaking it up into separate %datetime()% calls.
- Fixed: With option "Remove email address unless format parameter is specified", mail parts such as %from(...,mail)%, %from(...,bracketMail())% were removed
- [issue 119] (fixed in 3.4.2) XML Parsing Error settings dialog (it / sv / uk locales)
- 3.4.3 - open the license tab when status icon is clicked with expired license to make renewal easier.
- [issue 120] Spanish locale broken which creates an error when options screen is displayed (since 3.4.1)
- [issue 121] Common settings are shown even though the correct account seems to be selected!
- Source code released under Custom License
Version 2.14.4
Full change log with screen shots can be found here
Latest News
I have rewritten SmartTemplates for compatibility with Thunderbird 78. We had a few 1000$ costs for my Add-on migrations. The main effort for new features and bug fixes will go into this new version - latest version is 3.4.
I may backport some fixes / features for Thunderbird 60-68 in the SmartTemplate version 2.*. See the item lists below for more detail.
If you are interested in using a version of SmartTemplates that works with Thunderbird 78 and later, consider
buying a license
to support the project.
Improvements
Changes / Bug Fixes
Latest News
I have rewritten SmartTemplates for compatibility with Thunderbird 78. We had a few 1000$ costs for my Add-on migrations. The main effort for new features and bug fixes will go into this new version - latest version is 3.4.
I may backport some fixes / features for Thunderbird 60-68 in the SmartTemplate version 2.*. See the item lists below for more detail.
If you are interested in using a version of SmartTemplates that works with Thunderbird 78 and later, consider
buying a license
to support the project.
Improvements
- [issue 91] Improve functions %deleteQuotedText% and %replaceQuotedText% to work in plain text mode (quote level argument will be ignored). In plain text mode, you can now use this to remove quote marks, with the command %deleteQuotedText("\>\s")% or use %replaceQuotedText("\>\s","| ")% to replace the quote marks with straight vertical lines
- [issue 71] Added support for setting non-standard header attributes starting with "List" e.g. List-Unsubscribe
- [issue 82] Improved / fixed warning messages for users with expired licenses. Added a notice about soon-to-expire license in status bar.
- Reopening existing tabs on support site now correctly jumps to in page links (such as #donate)
- Support using \n and \t for new line and tab characters in regular expressions
- 2.14.3 - open the license tab when status icon is clicked with expired license to make renewal easier.
Changes / Bug Fixes
- [issue 120] Fixed in 2.14.4: Spanish locale broken which creates an error when options screen is displayed (since 3.4.1)
- [issue 121] Fixed in 2.14.4: Common settings are shown even though the correct account seems to be selected!
- [issue 115] Erratic %datetime()% results when forcing HTML with Shift. This happens when your account is configured to use plain text and you force a HTML reply using the Shift key. If you need special characters or HTML entities within your Dates, and encounter unexpected results, try breaking it up into separate %datetime()% calls.
- [issue 117]
%header.set(from,"[email protected]")%
not working in Thunderbird 78. You can now also add a name when setting the from address. For example%header.set(from,"Postmaster <[email protected]>")%
This function only works if the Email address is listed in any identity (including aliases). - Fixed: With option "Remove email address unless format parameter is specified", mail parts such as %from(...,mail)%, %from(...,bracketMail())% were removed
- [issue 119] (fixed in 2.14.2.1) XML Parsing Error settings dialog (it / sv / uk locales)
- Source code released under Custom License
To create your own collections, you must have a Mozilla Add-ons account.