PommaLabs.Liquimail
2.4.0
Prefix Reserved
Install-Package PommaLabs.Liquimail -Version 2.4.0
dotnet add package PommaLabs.Liquimail --version 2.4.0
<PackageReference Include="PommaLabs.Liquimail" Version="2.4.0" />
paket add PommaLabs.Liquimail --version 2.4.0
#r "nuget: PommaLabs.Liquimail, 2.4.0"
// Install PommaLabs.Liquimail as a Cake Addin
#addin nuget:?package=PommaLabs.Liquimail&version=2.4.0
// Install PommaLabs.Liquimail as a Cake Tool
#tool nuget:?package=PommaLabs.Liquimail&version=2.4.0
Liquimail
Liquimail implements glue code to use Liquid templates with MailKit.
Liquimail templates are processed using DotLiquid library and mail messages are sent with MailKit.
Liquid templates can be stored in three different ways:
- Local file system,
- Embedded resources,
- SQL database table.
A fake, in-memory mail sender is also provided in order to easily perform unit tests.
Table of Contents
Install
NuGet package PommaLabs.Liquimail is available for download:
dotnet add package PommaLabs.Liquimail
Another package, PommLabs.Liquimail.AspNetCore, which is focused on ASP.NET Core integrations, is also available for download:
dotnet add package PommaLabs.Liquimail.AspNetCore
Usage
Liquimail exposes two main interfaces:
- IMailSender, which actually sends mail messages.
- IMailTemplatesManager, which loads mail templates.
Configuring the first interface is mandatory, while the second one is needed
only when using SendMail
overloads which use the templating system based on DotLiquid.
Maintainers
Contributing
PRs accepted.
Small note: If editing the README, please conform to the standard-readme specification.
License
MIT © 2018-2021 Alessio Parma
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 | netcoreapp3.1 |
.NET Framework | net461 net462 net463 net47 net471 net472 net48 |
-
.NETCoreApp 3.1
- AngleSharp (>= 0.16.1)
- DotLiquid (>= 2.2.580)
- MailKit (>= 2.15.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 3.1.21)
- Microsoft.Extensions.Logging.Abstractions (>= 3.1.21)
- System.Diagnostics.DiagnosticSource (>= 6.0.0)
-
.NETFramework 4.6.1
- AngleSharp (>= 0.16.1)
- DotLiquid (>= 2.2.580)
- MailKit (>= 2.15.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 6.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 6.0.0)
- System.Diagnostics.DiagnosticSource (>= 6.0.0)
-
.NETFramework 4.7.2
- AngleSharp (>= 0.16.1)
- DotLiquid (>= 2.2.580)
- MailKit (>= 2.15.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 6.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 6.0.0)
- System.Diagnostics.DiagnosticSource (>= 6.0.0)
-
net6.0
- AngleSharp (>= 0.16.1)
- DotLiquid (>= 2.2.580)
- MailKit (>= 2.15.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 6.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 6.0.0)
- System.Diagnostics.DiagnosticSource (>= 6.0.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on PommaLabs.Liquimail:
Package | Downloads |
---|---|
PommaLabs.Liquimail.AspNetCore
Liquimail implements glue code to use Liquid templates with MailKit. This package contains ASP.NET Core extensions, helpers and components. For example, this package contains an health check which makes sure that SMTP server is reachable. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.4.0 | 590 | 11/21/2021 |
2.3.5 | 676 | 8/29/2021 |
2.3.4 | 135 | 8/19/2021 |
2.3.3 | 1,947 | 4/5/2021 |
2.3.2 | 212 | 4/4/2021 |
2.3.0 | 860 | 2/7/2021 |
2.2.0 | 364 | 11/21/2020 |
2.1.2 | 1,340 | 6/15/2020 |
2.1.1 | 344 | 6/14/2020 |
2.1.0 | 341 | 6/14/2020 |
2.0.2 | 322 | 6/11/2020 |
2.0.1 | 274 | 6/1/2020 |
2.0.0 | 355 | 3/9/2020 |
1.2.2 | 289 | 3/2/2020 |
1.2.1 | 298 | 2/23/2020 |
1.2.0 | 528 | 1/2/2020 |
1.1.6 | 2,243 | 8/31/2019 |
1.1.5 | 2,289 | 2/28/2019 |
1.1.4 | 1,329 | 12/28/2018 |
1.1.3 | 1,090 | 11/11/2018 |
1.1.2 | 1,184 | 9/1/2018 |
1.1.0 | 975 | 8/22/2018 |
1.0.2 | 584 | 8/17/2018 |
1.0.1 | 607 | 8/14/2018 |
1.0.0 | 765 | 6/2/2018 |
0.1.0 | 662 | 5/27/2018 |