MyNet.Utilities.Mail.MailKit 8.0.43

dotnet add package MyNet.Utilities.Mail.MailKit --version 8.0.43
                    
NuGet\Install-Package MyNet.Utilities.Mail.MailKit -Version 8.0.43
                    
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="MyNet.Utilities.Mail.MailKit" Version="8.0.43" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MyNet.Utilities.Mail.MailKit" Version="8.0.43" />
                    
Directory.Packages.props
<PackageReference Include="MyNet.Utilities.Mail.MailKit" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MyNet.Utilities.Mail.MailKit --version 8.0.43
                    
#r "nuget: MyNet.Utilities.Mail.MailKit, 8.0.43"
                    
#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.
#:package MyNet.Utilities.Mail.MailKit@8.0.43
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MyNet.Utilities.Mail.MailKit&version=8.0.43
                    
Install as a Cake Addin
#tool nuget:?package=MyNet.Utilities.Mail.MailKit&version=8.0.43
                    
Install as a Cake Tool

<div id="top"></div>

<br /> <div align="center"> <img src="../../assets/MyNetUtilities.png" width="128" alt="MyNetUtilities"> </div>

<h1 align="center">My .NET Utilities MailKit</h1>

MIT License NuGet

A powerful extension library for sending emails in .NET applications using MailKit.

.NET 8.0 .NET 9.0 .NET 10.0 C#


Installation

Install via NuGet:

dotnet add package MyNet.Utilities.Mail.MailKit

Features

  • Send emails using MailKit.
  • Support for multiple sender addresses and server configurations.
  • Exception handling for undefined servers and empty sender addresses.

Example Usage

using MyNet.Utilities.Mail.MailKit;

// Create a mail service
var mailService = MailKitServiceFactory.Create();

// Send an email
await mailService.SendAsync(
    to: "recipient@example.com",
    subject: "Hello from MyNet",
    body: "This is a test email."
);
Package Description NuGet
MyNet.Utilities Core utilities for .NET development. NuGet
MyNet.Utilities.Generator.Extensions Generate random data for .NET apps. NuGet
MyNet.Utilities.Geography.Extensions Access detailed geography info. NuGet
MyNet.Utilities.Localization.Extensions Localization resources and helpers. NuGet
MyNet.Utilities.Logging.NLog Logging integration with NLog. NuGet

License

Copyright © Stéphane ANDRE.

Distributed under the MIT License. See LICENSE for details.

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.  net9.0 is compatible.  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 is compatible.  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. 
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
8.0.43 124 9/8/2025
8.0.22 97 9/7/2025
8.0.15 67 9/6/2025
8.0.0 156 5/26/2025
7.0.0 143 4/4/2025
6.0.1 105 1/15/2025
6.0.0 113 12/21/2024
5.0.0 139 9/2/2024
5.0.0-pre 108 8/30/2024
1.1.0 159 6/21/2024
1.0.1 159 4/27/2024