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
Hi, it doesn't sound like your question is specific to this project. Maybe you would get more help from the Sun Javamail forum,
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.