Soenneker.Extensions.Messages.Email 4.0.584

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Soenneker.Extensions.Messages.Email --version 4.0.584
                    
NuGet\Install-Package Soenneker.Extensions.Messages.Email -Version 4.0.584
                    
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="Soenneker.Extensions.Messages.Email" Version="4.0.584" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Soenneker.Extensions.Messages.Email" Version="4.0.584" />
                    
Directory.Packages.props
<PackageReference Include="Soenneker.Extensions.Messages.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 Soenneker.Extensions.Messages.Email --version 4.0.584
                    
#r "nuget: Soenneker.Extensions.Messages.Email, 4.0.584"
                    
#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 Soenneker.Extensions.Messages.Email@4.0.584
                    
#: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=Soenneker.Extensions.Messages.Email&version=4.0.584
                    
Install as a Cake Addin
#tool nuget:?package=Soenneker.Extensions.Messages.Email&version=4.0.584
                    
Install as a Cake Tool

alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image alternate text is missing from this package README image

alternate text is missing from this package README image Soenneker.Extensions.Messages.Email

Extension methods for converting and preparing EmailMessage objects for templates, transports, and other email-processing stages.

Installation

dotnet add package Soenneker.Extensions.Messages.Email

Usage

using Soenneker.Extensions.Messages.Email;

EmailMessage message = CreateEmailMessage();
Dictionary<string, string> tokens = message.ToTokenDictionary();

string subject = tokens["subject"];
// subject == message.Subject

Token names come from [JsonPropertyName] when present (Subject therefore becomes subject); otherwise the CLR property name is used. Values are converted with Convert.ToString, so this is a flat token dictionary—not JSON serialization. Collections and dictionaries are not expanded into individual tokens. Only readable, non-indexed public properties declared directly on EmailMessage are included; properties inherited from its base message type are excluded. A null message returns an empty dictionary.

Property metadata is cached per runtime type, making repeated conversion inexpensive.

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
4.0.597 87 9/5/2026
4.0.596 49 9/4/2026
4.0.595 39 9/4/2026
4.0.594 197 9/1/2026
4.0.593 99 8/31/2026
4.0.592 113 8/31/2026
4.0.591 137 8/31/2026
4.0.590 83 8/30/2026
4.0.589 91 8/30/2026
4.0.588 90 8/30/2026
4.0.587 78 8/30/2026
4.0.586 90 8/30/2026
4.0.585 82 8/30/2026
4.0.584 85 8/29/2026
4.0.582 99 8/29/2026
4.0.581 85 8/26/2026
4.0.580 86 8/26/2026
4.0.579 104 8/25/2026
4.0.578 89 8/22/2026
4.0.577 98 8/22/2026
Loading failed

Describe extension library scope separately from current API