JavaMail API: how to use nonblocking sockets for IMAP?
posted 12 years ago
I am looking for any pointers for enabling me to write a non-blocking socket type of IMAP client. What does JavaMail do? Can that be used for this purpose? Will that be blocking the calls over the connection.. if yes, what could be the workaround for making it non-blocking? I'd like not to implement the IMAP client spec by myself, and reuse the one Sun provides with JavaMail. Any help will be greatly appreciated! thanks!