# EmailStorePstConversionOptions

Controls safe conversion of a supported mailbox store into a newly created Unicode PST.

Class 

`OfficeIMO.Email.Store`

**Namespace**

`OfficeIMO.Email.Store`

**Assembly**

`OfficeIMO.Email`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[EmailStorePstConversionOptions.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Writing/EmailStorePstConversionOptions.cs#L21)

**Modifiers**

sealed

Controls safe conversion of a supported mailbox store into a newly created Unicode PST.

## Inheritance

- object
- EmailStorePstConversionOptions

## Guides & Samples

Authored walkthroughs and practical samples linked to this API.

- [Read and Convert PST, OST, and Mailbox Stores](/docs/email/mailbox-stores/) Guide
  
  Open PST, OST, OLM, mbox, EMLX, Apple Mail, and Maildir stores, export their messages, and convert a store to a new PST with verification.
- [Read PST and OST Files in .NET Without Outlook](/solutions/outlook-mailbox-migration/) Guide
  
  Read PST, OST, OLM, mbox, EMLX, Apple Mail, and Maildir in .NET without Outlook, then extract messages or write and verify a new PST.
- [OfficeIMO.Email](/products/email/) Guide
  
  Read and write email, Outlook items, mailbox stores, calendars, contacts, and address books without Outlook or third-party message parsers.

## 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 [EmailStoreConverter.ConvertToPst](/api/email/officeimo-email-store-emailstoreconverter/#method-converttopst-string-string-officeimo-email-store-emailstorereaderoptions-officeimo-email-store-emailstorepstconversionoptions-threading-cancellationtoken) parameter `conversionOptions`
- Method [EmailStoreSession.ExportToPst](/api/email/officeimo-email-store-emailstoresession/#method-exporttopst-string-officeimo-email-store-emailstorepstconversionoptions-threading-cancellationtoken) parameter `options`

Filter members 

Show inherited

## Constructors

EmailStorePstConversionOptions 2 overloads

`public EmailStorePstConversionOptions(bool overwriteExisting = false, bool failOnLoss = false, bool continueOnItemError = true, bool includeAssociatedItems = true, bool includeOrphanedItems = true, bool includeSearchFolders = true, int maxItems = 2147483647, int maxNestedMessageDepth = 32, string? displayName = null, bool verifyAfterWrite = true, EmailSemanticComparisonOptions? verificationOptions = null, string? verificationManifestPath = null, int maxVerificationIssues = 1000)` [#](#constructor-ctor-boolean-boolean-boolean-boolean-boolean-boolean-int32-int32-string-boolean-officeimo-email-emailsemanticcomparisonoptions-string-int32)

[EmailStorePstConversionOptions.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Writing/EmailStorePstConversionOptions.cs#L21)

Creates conversion options.

Parameters

**overwriteExisting bool = false optional**

**failOnLoss bool = false optional**

**continueOnItemError bool = true optional**

**includeAssociatedItems bool = true optional**

**includeOrphanedItems bool = true optional**

**includeSearchFolders bool = true optional**

**maxItems int = 2147483647 optional**

**maxNestedMessageDepth int = 32 optional**

**displayName string? = null optional**

**verifyAfterWrite bool = true optional**

**verificationOptions OfficeIMO.Email.EmailSemanticComparisonOptions? = null optional**

**verificationManifestPath string? = null optional**

**maxVerificationIssues int = 1000 optional**

`public EmailStorePstConversionOptions(string? checkpointPath, bool overwriteExisting = false, bool failOnLoss = false, bool continueOnItemError = true, bool includeAssociatedItems = true, bool includeOrphanedItems = true, bool includeSearchFolders = true, int maxItems = 2147483647, int maxNestedMessageDepth = 32, string? displayName = null, bool verifyAfterWrite = true, EmailSemanticComparisonOptions? verificationOptions = null, string? verificationManifestPath = null, int maxVerificationIssues = 1000, int checkpointIntervalItems = 1000, EmailStorePartialResultPolicy partialResultPolicy = RetainResumableState, IProgress<EmailStorePstMigrationProgress>? progress = null)` [#](#member-a6d3195342886640135b01ee)

[EmailStorePstConversionOptions.cs:38](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Writing/EmailStorePstConversionOptions.cs#L38)

Creates resumable conversion options bound to a durable checkpoint path.

Parameters

**checkpointPath string? required**

**overwriteExisting bool = false optional**

**failOnLoss bool = false optional**

**continueOnItemError bool = true optional**

**includeAssociatedItems bool = true optional**

**includeOrphanedItems bool = true optional**

**includeSearchFolders bool = true optional**

**maxItems int = 2147483647 optional**

**maxNestedMessageDepth int = 32 optional**

**displayName string? = null optional**

**verifyAfterWrite bool = true optional**

**verificationOptions OfficeIMO.Email.EmailSemanticComparisonOptions? = null optional**

**verificationManifestPath string? = null optional**

**maxVerificationIssues int = 1000 optional**

**checkpointIntervalItems int = 1000 optional**

**partialResultPolicy OfficeIMO.Email.Store.EmailStorePartialResultPolicy = RetainResumableState optional**

**progress System.IProgress<OfficeIMO.Email.Store.EmailStorePstMigrationProgress>? = null optional**

## 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 bool OverwriteExisting { get; }` [#](#property-overwriteexisting)

[EmailStorePstConversionOptions.cs:97](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Writing/EmailStorePstConversionOptions.cs#L97)

Whether an existing destination may be atomically replaced.

`public bool FailOnLoss { get; }` [#](#property-failonloss)

[EmailStorePstConversionOptions.cs:102](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Writing/EmailStorePstConversionOptions.cs#L102)

Whether any fidelity warning or error blocks completion. When verification is enabled, the destination is changed only after the staged PST passes semantic verification.

`public bool ContinueOnItemError { get; }` [#](#property-continueonitemerror)

[EmailStorePstConversionOptions.cs:104](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Writing/EmailStorePstConversionOptions.cs#L104)

Whether unreadable individual items are reported and skipped instead of aborting immediately.

`public bool IncludeAssociatedItems { get; }` [#](#property-includeassociateditems)

[EmailStorePstConversionOptions.cs:106](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Writing/EmailStorePstConversionOptions.cs#L106)

Whether folder-associated information items are copied.

`public bool IncludeOrphanedItems { get; }` [#](#property-includeorphaneditems)

[EmailStorePstConversionOptions.cs:108](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Writing/EmailStorePstConversionOptions.cs#L108)

Whether items recovered from source indexes but absent from contents tables are copied.

`public bool IncludeSearchFolders { get; }` [#](#property-includesearchfolders)

[EmailStorePstConversionOptions.cs:110](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Writing/EmailStorePstConversionOptions.cs#L110)

Whether search-folder results are copied as static folders and items.

`public int MaxItems { get; }` [#](#property-maxitems)

[EmailStorePstConversionOptions.cs:112](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Writing/EmailStorePstConversionOptions.cs#L112)

Maximum source items inspected by one conversion.

`public int MaxNestedMessageDepth { get; }` [#](#property-maxnestedmessagedepth)

[EmailStorePstConversionOptions.cs:114](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Writing/EmailStorePstConversionOptions.cs#L114)

Maximum embedded-message nesting depth written.

`public string? DisplayName { get; }` [#](#property-displayname)

[EmailStorePstConversionOptions.cs:116](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Writing/EmailStorePstConversionOptions.cs#L116)

Optional destination display name. The source display name is used when null.

`public bool VerifyAfterWrite { get; }` [#](#property-verifyafterwrite)

[EmailStorePstConversionOptions.cs:118](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Writing/EmailStorePstConversionOptions.cs#L118)

Whether the completed PST is reopened and compared item by item.

`public EmailSemanticComparisonOptions? VerificationOptions { get; }` [#](#property-verificationoptions)

[EmailStorePstConversionOptions.cs:123](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Writing/EmailStorePstConversionOptions.cs#L123)

Optional semantic policy. A migration profile with an ephemeral HMAC key is used when null so report fingerprints cannot be correlated outside the conversion run.

`public string? VerificationManifestPath { get; }` [#](#property-verificationmanifestpath)

[EmailStorePstConversionOptions.cs:130](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Writing/EmailStorePstConversionOptions.cs#L130)

Optional path for an aggregate TSV manifest containing ordinals, statuses, keyed source/destination fingerprints, an aggregate digest, and keyed difference-path tokens. Message subjects, addresses, content, filenames, and store identifiers are never written. Supply a keyed [EmailStorePstConversionOptions.VerificationOptions](/api/email/officeimo-email-store-emailstorepstconversionoptions/) policy to make the manifest reproducible; the default ephemeral key intentionally prevents cross-run correlation.

`public int MaxVerificationIssues { get; }` [#](#property-maxverificationissues)

[EmailStorePstConversionOptions.cs:132](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Writing/EmailStorePstConversionOptions.cs#L132)

Maximum mismatch/failure details retained in memory.

`public string? CheckpointPath { get; }` [#](#property-checkpointpath)

[EmailStorePstConversionOptions.cs:134](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Writing/EmailStorePstConversionOptions.cs#L134)

Optional durable checkpoint. An existing checkpoint resumes the exact bound source migration.

`public int CheckpointIntervalItems { get; }` [#](#property-checkpointintervalitems)

[EmailStorePstConversionOptions.cs:136](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Writing/EmailStorePstConversionOptions.cs#L136)

Number of inspected source items between atomic migration checkpoints.

`public EmailStorePartialResultPolicy PartialResultPolicy { get; }` [#](#property-partialresultpolicy)

[EmailStorePstConversionOptions.cs:138](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Writing/EmailStorePstConversionOptions.cs#L138)

Policy for incomplete writer state after cancellation or failure.

`public IProgress<EmailStorePstMigrationProgress>? Progress { get; }` [#](#property-progress)

[EmailStorePstConversionOptions.cs:140](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Store/Writing/EmailStorePstConversionOptions.cs#L140)

Optional privacy-safe migration progress sink.

<!-- PowerForge markdown artifact sha256:5581FD423C4318B48D744904D658302852E7BAE70A8458599E386EC67378CD65 -->
