AspNetCore.SimpleEmail
1.0.4
See the version list below for details.
dotnet add package AspNetCore.SimpleEmail --version 1.0.4
NuGet\Install-Package AspNetCore.SimpleEmail -Version 1.0.4
<PackageReference Include="AspNetCore.SimpleEmail" Version="1.0.4" />
paket add AspNetCore.SimpleEmail --version 1.0.4
#r "nuget: AspNetCore.SimpleEmail, 1.0.4"
// Install AspNetCore.SimpleEmail as a Cake Addin #addin nuget:?package=AspNetCore.SimpleEmail&version=1.0.4 // Install AspNetCore.SimpleEmail as a Cake Tool #tool nuget:?package=AspNetCore.SimpleEmail&version=1.0.4
AspNetCore.SimpleEmail
Overview
SimpleMail is a lightweight and user-friendly ASP.NET package designed to simplify email sending functionality for developers. With just a few lines of code, you can integrate seamless email communication into your ASP.NET applications.
Key Features
- Easy Integration: Quickly incorporate email functionality into your ASP.NET projects.
- Predefined Theme: Enjoy a sleek and responsive email template out of the box.
- Simplified Usage: Send emails effortlessly by providing essential information such as sender, receiver, subject, and message.
Installation
Install the YourPackage NuGet package using the following command:
Install-Package AspNetCore.SimpleEmail
How to Use
Set up your email using the Email class:
var email = new Mail();
email.Sender = "Sender@gmail.com";
email.To = "Receiver@gmail.com";
email.CC.Add("cc@gmail.com");
email.Subject = "Subject of Email";
email.Body = "Message";
// Provide sender credentials
email.Credentials(" Sender Email", "App Password");
// Send the email asynchronously
email.SendAsync();
Example Use Case
This is ideal for beginners and developers who need a hassle-free solution for integrating email functionality into their ASP.NET applications
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. |
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.