RealRaven2000 / SmartTemplates

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

Templates do not work with "mailto" #333

Open medimurks opened 2 weeks ago

medimurks commented 2 weeks ago

From Thunderbird Version 128 on (tested amongst others with 128.3.3esr) the following issue occurs:

When I start writing a mail via the "+ new message" button from within Thunderbird, SmartTemplate works fine as expected.

But when I start writing a mail via a "mailto" link (e.g. clicking on mailto:github@mic-vat.de in a Word document) then an empty mail opens instead of my template.

Thunderbird version 115.16.2 seems to be the last one where this issue does not occur.

RealRaven2000 commented 2 weeks ago

It works for me in Thunderbird 128.3.2esr, can you see what identity Thunderbird selects in the "From" field? This is what triggers the loading of the template.

image

in this example the identity triggered is based on the email address thunderbirddaily67@gmail.com.

You can test which (and whether a) identity is triggered via debug mode. Open SmartTemplates settings >> advanced settings page. Enable Debug Mode:

image

Click on the settings wheel to the right, then activate:

extensions.smartTemplate4.debug.functions.insertTemplate = true
extensions.smartTemplate4.debug.identities = true

Open error console (Ctrl+Shift+J), then clear the results. then click a mailto link and wait until composer loads.

You can then capture the debug log (including errors, warnings and Logs) via right-click:

image

you can send me the log off list if you like.