Hi ,
I am new to Tomcat, I want do mail configaration for small application in
jakarta-tomcat-4.0.6. I tried configuring below, but it is not working. I will give
the configuration in details
Modified file %TOMCAT_HOME%\conf\server.xml by changing
smtp.4s-esupply.com
203.199.182.171
where stmt.4s-esupply.com is stmt host name
203.199.182.171 is the ip address of the host.
The error i am getting is
ENCOUNTERED EXCEPTION: javax.mail.SendFailedException: Sending failed; nested
exception is: javax.mail.MessagingException: Could not connect to SMTP host:
localhost, port: 25; nested exception is: java.net.ConnectException: Connection
refused: connect
javax.mail.SendFailedException: Sending failed;
No where i configured smtp as local server, but still it is giving me as localhost.
Can any one help me on this,
Thanks for any advice
Regards
madhu V