Skip to main content
NLog.MailKit package icon

NLog.MailKit

NLog Mail Target for .NET Core & .NET Standard 2.0+ using MailKit. This package add the mail target to NLog and has the same options* as the original Mail Target. If the mail target was already available on your platform, this package will overwrite the original Mail Target. * Compared to the original MailTarget, the following options aren't implemented: - NTLM auth * MailKit gives more control of the sockets, so you get the `secureSocketOption` option for free!

Total Downloads
2.9M
2,880,692
Published
Jul 11, 2026
Latest stable version

Install

.NET CLI
dotnet add package NLog.MailKit --version 6.1.5
Package Manager Console
Install-Package NLog.MailKit -Version 6.1.5
PackageReference
<PackageReference Include="NLog.MailKit" Version="6.1.5" />

Frameworks

.NETFramework4.6.2 .NETStandard2.0 .NETStandard2.1

Dependencies

MailKit
.NETFramework4.6.2
[4.17.0, )
NLog
.NETFramework4.6.2
[6.1.4, )
MailKit
.NETStandard2.0
[4.17.0, )
NLog
.NETStandard2.0
[6.1.4, )
MailKit
.NETStandard2.1
[4.17.0, )
NLog
.NETStandard2.1
[6.1.4, )

Adoption guide

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

Compatibility metadata lists 3 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.