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

Free Support Forum - aspose.com

ListMessagesByPage for IMAP

It appears that the ListMessagesByPage will not get info on appointments. We are connecting to Exchange with IMAP. I have attached a file that list the output of the folder enumeration. You can see there are a couple of calendar folders. When we use:

ipi = imapClient.ListMessagesByPage((int)pplCommonData.DataConstants.NumberOfMessagesToRead);

The data in ipi is:

- ipi {Aspose.Email.Clients.Imap.ImapPageInfo} Aspose.Email.Clients.Imap.ImapPageInfo
AbsoluteOffset 0x00000000 int
+ Items Count = 0x00000000 Aspose.Email.Clients.Imap.ImapMessageInfoCollection
ItemsPerPage 0x000001f4 int
LastPage true bool
NextPage null Aspose.Email.Clients.PageInfo
PageOffset 0x00000000 int
TotalCount 0x00000021 int
next null Aspose.Email.Clients.PageInfo

You can see the total count is still 33 but the items are 0. Also if I add a

MailMessage mm1 = imapClient.FetchMessage(1);

immediately after the ListMessagesByPage I get a message with an alternate view.

Any guidance on this would be appreciated.


Thank you for contacting Aspose support team.

This issue is observed here and logged under Id:EMAILNET-38744 for further investigation by the product team. You will be automatically notified once any update is received in this regard.