$ ( cat body-message.txt; uuencode input-attachment.txt output-attachment.txt ) | mail -s "Email With Body Text and Attachment" ramesh.thegeekstuff@gmail.com