I am looking for a Java library that helps me use IMAP and preferably IDLE.
I need to write a Java application that is notified and receives a new email using SSL. The application will check the inbox of the account hosted in hMailServer.
So far I watched:
Apache Commons Imap , but does not seem to implement IDLE.
JavaPushMail , but it's not well documented (I could handle this, but I'm not sure if my successors will be happy).
Javamail , their IMAPFolder seems to be a good choice, but I don’t have time to write a stable library, because it will take time.
Chilkatsoft is a $ 199 library, it's a little expensive (I know, free and good reliable code is always easy to come :) Plus, I'm not sure if it handles IDLE.
I could find a solution that checks the contents of the mailbox if it is documented and stable.
I would appreciate some sample code, a library, or clicking in the right direction.
Sorry for all the "I" and thanks in advance.
source
share