aspose file tools*
The moose likes Java in General and the fly likes Java Mail Listener not being invoked on new mail arrival Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

Java Mail Listener not being invoked on new mail arrival

NarayanaRao Konakalla
Greenhorn

Joined: Jan 29, 2008
Posts: 13
Hi
I tried to implement a java mail listener using the MessageCountListener of java mail API.
Program is running but the listener is not being invoked when a new mail is arrived.
I tried to listen to a mail, and if the mail is a desired one, I wanted to read the message and insert the message into a database.

Please help me on this.I will be very thankfu..

Below is the code




Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19670
    
  18

Please Use One Thread Per Question. Let's continue here.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
 
subject: Java Mail Listener not being invoked on new mail arrival