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.)