"Add Star" and "Remove Star" feature for gmail imap client

11 views
Skip to first unread message

Rajiv

unread,
Nov 28, 2010, 3:25:25 AM11/28/10
to Gmail4j, tomas.va...@gmail.com
Gmail4j now supports add/remove message flag as starred 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);
// to flag a message as starred
client.addStar(message.getMessageNumber());
// to remove star flag from a message flagged as starred
client.removeStar(message.getMessageNumber());

This feature could be used with Gmail4J Next.
see (http://code.google.com/p/gmail4j/issues/detail?id=20)
Reply all
Reply to author
Forward
0 new messages