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

Jmail

 
shrihari
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am developing a simple application that sends mail.
I am using javamail api .after compilation it is giving the following exceptions
1)javax.mail.MessageException:-couldnot connect to smtp host local port 25.
2) java.net.Connectionexception connection refused.
plz anybody tell wat i have to do to run the application fine.
 
Jared Krull
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the SMTP server valid? Check with telnet (There are loads of posts detailing this on this board.
Have you a firewall that is blocking port 25?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!