[Users] Use entered email address in action

Christoph Klassen christoph.klassen at intevation.de
Sat Mar 12 07:39:25 CET 2022


On Fri, 11 Mar 2022 18:09:53 +0100
Milan Obuch <claws-mail-users at dino.sk> wrote:

> could you write more about required behavior? When you look in action
> configuration page (menu Configuration -> Action), there is
> 'Information' button. There are some variables with hints, no idea if
> it is of any help for you. Is it actually the action you are writing
> about?
> 
> Actually, there is no single 'To:' field, it is expandable array of
> header/value pairs... I think this should be considered as well.

I will try to explain it a little bit better. I want to create an
action that will call the command "gpg locate-keys" which takes an
email address as a parameter.
This action would be used in the compose window. When I entered the
email addresses of all recipients (actually it doesn't matter if the
addresses are in a "To", "CC", or a "BCC" field) I want to start the
action so that it gets all addresses as parameter.
For example: I enter the address users at lists.claws-mail.org in the "To"
field. When I start the action it should call "gpg --locate-keys
users at lists.claws-mail.org"

I hope this explains better what I meant :)

Greetings,
Christoph


More information about the Users mailing list