Java Mail Listener not being invoked on new mail arrival
posted 8 years ago
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.