Working with OLM Files in C++
Contents
[
Hide
]
OLM is the archive format that Outlook for Mac writes when a user exports mail, contacts, calendar entries, notes and tasks. Outlook for Windows does not open such files, so any migration or data-mining task around them needs a library that understands the format. Aspose.Email for C++ implements it in the Aspose::Email::Storage::Olm namespace, which contains:
- OlmStorage - the archive itself: opens a file or a stream, exposes the folder tree and extracts items.
- OlmFolder - a folder with its name, path, message count, sub-folders and message enumerators.
- OlmMessageInfo - a compact description of one message, obtained without loading its body.
- OlmItemCategory - an Outlook category (name and color) defined in the archive.
Topics:
- Opening OLM Files - constructors, static factory methods, streams and the callback-based loader for damaged files.
- Navigating OLM Folders - folder hierarchy, lookup by name, sub-folders and paths.
- Reading and Extracting OLM Messages - summaries versus full messages, queries, extraction by object or identifier, and the fault-tolerant traversal.
- Counting Items and Working with Categories - per-folder and total counts, category colors.
- Converting OLM to PST - rebuilding the archive as an Outlook PST file.