From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,f70e8d71658d5c99 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-12-04 12:00:23 PST Path: archiver1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!cpc3-rdng3-3-0-cust172.winn.cable.ntl.COM!not-for-mail From: "Adam Price" Newsgroups: comp.unix.tru64 Subject: Re: sending text file as attachement to Windows (Outlook) Date: Thu, 4 Dec 2003 20:00:11 -0000 Message-ID: References: <1d08b916.0312040633.41aa5475@posting.google.com> NNTP-Posting-Host: cpc3-rdng3-3-0-cust172.winn.cable.ntl.com (80.5.159.172) X-Trace: news.uni-berlin.de 1070568021 71652167 80.5.159.172 ([138239]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Xref: archiver1.google.com comp.unix.tru64:10992 In news:1d08b916.0312040633.41aa5475@posting.google.com, MB typed: > I would like to send a text file as an attachement to Windows > outlook from tru64 Unix. > > # cat /tmp/file.txt | uuencode file.txt | mailx -s test > someone@xzy.com > > This works, however when you view the file in notepad it doesn't > look right. > > Can anyone help > > Regards > M uuencode file.wri < file.txt | mailx -s test This causes the file to open in wordpad instead, wordpad can handle unix line-termination just fine and the file looks OK. Hope this helps Adam