I'm trying to attach file. But no luck...I tried your command...
uuencode /home/uname/Result Result.txt | mail -s "Health Check Status"
uname@company.com
I got email with all junk like below..
begin 644 result.txt
M1$56(&5$:7)E8W1O<GD@5')E92!3=&%T=7,@:7,@3TL@;VX@>$1E=E1S=%5A
M=$EN=')A,@I-96UO<GD@4W1A='5S(&]N('A$9794<W15871);G1R83(Z($UE
M;3H@,S@V-S0T-&L@=&]T86PL(#$P,S`R,3)K('5S960L(#(X,S<R,S)K(&9R
M964L(#DP,C,V:R!B=69F97)S(2$*0U!5(%-T871U<R!O;B!X1&5V5'-T56%T
I also tried unix2dos, but it says command not found. just to let you know that Im using outlook 2007.
@s_linux
Can you send a copy to yourself on the Linux system and see what it looks like there? It would help to know when the mangling happens -- on the Linux system or later. The mail -c option followed by your username (without any @domain_name) should do it.
What are you using to send the mail from your Linux system to wherever? postfix, sendmail ... ?
-c option doent seems to be working. what you mean postfx, sendmail? Im just using mail command. Thanks