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

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.