PHP script to run in a cron job on a linux server
1) Read a delimited text file that stores pairs of
emails addresses, incoming email and outgoing email
2) There are less than 1000 pairs
3) Read email with attachment using incoming email
address
4) Strip some phrases from body of email. Keep body
and attachment. Create outgoing email using body,
attachment and template that stores subject and some
more information to be added to body.
5) Email out using outgoing email address and local
sendmail server.