Example script to send email.
<?xml version="1.0" encoding="UTF-8"?>
<project default="email" name="Email Example">
<target name="email">
<mail mailhost="email-server.com" subject="Sample ANT Email">
<from address="sender@gmail.com"/>
<replyto address="sender@gmail.com"/>
<to address="receiver1@gmail.com"/>
<to address="receiver2@gmail.com"/>
<message>
Hi,
This is a sample ANT email
Thank you.
</message>
</mail>
</target>
</project>
No comments:
Post a Comment