OfficeIMO.Reader.Email 3.6.1

Prefix Reserved
dotnet add package OfficeIMO.Reader.Email --version 3.6.1
                    
NuGet\Install-Package OfficeIMO.Reader.Email -Version 3.6.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OfficeIMO.Reader.Email" Version="3.6.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OfficeIMO.Reader.Email" Version="3.6.1" />
                    
Directory.Packages.props
<PackageReference Include="OfficeIMO.Reader.Email" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add OfficeIMO.Reader.Email --version 3.6.1
                    
#r "nuget: OfficeIMO.Reader.Email, 3.6.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package OfficeIMO.Reader.Email@3.6.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=OfficeIMO.Reader.Email&version=3.6.1
                    
Install as a Cake Addin
#tool nuget:?package=OfficeIMO.Reader.Email&version=3.6.1
                    
Install as a Cake Tool

OfficeIMO.Reader.Email

One Reader package for the complete OfficeIMO.Email data surface:

Email body, text attachment, iCalendar, and vCard chunks retain complete Unicode scalars at MaxChars boundaries. Text attachments use the shared email charset decoder before projection or delegation to a registered text handler. Decoding recovery warnings appear in the document diagnostics and attachment chunk warnings.

Each ordinary attachment reports a Reader extraction outcome: succeeded, unsupported, content unavailable, empty, or failed. Unsupported payloads are skipped before opening their content stream. Outcomes carry the logical attachment path in document diagnostics and ReaderEmailStoreItemResult.ItemDiagnostics; skip, empty and failure details also appear on attachment chunks. Document metadata includes attempted, succeeded, skipped, empty and failed counts. Embedded messages are projected recursively and counted separately. Successful extraction means readable content was produced; nested handler warnings still apply.

HTML and RTF bodies use the existing HTML adapter for semantic Markdown even when the host registers only email handlers. A host's registered HTML handler takes precedence. Projection failures retain the safe HTML source and report EMAIL_BODY_READER_FAILED.

Selected email bodies also carry bounded instruction and concealment diagnostics. Warnings appear on the message and body chunks as well as the document result, including when concealed text is omitted. Direct, asynchronous, mailbox and selected-store-item reads use the same projection. The default retains text; configure ReaderEmailOptions.ConcealedTextPolicy and ReaderEmailStoreOptions.ConcealedTextPolicy as OfficeIMO.Email.EmailConcealedTextPolicy.ExcludeRemovable to omit exact removable HTML concealment findings. The original message remains intact. Unsupported removal mechanisms remain visible with a warning, and an uninspectable HTML body produces an omission notice under that policy. Inspection completion covers bounded heuristics, not a guarantee that content is safe to follow. Attachment and metadata strings remain untrusted.

Store attachments use bounded session streams by default, including OLM and EMLX. Reader consumes supported attachment text before closing the session and returns asset metadata without PayloadBytes for streamed content. To retain available attachment bytes in a result, register the store handler with new ReaderEmailStoreOptions { StreamAttachmentContent = false } and keep the item's explicit streaming preference disabled. StoreOptions.RetainAttachmentContent = false omits payloads in either mode. Registered store safety limits, including MaxDirectoryEntryCount, survive option cloning; MaxItems bounds the projected selection independently of the store's catalog limits.

Direct message, mailbox, iCalendar, and vCard handlers expose native asynchronous path and stream entry points. ReadDocumentAsync uses their owning libraries' async I/O and Reader.Core's asynchronous source hashing. Source hashes are computed once by Reader.Core when ComputeHashes is enabled, and caller streams remain open with their original position restored.

  • EML, MSG/OFT, TNEF, Mbox/MBX, iCalendar, and vCard artifacts
  • MHT/MHTML web archives with embedded MIME resources projected through OfficeIMO.Reader.Html
  • PST, OST, OLM, EMLX, Outlook Express DBX, Maildir, and mailbox-directory sessions
  • Outlook Offline Address Book files
using OfficeIMO.Reader;
using OfficeIMO.Reader.Email;

OfficeDocumentReader reader = new OfficeDocumentReaderBuilder()
    .AddEmailHandlers()
    .Build();

OfficeDocumentReadResult message = reader.ReadDocument("message.msg");
OfficeDocumentReadResult store = reader.ReadDocument("archive.pst");
OfficeDocumentReadResult webArchive = reader.ReadDocument("snapshot.mhtml");

Register only MHTML when the other email handlers are not needed:

OfficeDocumentReader reader = new OfficeDocumentReaderBuilder()
    .AddMhtmlHandler()
    .Build();

Install this package when Reader needs email or MHTML data. It depends on OfficeIMO.Reader.Core, OfficeIMO.Email, OfficeIMO.Email.Html, OfficeIMO.Mhtml, and the lean OfficeIMO.Reader.Html projection. Email HTML/text/Markdown preparation reuses the shared safe body and embedded-resource contract; store and address-book support do not add separate NuGet layers or another email model.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 is compatible.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on OfficeIMO.Reader.Email:

Package Downloads
OfficeIMO.Reader.All

Composition-only preset for registering OfficeIMO.Reader's local format adapters.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.6.1 129 11/10/2026
3.6.0 232 11/6/2026
3.5.3 154 10/31/2026
3.5.2 143 10/24/2026
3.5.1 186 10/16/2026
3.4.5 633 10/10/2026
3.4.4 305 9/27/2026
3.4.3 313 9/12/2026
3.4.2 224 9/9/2026
3.4.1 232 9/7/2026
3.4.0 174 9/6/2026
3.3.0 169 9/2/2026
3.2.7 170 8/29/2026
3.2.6 265 8/22/2026
3.2.5 255 8/21/2026
3.2.4 251 8/19/2026
3.2.3 165 8/17/2026
3.2.2 376 8/13/2026
3.2.1 302 8/11/2026
3.2.0 447 8/7/2026
Loading failed