Class
EmailMapiProjection
OfficeIMO.Email
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, int? codePage = null, EmailReaderOptions? options = null, string? location = null, CancellationToken cancellationToken = default) #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
- Document whose EmailDocument.MapiProperties have been decoded.
- codePage int? = null
- Preferred code page for legacy MAPI byte strings and HTML.
- options OfficeIMO.Email.EmailReaderOptions? = null
- Reader safety limits used by derived-body projections.
- location string? = null
- Logical diagnostic location.
- cancellationToken System.Threading.CancellationToken = default
- Cancellation token.