The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 08-07-2008
joeyg's Avatar
joeyg joeyg is offline Forum Staff  
modérateur
  
 

Join Date: Dec 2007
Location: Home of 17-time world champion Boston Celtics
Posts: 1,311
Cool mailx on Solaris

I have found that with mailx, you can either
include an attachment
Code:
uuencode "$file1" "$file1" | mailx -s "Subject line" me@you.com
OR
have a text message
Code:
mailx -s "Subject line" me@you.com <message.txt
BUT NOT BOTH.

Perhaps take a look at mutt - you will find references on this Forum and elsewhere.