Looks like you haven't specified a mail host.
JP
-----Original Message-----
From: Hari Ramasubbu [mailto:hariramasubbu@yahoo.com]
Sent: Friday, June 29, 2001 12:35 PM
To: ant-user@jakarta.apache.org
Subject: Mail api ...
I'm trying to send the build log thru' .mail
I get this error :
mail.xml:3: IO error sending mail: Connection refused:
this is the code which i wrote ..
<project name="mail" default="Mail Build Result"
basedir=".">
<target name="Mail Build Result" >
<mail from="hari.ramasubbu@verizon.com"
tolist="hari.ramasubbu@verizon.com" subject="Results
of nightly build" files="${basedir}\logs\build.log"/>
</target>
</project>
any suggestions on how to send mail by fixing this
error ..?
thanks
hari
|