Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
RealRaven2000 opened this issue Jan 8, 2024 · 2 comments
Assignees

Comments

@RealRaven2000
Copy link
Owner

RealRaven2000 commented Jan 8, 2024

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 RealRaven2000 self-assigned this Jan 8, 2024
@RealRaven2000 RealRaven2000 changed the title Auto-Fill content for %To% %Recipient% and %from% when clicking Contact context menu "Compose Message To" Auto-Fill content for %to%, %recipient% and %from% when clicking Contact context menu "Compose Message To" Jan 8, 2024
@RealRaven2000
Copy link
Owner Author

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
Copy link
Owner Author

Implemented in 4.4 - published 28/03/2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant