KamiSama.ExternalServices.Email.Core
10.0.11.4
See the version list below for details.
dotnet add package KamiSama.ExternalServices.Email.Core --version 10.0.11.4
NuGet\Install-Package KamiSama.ExternalServices.Email.Core -Version 10.0.11.4
<PackageReference Include="KamiSama.ExternalServices.Email.Core" Version="10.0.11.4" />
<PackageVersion Include="KamiSama.ExternalServices.Email.Core" Version="10.0.11.4" />
<PackageReference Include="KamiSama.ExternalServices.Email.Core" />
paket add KamiSama.ExternalServices.Email.Core --version 10.0.11.4
#r "nuget: KamiSama.ExternalServices.Email.Core, 10.0.11.4"
#:package KamiSama.ExternalServices.Email.Core@10.0.11.4
#addin nuget:?package=KamiSama.ExternalServices.Email.Core&version=10.0.11.4
#tool nuget:?package=KamiSama.ExternalServices.Email.Core&version=10.0.11.4
KamiSama.ExternalServices.Email.Core
Version: 10.0.0
Description
Provider-selecting email registration for ASP.NET Core applications, including default-provider options and a built-in mock provider. Use it to route ISendEmail calls to keyed transport implementations.
How to use
dotnet add package KamiSama.ExternalServices.Email.Core --version 10.0.0
Add the core module with a configuration section whose email value names the keyed provider. The built-in mock provider only logs method entry; add a transport package and use its key for real delivery:
using KamiSama.ExternalServices.Email;
using KamiSama.Modules;
var webBuilder = WebApplication.CreateBuilder(args);
var builder = webBuilder.Extend()
.AddCoreEmailServices(webBuilder.Configuration.GetSection("EmailDefaults"));
var app = await builder.BuildAsync(CancellationToken.None);
Configure EmailDefaults:email as mock for the built-in no-delivery implementation or as the key registered by an installed provider. If no keyed ISendEmail exists for that value, the dispatcher throws CannotFindExternalServiceException.
Namespaces
- KamiSama.ExternalServices.Email (3 types)
Types
- KamiSama.ExternalServices.Email.EmailCoreServicesModule - Registers the default-provider options and scans the core email package for service implementations. Add it when
ISendEmailshould dispatch to the keyed provider selected by configuration. - KamiSama.ExternalServices.Email.EmailDefaultsOptions - Selects the keyed email provider used by the core dispatcher. The default
mockprovider performs no delivery; setEmailto a key registered by a transport package for another implementation. - KamiSama.ExternalServices.Email.ExtendedWebApplicationBuilderExtensions - Adds core email provider selection and service registrations to an
ExtendedWebApplicationBuilder. Pass the configuration section that contains theemailprovider key.
| Product | Versions 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. |
-
net10.0
- KamiSama.Extensions.DependencyInjection (>= 10.0.11.4)
- KamiSama.Extensions.Logging (>= 10.0.11.4)
- KamiSama.ExternalServices.Email.Abstractions (>= 10.0.11.4)
- KamiSama.ExternalServices.Exceptions (>= 10.0.11.4)
- KamiSama.Modules (>= 10.0.11.4)
- Microsoft.Extensions.Options (>= 10.0.11)
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 |
|---|---|---|
| 10.0.11.9 | 123 | 8/24/2026 |
| 10.0.11.8 | 106 | 8/21/2026 |
| 10.0.11.7 | 106 | 8/21/2026 |
| 10.0.11.6 | 108 | 8/19/2026 |
| 10.0.11.5 | 104 | 8/18/2026 |
| 10.0.11.4 | 113 | 8/18/2026 |
| 10.0.11.3 | 100 | 8/18/2026 |
| 10.0.11.2 | 104 | 8/18/2026 |
| 10.0.11.1 | 111 | 8/15/2026 |
| 10.0.11 | 110 | 8/11/2026 |
| 10.0.10.2 | 116 | 8/4/2026 |
| 10.0.0 | 98 | 8/18/2026 |