ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nb123 <>
Subject problem sending attachments
Date Wed, 10 Jan 2007 10:04:47 GMT

i've tried sending attachments with the mail. the normal text mails are going
through. but attachments are not. 

i am getting an error::
The <mail> type doesn't support the nested "attachments" element.

 please help me out.

my build.xml file:

<?xml version="1.0"?>

<project name="Ant mail Task" default="mail" basedir=".">

<target name="mail">
     <mail mailhost="" subject="test">
		  <from address="" />
		  <replyto address="" />
		  <to address="" />
		  <message>TEST MAIL FROM ANT</message>  
		        <fileset dir="dist">
			<include name="**/*.jpg"/>

View this message in context:
Sent from the Ant - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message