summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/ant-javamail/build.xml')
-rw-r--r--dev-java/ant-javamail/build.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/dev-java/ant-javamail/build.xml b/dev-java/ant-javamail/build.xml
new file mode 100644
index 0000000..3dfaff1
--- /dev/null
+++ b/dev-java/ant-javamail/build.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" ?>
+<project default="mail">
+ <target name="mail">
+ <echo message="Using server: ${smtp}" />
+ <echo message="Using mail address: ${mail}" />
+ <mail mailhost="${smtp}" subject="Test message">
+ <from address="${mail}"/>
+ <replyto address="${mail}"/>
+ <to address="${mail}"/>
+ <message>Testing mail target</message>
+ <!-- use all *.txt files as attachements -->
+ <fileset dir=".">
+ <include name="**/*.txt"/>
+ </fileset>
+ </mail>
+ </target>
+</project>