I integrated the aspose email java libraries which are downloaded after creating an account without any license purchased. I am using MboxReader.enumeratemessages() inside FOR Loop in my project and it is working fine for mbox files which are having less than 50 mails, the issue arises when any of the mbox file is having mail items of more than 50.
After enumerating 50 mail items from the mbox file, the control exiting from for loop
sample Code:
for(MailMessage mailMessage: mboxReader.enumerateMessages())
{
//processing the mail item…
}
please give me the solution for the issue.