Hi there.
All mail sent through the SMTP server, i need to modify the message being sent through.
I thought of making either a C,bash,perl script to take in the message, modify it and return it to SMTP, or stop the SMTP process, and re-call it from the script.
Purpose of this is to have a pre-defined HTML template, and when users send plain text through, to wrap the HTML template around that.
It would be preferred to have my own file set up the HTML headers and for HTML, and do the sending through that. However killing the initial SMTP process that called the script in the first place.
Maybe i'm going about it all wrong, so i thought i'd get some feedback from someone.
Thanks.