# EmailMailboxEntry

One message and its mbox envelope metadata.

Class 

`OfficeIMO.Email`

**Namespace**

`OfficeIMO.Email`

**Assembly**

`OfficeIMO.Email`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[EmailMailbox.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Mbox/EmailMailbox.cs#L16)

**Modifiers**

sealed

One message and its mbox envelope metadata.

## Inheritance

- object
- EmailMailboxEntry

## 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.

## Usage

Explore 3 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 2

- Property [EmailMailbox.Messages](/api/email/officeimo-email-emailmailbox/#property-messages)
- Property [EmailMailboxEntryReadResult.Entry](/api/email/officeimo-email-emailmailboxentryreadresult/#property-entry)

### Accepted by parameters 1

- Method [EmailMailboxWriter.WriteEntries](/api/email/officeimo-email-emailmailboxwriter/#method-writeentries-collections-generic-ienumerable-officeimo-email-emailmailboxentry-io-stream-threading-cancellationtoken) parameter `entries`

Filter members 

Show inherited

## Constructors

`public EmailMailboxEntry(EmailDocument document)` [#](#constructor-ctor-officeimo-email-emaildocument)

[EmailMailbox.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Mbox/EmailMailbox.cs#L16)

Creates a mailbox entry.

Parameters

**document OfficeIMO.Email.EmailDocument required**

## 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)

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

Parsed email document.

`public string? EnvelopeSender { get; set; }` [#](#property-envelopesender)

[EmailMailbox.cs:23](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Mbox/EmailMailbox.cs#L23)

Envelope sender from the separator line.

`public DateTimeOffset? EnvelopeDate { get; set; }` [#](#property-envelopedate)

[EmailMailbox.cs:25](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Mbox/EmailMailbox.cs#L25)

Envelope timestamp when parseable.

`public string? RawFromLine { get; set; }` [#](#property-rawfromline)

[EmailMailbox.cs:27](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Mbox/EmailMailbox.cs#L27)

Original separator line without its line ending; a safe ASCII value is preserved on write.

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