I'd like to create a procmail recipe or Perl or shell script that will send an auto response to the original sender as well as anybody that was copied (either To: or cc:) on the original email.
Example:
[email protected] writes an email to
[email protected] and
[email protected] (in the To: field). Copies are sent via cc: to
[email protected] and
[email protected].
I'd like the script to send an auto response to the original sender (
[email protected]) and everybody else that was sent a copy of the email (
[email protected],
[email protected],
[email protected] and
[email protected]).
Thanks