Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Could not connect to SMTP host problem  RSS feed

 
rajareddy annavaarm
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
javax.mail.SendFailedException: Sending failed;
nested exception is:
javax.mail.MessagingException: Could not connect to SMTP host: tftpsn01.
asianconnect.com, port: 25;
nested exception is:
java.net.ConnectException: Connection timed out: connect
at javax.mail.Transport.send0(Transport.java:219)
at javax.mail.Transport.send(Transport.java:81)
at com.sns.comms.EmailClient.createMessage(EmailClient.java:698)
at com.sns.comms.EmailClient.send(EmailClient.java:430)
at com.sns.event.EventPublisher.sendEmailAlert(Unknown Source)
at com.sns.event.EventPublisher.commit(Unknown Source)
at com.sns.legal.lri.ejb.LriAlrrsSendMsg.publishMessage(LriAlrrsSendMsg.
java:63)
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
OK. Can you connect our side of your JavaMail program? i.e. can you telnet to tthe server? Is tftpsn01.
asianconnect.com behind a proxy? Does it use port 25 to receive SMTP messages?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!