title: Ant task fails to send email on one computer on another it is successful
body: <p>I've got this ant task working(sending email) on my machine :</p>
  
  <pre><code>&lt;project name="send_mail_test" default="send_mail_test"&gt;
  &lt;property name="report" value="${report}" /&gt;
  &lt;property name="build" value="${build}" /&gt;
  &lt;property name="env" value="${env}" /&gt;
  &lt;property name="resultFile" value="${resultFile}" /&gt;
  
  &lt;target name="send_mail_test"&gt;
      &lt;mail encoding="mime" mailhost="mailserver.intranet.lan" subject="[REPORT] ${build} on ${env} environment - Test report" tolist="test@intranet.lan"&gt;
  &lt;!-- FROM and REPLY TO email addresses --&gt;
        &lt;from address="mailman@intranet.lan"/&gt;
        &lt;replyto address="noreply@intranet.lan"/&gt;
  
        &lt;message&gt;Some body message
  
        &lt;/message&gt;
  
        &lt;attachments&gt;
          &lt;fileset dir="${report}" includes="${resultFile}.html"/&gt;
        &lt;/attachments&gt;
      &lt;/mail&gt;
  &lt;/target&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>This is how I start the above script to run(send_mail.xml) :</p>
  
  <pre><code>ant -f send_mail.xml -Dreport=C:\TESTING\results -Denv=DEV -Dbuild=1.0.1 -DresultFile=result-2012-07-17-11-03-25.html
  </code></pre>
  
  <p>It's successful from my computer(windows 7), but from another windows xp it's not. This is the error that I get :</p>
  
  <pre><code>Buildfile: C:\TESTING\setup\send_mail.xml
  
  send_mail_test:
       [mail] Sending email: [REPORT] C:\TESTING\results on DEV environment - Test report
       [mail] Failed to send email: Could not connect to SMTP host: mailserver.intranet.lan, port: 25
  
  BUILD FAILED
  C:\TESTING\setup\send_mail.xml:8: Problem while sending mime mail:
  
  Total time: 0 seconds
  </code></pre>
  
  <p>I realize that I cannot connect to the mailserver, but what do I do? What do I take a look at the possible reason for not being able to connect?</p>
  
  <p>SOLUTION : I installed linux on this box.</p>