File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Sockets and Internet Protocols and the fly likes problem debugging an IMAP email listener Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "problem debugging an IMAP email listener" Watch "problem debugging an IMAP email listener" New topic

problem debugging an IMAP email listener

Ajay Saxena
Ranch Hand

Joined: Nov 13, 2006
Posts: 154
I have an email client written in JavaMail with capabilities to poll a POP3 server and listen to an IMAP server. Both these servers are part of the Argosoft mail server implementation.

Now the problem is that email listener (configured to the IMAP folder inbox) doesn't seem to be working for new messages incident on the IMAP server folder INBOX. Even I can't debug the mail client as the breakpoints added to the public void messagesAdded(MessageCountEvent ev) method don't seem to be hit at all.

I can provide the code snippets but before that I'd like to know if there's something I'm missing or there are some other checks that I can make.

Any suggestion/pointers would be highly appreciated.
I agree. Here's the link:
subject: problem debugging an IMAP email listener
It's not a secret anymore!