File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Threads and Synchronization and the fly likes InterruptedIOException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Threads and Synchronization
Bookmark "InterruptedIOException" Watch "InterruptedIOException" New topic
Author

InterruptedIOException

Mark Webb
Greenhorn

Joined: Aug 31, 2002
Posts: 10
I have a program that spawns a thread to send an email message to a server. I am using the SMTP protocol level stuff such as HELO, MAIL FROM, DATA..etc( I know not JavaMail ). After I send a HELO to the server, I get an InteruptedIOException on the read. The thread that makes the call to my SMTP class does not die after the exception is thrown because after the exception is caught, the thread name is the same as before the SMTP method is called. So I am really not sure why this is happening.
I have tried to telnet into the server on port 25 and issue the same commands as my program would and I get no errors.
Any ideas ?
 
 
subject: InterruptedIOException
 
Similar Threads
SMTP Connection Refused
Problem with SMTPAppender
problem with sending mail
error sending email to hotmail account
smtp and pop servers(URGENT PLZ)