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 -->
  #1 (permalink)  
Old 06-07-2007
radhika03 radhika03 is offline
Registered User
 

Join Date: Aug 2005
Posts: 18
Sending text files as attachments

Hi,

I have used the following command to send a text file "archiver.log" as attachment.

(cat mail.log; uuencode archiver.log archiver.log; ) | mailx -s "Failure" asd@a.com :

But in the mail i am not getting new lines in the text file.New Lines are getting replaced with some weird characters.

Pls help.

Thanks,
Radhika.
Reply With Quote
Remove advertisements
!!
Forum Sponsor