RealRaven2000 / SmartTemplates

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

Feature Request: insert prefix field from address book #267

Closed evanhorn closed 4 months ago

evanhorn commented 9 months ago

I am interested in obtaining the prefix field from the address book so that I can automatically properly address my email. In other words, I would like to specify Mr., Ms., Dr., etc., in the address book, then be able to have SmartTemplates generate, e.g, Mr. Smith or Ms. Smith or Dr. Smith.

Also, while I don't have an immediate need for the suffix at this point, I could envision a time when it could be useful.

I am currently adding this to an "other" field, but it would be nice to be able to use the appropriate field in the address book.

Thanks!

RealRaven2000 commented 9 months ago

I will look into it. Ajso need to check what CardBook does with (how it stores) this field. In the meantime, there are 2 test template with the most important address book fields below.

Address-Book-tests.zip

Note that using %from% is not as good as %recipient% as "from" changes perspective depending on whether you write a new mail or reply.

RealRaven2000 commented 5 months ago

I think this is only supported in Cardbook, is this correct? I cannot see it in the normal Address Book editor in Thunderbird 115...

RealRaven2000 commented 5 months ago

I found it in the new Tb 115 interface, by clicking the + buttons

I made a test version that manages the standard AB and also Cardbook, using the address fields prefix and suffix. Some code to test with:

Prefix / suffix: %recipient(addressbook,prefix,nickname,suffix)%<br>

smartTemplate-fx-4.4pre22.zip


To test the version above, download the zip file and drag the file into Thunderbird Add-ons Manager without extracting contents.

RealRaven2000 commented 4 months ago

Implemented in 4.4 - published 28/03/2024