Raycynix.Extensions.Email
2.2.0
dotnet add package Raycynix.Extensions.Email --version 2.2.0
NuGet\Install-Package Raycynix.Extensions.Email -Version 2.2.0
<PackageReference Include="Raycynix.Extensions.Email" Version="2.2.0" />
<PackageVersion Include="Raycynix.Extensions.Email" Version="2.2.0" />
<PackageReference Include="Raycynix.Extensions.Email" />
paket add Raycynix.Extensions.Email --version 2.2.0
#r "nuget: Raycynix.Extensions.Email, 2.2.0"
#:package Raycynix.Extensions.Email@2.2.0
#addin nuget:?package=Raycynix.Extensions.Email&version=2.2.0
#tool nuget:?package=Raycynix.Extensions.Email&version=2.2.0
Raycynix.Extensions.Email
Shared email registration infrastructure for Raycynix applications.
What It Provides
AddRaycynixEmail(...)EmailConfiguration- email provider resolution
- email builder support for provider packages
- optional Microsoft
ILogger<T>diagnostics for provider resolution
This package registers the shared email infrastructure. A provider package, such as Raycynix.Extensions.Email.Smtp, must be added to provide an IEmailSender implementation.
Usage
builder.Services
.AddRaycynixEmail(builder.Configuration, email =>
{
email.DefaultFromAddress = "no-reply@example.com";
email.DefaultFromDisplayName = "Example App";
})
.AddSmtp();
Configuration
{
"EmailConfiguration": {
"DefaultFromAddress": "no-reply@example.com",
"DefaultFromDisplayName": "Example App",
"DefaultReplyToAddress": "support@example.com",
"DefaultReplyToDisplayName": "Support"
}
}
Logging
The package uses optional Microsoft ILogger<T> diagnostics when logging is registered in the application. No Raycynix logging provider is required.
Provider resolution diagnostics include registration counts and provider selection flow only. Email addresses, subjects, bodies, and credentials are not logged.
| 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
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.9)
- Raycynix.Extensions.Configuration (>= 2.2.0)
- Raycynix.Extensions.Configuration.Abstractions (>= 2.2.0)
- Raycynix.Extensions.Email.Abstractions (>= 2.2.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Raycynix.Extensions.Email:
| Package | Downloads |
|---|---|
|
Raycynix.Extensions.Email.Smtp
MailKit-based SMTP provider integration for Raycynix email, including SMTP configuration binding, validation, and message delivery. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Starts unified versioning for Raycynix packages from this release and adds optional Microsoft.Extensions.Logging diagnostics.