ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Velagapudi, Murali" <murali.velagap...@citigroup.com>
Subject RE: Email from ant
Date Thu, 26 Aug 2004 20:55:55 GMT
Prateek,

	try ant -v you get more error message.i am able to work with mail very well
with the code snippet below,you have mentioned mailhost="vob1" and again mailhost=25
i think you need to keep the port=25 there 

 <mail mailhost="smtpserver.com" 
 	   from="youraddress@yourdomain.com" 
         tolist="${mailist}"
         subject="subject" 
         message="Message"
  />

regards,
Murali

-----Original Message-----
From: Gera, Prateek [mailto:prateek.gera@hp.com]
Sent: Thursday, August 26, 2004 4:50 PM
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