DATA command hangs

Posted by Tharban on Stack Overflow See other posts from Stack Overflow or by Tharban
Published on 2010-05-03T14:55:37Z Indexed on 2010/05/03 14:58 UTC
Read the original article Hit count: 210

Filed under:
|

Hello,

what can i do, if a Mailserver accepts a connection but does not return any data? The default javax.mail implementation just hangs indefinitley. Event setting the smtp.timeout does not help - it still hangs. I even tried to set a custom SocketFactory to set the sotimeouts and solinger directly, but it still hangs. Somehow the socket does get kept alive? But how?

Thx for any ideas!

Ciao, Nils

© Stack Overflow or respective owner

Related posts about java

Related posts about javamail