Hello,
I've written a small anti-spam script that automatically deletes incoming messages based on their header/body section and I'm planning to add a feature that will apply a strip_tags function to the remaining messages before they get downloaded on my machine.
I see two ways of doing it :
1) make the script read the content of the message, parse it, copy the body section and send/copy it to a different mail box.
2) make the script directly parse the messages flat file for my account and re-write it.
So, what is the option should use?
And is there an even better option?
Thanks for helping !