Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Mail API not connecting me from my tomcat server

 
Farakh khan
Ranch Hand
Posts: 833
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,



ERROR:
Javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25;

Thanks & best regards
 
Lester Burnham
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a mail server running on that port? Tomcat doesn't include one.
 
Farakh khan
Ranch Hand
Posts: 833
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lester Burnham wrote:Is there a mail server running on that port? Tomcat doesn't include one.


No,

Thanks Lester Bunham I fixed it by using authenticator. when am giving login/pass then its work

best regards
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!