Rakesh Kumar
2008-12-02 22:01:33 UTC
Hello All,
I see that there is a method *folder.getMessages();* provided in API but
nothing that could pull only unread messages, however I can still see the
Unread messages count in a particular folder.
What I am trying to do is to pull email messages from my GMAIL folder *as
they arrive*. Previously I was thinking to do it by repeatedly checking for
new messages on server and pulling only unread messages but since this
feature is not directly available in API, Can you give me any tips on how to
implement this?
Rakesh.
===========================================================================
To unsubscribe, send email to ***@java.sun.com and include in the body
of the message "signoff JAVAMAIL-INTEREST". For general help, send email to
***@java.sun.com and include in the body of the message "help".
I see that there is a method *folder.getMessages();* provided in API but
nothing that could pull only unread messages, however I can still see the
Unread messages count in a particular folder.
What I am trying to do is to pull email messages from my GMAIL folder *as
they arrive*. Previously I was thinking to do it by repeatedly checking for
new messages on server and pulling only unread messages but since this
feature is not directly available in API, Can you give me any tips on how to
implement this?
Rakesh.
===========================================================================
To unsubscribe, send email to ***@java.sun.com and include in the body
of the message "signoff JAVAMAIL-INTEREST". For general help, send email to
***@java.sun.com and include in the body of the message "help".