# EmailBodyProjectionOptions

Options for the dependency-isolated email body projection.

Class 

`OfficeIMO.Email`

**Namespace**

`OfficeIMO.Email`

**Assembly**

`OfficeIMO.Email.Html`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[EmailBodyProjection.cs:48](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Email.Html/EmailBodyProjection.cs#L48)

**Modifiers**

sealed

Options for the dependency-isolated email body projection.

## Inheritance

- object
- EmailBodyProjectionOptions

## Usage

Explore 1 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 1

- Method [EmailBodyProjection.Create](/api/email-html/officeimo-email-emailbodyprojection/#method-create-officeimo-email-emaildocument-officeimo-email-emailbodyprojectionoptions) parameter `options`

Filter members 

Show inherited

## Constructors

`public EmailBodyProjectionOptions()` [#](#constructor-ctor)

[EmailBodyProjection.cs:48](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Email.Html/EmailBodyProjection.cs#L48)

## 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 InspectContentSafety { get; set; }` [#](#property-inspectcontentsafety)

[EmailBodyProjection.cs:44](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Email.Html/EmailBodyProjection.cs#L44)

Inspect the selected body for bounded instruction and concealment evidence.

`public EmailConcealedTextPolicy ConcealedTextPolicy { get; set; }` [#](#property-concealedtextpolicy)

[EmailBodyProjection.cs:46](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Email.Html/EmailBodyProjection.cs#L46)

Concealed-text policy. Exclusion also enables content-safety inspection.

`public bool IncludeResources { get; set; }` [#](#property-includeresources)

[EmailBodyProjection.cs:48](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Email.Html/EmailBodyProjection.cs#L48)

Controls whether inline attachment resources are indexed.

`public bool IncludeResourceReferences { get; set; }` [#](#property-includeresourcereferences)

[EmailBodyProjection.cs:50](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Email.Html/EmailBodyProjection.cs#L50)

Retain resource references in projected markup. False removes them through the shared URL policy.

`public int? MaxBodySourceCharacters { get; set; }` [#](#property-maxbodysourcecharacters)

[EmailBodyProjection.cs:52](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Email.Html/EmailBodyProjection.cs#L52)

Optional original-body character bound, checked before encoding, RTF reading and fallback projection.

`public EmailBodySelectionPolicy SelectionPolicy { get; set; }` [#](#property-selectionpolicy)

[EmailBodyProjection.cs:54](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Email.Html/EmailBodyProjection.cs#L54)

Body preference.

`public EmailRemoteResourcePolicy RemoteResourcePolicy { get; set; }` [#](#property-remoteresourcepolicy)

[EmailBodyProjection.cs:56](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Email.Html/EmailBodyProjection.cs#L56)

Remote resource policy. Network access is never performed by this package.

`public long MaxResourceBytes { get; set; }` [#](#property-maxresourcebytes)

[EmailBodyProjection.cs:58](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Email.Html/EmailBodyProjection.cs#L58)

Maximum bytes read from one inline resource.

`public int MaxResourceCount { get; set; }` [#](#property-maxresourcecount)

[EmailBodyProjection.cs:60](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Email.Html/EmailBodyProjection.cs#L60)

Maximum inline resources indexed by one projection.

`public long MaxTotalResourceBytes { get; set; }` [#](#property-maxtotalresourcebytes)

[EmailBodyProjection.cs:62](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Email.Html/EmailBodyProjection.cs#L62)

Maximum bytes read across all inline resources in one projection.

`public Uri? BaseUri { get; set; }` [#](#property-baseuri)

[EmailBodyProjection.cs:64](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Email.Html/EmailBodyProjection.cs#L64)

Optional base URI used for content-location resolution.

`public HtmlConversionDocumentOptions? HtmlOptions { get; set; }` [#](#property-htmloptions)

[EmailBodyProjection.cs:66](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Email.Html/EmailBodyProjection.cs#L66)

Optional shared HTML policy. An untrusted profile is used when null.

<!-- PowerForge markdown artifact sha256:1234457365565340995375D3924A92B1B8971DDB1DC19AE3F4DC46A898C73E74 -->
