ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chun Ji" <>
Subject Sending email with an attachment
Date Thu, 15 Feb 2007 18:19:14 GMT

Here is a target in my build.xml file, that is to send email with an attachment file. It works
very well, when I was using ant 1.6.5. But once I have updated to ant 1.7, that part does
not working any more. Does someone know why? 
   <target name="email">
     <mimemail messageMimeType="text/html" messageFile="Report.html"  tolist=""
subject="..." from=""/>

And here is the error messsage: 
 [mimemail] DEPRECATED - The mimemail task is deprecated. Use the mail task instead.
 [mimemail] Failed to initialise MIME mail: javax/mail/MessagingException



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

View raw message