Hi there
First of all: is there any difference (apart from the syntax) between both commands? I was told that the first one should be faster but I don't get JavaMail to send this command. Maybe I'm doing wrong. In principle I am using the following code:
IMAPFolder fz = (IMAPFolder) zStore.getDefaultFolder().getFolder("inbox");
fz.open(Folder.READ_ONLY);
Message[] msgs = fz.getMessages();
FetchProfile fp = new FetchProfile();
fp.add(UIDFolder.FetchProfileItem.UID);
fz.fetch(msgs, fp);
Does JavaMail have the capability to send the UID FETCH command at all? I mean, is it supported?