title: Emailing XSLT Report using ant with Testng
body: <p>1)Build.xml (i have tried with both Zip destfile)</p>
  
  <pre><code> &lt;target name="sendMail" depends="makexsltreports"&gt;
  &lt;zip destfile="${basedir}/XSLT_Reports/output.zip" basedir="${basedir}/XSLT_Reports"/&gt;
      &lt;!--zip destfile="D:\drive d\Script\Invoice\XSLT_Reports\output.zip" basedir="D:\drive  d\Script\Invoice\XSLT_Reports"/ --&gt;
  &lt;mail
  tolist="xyz@abc.in"
  from="abc@gmail.com"
  subject="Invoice report"
  mailhost="smtp.gmail.com"
  mailport="465"
  ssl="true"
  user="abc@gmail.com"
  password="xyz"&gt;
  &lt;attachments&gt;
  &lt;fileset dir="${project.dir}/XSLT_Reports/"&gt;
  &lt;include name="**/*.zip"/&gt;
  &lt;/fileset&gt;
  &lt;/attachments&gt;
  &lt;/mail&gt;
  &lt;/target&gt;
  </code></pre>
  
  <p>2)cmd Promt display below</p>
  
  <pre><code>sendMail:
   [zip] Building zip: D:\drive d\Script\Invoice\XSLT_Reports\output.zip
   [mail] Failed to send email: D:\drive d\Script\Invoice\${project.dir}\XSLT_
    Reports does not exist.
  </code></pre>
  
  <p>3) Folder structure</p>
  
  <pre><code> D:\drive d\Script\Invoice\XSLT_Reports\output
  </code></pre>
  
  <p>Problem : Zip has been created as output.zip but could not able to send mail..</p>
  
  <p>Any reply will be appreciable. Let me know if any additional details needed..</p>