The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 05-14-2008
hern14 hern14 is offline
Registered User
 

Join Date: Feb 2008
Posts: 22
Help with mail command

Hello,

I am trying to send a .txt file with the mail command as follows:

uuencode myfile.txt myfile.txt | mail -s "Testing" myemail@somewhere.com

I receive the file, but when I try to open it, I get the results printed in one line and when there is a new line, the new line character gets printed into the file. So we want to send it as ASCII and not Binary.

Any suggestions??

THANKS!
Reply With Quote
Forum Sponsor