ImapGmailClient now supports to accept source folder name as argument

12 views
Skip to first unread message

Rajiv

unread,
Nov 22, 2010, 11:35:00 PM11/22/10
to Gmail4j, tomas.va...@gmail.com
Gmail4j now supports to accept source folder name as argument for
gmail imap
client. This new feature can be used used as the following:

case 1 : ImapGmailClient client = new ImapGmailClient();
if the user call the no args constructor the ImapGmailClient will
default to the ImapGmailLabel.INBOX as the source folder.

case 2 : ImapGmailClient client = new
ImapGmailClient(ImapGmailLabel.TRASH);
if the user call the with args constructor , the given
ImapGmailLabel.class enum the ImapGmailClient will default to that
passes argument folder name
ex: ImapGmailLabel.TRASH will set the source folder as [Gmail]/Trash.


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