Re: Use entered email address in action

Christoph Klassen <[email protected]> Sat, 12 Mar 2022 07:39:25 +0100
Newsgroups gmane.mail.sylpheed.claws.general
Message-ID <20220312073925.3528f0e5@debian-ck>
On Fri, 11 Mar 2022 18:09:53 +0100
Milan Obuch <[email protected]> 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 [email protected] in the "To"
field. When I start the action it should call "gpg --locate-keys
[email protected]"

I hope this explains better what I meant :)

Greetings,
Christoph