JSP e-mailing

Help
meekha
2008-01-10
2013-04-09
  • meekha
    meekha
    2008-01-10

    Sir,
    I am trying to create a JSP program for sending a mail to my mail account using IE.But my problem is my program cannot be able connect with SMTP port 25 the follwing exception is showing
       javax.mail.SendFailedException: Sending failed; nested exception is:       javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25; nested exception is: java.net.ConnectException: Connection refused: connect

    please help me how to solve this problem

    reply me

    thanking you,
    with regards

    anna25

     
    • Hi, it doesn't sound like your question is specific to this project.  Maybe you would get more help from the Sun Javamail forum,
      http://forum.java.sun.com/forum.jspa?forumID=43