Changing subject lines on incoming messages

Paul Ratcliffe pmmail@rpglink.com
Thu, 10 Aug 2000 01:26:21 +0100 (BST)


How can I change the subject line of an incoming message in PMMail?
For example.... I want to change:
  Subject: [something] this is it
to
  Subject: this is it

I have tried an incoming User hook (REXX Exit) filter... this appears 
to have worked when you "View full header" on the message, but in the 
account window, the subject is still as it originally was.
My guess is that the index has already been updated with the old 
subject before the filter has processed it.

(I tried a Re-index on the folder, but that apparently does nothing. If 
you delete the FOLDER.BAG file and then do Re-index then it does pick 
up the change as you'd expect. This sounds to me like there's a bug in 
Re-index, as I would expect it to regenerate the FOLDER.BAG file 
completely.)

I haven't tried a Message Receive Rexx Exit, as I really only want to 
apply this to items which are filtered into a particular folder.

Anyone got any ideas?

Thanks,
Paul