RamsonDevelopers.UtilEmail 2.2.0

dotnet add package RamsonDevelopers.UtilEmail --version 2.2.0                
NuGet\Install-Package RamsonDevelopers.UtilEmail -Version 2.2.0                
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="RamsonDevelopers.UtilEmail" Version="2.2.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RamsonDevelopers.UtilEmail --version 2.2.0                
#r "nuget: RamsonDevelopers.UtilEmail, 2.2.0"                
#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 RamsonDevelopers.UtilEmail as a Cake Addin
#addin nuget:?package=RamsonDevelopers.UtilEmail&version=2.2.0

// Install RamsonDevelopers.UtilEmail as a Cake Tool
#tool nuget:?package=RamsonDevelopers.UtilEmail&version=2.2.0                

RamsonDevelopers.UtilEmail

RamsonDevelopers.UtilEmail is a .NET class library that provides functionality to send emails using custom credentials. It utilizes the EmailConfig class to store and retrieve email configuration settings.


Installation

To use RamsonDevelopers.UtilEmail in your project, follow these steps:

  1. Download the RamsonDevelopers.UtilEmail source code or add it as a NuGet package to your solution.

  2. Add a reference to the AddEmailService() Method in RamsonDevelopers.UtilEmail project or the installed NuGet package in your target project's program.cs.

    IConfiguration configuration = builder.Configuration;
    var emailConfig = configuration.GetSection(EmailConfig.SectionLabel);
    builder.Services.Configure<EmailConfig>(emailConfig);
    builder.Services.AddEmailService();

Usage

To send emails using RamsonDevelopers.UtilEmail, follow these steps:

  1. inside your appsettings.json add the following section with your actual credentials

    "MailConfiguration": {
        "Server" : "your-email-server",
        "Port" : 25,
        "UserName" : "your-username",
        "Password" : "your-password",
        "UseSsl" : true,
        "TargetName" : "your-target-name",
        "FromName" : "your-sender-name",
        "FromAddress" : "your-sender-address",
        "ReplyToAddress" : "your-reply-to-address"
    }
    
  2. Create an instance of SendEmailRequest class and configure appropriate values

  3. Create an instance of IEmailService through dependency injection.

  4. Invoke SendEMailAsync Method inside the EmailService and pass the request object.


Credits

RamsonDevelopers.UtilEmail was developed by Ayush Aher and is maintained by Ramson Developers. We would like to acknowledge the contributions of the open-source community and express our gratitude to all the contributors who helped make this project possible.


Feedback

If you have any feedback, please reach out to us at info@ramson-developers.com or Raise a Issue in Github Repository

Product 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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on RamsonDevelopers.UtilEmail:

Package Downloads
Hyperspan.Auth

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.2.0 566 7/31/2024
2.1.2 149 7/4/2024
2.1.1 110 7/4/2024
2.1.0 112 7/4/2024
2.0.0 145 3/10/2024
1.3.1 1,000 10/15/2023
1.3.0 143 10/15/2023
1.2.0 183 8/13/2023
1.1.0 167 8/12/2023
1.0.0 170 7/15/2023