The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #2 (permalink)  
Old 08-09-2007
Cbish68 Cbish68 is offline
Registered User
 

Join Date: Mar 2006
Location: Woodstock, GA
Posts: 17
Quote:
Originally Posted by nihar.dutta View Post
Hi All,



(cat <messagefile> ; uuencode <attachmentfile> <attachmentfile>)|mailx -s"Subject" dave@email.com

Nihar
It is very close to being correct.

I would try:

( echo `cat <messagefile>` ; uuencode <attachmentfile> <attachmentfile>)|mailx -s"Subject" dave@email.com
Reply With Quote