[Users] How to process and change subject of e-mails

wwp subscript at free.fr
Tue Nov 22 07:33:55 CET 2011


Hello Piotr,


On Mon, 21 Nov 2011 23:51:14 +0000 Piotr Drozdek <pioruns at o2.pl> wrote:

> Hello users,
> First of all I would like to say hello to everyone, I am new on this
> list:)
> I'm using Claws Mail for a while, years ago I was in love with one
> of most advanced mail program for Windows - The Bat!. After switching to
> Linux I was looking for a good program and finally I landed with Claws
> Mail:)
> So, let's focus on my problem.
> I have filter which moves e-mails with certain subject to designated
> folder. After moving it, I would like to change e-mail subject, I know
> it can be simply done with Linux command: sed.
> Idea:
> Subject: [some_text] Some_text2
> 
> I wan't to change it to looks like:
> Subject: Some_text2
> 
> Please tell me how to set processing in Claws Mail to cut out
> [Some_text] from e-mail Subject. I will be very grateful for your
> answers.

If modifying the subject is folder-dependent and is about stripping
some part, then you can use the folder properties, using the "simplify
subject regexp" thing. You set a regexp there and the matching part of
the subject will be removed (in fact: hidden) from the subjects shown
in folder message list. Source file kept untouched (this has been
thought preferable).


Regards,

-- 
wwp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.claws-mail.org/pipermail/users/attachments/20111122/b9a901a4/attachment.sig>


More information about the Users mailing list