PommaLabs.Liquimail 2.5.1
Liquimail
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:
- 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
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-2023 Alessio Parma
Showing the top 20 packages that depend on PommaLabs.Liquimail.
Packages | Downloads |
---|---|
Finsa.Caravan.Common
A long description of the package. This shows up in the right pane of the Add Package Dialog as well as in the Package Manager Console when listing packages using the Get-Package command.
THIS PACKAGE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE PACKAGE OR THE USE OR OTHER DEALINGS IN THE PACKAGE.
|
18 |
Finsa.Caravan.Common
A long description of the package. This shows up in the right pane of the Add Package Dialog as well as in the Package Manager Console when listing packages using the Get-Package command.
THIS PACKAGE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE PACKAGE OR THE USE OR OTHER DEALINGS IN THE PACKAGE.
|
22 |
Finsa.Caravan.Common
A long description of the package. This shows up in the right pane of the Add Package Dialog as well as in the Package Manager Console when listing packages using the Get-Package command.
THIS PACKAGE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE PACKAGE OR THE USE OR OTHER DEALINGS IN THE PACKAGE.
|
140 |
Finsa.CaravanCore
Package Description
|
24 |
Finsa.CaravanCore
Package Description
|
26 |
Finsa.CaravanCore
Package Description
|
29 |
Finsa.CaravanCore
Package Description
|
206 |
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.
|
24 |
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.
|
26 |
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.
|
30 |
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.
|
31 |
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.
|
173 |
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.
|
205 |
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.
|
282 |
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.
|
413 |
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.
|
452 |
.NET 6.0
- AngleSharp (>= 0.17.1)
- DotLiquid (>= 2.2.677)
- MailKit (>= 3.4.3)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 6.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 6.0.3)
- System.Diagnostics.DiagnosticSource (>= 7.0.0)
.NET 7.0
- AngleSharp (>= 0.17.1)
- DotLiquid (>= 2.2.677)
- MailKit (>= 3.4.3)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 7.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 7.0.0)
- System.Diagnostics.DiagnosticSource (>= 7.0.0)
Version | Downloads | Last updated |
---|---|---|
3.0.0 | 21 | 02/04/2025 |
2.7.0 | 22 | 12/29/2024 |
2.6.0 | 28 | 02/10/2024 |
2.5.1 | 33 | 04/04/2023 |
2.5.0 | 27 | 02/10/2024 |
2.4.0 | 246 | 12/07/2021 |
2.3.5 | 196 | 09/10/2021 |
2.3.4 | 22 | 02/10/2024 |
2.3.3 | 228 | 04/23/2021 |
2.3.2 | 23 | 02/10/2024 |
2.3.0 | 481 | 02/15/2021 |
2.2.0 | 36 | 11/21/2020 |
2.1.2 | 484 | 06/25/2020 |
2.1.1 | 23 | 02/10/2024 |
2.1.0 | 26 | 02/10/2024 |
2.0.2 | 45 | 07/09/2020 |
2.0.1 | 25 | 02/10/2024 |
2.0.0 | 29 | 02/10/2024 |
1.2.2 | 28 | 02/10/2024 |
1.2.1 | 22 | 02/10/2024 |
1.2.0 | 27 | 02/11/2020 |
1.1.6 | 30 | 02/11/2020 |
1.1.5 | 30 | 02/11/2020 |
1.1.4 | 25 | 02/10/2024 |
1.1.3 | 27 | 02/10/2024 |
1.1.2 | 25 | 02/10/2024 |
1.1.0 | 21 | 02/10/2024 |
1.0.2 | 25 | 02/10/2024 |
1.0.1 | 27 | 02/10/2024 |
1.0.0 | 30 | 02/10/2024 |
0.1.0 | 26 | 07/05/2020 |