title: Ant mail task - Issue in sending mail with attachments
body: <p>When I tried using ant mail task, it doesnot seem to work when it comes sending mail with attachments. The problem I am currently facing is, it sends the attachment(s) content in the body of the email, rather than as attachement, even though verbose output displays as, it is sending with attachment.
  As initially it complained for missing jars, I added mail.jar &amp; activation.jar.
  Here is the snippet which I tried:</p>
  
  <pre><code>&lt;mail mailhost="mailHost.com" messagemimetype="text/html" subject="Test report" &gt;
  &lt;from address="mymaild-addr@somedomain.com"/&gt;
  &lt;replyto address="mymaild-addr@somedomain.com"/&gt;
  &lt;to address="mymaild-addr@somedomain.com"/&gt;
  &lt;message&gt; Attached is sample report &lt;/message&gt;
  &lt;attachments&gt;
  &lt;fileset dir="${myRequiredDirectory}"&gt;
    &lt;include name="Test.txt"/&gt;
    &lt;include name="Calls.txt"/&gt;
  &lt;/fileset&gt;
  &lt;/attachments&gt;
  &lt;/mail&gt;
  </code></pre>
  
  <p>And I get</p>
  
  <pre><code>[mail] Failed to initialise MIME mail: org.apache.tools.ant.taskdefs.email.MimeMailer
  [mail] Failed to initialise UU mail: Class org.apache.tools.ant.util.ClasspathUtils can not access a member of class org.apache.tools.ant.taskdefs.email.UUMailer with modifiers ""
  [mail] Sending email: Test report
  [mail] Sent email with 2 attachments
  </code></pre>