[Users] A couple of questions about templates

mi codejodler at gmx.ch
Tue Mar 31 08:44:04 CEST 2020


Johan,

> What I want is this: I click on a mailto url somewhere. Claws opens a
> compose window using my default (or whatever) composing account. Then I
> select a template. Now I want this template to become the message
> (preferrably without asking -- there is nothing to be replaced yet) and to
> switch to a specific composing account.

thx for explaning it - now i seem to understand better.

It boils down to that you want to need as little clicks as possible right ?

Yes, templates do not offer to preconfigure (template-select) the sender account, too. And i also doubt you can ditch the question.

Well, that said - if it's mainly for mailto links, then you might be able to setup a wrapper script.

Browsers allow to configure what mail program will be called. Alternatively it might be a desktop 'system setting'. Then, you can put the path to your own script here, which in turn is calling claws-mail --compose.

Selecting an account by script might be tricky though. Just back in February, Piere had a little discussion about this issue

 https://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=4310

hth


More information about the Users mailing list