PommaLabs.Liquimail.AspNetCore 2.5.0

Liquimail

License: MIT Donate Docs NuGet version NuGet downloads

standard-readme compliant GitLab pipeline status Quality gate Code coverage Renovate enabled

Liquimail implements glue code to use Liquid templates with MailKit.

Library is feature complete and no further development is planned on this project, except for routine maintenance and bug fixes.

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:

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

@pomma89.

Contributing

MRs accepted.

Small note: If editing the README, please conform to the standard-readme specification.

Editing

Visual Studio Code, with Remote Containers extension, is the recommended way to work on this project.

A development container has been configured with all required tools.

Visual Studio Community is also supported and an updated solution file, liquimail.sln, has been provided.

Restoring dependencies

When opening the development container, dependencies should be automatically restored.

Anyway, dependencies can be restored with following command:

dotnet restore

Running tests

Tests can be run with following command:

dotnet test

Tests can also be run with following command, which collects coverage information:

./build.sh --target run-tests

License

MIT © 2018-2022 Alessio Parma

Showing the top 20 packages that depend on PommaLabs.Liquimail.AspNetCore.

Packages Downloads
Finsa.CaravanCore
Package Description
51
Finsa.CaravanCore
Package Description
58
Finsa.CaravanCore
Package Description
65
Finsa.CaravanCore
Package Description
66
Finsa.CaravanCore
Package Description
75
Finsa.CaravanCore
Package Description
88
Finsa.CaravanCore
Package Description
99
Finsa.CaravanCore
Package Description
101
Finsa.CaravanCore
Package Description
106
Finsa.CaravanCore
Package Description
107
Finsa.CaravanCore
Package Description
153
Finsa.CaravanCore
Package Description
178
Finsa.CaravanCore
Package Description
289
Finsa.CaravanCore
Package Description
385
Finsa.CaravanCore
Package Description
432
Finsa.CaravanCore
Package Description
473
Finsa.CaravanCore
Package Description
575
Finsa.CaravanCore
Package Description
1,254
Finsa.CaravanCore
Package Description
2,164

https://gitlab.com/pommalabs/liquimail/-/releases

.NET 6.0

.NET 7.0

Version Downloads Last updated
3.0.0 17 02/28/2025
2.7.0 16 01/03/2025
2.6.0 26 02/08/2024
2.5.1 30 10/17/2023
2.5.0 26 02/08/2024
2.4.0 283 12/07/2021
2.3.5 205 09/10/2021
2.3.3 173 04/05/2021
2.3.2 26 04/04/2021
2.3.0 413 02/07/2021
2.2.0 31 11/21/2020
2.1.2 452 07/04/2020
2.1.1 24 02/08/2024
2.1.0 25 02/08/2024