ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arminio Andrei <arminio.and...@yahoo.com>
Subject Mail Attachement Problem
Date Fri, 21 Jul 2006 16:30:44 GMT
Hi all,

I try to send a mail with <mail> task that will have an .jar attachement. My code is
something like this:
    


<mail mailhost="mysmtpserver">
  <from address="from@domain.com" />         <replyto address="replyto@domain.com"
/> 

        <to address="to@domain.com" /> 

   -      <fileset dir="/home/jboss-4.0.1sp1/builds/lastbuild">
              <include name="oracle.ddl.jar"  /> 

    </fileset>


 </mail>


The problem is: the .jar file is included in message body. How can I have a real attachement
not a big message body useless?

Regards,
Arminio A.

 		
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2ยข/min
or less.
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message