Working with Zimbra TGZ Files in C++
Contents
[
Hide
]
When a mailbox is exported from Zimbra Collaboration Suite, the result is a .tgz file: a tar archive compressed with gzip. Every message is stored inside it as an individual MIME file, and the directory of that file inside the archive tells which mail folder the message came from. Aspose.Email for C++ reads such backups through the TgzReader class of the Aspose::Email::Storage::Zimbra namespace. The reader walks the archive item by item; at every position, CurrentDirectory names the folder of the item and CurrentMessage holds the message itself.
Topics:
- Reading Zimbra TGZ Files - create the reader from a file or a stream, step through the items, inspect message properties and count the items.
- Exporting and Extracting Zimbra TGZ Content - dump the whole mailbox to a directory tree or save selected messages as EML or MSG.
- Converting Zimbra TGZ to PST - recreate the mailbox, folder by folder, inside an Outlook PST file.