Unix Linux Script to Attach and Embed the HTML File in Mail Body

(
export ATTACH="/home/sthomas/xyz.html"
export MAILPART=`uuidgen` ## Generates Unique ID
export MAILPART_BODY=`uuidgen` ## Generates Unique ID
export SUBJECT=”Attach And Embed HTML”

echo "To: $MAILTO"
echo "Subject: $SUBJECT"
echo "MIME-Version: 1.0"

Labels

Oracle (578) General (60) Unix (47) Script (41) Blog (23) OCI (3) SQL* Loader (3) Datapump (2) Software (1)
DBA Tips
 

acehints.com Copyright 2011-21 All Rights Reserved | Site Map | Contact | Disclaimer