Bodu.Formats.Outlook
1.3.0
dotnet add package Bodu.Formats.Outlook --version 1.3.0
NuGet\Install-Package Bodu.Formats.Outlook -Version 1.3.0
<PackageReference Include="Bodu.Formats.Outlook" Version="1.3.0" />
<PackageVersion Include="Bodu.Formats.Outlook" Version="1.3.0" />
<PackageReference Include="Bodu.Formats.Outlook" />
paket add Bodu.Formats.Outlook --version 1.3.0
#r "nuget: Bodu.Formats.Outlook, 1.3.0"
#:package Bodu.Formats.Outlook@1.3.0
#addin nuget:?package=Bodu.Formats.Outlook&version=1.3.0
#tool nuget:?package=Bodu.Formats.Outlook&version=1.3.0
Bodu.Formats.Outlook
API stability - Stable. The public API surface is committed: breaking changes are reserved for a major-version bump per SemVer, except a deliberate break that is recorded in the release notes and in the package's
CompatibilitySuppressions.xml. See versioning and support.
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
the Bodu.Formats.Outlook.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 thePT_*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 -
MapiPropertyIdsis a curated subset; every property remains reachable by raw id through the collection. - MAPI session semantics (
IMAPIProp, property flag enforcement, stores).
| Product | Versions 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. |
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.