I have a quick question as concerns writing a send-hook to pull out an email-address from the subject line and then dump said address into the CC: field.
--- Background: I use a case tool which sucks (to put it mildly)i I receive updates from this tool in the format that the sender is the case tool itself and the subject line contains "case #xxx for USER has been updated" --- I would like to be able to reply to these messages and have the reply go to the user. Currently, the mail bounces back into the daemon and is logged - but does does not get this information to the submittor. So if i could force CC the person AND the daemon, I could update the case and get the mail to the person in question. Good thinking eh? So i should be able to set a send hook that "when replying to case tool daemon" .... But what to have it do? Ideally it would be nice to pipe the subject line to awk, get the fourth column (the user's email address) and then set that current message's CC value to "USERNAME". Any ideas on how to do this? Steven
msg20401/pgp00000.pgp
Description: PGP signature