NLog.MailKit
6.0.3
Prefix Reserved
See the version list below for details.
dotnet add package NLog.MailKit --version 6.0.3
NuGet\Install-Package NLog.MailKit -Version 6.0.3
<PackageReference Include="NLog.MailKit" Version="6.0.3" />
<PackageVersion Include="NLog.MailKit" Version="6.0.3" />
<PackageReference Include="NLog.MailKit" />
paket add NLog.MailKit --version 6.0.3
#r "nuget: NLog.MailKit, 6.0.3"
#:package NLog.MailKit@6.0.3
#addin nuget:?package=NLog.MailKit&version=6.0.3
#tool nuget:?package=NLog.MailKit&version=6.0.3
NLog.MailKit
Alternative Mail target for NLog using MailKit. Compatible with .NET standard 2+
Including this package will replace the original mail target and has the same options as the original mail target, see docs of the original mailTarget
Currently not implemented:
- NTLM auth
This library is integration tested with the SmtpServer NuGet package
How to use
Install the package:
Install-Package NLog.MailKitor in your csproj:<PackageReference Include="NLog.MailKit" Version="6.*" />Add to your nlog.config:
<extensions> <add assembly="NLog.MailKit"/> </extensions>Alternative register from code using fluent configuration API:
LogManager.Setup().SetupExtensions(ext => ext.RegisterTarget<NLog.MailKit.MailTarget>());
See the NLog Wiki for available options and examples.
Note that the option skipCertificateValidation="true" can prevent AuthenticationException if your remote certificate for smtpServer is invalid - not recommend!
License
BSD. License of MailKit is MIT
| Product | Versions 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. net9.0 was computed. 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 was computed. 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. |
| .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 is compatible. |
| .NET Framework | net461 was computed. net462 is compatible. 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. |
NuGet packages (49)
Showing the top 5 NuGet packages that depend on NLog.MailKit:
| Package | Downloads |
|---|---|
|
Ark.Tools.NLog
NLog configuration helper and extensions for Ark standard configuration using code and not config files. |
|
|
Ark.Tools.Solid
SOLID base for Handler pattern |
|
|
Ark.Tools.ResourceWatcher
Watcher over listable resources with support for change detection, retry limit and state. |
|
|
Ark.Tools.FtpClient.Core
Core abstractions for FtpClient |
|
|
Ark.Tools.Sql.SqlServer
Extensions and helpers of Ark.Tools.Sql for SqlServer |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on NLog.MailKit:
| Repository | Stars |
|---|---|
|
NLog/NLog
NLog - Flexible and Structured Logging for various .NET Platforms
|
| Version | Downloads | Last Updated |
|---|---|---|
| 6.1.4 | 2,433 | 5/9/2026 |
| 6.1.3 | 7,968 | 4/4/2026 |
| 6.1.2 | 231 | 4/4/2026 |
| 6.1.1 | 9,177 | 3/7/2026 |
| 6.0.5 | 43,580 | 11/15/2025 |
| 6.0.4 | 15,839 | 11/15/2025 |
| 6.0.3 | 50,728 | 7/20/2025 |
| 6.0.2 | 17,027 | 7/20/2025 |
| 6.0.0 | 19,987 | 7/2/2025 |
| 5.3.0 | 159,992 | 11/16/2024 |
| 5.2.0 | 217,789 | 8/30/2023 |
| 5.1.0 | 16,975 | 8/30/2023 |
| 5.0.0 | 227,973 | 5/22/2022 |
| 4.1.0 | 334,612 | 2/7/2022 |
| 4.0.0 | 61,366 | 11/6/2021 |
| 3.4.0 | 35,391 | 11/4/2021 |
| 3.3.0 | 449,227 | 8/27/2020 |
| 3.2.0 | 246,211 | 4/16/2020 |
| 3.1.0 | 284,292 | 8/30/2019 |
| 3.0.2 | 89,715 | 4/14/2019 |
Changelog:
- Updated NLog v6.0.2
See https://github.com/NLog/NLog.MailKit/releases