# EmailReadResult

Result of a bounded email artifact read.

Class 

`OfficeIMO.Email`

**Namespace**

`OfficeIMO.Email`

**Assembly**

`OfficeIMO.Email`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[EmailReadResult.cs:52](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Reading/EmailReadResult.cs#L52)

**Implements**

`IDisposable`

**Modifiers**

sealed

Result of a bounded email artifact read.

## Inheritance

- object
- EmailReadResult

## Guides & Samples

Authored walkthroughs and practical samples linked to this API.

- [Read and Convert Email Messages](/docs/email/messages-and-conversion/) Guide
  
  Read EML, MSG, OFT, and TNEF (winmail.dat) messages, convert between them, check for conversion loss, stream large attachments, and render a message to PDF.
- [Read Untrusted Email Safely and Verify Conversions](/docs/email/safety-and-verification/) Guide
  
  Set input limits for untrusted email, read structured diagnostics, compare two messages semantically, and handle signed or encrypted messages.

## Usage

Explore 4 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.

### Returned or exposed by 4

- Property [EmailDataOpenResult.Email](/api/email/officeimo-email-data-emaildataopenresult/#property-email)
- Method [EmailDocumentReader.ReadDocument](/api/email/officeimo-email-emaildocumentreader/#method-readdocument-io-stream-officeimo-email-emailreadcontentstorage-string-threading-cancellationtoken)
- Method [EmailDocumentReader.ReadDocumentAsync](/api/email/officeimo-email-emaildocumentreader/#method-readdocumentasync-io-stream-officeimo-email-emailreadcontentstorage-string-threading-cancellationtoken)
- Method [EmailMapiProjection.Project](/api/email/officeimo-email-emailmapiprojection/#method-project-officeimo-email-emaildocument-nullable-system-int32-officeimo-email-emailreaderoptions-string-threading-cancellationtoken)

Filter members 

Show inherited

## Methods

`public void Dispose()` [#](#method-dispose)

[EmailReadResult.cs:52](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Reading/EmailReadResult.cs#L52)

Deletes temporary content owned by a streaming read result.

## 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 EmailDocument Document { get; }` [#](#property-document)

[EmailReadResult.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Reading/EmailReadResult.cs#L18)

Parsed artifact document.

`public IReadOnlyList<EmailDiagnostic> Diagnostics { get; }` [#](#property-diagnostics)

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

Structured compatibility and fidelity diagnostics.

`public bool HasErrors { get; }` [#](#property-haserrors)

[EmailReadResult.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Reading/EmailReadResult.cs#L26)

True when parsing produced at least one error diagnostic.

`public long BytesRead { get; }` [#](#property-bytesread)

[EmailReadResult.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Reading/EmailReadResult.cs#L34)

Number of source bytes consumed.

`public EmailProcessingBudgetSnapshot ProcessingBudget { get; }` [#](#property-processingbudget)

[EmailReadResult.cs:37](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Reading/EmailReadResult.cs#L37)

Aggregate resource usage observed across the root artifact and nested parsers.

`public bool UsesFileBackedContent { get; }` [#](#property-usesfilebackedcontent)

[EmailReadResult.cs:40](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Reading/EmailReadResult.cs#L40)

True when retained attachment payloads are reopenable file-backed sources.

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