API Reference

Class

EmailMapiProjection

Namespace OfficeIMO.Email
Assembly OfficeIMO.Email
Modifiers static

Projects an already decoded set of MAPI properties onto the common EmailDocument model. Container readers such as PST and OLM readers can use this entry point without duplicating MSG semantics.

Inheritance

  • Object
  • EmailMapiProjection

Methods

public static EmailReadResult Project(EmailDocument document, Nullable<Int32> codePage = null, EmailReaderOptions options = null, String location = null, CancellationToken cancellationToken = null) #
Returns: EmailReadResult

Applies common message fields, typed Outlook item fields, transport headers, and protection metadata to an existing document. Existing recipients and attachments are preserved.

Parameters

document OfficeIMO.Email.EmailDocument requiredposition: 0
Document whose MapiProperties have been decoded.
codePage System.Nullable{System.Int32} = null optionalposition: 1
Preferred code page for legacy MAPI byte strings and HTML.
options OfficeIMO.Email.EmailReaderOptions = null optionalposition: 2
Reader safety limits used by derived-body projections.
location System.String = null optionalposition: 3
Logical diagnostic location.
cancellationToken System.Threading.CancellationToken = null optionalposition: 4
Cancellation token.

Returns

The projected document and any structured diagnostics.