• Post Reply Bookmark Topic Watch Topic
  • New Topic

SMTP Error

 
Ashutosh kumar singh
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have written code perfectly. My project base on spring framework.....
when ever i have send any information on mail then it show following error:---

Error in sending mail:javax.mail.MessagingException:
Could not connect to SMTP host: 172.16.1.3, port: 25;
nested exception is:
java.net.SocketException: Software caused connection abort: connect

Just give me solution.......................
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The message is very much to the point: it can't connect to that IP address. Is it accessible from the machine where the code runs?

Also, please change your signature to be much shorter - 15 lines is way too much.
[ February 28, 2008: Message edited by: Ulf Dittmer ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!