1

Getting mail with no Attachment

view story
linux-howto

http://www.unix.com – Hi All, my requirement send a mail with attachment a abc.txt file. below is the shell script. Code: #!/usr/bin/ksh set -x #DIR=/appldata/download/mail MAILTO="[email protected]" SUBJECT="Report" BODY="Hi All," ATTACH=/projects/psoft/hrdw/pushreports/crons/temp_out #ATTACH1="$DIR/ahmed1.csv" (  echo "To: $MAILTO"   echo "Subject: $SUBJECT" echo "MIME-Version: 1.0" echo 'Content-Type: multipart/mixed; boundary="-bon"'  echo echo '---BON'  echo "Content-Type: text/plain" echo &qu (HowTos)