dcsimg
Getting Connection refused Exception
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anuradha_Ragupathy
Posted On:   Friday, May 10, 2002 01:27 AM

i'm specifying the SMTP host in th properties file and also the port number.

Mail is send using the javax.mail.Transport class. Actually i specified the port as 21 but in the exception it is saying

Could not connect to SMTP host: 10.252.1.82, port: 25;


What could be the problem?

where is this getting the prot number?

Re: Getting Connection refused Exception

Posted By:   John_Zukowski  
Posted On:   Friday, May 10, 2002 08:55 AM

If I had to guess, you are using the static method to send mail. Check the FAQ for an example that shows how.
About | Sitemap | Contact