MinimalCleanArch.Email
0.1.21-preview
This is a prerelease version of MinimalCleanArch.Email.
dotnet add package MinimalCleanArch.Email --version 0.1.21-preview
NuGet\Install-Package MinimalCleanArch.Email -Version 0.1.21-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.1.21-preview" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MinimalCleanArch.Email" Version="0.1.21-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.1.21-preview
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MinimalCleanArch.Email, 0.1.21-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.1.21-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.1.21-preview&prerelease
#tool nuget:?package=MinimalCleanArch.Email&version=0.1.21-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.1.20-preview (net9.0, net10.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.1.20-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 | net9.0 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Http (>= 10.0.10)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.10)
- Microsoft.Extensions.Options.DataAnnotations (>= 10.0.10)
-
net9.0
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Http (>= 10.0.10)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.10)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.10)
- Microsoft.Extensions.Options.DataAnnotations (>= 10.0.10)
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.1.21-preview | 32 | 9/19/2026 |