RealRaven2000 / SmartTemplates

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

`%recipient%` uses the original "from" address when replying #248

Closed RealRaven2000 closed 5 months ago

RealRaven2000 commented 1 year ago

The variable %recipient()% will always use the from address of the original sender when it is used in a reply - even if the "To:" line is changed to somebody completely different. This is clearly not useful, it should always be up-to-date.

RealRaven2000 commented 1 year ago

Here is a preview versions that deals with the issue. The global compose fields are updated every time a item is selected from the smart templates menus, and recipients will always try to use the compose fields (rather than the stored "hdr" structure derived from the original mail, which was used beforehand. In the previous algorithm, "recipient" was just internally swapped out for the old "from" header.)

smartTemplate-fx-4.0pre277.zip

RealRaven2000 commented 1 year ago

Implemented in in 4.0b3 for Thunderbird 115; published on 17/02/2023. This will likely be backported for Thunderbird 102 later on!

RealRaven2000 commented 5 months ago

Related issue is #239 - there is a new version over there, can you test / comment. I am going to close #248 here for now