# EmailStoreSalvageOptions

Output, limit, and scope policy for recovering items from a damaged DBX or OLM source.

Class 

`OfficeIMO.Email.Store`

**Namespace**

`OfficeIMO.Email.Store`

**Assembly**

`OfficeIMO.Email`

**Source revision**

`273d35d5ba8a` with working tree changes

**Source**

[EmailStoreSalvageOptions.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Email/Store/Recovery/EmailStoreSalvageOptions.cs#L24)

**Modifiers**

sealed

Output, limit, and scope policy for recovering items from a damaged DBX or OLM source.

## Inheritance

- object
- EmailStoreSalvageOptions

## Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Accepted by parameters 2

- Method [EmailStoreSalvage.RecoverDbxToDirectory](/api/email/officeimo-email-store-emailstoresalvage/#method-recoverdbxtodirectory-string-string-officeimo-email-store-emailstoresalvageoptions-threading-cancellationtoken) parameter `options`
- Method [EmailStoreSalvage.RecoverOlmToDirectory](/api/email/officeimo-email-store-emailstoresalvage/#method-recoverolmtodirectory-string-string-officeimo-email-store-emailstoresalvageoptions-threading-cancellationtoken) parameter `options`

Filter members 

Show inherited

## Constructors

`public EmailStoreSalvageOptions(EmailFileFormat? format = null, bool overwriteExisting = false, bool writeManifest = true, int maxRecoveredItems = 10000, bool includeUnindexedFragmentChains = true, EmailStoreReaderOptions? readerOptions = null, EmailWriterOptions? writerOptions = null)` [#](#constructor-ctor-nullable-officeimo-email-emailfileformat-boolean-boolean-int32-boolean-officeimo-email-store-emailstorereaderoptions-officeimo-email-emailwriteroptions)

[EmailStoreSalvageOptions.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Email/Store/Recovery/EmailStoreSalvageOptions.cs#L24)

Creates salvage options.

Parameters

**format OfficeIMO.Email.EmailFileFormat? = null optional**

Per-item output format. Null keeps each source's native preservation: recovered DBX MIME bytes are written unchanged as EML, and OLM items are written as MSG.

**overwriteExisting bool = false optional**

Whether existing artifacts and the manifest may be replaced.

**writeManifest bool = true optional**

Whether a provenance manifest is written next to the recovered items.

**maxRecoveredItems int = 10000 optional**

Maximum item outcomes produced before recovery stops.

**includeUnindexedFragmentChains bool = true optional**

Whether DBX message fragment chains that no surviving index record references are recovered when their first fragment starts with an RFC 822 header.

**readerOptions OfficeIMO.Email.Store.EmailStoreReaderOptions? = null optional**

Source bounds. The store reader defaults apply when null.

**writerOptions OfficeIMO.Email.EmailWriterOptions? = null optional**

Item writer bounds and conversion policy. When null, conversion loss is reported in each item's diagnostics instead of rejecting the item, because recovery favours getting readable data out of a damaged source.

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public EmailFileFormat? Format { get; }` [#](#property-format)

[EmailStoreSalvageOptions.cs:47](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Email/Store/Recovery/EmailStoreSalvageOptions.cs#L47)

Requested output format, or null for the source's native preservation format.

`public bool OverwriteExisting { get; }` [#](#property-overwriteexisting)

[EmailStoreSalvageOptions.cs:49](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Email/Store/Recovery/EmailStoreSalvageOptions.cs#L49)

Whether existing artifacts and the manifest may be replaced.

`public bool WriteManifest { get; }` [#](#property-writemanifest)

[EmailStoreSalvageOptions.cs:51](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Email/Store/Recovery/EmailStoreSalvageOptions.cs#L51)

Whether a provenance manifest is written.

`public int MaxRecoveredItems { get; }` [#](#property-maxrecovereditems)

[EmailStoreSalvageOptions.cs:53](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Email/Store/Recovery/EmailStoreSalvageOptions.cs#L53)

Maximum item outcomes produced before recovery stops.

`public bool IncludeUnindexedFragmentChains { get; }` [#](#property-includeunindexedfragmentchains)

[EmailStoreSalvageOptions.cs:55](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Email/Store/Recovery/EmailStoreSalvageOptions.cs#L55)

Whether unreferenced DBX fragment chains that start with a message header are recovered.

`public EmailStoreReaderOptions ReaderOptions { get; }` [#](#property-readeroptions)

[EmailStoreSalvageOptions.cs:57](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Email/Store/Recovery/EmailStoreSalvageOptions.cs#L57)

Source bounds applied while scanning, decoding, and projecting recovered data.

`public EmailWriterOptions WriterOptions { get; }` [#](#property-writeroptions)

[EmailStoreSalvageOptions.cs:59](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.Email/Store/Recovery/EmailStoreSalvageOptions.cs#L59)

Item writer bounds and conversion policy; conversion loss is reported, not rejected, by default.

<!-- PowerForge markdown artifact sha256:FDA8245EB31D1A224BF8B230D4E70FBBAB4D0C62F22E8CE60452B912700A3371 -->
