On Wed, 21 Nov 2001, Simon Parkes wrote:
Hi Guys, I know this can be done, but I can't find it in the docs. I want an e-mail send to a particular account to run a batch file that will send the results back to another account. Any ideas or pointers please ??
Simplest (non-sendmail-specific) solution is to use forward, ie in the account that receives the email put in .forward something like:
\user,"| name_of_batchfile"
...which will save a copy of the email to user's account and also pipe it to the batchfile (which should then email the results).
I think. I could be wrong (and probably am).
Andrew.