title: Send attached file with mailx
body: <p>I am trying to send attached file with uuencode from shell script this way:</p>
  
  <pre><code>uuencode logq.txt logq.txt |mail -s "DB Capacity" xxxx@000.net
  </code></pre>
  
  <p>I recieve the file encrypted and not even attached.. </p>
  
  <p>e.g - </p>
  
  <pre><code>begin 664 logq.txt
  M"E1U92!-87(@,CD@(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @(" @ M(" @(" @(" @(" @(" @(" @(" @(" @(" @&lt;&amp;%G92 @(" Q"B @(" @(" @ M(" @(" @(" @(" @(" @(" @(" @(" @4$U-($1"($-!4$%
  </code></pre>
  
  <p>Can some one give me an idea how to solved it? </p>