Skip to end of metadata
Go to start of metadata
Contents Summary
  

Read Outlook for Mac OLM File and Get Folder and Subfolder Information

Aspose.Email for .NET provides an API for reading Outlook for Mac data files in OLM format. You can load an OLM file from disk into an instance of the OlmStorage class and get the information about its contents, for example, folders, subfolders, and messages.

Read OLM file

The following code snippet shows you how to load the OLM file and get its content.

Get Folder Path

You may also get the folder path of folders in the OML file. Aspose.Email provides OlmFolder.Path property which returns the folder path. The following code snippet demonstrates the use of OlmFolder.Path property to get the folder paths in the OML file.

 

Count the number of items in the folder

You may also count the number of items in the folder. Aspose.Email provides OlmFolder.MessageCount property which returns the number of items in the folder. The following code snippet demonstrates the use of OlmFolder.MessageCount property to get the number of items in the folders of the OML file.

 

Labels
  • No labels