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

Free Support Forum - aspose.com

EWSClient folder type

Is there a way to find the folder class or folder type?

When reading through the folders there is no way to tell which fetch method should be used to get the messages. In one specific case there is a folder named "test5" which is actually a task folder. The only way to handle this is to try all four fetch methods (appointment, mail, etc.) and see if any one of them work. It can be optimized a little by checking if the folder display name is one of the well-known folders and by trying the FetchMessage first since it is the highest probability for success.

It is important that we no the container class since one of the options is to create a PST.

Thanks for any help

Hi Jon,


Thank you for writing to Aspose Support team.

We are sorry but there is no such option available at present to identify the type of the folder from Exchange server. We have requested our Product team to share if it is possible to implement such a functionality in the API and will update you here once there is some feedback available in this regard.

Hi Jon,


We have forwarded your required feature request to our Product team via issue id: EMAILNET-38698 for further consideration. We’ll update you here once there is some information or a fix version available in this regard.

The issues you have found earlier (filed as EMAILNET-38698) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.