Re: [Evolution] Two questions - shell command filter - pilot problem
- From: Philippe Chartier <chartiep cybersciences com>
- To: Not Zed <notzed ximian com>
- Cc: evolution lists ximian com
- Subject: Re: [Evolution] Two questions - shell command filter - pilot problem
- Date: 21 Jul 2003 13:02:38 +0200
Le lun 21/07/2003 à 12:03, Not Zed a écrit :
On Mon, 2003-07-21 at 18:29, Matt wrote:
I have just started using evolution (1.4.3 on MDK9.1). I ahve been a long
time user of kmail, however, evolution has caught my eye of late (since the
gnome2 version), and I just set it all up. However, I've got a couple of
questions. Hopefully someone here can help.
First question:
I have a shell script that I want to execute on certain emails. The shell
script takes a filename as an argument. In kmail, I could pass the email
body to the script as the first argument by putting:
scriptname %0
in the shell command action. The %0 is a reference to the body of the email.
%1 is a reference to the first attachment and so on.
Is there a similar scheme in evolution? Can't find anything in the
documentation. Is there another way to pass the email to a script.
Currently you can only do this with filters, and in that case the
content is passed in via stdin (a simple script can be used to make it
behave as above if required).
I've been looking for something similar.
Would you have an example of such a script? For example, to dump the
content passed via stdin to a file?
Thank you in advance!
--
Philippe
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]