NLog.MailKit 2.0.0

The ID prefix of this package has been reserved for one of the owners of this package by Prefix Reserved
.NET Standard 1.4 .NET Framework 4.0
There is a newer version of this package available.
See the version list below for details.
dotnet add package NLog.MailKit --version 2.0.0
NuGet\Install-Package NLog.MailKit -Version 2.0.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="NLog.MailKit" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NLog.MailKit --version 2.0.0
#r "nuget: NLog.MailKit, 2.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install NLog.MailKit as a Cake Addin
#addin nuget:?package=NLog.MailKit&version=2.0.0

// Install NLog.MailKit as a Cake Tool
#tool nuget:?package=NLog.MailKit&version=2.0.0

Install the package: Install-Package NLog.MailKit and add to your nlog.config:

    <add assembly="NLog.MailKit"/>

Use the target "mail"

All config options can be found on the NLog Wiki

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1
.NET Framework net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen30 tizen40 tizen60
Universal Windows Platform uap uap10.0
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (11)

Showing the top 5 NuGet packages that depend on NLog.MailKit:

Package Downloads

Extends the default nlog library with static methods for logging and default visualization of the logged entries


A base to create services


App Impact Core Logging library.


Hosting tools


Package Description

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on NLog.MailKit:

Repository Stars
NLog - Advanced and Structured Logging for Various .NET Platforms
Version Downloads Last updated
5.0.0 15,006 5/22/2022
4.1.0 39,093 2/7/2022
4.0.0 19,957 11/6/2021
3.4.0 2,823 11/4/2021
3.3.0 253,066 8/27/2020
3.2.0 111,552 4/16/2020
3.1.0 192,102 8/30/2019
3.0.2 57,886 4/14/2019
3.0.1 36,209 3/14/2019
3.0.0 82,564 8/27/2018
2.2.0 82,938 3/28/2018
2.1.1 20,268 12/20/2017
2.1.0 4,081 11/22/2017
2.0.0 2,925 10/10/2017
1.1.1 9,373 8/5/2017
1.1.0 901 8/5/2017
1.0.0 2,460 6/3/2017

2.0: .NET 4+ and .NET standard 2 support.
Small breaking change, SmtpAuthenticationMode has been moved to this dll.
1.1.1: Updated dependencies
1.1.0: Added SkipCertificateValidation option