MinimalCleanArch.Email
0.2.0-preview
This is a prerelease version of MinimalCleanArch.Email.
There is a newer prerelease version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package MinimalCleanArch.Email --version 0.2.0-preview
NuGet\Install-Package MinimalCleanArch.Email -Version 0.2.0-preview
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="MinimalCleanArch.Email" Version="0.2.0-preview" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MinimalCleanArch.Email" Version="0.2.0-preview" />
<PackageReference Include="MinimalCleanArch.Email" />
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 MinimalCleanArch.Email --version 0.2.0-preview
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MinimalCleanArch.Email, 0.2.0-preview"
#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 MinimalCleanArch.Email@0.2.0-preview
#: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=MinimalCleanArch.Email&version=0.2.0-preview&prerelease
#tool nuget:?package=MinimalCleanArch.Email&version=0.2.0-preview&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
MinimalCleanArch.Email
SMTP and HTTP API email adapters behind a framework-neutral port.
Version
- Current: 0.2.0-preview (net11.0).
Why Use It
- send templated messages (to, subject, html/text, correlation) without ASP.NET types on the port
- swap SMTP vs HTTP API with
EmailSettings:Provider
When to Use It
- generated
--authapps (confirm / forgot / reset) - any host that needs outbound email without copying SmtpClient wrappers
Dependency Direction
- Depends on: no other MCA package
- Typically referenced by: infrastructure and composition roots
- Do not reference from: domain projects
Usage
dotnet add package MinimalCleanArch.Email --version 0.2.0-preview
builder.Services.AddEmail(builder.Configuration);
EmailSettings:Provider = Smtp (default) or Api. Bind the same section the generated template already uses.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net11.0
- Microsoft.Extensions.Http (>= 11.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 11.0.0)
- Microsoft.Extensions.Options.DataAnnotations (>= 11.0.0)
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.2.1-preview | 38 | 11/20/2026 |
| 0.2.0-preview | 89 | 11/14/2026 |
| 0.1.21 | 127 | 10/11/2026 |
| 0.1.21-preview | 116 | 9/19/2026 |