RealRaven2000 / SmartTemplates

Thunderbird Add-on: SmartTemplates
http://smarttemplates.quickfolders.org/
Other
25 stars 15 forks source link

Auto-Fill content for `%to%`, `%recipient%` and `%from%` when clicking Contact context menu "Compose Message To" #275

Closed RealRaven2000 closed 4 months ago

RealRaven2000 commented 6 months ago

After clicking the context menu item on a recipient to Compose Message To, the variables %to%, %from% and %recipient% are not automatically resolved with data:

image

Instead, the field has to be clicked first to fill in the name:

image

after clicking the fields:

image

This should happen automatically, if there is data available (when writing to a contact this way, the "to" header is available when composer loads. The fields should still remain clickable in case additional recipients are added or the recipient is changed.

RealRaven2000 commented 6 months ago

Here is a version that works with %to% and %recipient%. %subject% might work as well but you would have to set it first with %header.set(subject,"some text")% beforehand, because otherwise the subject will be empty anyway when writing a new mail.

Preview version:

smartTemplate-fx-4.4pre13.zip


to install the test version, download the zip file and then drag the file into Thunderbird Add-ons Manager (do not extract contents).

RealRaven2000 commented 4 months ago

Implemented in 4.4 - published 28/03/2024