File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Socket Exception

 
cherry sawant
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am getting an exception - java.net.SocketException: Software caused connection abort:
JVM_recv in socket input stream read
I get this error for the line as follows:
SmtpClient client = new SmtpClient(mailServer);
The constructor takes the ip of the smtp server.
import sun.net.smtp.SmtpClient;
I have never used the sun.net.smtp.SmtpClient before. Where can I find a documentation or Api for knowing it better as I am debugging the code written by someone else.
How do I get the error above?
Thank You..
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic