Lurgle.Alerting 1.2.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package Lurgle.Alerting --version 1.2.1                
NuGet\Install-Package Lurgle.Alerting -Version 1.2.1                
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="Lurgle.Alerting" Version="1.2.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Lurgle.Alerting --version 1.2.1                
#r "nuget: Lurgle.Alerting, 1.2.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Lurgle.Alerting as a Cake Addin
#addin nuget:?package=Lurgle.Alerting&version=1.2.1

// Install Lurgle.Alerting as a Cake Tool
#tool nuget:?package=Lurgle.Alerting&version=1.2.1                

Why alert when you can Lurgle?

Lurgle.Alerting is an implementation of FluentEmail that accelerates getting your project up and running with email alerting. It bundles the Smtp and MailKit senders with Razor, Liquid, and Handlebars template rendering, and adds bonuses like an integrated mail host connectivity check, debug mode that helps avoid data leakage, inbuilt automatic handling of comma/semi-colon delimited emails, and email address validation. It includes settings for default Mail From, To, and Debug email addresses, along with a default subject - so you can add Lurgle and start sending simple alerts without specifying the email address every time! You can even have email addresses in your config file and load them from config at need.

The net effect is a predictable alerting implementation with good templating capabilities to suit your needs, that preserves and enhances the FluentEmail approach to building and sending emails.

You can use Lurgle.Alerting by itself, or with Lurgle.Logging to Lurgle your apps even further with a standardised Serilog implementation!

Keep an eye on my Blog of Doom for updates about the latest releases!

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 is compatible.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 is compatible.  net462 was computed.  net463 was computed.  net47 is compatible.  net471 was computed.  net472 was computed.  net48 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.3.8 242 7/4/2023
1.3.7 512 8/14/2022
1.3.6 170 2/28/2022
1.3.5 171 1/31/2022
1.3.4 171 1/24/2022
1.3.3 187 11/16/2021
1.3.2 216 11/14/2021
1.3.1 277 11/14/2021
1.3.0 294 11/14/2021
1.2.4 383 8/15/2021
1.2.3 261 8/3/2021
1.2.2 267 7/3/2021
1.2.1 214 7/2/2021
1.2.0 233 6/30/2021
1.1.10 169 6/17/2021
1.1.9 193 6/14/2021
1.1.6 202 6/11/2021
1.1.4 179 6/11/2021
1.1.3 204 6/8/2021

- Add MailKit as default sender
- Add mail host authentication
- Add additional targets
- Add test Razor template
- Add XML docs
- Code refactor
- Add AlertConfig constructor for passing config and optional overrides
- Expose MailTestTimeout to allow configuring the SMTP mail host test timeout (or disable with 0)
- Add MailSubject config to allow configuring a default subject
- Add sending an attachment from a stream
- Add Alerting.SetDebug for global debug mode
- Add MailDebug setting
- Consistently handle comma delimited email address strings
- Filter out invalid email addresses
- Validate default MailHost, From, To, Debug, Subject configs and return results to Alerting.AlertFailures
- Add Handlebars renderer, based on https://github.com/matthewturner/FluentEmail.Handlebars
- Automatically determine attachment content type
- Expose errors on send for examination by code
- Add unit tests