* Paul Cockings <[email protected]>:

> That seems like a much better idea - Thanks!

A bit of code sends mail to $...@$2:

/usr/sbin/sendmail -N failure,success -f [email protected] $...@$2 <<EOF
From: sender <[email protected]>
To: $...@$2
Errors-To: [email protected]
Return-Receipt-To: [email protected]
Disposition-Notification-To: [email protected]
Read-Receipt-To: [email protected]
Registered-Mail-Reply-Requested-By: [email protected]
Return-Receipt-Requested: [email protected]
X-Confirm-Reading-To: [email protected]
Subject: Test $...@$2

some text
EOF

-- 
Ralf Hildebrandt
  Geschäftsbereich IT | Abteilung Netzwerk
  Charité - Universitätsmedizin Berlin
  Campus Benjamin Franklin
  Hindenburgdamm 30 | D-12203 Berlin
  Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962
  [email protected] | http://www.charite.de
            

Reply via email to