Sending a file as an attachement to email

view story

http://www.unix.com – The file is located under appl/batchdata/ file name: storesales.txt I am using following code because uuencode is not present. I am not getting the data in file but i am getting the blank file with same name as an email attachment. ( echo "from: [email protected]" echo "to:[email protected]" echo "subject:Store Sales Feed Commission Report for $TODAYDATE" echo "mime-version: 1.0" echo "content-type: multipart/related; boundary=xxxRANDOMSTRINGxxx" echo echo "--xxxRANDOMSTRINGxxx" echo "content-type: text/plain&quo (HowTos)