Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

EmailMapiProjection

Namespace OfficeIMO.Email
Assembly OfficeIMO.Email
Source revision 804a7612eee4 with working tree changes
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, Int32? codePage = null, EmailReaderOptions? options = null, String? location = null, CancellationToken cancellationToken = default) #
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 EmailDocument.MapiProperties have been decoded.
codePage 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 = default optionalposition: 4
Cancellation token.

Returns

The projected document and any structured diagnostics.