You are not logged in.

1

Monday, May 24th 2004, 8:44am

Automatically appending to outgoing message

Hi,

What would be the easiest method to automatically append a line of text to the body of all the e-mail messages sent through Kontact? I know that the signature block can do it for "fixed" content. What I want is basically add a unique identifier in-between the body of the message and the signature. I though about using a filter with a "pipe through" filter action but I don't know how to implement it. Is there any guide available? Thanks!

Charles
Charles-E. Nadeau Ph.D.
http://radio.weblogs.com/0111823/

2

Monday, May 24th 2004, 10:05am

Re: Automatically appending to outgoing message

Quoted

Original von charlesnadeau

Hi,

What would be the easiest method to automatically append a line of text to the body of all the e-mail messages sent through Kontact? I know that the signature block can do it for "fixed" content. What I want is basically add a unique identifier in-between the body of the message and the signature. I though about using a filter with a "pipe through" filter action but I don't know how to implement it. Is there any guide available? Thanks!

Charles

The signature feature actually *can* do what you want, unless you need the ID to appear *as part of* the body (i.e. in front of the "-- " that starts the signature).

You can select "output of command" or some such in the signature configuration. I use the following shell script to choose a random quote and append my normal static sig:

[code:1]
#!/bin/bash

echo __________________________________________________________________
echo
fortune RealPeople.txt
echo
cat ~/.signature

[/code:1]

Instead of a random quote you could just as well add your own code to produce the unique ID.

cm.

(I don't know what version first got it, but KDE 3.2 has it.)

3

Monday, May 24th 2004, 10:46am

Great! What if I want to pass to the batch file, as a parameter, the subject line or the date and time the message is sent?

Thanks!

Charles
Charles-E. Nadeau Ph.D.
http://radio.weblogs.com/0111823/

4

Monday, May 24th 2004, 11:56am

Quoted

Original von charlesnadeau

Great! What if I want to pass to the batch file, as a parameter, the subject line or the date and time the message is sent?

Sorry, no idea.