PommaLabs.Liquimail.AspNetCore
2.4.0
Prefix Reserved
Install-Package PommaLabs.Liquimail.AspNetCore -Version 2.4.0
dotnet add package PommaLabs.Liquimail.AspNetCore --version 2.4.0
<PackageReference Include="PommaLabs.Liquimail.AspNetCore" Version="2.4.0" />
paket add PommaLabs.Liquimail.AspNetCore --version 2.4.0
#r "nuget: PommaLabs.Liquimail.AspNetCore, 2.4.0"
// Install PommaLabs.Liquimail.AspNetCore as a Cake Addin
#addin nuget:?package=PommaLabs.Liquimail.AspNetCore&version=2.4.0
// Install PommaLabs.Liquimail.AspNetCore as a Cake Tool
#tool nuget:?package=PommaLabs.Liquimail.AspNetCore&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 |
-
.NETCoreApp 3.1
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions (>= 3.1.21)
- PommaLabs.Liquimail (>= 2.4.0)
-
net6.0
- Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions (>= 6.0.0)
- PommaLabs.Liquimail (>= 2.4.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.