Mail target for NLog on .NET Core.
Same name and options as the original mail target, see docs of the original mailTarget
System.Net.Mail was not ported to .NET Core, so this libary is using the MailKit library
Currently not implemented:
- PickupDirectory
- NTLM auth
SMTP section from web.config is also not available
This library is unit tested with the SmtpServer NuGet package
Install the package: Install-Package NLog.MailKit
and 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
Currently not implemented:
- PickupDirectory
- NTLM auth
BSD. License of MailKit is MIT