PosInformatique.Foundations.Emailing.Mailjet
1.3.0
Prefix Reserved
See the version list below for details.
dotnet add package PosInformatique.Foundations.Emailing.Mailjet --version 1.3.0
NuGet\Install-Package PosInformatique.Foundations.Emailing.Mailjet -Version 1.3.0
<PackageReference Include="PosInformatique.Foundations.Emailing.Mailjet" Version="1.3.0" />
<PackageVersion Include="PosInformatique.Foundations.Emailing.Mailjet" Version="1.3.0" />
<PackageReference Include="PosInformatique.Foundations.Emailing.Mailjet" />
paket add PosInformatique.Foundations.Emailing.Mailjet --version 1.3.0
#r "nuget: PosInformatique.Foundations.Emailing.Mailjet, 1.3.0"
#:package PosInformatique.Foundations.Emailing.Mailjet@1.3.0
#addin nuget:?package=PosInformatique.Foundations.Emailing.Mailjet&version=1.3.0
#tool nuget:?package=PosInformatique.Foundations.Emailing.Mailjet&version=1.3.0
PosInformatique.Foundations.Emailing.Mailjet
Introduction
PosInformatique.Foundations.Emailing.Mailjet provides an IEmailProvider
implementation for PosInformatique.Foundations.Emailing
based on the IMailjetClient from Mailjet.Api.
It allows you to send templated emails (created via IEmailManager) using Mailjet.
Install
You can install the package from NuGet:
dotnet add package PosInformatique.Foundations.Emailing.Mailjet
Features
IEmailProviderimplementation using Mailjet.Client.IMailjetClient.- Simple configuration through
AddEmailing().UseMailjet(...). - Supports configuration via the Mailjet API key and API secret.
- Registers and configures a named
HttpClient(viaIHttpClientFactory) used to communicate with the Mailjet API, so you can further customize it (handlers, timeouts, resilience policies, etc.) if needed.
Notes
Email tracking is disabled. Both open tracking and click tracking are configured to be disabled when sending emails through this provider.
Basic configuration
Using API key and secret
using Microsoft.Extensions.DependencyInjection;
using PosInformatique.Foundations.EmailAddresses;
var services = new ServiceCollection();
// Your Mailjet API credentials
var apiKey = configuration["Mailjet:ApiKey"];
var apiSecret = configuration["Mailjet:ApiSecret"];
services
.AddEmailing(options =>
{
options.SenderEmailAddress = EmailAddress.Parse("no-reply@myapp.com");
// Register your templates here...
// options.RegisterTemplate(EmailTemplateIdentifiers.Invitation, invitationTemplate);
})
.UseMailjet(apiKey, apiSecret);
Typical usage end-to-end
- Configure emailing and templates with
AddEmailing(...). - Configure the Mailjet provider using
UseMailjet(...). - Inject
IEmailManagerand create an email from a template identifier. - Add recipients and models.
- Call
SendAsync(...)to send via Mailjet.
Links
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Mailjet.Api (>= 4.0.0)
- Microsoft.Extensions.Http (>= 10.0.0)
- PosInformatique.Foundations.Emailing (>= 1.3.0)
-
net8.0
- Mailjet.Api (>= 4.0.0)
- Microsoft.Extensions.Http (>= 8.0.0)
- PosInformatique.Foundations.Emailing (>= 1.3.0)
-
net9.0
- Mailjet.Api (>= 4.0.0)
- Microsoft.Extensions.Http (>= 9.0.0)
- PosInformatique.Foundations.Emailing (>= 1.3.0)
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.4.0-rc.1 | 0 | 10/5/2026 |
| 1.3.0 | 57 | 10/2/2026 |
| 1.3.0-rc.4 | 60 | 9/29/2026 |
| 1.3.0-rc.3 | 57 | 9/28/2026 |
| 1.3.0-rc.2 | 55 | 9/25/2026 |
1.3.0
- Initial release with Mailjet Emailing provider.