sending emails from ANT

Hi All,

This is perhaps the most hottest feature of ANT to send emails from build script. By this task we can achieve email notifications about build creation, Send code metrics, code reviews reports etc.

Note you need to configure SMTP port, before using that.

<mail mailhost=”” mailport=”1025″ subject=”Test build”>
<from address=””/>
<replyto address=””/>
<to address=””/>
The ${buildname} nightly build has completed
<fileset dir=”dist”>
<include name=”**/*.zip”/>

R Vashi