Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

problem debugging an IMAP email listener

 
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
To avoid criticism do nothing, say nothing, be nothing. -Elbert Hubbard. Please critique this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic