While executing a program for sending the mails, i got this exception : Error: javax.mail.MessagingException: Exception reading response;
nested exception is:
java.net.SocketException: Connection reset.
This means that my connection has established with server(SMTP) ?
In General , what i need to do to solve this problem. When it occured?
Please help me.
Post by:omkar patkar
Most probably the socket is not opened with specified port, or the particular service is not running on target machine, or a firewall is blocking access on the specified owing to which the socket connection cannot be established. Can you post the code or at least the stack trace ?
Post by:Deepak Bala
It appears the connection was reset / aborted. Perhaps some one is closing the connection before any work can get done
Post by:Amit Suresh Pawar
Thanks a lot........
This thread has been viewed 19173 times.
All times above are in ranch (not your local) time.
The current ranch time is Dec 09, 2018 13:30:44.