ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From philippe.lav...@cactus.ca
Subject RE: JAVAMAIL problem
Date Tue, 02 Oct 2001 14:45:16 GMT
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="vbc@jungle.cactus.ca"
                subject="JUnit Test Results: ${TODAY}"
                from="veev@jungle.cactus.ca">
         <fileset dir="${reports.dir}/html">
            <include name="*.html"/>
         </fileset>
      </mimemail>
-->

      <mimemail messageMimeType="text/html"
                messageFile="${reports.dir}/html/junit-noframes.html"
                tolist="vbc@jungle.cactus.ca"
                subject="JUnit Test Results: ${TODAY}"
                from="vbc@jungle.cactus.ca">
      </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
philippe.lavoie@cactus.ca
                          Cactus Communication Internet


> -----Original Message-----
> From: Erik Hatcher [mailto:jakarta-ant@ehatchersolutions.com]
> Sent: Tuesday, October 02, 2001 8:54 AM
> To: ant-user@jakarta.apache.org
> 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: <detlef.brendle@canoo.com>
> To: <ant-user@jakarta.apache.org>
> 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
> >
> 

Mime
View raw message