
## OlmStorage class

Represents an Outlook for Mac (.OLM) storage file and provides functionality<br/>            to access and manipulate the data within the file such as emails, contacts,<br/>            calendars, tasks, and notes.

The OlmStorage type exposes the following members:
## Constructors
| Name | Description |
| :- | :- |
|OlmStorage(file_name)|Initializes a new instance of the OlmStorage class|
|OlmStorage(stream)|Initializes a new instance of the OlmStorage class|
## Properties
| Name | Description |
| :- | :- |
|folder_hierarchy|Gets the folder hierarchy.|
## Methods
| Name | Description |
| :- | :- |
|load(stream)|  |
|load(file_name)|  |
|extract_mapi_message(id)|  |
|extract_mapi_message(message_info)|  |
|from_file(file_name)|  |
|from_stream(stream)|  |
|get_folders()|  |
|get_folder(name, ignore_case)|  |
|get_categories()|  |
|get_total_items_count()|  |
|enumerate_messages(folder)|  |

### See Also

* namespace [aspose.email.storage.olm](/email/python-net/aspose.email.storage.olm/)
* assembly [Aspose.Email](/email/python-net/)

