RamsonDevelopers.UtilEmail 1.3.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package RamsonDevelopers.UtilEmail --version 1.3.0
NuGet\Install-Package RamsonDevelopers.UtilEmail -Version 1.3.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="1.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RamsonDevelopers.UtilEmail --version 1.3.0
#r "nuget: RamsonDevelopers.UtilEmail, 1.3.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=1.3.0

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

Note

I am still a newbie in the open source world and would appreciate if any on would help making this library better. Just by creating a new issue you are doing a lot.

Regards Ayush Aher.


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"
    }
    

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 developers.ramson@gmail.com or Raise a Issue in Github Repository

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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. 
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.0.0 114 3/10/2024
1.3.1 915 10/15/2023
1.3.0 113 10/15/2023
1.2.0 159 8/13/2023
1.1.0 137 8/12/2023
1.0.0 139 7/15/2023