i have an o/p file called "all_rep_files.txt" . Below is the command i m using in my script to send the attachement. but the problem is when the attachment is opened in oulook the contents of the attachments is in a staright line.
(uuencode all_rep_files.txt all_rep_files.txt) | mail -s "All Files are FTP to Oncor.com" abcd@unix.com
contents of attachment in unix aix 5.3. This same format i want when the attachment is received
-rwxrwxrwx 1 owner group 29109210 May 3 18:05 Interval_Daily_readings05032009.txt
-rwxrwxrwx 1 owner group 1415739 May 3 17:44 Interval60min_Daily_readings05032009.txt
-rwxrwxrwx 1 owner group 324317 May 3 16:04 Daily_readings05032009.txt
-rwxrwxrwx 1 owner group 29136019 May 2 19:11 Interval_Daily_readings05022009.txt
-rwxrwxrwx 1 owner group 1416159 May 2 18:39 Interval60min_Daily_readings05022009.txt
-rwxrwxrwx 1 owner group 334463 May 2 18:13 Daily_readings05022009.txt
-rwxrwxrwx 1 owner group 29187066 May 1 19:03 Interval_Daily_readings05012009.txt
-rwxrwxrwx 1 owner group 1415772 May 1 18:34 Interval60min_Daily_readings05012009.txt
-rwxrwxrwx 1 owner group 325864 May 1 16:17 Daily_readings05012009.txt
*******************************************************************************
-rwxrwxrwx 1 owner group 1092704279 May 3 18:01 Interval_Daily_readings05032009.txt
-rwxrwxrwx 1 owner group 127725991 May 3 17:42 Interval60min_Daily_readings05032009.txt
-rwxrwxrwx 1 owner group 11971342 May 3 15:56 Daily_readings05032009.txt
-rwxrwxrwx 1 owner group 1096362718 May 2 19:07 Interval_Daily_readings05022009.txt
-rwxrwxrwx 1 owner group 127750692 May 2 18:36 Interval60min_Daily_readings05022009.txt
-rwxrwxrwx 1 owner group 12482686 May 2 18:10 Daily_readings05022009.txt
-rwxrwxrwx 1 owner group 1095867209 May 1 18:59 Interval_Daily_readings05012009.txt
-rwxrwxrwx 1 owner group 127713772 May 1 18:31 Interval60min_Daily_readings05012009.txt
-rwxrwxrwx 1 owner group 12336351 May 1 16:15 Daily_readings05012009.txt
*******************************************************************************
-rwxrwxrwx 1 owner group 1522332 May 3 17:23 Interval60min_Daily_readings05032009.txt
-rwxrwxrwx 1 owner group 23529710 May 3 17:10 Interval_Daily_readings05032009.txt
-rwxrwxrwx 1 owner group 205541 May 3 15:42 Daily_readings05032009.txt
-rwxrwxrwx 1 owner group 1523440 May 2 18:17 Interval60min_Daily_readings05022009.txt
-rwxrwxrwx 1 owner group 23666933 May 2 18:05 Interval_Daily_readings05022009.txt
-rwxrwxrwx 1 owner group 214082 May 2 17:57 Daily_readings05022009.txt
-rwxrwxrwx 1 owner group 1522578 May 1 18:09 Interval60min_Daily_readings05012009.txt
-rwxrwxrwx 1 owner group 23692642 May 1 17:55 Interval_Daily_readings05012009.txt
-rwxrwxrwx 1 owner group 209395 May 1 15:47 Daily_readings05012009.txt
*******************************************************************************