Send_Mail()
{
C_Date=`date +"%m/%d/%Y"`
#Subject="MMDB Load Job Status"
for i in `cat $Metafile`
do
if [ `echo $i | cut -d":" -f1` == 'Email' ]
then
email_address=`echo $i | cut -d":" -f2`
/usr/lib/sendmail "$email_address" < $Email_File
fi
done
}
this is the send mail command i am using .please let me know how to attach a excel sheet using the sendmail command .
As i am unavble to do it and had tried all the possible options that i can get by googling