ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ankita Kapadia" <>
Subject RE: Ant 1.6.2 email with attachmennt
Date Fri, 27 Aug 2004 09:01:45 GMT
The "Mail" task can successfully send mails with attachments,
I guess the path to the file needs to be a complete one
so I have a varaiable like "prop.buildlocation" in the conf file
where all my log files will be stored and I delete these at
the end of the build.

<mail failonerror="false" mailhost="" subject="BUILD
FAILED :-( ${TODAY}" user="${mailid}" password="${pass}"
tolist="${prop.mailtolist}" >


-----Original Message-----
From: Inman, Peter []
Sent: Friday, August 27, 2004 1:34 PM
To: ''
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="" subject="Destin8 Build - BuildLog"
encoding="plain" tolist="">
        <from address="Destin8Build"/>
        <message>Build Log File</message>
        <fileset dir=".">
          <include name=""/>

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

View raw message