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");
Message msgs = fz.getMessages();
FetchProfile fp = new FetchProfile();
Does JavaMail have the capability to send the UID FETCH command at all? I mean, is it supported?