AspNetCore.SimpleEmail 1.0.4

There is a newer version of this package available.
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                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AspNetCore.SimpleEmail" Version="1.0.4" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AspNetCore.SimpleEmail --version 1.0.4                
#r "nuget: AspNetCore.SimpleEmail, 1.0.4"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.6 143 3/9/2024
1.0.5 125 3/8/2024
1.0.4 125 3/8/2024