![]() |
VOOZH | about |
dotnet add package AspNet.Module.Email.Abstractions --version 3.0.1
NuGet\Install-Package AspNet.Module.Email.Abstractions -Version 3.0.1
<PackageReference Include="AspNet.Module.Email.Abstractions" Version="3.0.1" />
<PackageVersion Include="AspNet.Module.Email.Abstractions" Version="3.0.1" />Directory.Packages.props
<PackageReference Include="AspNet.Module.Email.Abstractions" />Project file
paket add AspNet.Module.Email.Abstractions --version 3.0.1
#r "nuget: AspNet.Module.Email.Abstractions, 3.0.1"
#:package AspNet.Module.Email.Abstractions@3.0.1
#addin nuget:?package=AspNet.Module.Email.Abstractions&version=3.0.1Install as a Cake Addin
#tool nuget:?package=AspNet.Module.Email.Abstractions&version=3.0.1Install as a Cake Tool
Email sending packages for ASP.NET applications.
# runtime module
dotnet add package AspNet.Module.Email
# abstractions for IEmailSender and related contracts
dotnet add package AspNet.Module.Email.Abstractions
CheckServerCertificates controls SMTP certificate validationSmtp.Server is the SMTP hostSmtp.Port is the SMTP portSmtp.Username is the login nameSmtp.Password is the password{
"Email": {
"CheckServerCertificates": false,
"Smtp": {
"Server": "server",
"Port": "port",
"Username": "login",
"Password": "password"
}
}
}
var email = new EmailMessage(Guid.NewGuid(), "Test message", new[] { from }, new[] { to })
.WithText("text", false)
.WithFiles(EmailMessageFile.Excel("report.xlsx", xmlStream));
IEmailSender sender;
await sender.Send(email, default);
using AspNet.Module.Email;
var builder = AspNetWebApplication.CreateBuilder(args);
builder.RegisterModule<EmailModule>();
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
Showing the top 1 NuGet packages that depend on AspNet.Module.Email.Abstractions:
| Package | Downloads |
|---|---|
|
AspNet.Module.Email
Package Description |
This package is not used by any popular GitHub repositories.