[i].getContent(), . , IMAP- . :
FetchProfile fp = new FetchProfile();
fp.add(FetchProfile.Item.ENVELOPE);
fp.add(FetchProfileItem.FLAGS);
fp.add(FetchProfileItem.CONTENT_INFO);
fp.add("X-mailer");
and after you have specified the fetch profile then you do your search/fetch of messages.
, , IMAP . ( javax.mail.FetchProfile). , , Message. . , , ( getContent() getInputStream()), FETCH. , , , , , . , , .
, "" , SMTP-, . SMTP- - , , , , - .