Bodu.Formats.Outlook 0.7.1

dotnet add package Bodu.Formats.Outlook --version 0.7.1
                    
NuGet\Install-Package Bodu.Formats.Outlook -Version 0.7.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="Bodu.Formats.Outlook" Version="0.7.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Bodu.Formats.Outlook" Version="0.7.1" />
                    
Directory.Packages.props
<PackageReference Include="Bodu.Formats.Outlook" />
                    
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 Bodu.Formats.Outlook --version 0.7.1
                    
#r "nuget: Bodu.Formats.Outlook, 0.7.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 Bodu.Formats.Outlook@0.7.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=Bodu.Formats.Outlook&version=0.7.1
                    
Install as a Cake Addin
#tool nuget:?package=Bodu.Formats.Outlook&version=0.7.1
                    
Install as a Cake Tool

Bodu.Formats.Outlook

API stability — Preview. The public API surface is largely settled but is still being finalized ahead of the 1.0 release and may change; breaking changes can land in a minor version until then.

The shared MAPI value model for the Bodu Outlook format readers: property tags and types, decoded property values with a tag-addressed collection, named-property identities, recipient and attachment enumerations, and the shared exception hierarchy.

This package is deliberately container-free — it knows nothing about .msg or .pst files. The Bodu.Formats.Outlook.Msg reader (and a future .pst reader over Bodu.IO.Pst) build on this model rather than owning it, the same shared-value-model convention as Bodu.Formats.Excel and Bodu.Financial.ExchangeRates.

using Bodu.Formats.Outlook;

var subject = new MapiProperty(
    new MapiPropertyTag(MapiPropertyIds.Subject, MapiPropertyType.Unicode),
    "Quarterly report");

var properties = new MapiPropertyCollection(new[] { subject });

Console.WriteLine(properties.GetString(MapiPropertyIds.Subject)); // Quarterly report

What's in the model

  • MapiPropertyTag / MapiPropertyType — the 32-bit property tag (16-bit id + 16-bit type) and the PT_* type codes, including the multi-valued flag and the named-property id range.
  • MapiProperty / MapiPropertyCollection — one decoded property and the tag-addressed, read-only collection with typed accessors (GetString, GetInt32, GetDateTime, GetBinary, …).
  • MapiNamedProperty — a named-property identity (property-set GUID plus a numeric id or a string name).
  • MapiPropertyIds — curated well-known property ids (PidTag*).
  • OutlookRecipientType / OutlookAttachmentMethod — the recipient and attachment enumerations shared by the format readers.
  • OutlookFormatException — the base exception for Outlook format failures.

Out of scope

  • Any container or file-format knowledge — parsing lives in the format packages.
  • The full MS-OXPROPS property catalogue — MapiPropertyIds is a curated subset; every property remains reachable by raw id through the collection.
  • MAPI session semantics (IMAPIProp, property flag enforcement, stores).
Product Compatible and additional computed target framework versions.
.NET 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Bodu.Formats.Outlook:

Package Downloads
Bodu.Formats.Outlook.Msg

A read-only reader for the Outlook message format (.msg / MS-OXMSG) over the Bodu.IO.Compound OLE2 container. Opens a message as a disposable session exposing every decoded MAPI property, the recipient and attachment tables, nested attached messages, named-property resolution, and the text, HTML, and compressed-RTF bodies — without any MAPI session emulation or message authoring. Shares the Bodu.Formats.Outlook MAPI value model.

Bodu.Formats.Outlook.Pst

A read-only reader for the Outlook personal-folders format (.pst / MS-PST, Unicode and ANSI formats) over the Bodu.IO.Pst node-database container. Opens a mail store as a disposable session exposing the store properties, the folder hierarchy, and every message with its decoded MAPI properties, recipients, attachments, nested embedded messages, named-property resolution, and the text, HTML, and compressed-RTF bodies — without any MAPI session emulation or store authoring. Shares the Bodu.Formats.Outlook MAPI value model.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.7.1 52 9/24/2026
0.7.0 94 9/24/2026
0.6.0 72 9/24/2026
0.5.0 77 9/23/2026