EmailStoreSalvage
OfficeIMO.Email.Store
Recovers readable items from damaged Outlook Express DBX databases and Outlook for Mac OLM archives that the normal readers reject. Each item is written independently with a provenance manifest; the source is never modified and nothing is written outside the destination directory.
Inheritance
- object
- EmailStoreSalvage
Methods
public static EmailStoreSalvageReport RecoverDbxToDirectory(string sourcePath, string destinationDirectory, EmailStoreSalvageOptions? options = null, CancellationToken cancellationToken = default) #Scans a DBX message database for message records and linked MIME fragments, independent of its active index, and writes every readable message. Broken fragment chains yield partial messages with offsets.
Parameters
- sourcePath string
- destinationDirectory string
- options OfficeIMO.Email.Store.EmailStoreSalvageOptions? = null
- cancellationToken System.Threading.CancellationToken = default
Returns
EmailStoreSalvageReportpublic static EmailStoreSalvageReport RecoverDbxToDirectory(Stream source, string? sourceName, string destinationDirectory, EmailStoreSalvageOptions? options = null, CancellationToken cancellationToken = default) #Scans a readable, seekable DBX stream. The stream position is restored afterwards.
Parameters
- source System.IO.Stream
- sourceName string?
- destinationDirectory string
- options OfficeIMO.Email.Store.EmailStoreSalvageOptions? = null
- cancellationToken System.Threading.CancellationToken = default
Returns
EmailStoreSalvageReportpublic static EmailStoreSalvageReport RecoverOlmToDirectory(string sourcePath, string destinationDirectory, EmailStoreSalvageOptions? options = null, CancellationToken cancellationToken = default) #Reads an OLM archive through its central directory or, when that is damaged or missing, its local entry headers. Entries are verified against their CRC-32; unreadable XML entries are reported and skipped, and complete records in a truncated XML entry are still recovered.
Parameters
- sourcePath string
- destinationDirectory string
- options OfficeIMO.Email.Store.EmailStoreSalvageOptions? = null
- cancellationToken System.Threading.CancellationToken = default
Returns
EmailStoreSalvageReportpublic static EmailStoreSalvageReport RecoverOlmToDirectory(Stream source, string? sourceName, string destinationDirectory, EmailStoreSalvageOptions? options = null, CancellationToken cancellationToken = default) #Reads a readable, seekable OLM stream, which must not change during recovery; a change detected while copying verified data stops recovery with an IOException. The stream position is restored afterwards.
Parameters
- source System.IO.Stream
- sourceName string?
- destinationDirectory string
- options OfficeIMO.Email.Store.EmailStoreSalvageOptions? = null
- cancellationToken System.Threading.CancellationToken = default
Returns
EmailStoreSalvageReport