"Get Priority Messages" feature for gmail imap client

20 views
Skip to first unread message

Rajiv

unread,
Dec 9, 2010, 9:55:31 AM12/9/10
to Gmail4j, tomas.va...@gmail.com
Gmail4j now supports getting unread priority message(s) functionality
for gmail imap client. This new feature can be used used as the
following:
GmailConnection conn = new ImapGmailConnection();
//configure connection
GmailClient client = new ImapGmailClient();
client.setConnection(conn);
List<GmailMessage> unreadPriorityMessages =
client.getPriorityMessages();

This feature could be used with Gmail4J Next.
see (http://code.google.com/p/gmail4j/issues/detail?id=21)

Rajiv

unread,
Dec 11, 2010, 11:07:26 PM12/11/10
to Gmail4j
Gmail4j now supports getting unread as well as read priority
message(s) functionality for gmail imap client. This new feature can
be used used as the following:
GmailConnection conn = new ImapGmailConnection();
//configure connection
GmailClient client = new ImapGmailClient();
client.setConnection(conn);
// set the boolean unreadOnly to true to retrive unread priority
messages only false to read priority messages only
List<GmailMessage> unreadPriorityMessages =
client.getPriorityMessages(true);

This feature could be used with Gmail4J Next.
see (http://code.google.com/p/gmail4j/issues/detail?id=21)

Reply all
Reply to author
Forward
0 new messages