ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ankita Kapadia" <ankita_kapa...@persistent.co.in>
Subject RE: Email from ant
Date Fri, 27 Aug 2004 03:28:59 GMT
Hi,
If your smtp has authentication enabled,
you will need to mention the mail address and password.

<mail failonerror="false" mailhost="smtp.persistent.co.in" subject="BUILD
FAILED :-( ${TODAY}" user="${mailid}" password="${pass}"
files="${prop.buildlocation}\clearcase.log,${prop.buildlocation}\build.log"
tolist="${prop.mailtolist}" >
<from name="pines_build@persistent.co.in"
address="ankita_kapadia@persistent.co.in"/>

 <message>
       *************************************************
</message>
</mail>

Regards,
Ankita.

-----Original Message-----
From: Gera, Prateek [mailto:prateek.gera@hp.com]
Sent: Friday, August 27, 2004 2:20 AM
To: user@ant.apache.org
Subject: Email from ant


Hi,
 I'm unable to send out email from ant . I have a task like this ..

    <mail mailhost="vob1" mailhost="25" subject="Test Results"
encoding="plain">
    <from address="prateekg@vob1.hp.com" />
    <to address="${email}"/>
    <message>  build and test using ant has completed execution.
    </message>
    </mail>

I keep getting " IO error sending mail". An smtp server is running at
vob1.hp.com:25 , I have verified.
Is there a way to get more detailed error message for the mail task?
Please help.
Thanks
./pr

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message