Hi again!

I'm not totally sure but it seems that this odd behaviour can be avoided
if I put in a <sleep> before sending the mail.

Has anyone noticed this before?

/Peter

> -----Original Message-----
> From: Peter Janson [mailto:[EMAIL PROTECTED]] 
> Sent: den 23 maj 2002 13:20
> To: [EMAIL PROTECTED]
> Cc: Peter Janson
> Subject: MimeMail-task question
> 
> 
> Hi!
>  
> I've tried to use the MimeMail task to send JUnit test reports.
>  
> When I use:
>  
>     <taskdef name="mimemail" 
>  
> classname="org.apache.tools.ant.taskdefs.optional.net.MimeMail"/>
>     <tstamp/>
>     <mimemail messageMimeType="text/html"
>               messageFile="${destin_dir}/junit-noframes.html"
>               tolist="me"
>               mailhost="my.smtp.server"
>               subject="JUnit Test Results: ${TODAY}"
>               from="me"
>               failonerror="false">
>       <fileset dir="${destin_dir}">
>         <include name="TESTS-*.xml"/>
>         <include name="*.html"/>
>       </fileset>
>     </mimemail>
> 
> I only get the attached files and not the message body I expected.
>  
> But if I remove the <fileset> I will get the message body in the mail.
>  
> Anyone know what's going on?
> I'm I doing anything strange or is this a bug?
>  
> I'm running Ant 1.4.1 and JDK 1.3.1 on Win2000.
>  
> br,
>  
> /Peter
> 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to