We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

MboxReader enumerateMessages issue after 50 mail items of any Mbox File

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.


To ensure a timely and accurate response, please attach the following resources here for testing:

  • Your input MBOX file.
  • Please create a sample application (source code without compilation errors) that helps us to reproduce your problem on our end and attach it here for testing.

As soon as you get these pieces of information ready, we will start investigation into your issue and provide you more information. Thanks for your cooperation.

PS: To attach these resources, please zip and upload them.