RecursiveAI.OneMail 0.3.0-preview.2

This is a prerelease version of RecursiveAI.OneMail.
dotnet add package RecursiveAI.OneMail --version 0.3.0-preview.2
                    
NuGet\Install-Package RecursiveAI.OneMail -Version 0.3.0-preview.2
                    
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="RecursiveAI.OneMail" Version="0.3.0-preview.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="RecursiveAI.OneMail" Version="0.3.0-preview.2" />
                    
Directory.Packages.props
<PackageReference Include="RecursiveAI.OneMail" />
                    
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 RecursiveAI.OneMail --version 0.3.0-preview.2
                    
#r "nuget: RecursiveAI.OneMail, 0.3.0-preview.2"
                    
#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 RecursiveAI.OneMail@0.3.0-preview.2
                    
#: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=RecursiveAI.OneMail&version=0.3.0-preview.2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=RecursiveAI.OneMail&version=0.3.0-preview.2&prerelease
                    
Install as a Cake Tool

OneMail

An email library for .NET with no dependency beyond the .NET base class library and its sibling libraries: MIME/EML, MBOX, TNEF, MSG, PST/OST and more, lossless and lenient, NativeAOT and trimming clean.

Early preview. Working today: MIME/EML reading and writing (byte-identical round-trips), MHTML and delivery/disposition/feedback reports, mbox variants, Maildir and EMLX, ICS/vCard trees, Outlook items on read (MSG/OFT, PST/OST, TNEF, compressed RTF) with MAPI↔MIME conversion and loss reports, calendar recurrence and time zones, and Mail.Parse/Mail.Open for the one-line path. Outlook writing, protocols and cryptography come in later previews. The API is not stable yet. What is checked, and the known gaps: https://github.com/recursive-ai-oss/onemail-csharp/blob/v0.3.0-preview.2/docs/compatibility.md.

Display HTML is not yet independently reviewed. The sanitiser behind ToDisplayHtml (RecursiveAI.OneMail.Display) has not had its independent security review. Do not rely on it to make untrusted mail safe to show until a release says the review has passed.

using RecursiveAI.OneMail;

using MailContainer mbox = Mail.Open("archive.mbox");
foreach (IMailItem item in mbox.Enumerate())
{
    Console.WriteLine($"{item.Sent?.Value:u} {item.Subject}");
}

Project home and source: https://github.com/recursive-ai-oss/onemail-csharp. Changes: https://github.com/recursive-ai-oss/onemail-csharp/blob/v0.3.0-preview.2/CHANGELOG.md. Licence: MIT OR Apache-2.0.

This project is unaffiliated with other products named OneMail.

Product Compatible and additional computed target framework versions.
.NET 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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.3.0-preview.2 0 10/31/2026
0.2.0-preview.2 0 10/31/2026

See CHANGELOG.md in the repository.