1834149 Members
2392 Online
110064 Solutions
New Discussion

uuencode with mailx

 
R.P.
Occasional Contributor

uuencode with mailx

Hi All,

I would like send a mail with a attachment.

uuencode send.txt send.txt | mailx -s “Subject” hallo@gmx.com

but I receive in Outlook allways this one:
----------------------------------------------
begin 640 send.txt
M/#]X;6P@=F5RM(41/0U194$4@5V]R:V9L;W=3=')U8W1UM>45N=')Y("@C4$-$051!*3X*/"%!5%1,25-4($YO2!.86UE
M($Y-5$]+14X@(U)%455)4D5$/@H\(45,14U%3E0@3F]R;4ME>5-T---------------------------------------------

Regards
R.P.
2 REPLIES 2
Shahul
Esteemed Contributor

Re: uuencode with mailx

Hi,

Try with full path of send.txt file, like this,

uuencode /tmp/send.txt /tmp/send.txt |mail -s test "address"

Rgds
Shahul
R.P.
Occasional Contributor

Re: uuencode with mailx

Hi,
thx for your answer!

I put this one "set mimeheader=no" in the ".mailrc" file and now it's working.

Regards
R.P.