I have the same problem
Result is
BUILD FAILED
/home/plavoie/project/vbc/build.xml:662: javax.mail.MessagingException:
Can't send command to SMTP host;
nested exception is:
java.net.SocketException: Socket closed
Relevant part of the build.xml is
<!--
<mimemail messageMimeType="text/plain"
message="Junit test run results for ${TODAY}."
tolist="[EMAIL PROTECTED]"
subject="JUnit Test Results: ${TODAY}"
from="[EMAIL PROTECTED]">
<fileset dir="${reports.dir}/html">
<include name="*.html"/>
</fileset>
</mimemail>
-->
<mimemail messageMimeType="text/html"
messageFile="${reports.dir}/html/junit-noframes.html"
tolist="[EMAIL PROTECTED]"
subject="JUnit Test Results: ${TODAY}"
from="[EMAIL PROTECTED]">
</mimemail>
The commented part works fine, however the other generates the error above.
I wanted to view the HTML page directly inside the mail browser instead of
having to see the attachement. Really odd error, socket closed ???
Perhaps Detlef has another error though.
Phil
Philippe Lavoie (819) 778-0345 cell: (819)
664-9881
Software Engineer
[EMAIL PROTECTED]
Cactus Communication Internet
> -----Original Message-----
> From: Erik Hatcher [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 02, 2001 8:54 AM
> To: [EMAIL PROTECTED]
> Subject: Re: JAVAMAIL problem
>
>
> Could you give us an idea of what happens when you try
> <mimemail>? What
> error message are you receiving?
>
>
> ----- Original Message -----
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, October 02, 2001 2:01 AM
> Subject: JAVAMAIL problem
>
>
> > has anybody used mimemail with ant1.4 ?
> >
> > If I download javamail and all other packages I cannot add a
> application/zip
> > mimemail to it.
> >
> > how can I do this,
> >
> > detlef
> >
>