NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
NuGet
NuGet, #2734 most downloaded on NuGet
Read Outlook MSG and EML files without using Outlook. The MSGReader supports MSG E-Mail (also signed), Contact, Appointment, Task, Sticky notes and Contact files. The EML reader supports MIME 1.0 encoded files.
Latest stable
6.2.1
Last release 15 days ago
08 Nov 2026
Ships unpredictably
gaps range from 4 weeks to 125.7 years
Nearly every release is documented
notes for 3 of 3 stable releases
191 versions withdrawn
withdrawn after publishing
127 years old
194 releases · first in 1900
Drag across the ruler to compare, or tap a release to open it.
The assemblies are now strong-name signed.
Version 6.2.1: • The assemblies are now strong-name signed. • Fixed a cryptographic exception when reading signed messages. • RTF decompression failures now throw typed exceptions instead of generic errors. • Fixed NullReferenceException when detecting the encoding of RTF with sparse font tables. • Updated NuGet package dependencies.
NullReferenceException when detecting the encoding of RTF with sparse font tables.dotnet add package MsgReader --version 6.2.1
Full changelog: 6.2.0...6.2.1
Security release — hardening against malicious .msg files:
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Security release — hardening against malicious .msg files: • Fixed arbitrary file read / NTLM credential leak: external (ATTACH_BY_REFERENCE) attachments are no longer read automatically. Use the new Attachment.ResolveExternalReference() opt-in API (see IsExternalReference / ExternalReferencePath). • Fixed uncatchable StackOverflow from deeply nested embedded messages (now capped at depth 10, throws MRMaxEmbeddedDepthReached). • Fixed OutOfMemory from untrusted RTF uncompressed-size (capped at 100 MB) and unbounded stream reads (capped at 256 MB). • Fixed crash (IndexOutOfRange) on truncated property records. ⚠ Breaking: ATTACH_BY_REFERENCE attachments are no longer resolved automatically — call ResolveExternalReference() if you need their bytes.
This release addresses several denial-of-service and information-disclosure vulnerabilities that could be triggered simply by opening an untrusted .msg file. Upgrading is strongly recommended for any application that parses .msg files from untrusted sources.
External-reference attachments are no longer resolved automatically. If your application relies on the byte content of ATTACH_BY_REFERENCE attachments, call attachment.ResolveExternalReference() explicitly after validating attachment.ExternalReferencePath.
Various fixes for decoding chars from RTF
Reader.ExtractToFolder writes each attachment of a parsed .msg or .eml email to outputFolder + attachment.FileName. For attachments unpacked from an embedded TNEF (winmail.dat) part the filename is taken straight from the TNEF stream and never passes through the RemoveInvalidFileNameChars sanitiser that normal MAPI and MIME attachment names do. So a crafted email can give a TNEF attachment a filename containing ../ segments and have the extracted file written outside the output folder, with attacker-chosen contents.
Various fixes for decoding chars from RTF
Fix mojibake when double byte text is written under a single byte font encoding
- Updated nuget packages
Added a new way of decoding PT_STRING8 to avoid issues with unicode that is set as the default code page on .net core
Issues #520 and #521 (fixed by coPilot)
- Updated nuget packages - Issues fixed
- Updated nuget packages
Fix HTML body encoding for non-ASCII characters in .NET Core+ by @Copilot in https://github.com/Sicos1977/MSGReader/pull/491
Full Changelog: 6.0.9...6.0.10
Full Changelog: https://github.com/Sicos1977/MSGReader/compare/6.0.9...6.0.10
- Updated nuget packages
Full Changelog: https://github.com/Sicos1977/MSGReader/compare/6.0.7...6.0.9
- Updated nuget packages
- Updated nuget packages
Full Changelog: 6.0.6...6.0.7
Full Changelog: https://github.com/Sicos1977/MSGReader/compare/6.0.6...6.0.7
Fix regression: Preserve leading space in multiline email headers (RFC 2822 compliant) by @Copilot in #476
Full Changelog: 6.0.5...6.0.6
Full Changelog: https://github.com/Sicos1977/MSGReader/compare/6.0.5...6.0.6
Fixes issues #467 , #469 , #470 (mostly done by co-pilot)
Full Changelog: 6.0.4...6.0.5
Full Changelog: https://github.com/Sicos1977/MSGReader/compare/6.0.4...6.0.5
Fixed UTF-8 character corruption in email headers (thanks to @PrzemyslawKlys )
Leave stream open when saving a MSG attachment
Fix null reference error when saving MSG attachment
Nothing published for this version
Warning: OpenMcdf has breaking changes so make sure you dont have any other dependencies on older versions!!!
Warning: OpenMcdf has breaking changes so make sure you dont have any other dependencies on older versions!!!
- Updated nuget packages - Dropped support for .net6 - Added support for .net 8 and 9
Nothing published for this version
Some open issues fixed (thanks to @YannBrulhart74 on GitHub)
- Fix issue with Hebrew encoding - Fix issue with signed em parts - Other fixes
Added support for time formats like 15.45.23
Nothing published for this version
Nothing published for this version
Added option to leave a storage stream open when processing an MSG file
Fix issue with invalid header dates that result in a DateTimeOffset error (issue #411)
Fixed issue where the property MessageLocalId did throw and exception in some special cases
Changed all DateTime properties to DateTimeOffset
*** WARNING THIS VERSION BREAKS YOUR CODE IF YOUR VERSION IS LOWER THAN 5.6.0 *** *** USE DateTimeOffset.ToLocalTime() to get local times again !!! ***
Fixed encoding issue with HTML embedded in RTF on .NET8
Use the message codepage to decode mapi properties that are stored as PT_STRING8
Favor Content Type Name property above FileName property for the name of the attachment
- Fix issue #397 - Fix issue #399 - Updated nuget package
Target .net4.6.2, netstandard2.0 or netstandard2.1 instead of net5 and net6
Fixed issue with signed message and nameless attachment
Fixed issue with nameless attachment when processing a signed message
Fixed issue with loading inline attachment embedded into RTF
Added reactions property thanks to matt1liu on GitHub
Nothing published for this version
Nothing published for this version
Added support for message with the type IPM.SkypeTeams.Message
Added option to delete attachments from an EML file (very small breaking change)
Nothing published for this version
Nothing published for this version
Removed dependency on .netstandard and changed code so that System.Drawing.Common is only used when targeting the .NET framework
Replaced UDE with UTF.Unknown to detect charset encodings
Fixed issue with RTF mismatch size, just try to decompress it and see if it works instead of throwing an error
Updates nuget packages because of a security warning
Updated nuget packages due to a CVE found in one of Microsoft it's nuget packages
Added encoding detector for malformed chars embedded in RTF
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Code cleanup and an issue with encoding fixed when de-encapsulating HTML from RTF
Rewritten code that extract HTML from RTF (Warning test this before using it in production !!!)
Fix issue with white space in RTF
One column per quarter.