aspose file tools
The moose likes Other JSE/JEE APIs and the fly likes Java Mail API not connecting me from my tomcat server Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Reply Bookmark "Java Mail API not connecting me from my tomcat server" Watch "Java Mail API not connecting me from my tomcat server" New topic
Author

Java Mail API not connecting me from my tomcat server

Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 672
Hello,



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

Thanks & best regards
Lester Burnham
Rancher

Joined: Oct 14, 2008
Posts: 1337
Is there a mail server running on that port? Tomcat doesn't include one.
Farakh khan
Ranch Hand

Joined: Mar 22, 2008
Posts: 672
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
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Java Mail API not connecting me from my tomcat server
 
Similar Threads
sending mail with JavaMail
NoClassDefFoundError JavaMail..........
smtp username/password for JavaMail
Sending Emails
javax.mail.internet.AddressException: Missing local name in string