SmartTemplates Version History
96 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.7
The full change log with screen shots can be found here
Enhancements
Bug Fixes
Miscellaneous
Known issues
Enhancements
- Account Templates - new Identities could not be added in the new version of the settings dialog.
The API used to write legacy settings to the global configuration database
wasn't able to create any entries without default, which affects any Identities
created by the user, including the default identity of a new mail account.
This means such settings (template and quotes) could not be modified and saved unless the identity existed before the conversion of SmartTemplates settings to
be web extension compatible. [issue 300]
This problem is now patched and back to work as expected. - Improved chinese translations for term "account" - thanks to Y.D.X. [issue 302]
- Added Refresh button for accounts dropdown. [issue 307]
Bug Fixes
- Fixed: Clicking on Hide Button Label in header menu doesn't work as expected. [issue 304]
- in Tb128 - popup for restricted features: notification leads to exception + icon not displayed. [issue 308]
Miscellaneous
- Removed vendor prefix from -moz-appearance
- Reply with template from tab displays "cmd_reply not available in this context". [issue 309]
Known issues
- Exchange accounts that use Owl protocol can currently not be license validated in Tb128. We are currently await a fix by Thunderbird core. [issue 303]
- Source code released under Custom License
Version 4.6.1
The full change log with screen shots can be found here
Enhancements
Bug Fixes
Maintenance Version 4.6.1
Enhancements
- SmartTemplates is now compatible with Thunderbird 128.
- The settings screen was converted to HTML which is now displayed in its own Thunderbird tab. [issue 295]
- The variables %header.delete()% and %header.deleteFromSubject()% now support multiple parameters [issue 293].
For example:
%header.delete(subject,"Fwd: ","Order: QUI[0-9\-]* -")%
%header.deleteFromSubject("re:","AW:","fwd")%
- The license module now performs faster (using the API function to iterate the mail accounts, all folders are no longer processed).
Bug Fixes
- Fixed file open dialog which was broken in Thunderbird 125.
Maintenance Version 4.6.1
- Snippets - Configure menu items - should open "template files" page in settings (new settings dialog)[issue 297]
- File Templates - Clicking [Add] when no file is opened should display a instructions (not "undefined"). [issue 298]
- Larger fonts and minor layout improvements in settings dialog. [issue 299]
- Source code released under Custom License
Version 4.6
The full change log with screen shots can be found here
Enhancements
Bug Fixes
Enhancements
- SmartTemplates is now compatible with Thunderbird 128.
- The settings screen was converted to HTML which is now displayed in its own Thunderbird tab. [issue 295]
- The variables %header.delete()% and %header.deleteFromSubject()% now support multiple parameters [issue 293].
For example:
%header.delete(subject,"Fwd: ","Order: QUI[0-9\-]* -")%
%header.deleteFromSubject("re:","AW:","fwd")%
- The license module now performs faster (using the API function to iterate the mail accounts, all folders are no longer processed).
Bug Fixes
- Fixed file open dialog which was broken in Thunderbird 125.
- Source code released under Custom License
Version 4.5
The full change log with screen shots can be found here
Enhancements
Bug Fixes
Enhancements
- You can now use percent "%" sign within a text parameter, e.g. %header.set(subject,"save 25%")% [issue 287]
- Added a button for editing external templates. You can set up any external editor,
preferrably it would be a HTML editor with Syntax highlighting. [issue 282]
- Added text transformation parameters for search functions: Use the parameters capitalize / uppercase / lowercase / camelcase after the
group parameter. This can also be compared with the toclipboard parameter. [issue 288]
Examples:
%matchTextFromSubject("Customer.*\n\-+\n(.*)\n",1,uppercase)%
%matchTextFromBody("Customer.*\n\-+\n(.*)\n",1,lowercase)%
%header.prefix.matchFromBody(subject,"Customer.*\n\-+\n(.*)\n",1,capitalize)%
%matchTextFromBody("Customer.*\n\-+\n(.*)\n",1,capitalize,toclipboard)%- capitalize = Capitalizes the first letter of each word. Useful for Names.
- camelcase = Converts the first character of the entire string lowercase.
- lowercase = Transforms the entire match to lower case.
- uppercase = Transforms the entire match to upper case.
- Support "selection" as parameter for replaceText - so we can transform selected (formatted) text from smart fragments.[issue 289]
Syntax: %replaceText("find","replace",selection)%
For example, the following can be used as a smart fragment script to generate a nicer breadcrumb trail from a string like "Menu >> submenu >> command" into "Menu » submenu » command". Note that we can use HTML markup, like in any smart fragment.
<i>%replaceText(">>","»",selection)%</i></pre>
Bug Fixes
- The settings dialog was missing important toolbar buttons (beside account selector) when opened from Add-ons manager. [issue 291]
- All spaces after/before text in %header.set(subject," text ")% were removed. From now on, preserve all spaces in any text argument. [issue 292]
- Fixed: Opening SmartTemplates settings in "Common" can show a disabled / missing UI underneath. Only after selecting another entry from accounts the templates area became visible. [issue 290]
- Source code released under Custom License
Version 4.4.3
The full change log with screen shots can be found here
Maintenance Fixes 4.4.3
Maintenance Fixes 4.4.1
Enhancements
Bug Fixes
Maintenance Fixes 4.4.3
- Fixed a problem with the last used template being moved to the bottom of message actions popup menus.
- Improvement: MRU menu items will update with changed titles from template setup (if the file is found in the template menu configuration)
- Improvement:
When sending email with unresolved from / recipient / to variables, these are now replaced automatically in a reliable fashion. (Previously there was
a chance of them being sent unchanged.) [issue 284] - Fixed opening the full version history tab from [What's New] which was broken in 4.0.
- Removed license notification alert when saving / loading templates.
Maintenance Fixes 4.4.1
- 4.4.1 Maintenance Release: Fixed regression issue 283 caused by API menu changes [issue 253]
Enhancements
- Pro feature: Added %preheader()% variable for injecting preview text for mobile email clients. [issue 274]
- The following functions will from now support using commas within the text parameters:
%deleteText()%
%replaceText()%
%matchTextFromBody()%
%matchTextFromSubject()%
%deleteQuotedText()%
%replaceQuotedText()%
%file()% %toclipboard()%
%conditionalText()%
%header.set()%
%header.prefix()%
%header.append()%
%header.delete()%
All commas need to be escaped with a preceding backslash, for example:
%toclipboard("All your needs\, fulfilled.")%
[issue 280] - The address data for
%to%
,%recipient%
and%from%
will now automatically be inserted when writing a new email via the context menu 'Compose Message To'. [issue 275] - Force lowercase emails when looking up Cardbook contacts. Before, the lookup of contacts could fail when replying to an email with mixed case address, such as John.Doe@acmeDomain.com. [issue 278]
- Support for extracting prefix and suffix from address book fields. [issue 267]
- Support for other.custom1, other.custom2 etc. from address book fields. [issue 246]
- Removed duplicate tooltip on active SmartTemplate fields.
- Rewrote message action menus using extension APIs [issue 253]
Bug Fixes
- Using %recipient% also works as expected when replying to own emails in a conversation and Thunderbird automatically changes the recipients. [issue 239]
- Removed duplicate tooltip on active SmartTemplate fields.
- Removed FileUtils.getFile for future compatibility (122 beta)
- Added documentation for %dateformat(fstring,toclipboard)% to the variables page in settings.
- Opening support sites in a tab is now using API methods (requires tabs permission)
Miscellaneous
- Source code released under Custom License
Version 4.4.2
The full change log with screen shots can be found here
Enhancements
Bug Fixes
Enhancements
-
Pro feature: Added %preheader()% variable for injecting preview text for
mobile email clients.
[issue 274]
-
The following functions will from now support using commas within the text parameters:
%deleteText()%
%replaceText()%
%matchTextFromBody()%
%matchTextFromSubject()%
%deleteQuotedText()%
%replaceQuotedText()%
%file()% %toclipboard()%
%conditionalText()%
%header.set()%
%header.prefix()%
%header.append()%
%header.delete()%
All commas need to be escaped with a preceding backslash, for example:
%toclipboard("All your needs\, fulfilled.")%
[issue 280]
-
The address data for%to%
,%recipient%
and%from%
will now automatically be inserted when writing a new email via the context menu 'Compose Message To'. [issue 275]
- Force lowercase emails when looking up Cardbook contacts. Before, the lookup of contacts could fail when replying to an email with mixed case address, such as John.Doe@acmeDomain.com.
[issue 278]
- Support for extracting prefix and suffix from address book fields. [issue 267]
- Support for other.custom1, other.custom2 etc. from address book fields. [issue 246]
- Removed duplicate tooltip on active SmartTemplate fields.
Bug Fixes
-
Using %recipient% also works as expected when replying to own emails in a conversation and Thunderbird automatically changes the recipients.
[issue 239]
- Removed duplicate tooltip on active SmartTemplate fields.
- Removed FileUtils.getFile for future compatibility (122 beta)
- Added documentation for %dateformat(fstring,toclipboard)% to the variables page in settings.
- Opening support sites in a tab is now using API methods (requires tabs permission)
<h5 class="inList"><span class="inListTitle">Miscellaneous</span></h5>
- Source code released under Custom License
Version 4.3.3
Maintenance fix 4.3.3
Work in Progress
- Fixed loading account settings from settings window. [issue 273]
- Fixed: SmartTemplates ignored when creating an email from the Thunderbird taskbar context menu or when clicking a mailto link on a website. This now loads the template of the default identity as expected. [issue 272]
- Added support for 120.* beta versions
Work in Progress
-
Sometimes the header menu is empty (missing the reply / forward submenus) To alleviate the problem for now, I increased the delay for patching message an also keeping a reference to local WindowListener in message window. There will be a complete fix forthcoming very soon. See [issue 271]
- Source code released under Custom License
Version 4.3.2
Enhancements / Changes
Bugs Fixed
Maintenance fix 4.3.2
- Added accelerator keys for template menus (Write, Forward, Reply, Reply All and Reply to List) [issue 262]
- List most recently used [MRU] external template actions on top level of SmartTemplates menus. These will show for reply and forward on top level the SmartTemplates header menu and for write actions on the main toolbar menu. It will prevent a lot of additional menu selection when creating a larger number of templates during a mail campaign. [issue 263]
The main button lists the most recent templates used to write new emails. The button over the email preview displays the templates used to reply and forward mails.
The number of items for each of these menus depends on the license level.
SmartTemplates "Free" displays the last 3 items used.
SmartTemplates Standard displayes the last 5 items used, and remembers these on restart of Thunderbird.
SmartTemplates Pro displays the last 10 items, but the maximum amount can be configured in the configuration setting <tt>extensions.smartTemplate4.fileTemplates.mru.max</tt>. I will provide a user interface for adjusting the maximum number in a future version.
- Support reading `%clipboard%` with "text/plain" content [issue 264]
- Support `<div type='cite'>` for raising quote level in commands that have quote level parameters. [issue 265]
- Made registration screen less tall, to support smaller screens / display scaling. [issue 268]
Bugs Fixed
- Fixed `%messageRaw()%` function.
- [For Geeks only!]
Fixed template scripting (JavaScript) - thanks to Benito van Zander for providing the patch code. All replacement functions (variables used in scripts) are now asynchronous, so if you are using script in a template, variables such as "subject" will return a promise and need to be converted to content using "await". [issue 266]
Maintenance fix 4.3.2
- Regression: Insert Snippet and Change template buttons were missing the menu item "Open template file..."
[issue 269]
- Source code released under Custom License
Version 4.3.1
The full change log with screen shots can be found here
Enhancements / Changes
Bugs Fixed
Enhancements / Changes
- Added accelerator keys for template menus (Write, Forward, Reply, Reply All and Reply to List) [issue 262]
- List most recently used [MRU] external template actions on top level of SmartTemplates menus. These will show for reply and forward on top level the SmartTemplates header menu and for write actions on the main toolbar menu. It will prevent a lot of additional menu selection when creating a larger number of templates during a mail campaign. [issue 263]
The main button lists the most recent templates used to write new emails. The button over the email preview displays the templates used to reply and forward mails.
The number of items for each of these menus depends on the license level.
SmartTemplates "Free" displays the last 3 items used.
SmartTemplates Standard displayes the last 5 items used, and remembers these on restart of Thunderbird.
SmartTemplates Pro displays the last 10 items, but the maximum amount can be configured in the configuration setting <tt>extensions.smartTemplate4.fileTemplates.mru.max</tt>. I will provide a user interface for adjusting the maximum number in a future version.
- Support reading `%clipboard%` with "text/plain" content [issue 264]
- Support `<div type='cite'>` for raising quote level in commands that have quote level parameters. [issue 265]
Bugs Fixed
- Fixed `%messageRaw()%` function.
- [For Geeks only!]
Fixed template scripting (JavaScript) - thanks to Benito van Zander for providing the patch code. All replacement functions (variables used in scripts) are now asynchronous, so if you are using script in a template, variables such as "subject" will return a promise and need to be converted to content using "await". [issue 266]
- Source code released under Custom License
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: <mail@domain.com> - Fixed: Explict delimiters given as bracket parameters should not repeat on all following fields. <br> For example,
%to(bracketName({;}),mail)%
will generate "{Fred} mail@domain.com" and not the faulty "{Fred} {mail@domain.com}" - 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;;mail@domain.com&g;;" instead of the expected "<mail@domain.com>" 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: <mail@domain.com> - Fixed: Explict delimiters given as bracket parameters should not repeat on all following fields. <br> For example,
%to(bracketName({;}),mail)%
will generate "{Fred} mail@domain.com" and not the faulty "{Fred} {mail@domain.com}" - 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;;mail@domain.com&g;;" instead of the expected "<mail@domain.com>" 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
To create your own collections, you must have a Mozilla Add-ons account.