NLog.MailKit
5.0.0
Prefix Reserved
Install-Package NLog.MailKit -Version 5.0.0
dotnet add package NLog.MailKit --version 5.0.0
<PackageReference Include="NLog.MailKit" Version="5.0.0" />
paket add NLog.MailKit --version 5.0.0
#r "nuget: NLog.MailKit, 5.0.0"
// Install NLog.MailKit as a Cake Addin
#addin nuget:?package=NLog.MailKit&version=5.0.0
// Install NLog.MailKit as a Cake Tool
#tool nuget:?package=NLog.MailKit&version=5.0.0
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:
- PickupDirectory
- NTLM auth
This library is integration tested with the SmtpServer NuGet package
How to use
Install the package:
Install-Package NLog.MailKit
or in your csproj:<PackageReference Include="NLog.MailKit" Version="5.*" />
Add to your nlog.config:
<extensions> <add assembly="NLog.MailKit"/> </extensions>
Use the target "mail" and config options can be found here: https://github.com/NLog/NLog/wiki/Mail-Target
Use skipCertificateValidation="true"
for prevent AuthenticationException
if your remote certificate for smtpServer is invalid - not recommend!
License
BSD. License of MailKit is MIT
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 |
.NET Core | netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard2.0 netstandard2.1 |
.NET Framework | net461 net462 net463 net47 net471 net472 net48 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen40 tizen60 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
NuGet packages (11)
Showing the top 5 NuGet packages that depend on NLog.MailKit:
Package | Downloads |
---|---|
Ccf.Ck.Libs.Logging
Extends the default nlog library with static methods for logging and default visualization of the logged entries |
|
NapaGroupLLC.NapaBase
A base to create services |
|
AppImpact.Logging.Core
App Impact Core Logging library. |
|
Jinkong.NLogger.Mysql
Package Description |
|
Jinkong.NLogger.Postgresql
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
5.0.0 | 2,196 | 5/22/2022 |
4.1.0 | 11,336 | 2/7/2022 |
4.0.0 | 14,871 | 11/6/2021 |
3.4.0 | 1,387 | 11/4/2021 |
3.3.0 | 184,982 | 8/27/2020 |
3.2.0 | 94,872 | 4/16/2020 |
3.1.0 | 178,554 | 8/30/2019 |
3.0.2 | 55,753 | 4/14/2019 |
3.0.1 | 31,740 | 3/14/2019 |
3.0.0 | 76,807 | 8/27/2018 |
2.2.0 | 73,500 | 3/28/2018 |
2.1.1 | 19,115 | 12/20/2017 |
2.1.0 | 3,807 | 11/22/2017 |
2.0.0 | 2,780 | 10/10/2017 |
1.1.1 | 9,271 | 8/5/2017 |
1.1.0 | 838 | 8/5/2017 |
1.0.0 | 2,382 | 6/3/2017 |
- NLog 5 compatible
- All properties are now layoutable. See 'NLog Layout for everything' on https://nlog-project.org/2021/08/25/nlog-5-0-preview1-ready.html
- Updated MailKit
See https://github.com/NLog/NLog.MailKit/releases