{
echo To: $EMAIL_TO
echo From: $EMAIL_FROM
echo Subject: $EMAIL_SUBJECT
echo 'MIME-Version: 1.0'
echo 'Content-type: multipart/mixed; boundary="***"'
echo '--***'
echo ''
echo $EMAIL_BODY
echo '--***'
echo 'Content-Disposition: attachment; filename="'$FILE_NAME'"'
echo ''
cat $ATTACHED_FILE
echo '--***'
} | /usr/sbin/sendmail -t $EMAIL_TO
|