Limitation in searching emails in IMAP folder
Hi, I have an mailbox provided by "godaddy". I used Javamail API to get emails for my process, I used IMAP protocol for connecting, get all emails (messages) are OK, but when I search in IMAP server, the server only returns maximum 1000 emails. Whether we have a limitation in IMAP server? Could you please help to clarify it? Thanks.
The code looks like:
LocalDate localDate = LocalDate.now().minusDays(600);
SearchTerm newer = new SentDateTerm(ComparisonTerm.GE,
Message messages = inbox.search(newer);
I also ask a question in: https://stackoverflow.com/questions/49765448/javamail-imap-folder-search-limitation-in-the-number-of...