ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gera, Prateek" <prateek.g...@hp.com>
Subject RE: Ant 1.6.2 email with attachmennt
Date Fri, 27 Aug 2004 16:57:56 GMT
Pete
Try using absolute path for "dir". Also run ant w/ -v to get details of
the mail task.

-prateek

-----Original Message-----
From: Inman, Peter [mailto:peterinman@mcpplc.com] 
Sent: Friday, August 27, 2004 1:04 AM
To: 'user@ant.apache.org'
Subject: Ant 1.6.2 email with attachmennt


I'm having trouble sending an attachment with an email. I had this
problem with ant1.5.3, so it's not 1.6 related.
 
I'd be grateful if someone could point me to where I'm going wrong. I
get the mail message, but no attachments.
 
     <target name="sendMailTest" depends="init">
     <mail mailhost="128.1.1.101" subject="Destin8 Build - BuildLog"
encoding="plain" tolist="peterinman@mcpplc.com">
        <from address="Destin8Build"/>
        <message>Build Log File</message>
        <fileset dir=".">
          <include name="builddestin8.properties"/>
        </fileset>
     </mail>
   </target>
 
Pete

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message