aSimplify.EmailService
1.0.0
dotnet add package aSimplify.EmailService --version 1.0.0
NuGet\Install-Package aSimplify.EmailService -Version 1.0.0
<PackageReference Include="aSimplify.EmailService" Version="1.0.0" />
<PackageVersion Include="aSimplify.EmailService" Version="1.0.0" />
<PackageReference Include="aSimplify.EmailService" />
paket add aSimplify.EmailService --version 1.0.0
#r "nuget: aSimplify.EmailService, 1.0.0"
#:package aSimplify.EmailService@1.0.0
#addin nuget:?package=aSimplify.EmailService&version=1.0.0
#tool nuget:?package=aSimplify.EmailService&version=1.0.0
To start things off, add a reference to aSimplify.EmailService in your class. 1 - Add email configuration in your appsettings.json "EmailConfiguration": { "From": "inquiry@asimplify.com", "SmtpServer": "smtp.gmail.com", "Port": 465, "Username": "inquiry@asimplify.com", "Password": "your password" } 2 - Register the Email Service in your Startup class var emailConfig = Configuration .GetSection("EmailConfiguration") .Get<EmailConfiguration>(); services.AddSingleton(emailConfig); services.AddScoped<IEmailSender, EmailSender>();
3 - Final step is to Inject the service in your class
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. 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 was computed. 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. |
| .NET Core | netcoreapp3.1 is compatible. |
-
.NETCoreApp 3.1
- Microsoft.AspNetCore.Http.Features (>= 5.0.7)
- NETCore.MailKit (>= 2.0.3)
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 |
|---|---|---|
| 1.0.0 | 555 | 7/12/2021 |