title: sending email in linux as subject and attachment
body: <ol>
  <li><p>I have a file that is about 10 columns wide and try to send it as body.  mailx fails sending it as body and sends it as a ATT00001.bin file and as an attachment.</p>
  
  <p><code>mail -s "Subject" emailaddress &lt; file.tsv</code></p>
  
  <p>Is there way to solve this.</p></li>
  <li><p>When I try to send it as an attachment, using uuencode</p>
  
  <p><code>echo "body" | uuencode inputattachment.tsv attachment.tsv) | mailx -s "subject" emailaddress</code></p>
  
  <p>I get an email with text that is encoded and looks like this:</p></li>
  </ol>
  
  
  
  <pre><code>begin 644 report7.tsv
  M1&amp;%T92`@("!3=&amp;%T=7,@(#XS,"5V;VP@/C$P)75M("!T;W1A;"UL;V=S("`@
  M("`@=6TE+6QO9W,@("`@("`@('1O=&amp;%L+71R86YS("`@("!U;24M=')A;G,@
  M("`@("`@=&amp;]T86PM-2XR+C`@("`@('5M)2TU+C(N,"`@("`@("!T;W1A;"TU
  M+C$N,"`@("`@=6TE+34N,2XP("`@("`@('1O=&amp;%L+34N,"XP("`@("!U;24M
  M-2XP+C`@("`@("`@=&amp;]T86PM-"XR+C`@("`@('5M)2TT+C(N,"`@("`@("!T
  M;W1A;"TT+C$N,2`@("`@=6TE+30N,2XQ("`@("`@('1O=&amp;%L+30N,"XP("`@
  M("!U;24M-"XP+C`@("`@("`@=&amp;]T86PM=6YK;F]W;B`@('5M)2UU;FMN;W=N
  M"C(P,30P,C(P"4-O;7!L971E9`E;)S4N,BXP)UT)6R=L;V&lt;G+"`G=')A;G,G
  M+"`G-2XR+C`G+"`G-2XQ+C`G+"`G-2XP+C`G70DQ,SDR-C4)-#4P+C`Y"3(Y
  M,S@X-0DQ,#(W+C&lt;).#&lt;),"XP"3(W,C0S,0DU.#DN,3(),SDT.`DQ+C$S"3`)
  M,"XP"3`),"XP"3`),"XP"3`),"XP#0HR,#$T,#(R,0E7:6YD;W&lt;)6R=L;V&lt;G
  M+"`G=')A;G,G+"`G-2XQ+C`G+"`G-"XR+C`G70E;)VQO9R&lt;L("=T&lt;F%N&lt;`
  </code></pre>
  
  <p>How do I solve 1 and 2?  Does this have anything to do with MS outlook?  I will need to do something that MS Outlook supports. </p>