Search code examples
javaimapjames

Cannot connect to Imap server using Apache james from java code


Can someone please provide a solution to the problem in

How to connect to MailServer using JavaMail

I am stuck at the same point.


Solution

  • Hupa is the web-mail in the james project, it uses javaMail to retrieve messages from imap servers. You can take some code to connect with your server from the InMemoryIMAPStoreCache.java.