ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arminio Andrei <>
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="" />         <replyto address=""

        <to address="" /> 

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



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

Arminio A.

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