You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Thursday, February 28th 2008, 9:16am

kmail subject edit and cached imap

hi, i have configured an account as "cached imap", and i need to edit the subject of received mails to write down something useful.

i created a filter in this way:

Source code

1
cat > /tmp/kmail_filter; konsole -e sh -c edit.sh; cat /tmp/kmail_filter;


where edit.sh contains:

Source code

1
2
3
4
5
#!/bin/sh
echo -n "Insert new subject: "
read SUBJECT

sed -e "/^Subject/c\Subject: $SUBJECT" -i /tmp/kmail_filter


if "PC A" edit some mails, how can I do if I want that "PC B" receives the corrections?

If I edit a mail and, for example, I put it to another folder, then "PC B" receives the updated mail. Is there a faster way?

Thanks!