PosInformatique.Foundations.Emailing.Mailjet
1.3.0-rc.2
Prefix Reserved
This is a prerelease version of PosInformatique.Foundations.Emailing.Mailjet.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package PosInformatique.Foundations.Emailing.Mailjet --version 1.3.0-rc.2
NuGet\Install-Package PosInformatique.Foundations.Emailing.Mailjet -Version 1.3.0-rc.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PosInformatique.Foundations.Emailing.Mailjet" Version="1.3.0-rc.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="PosInformatique.Foundations.Emailing.Mailjet" Version="1.3.0-rc.2" />
<PackageReference Include="PosInformatique.Foundations.Emailing.Mailjet" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add PosInformatique.Foundations.Emailing.Mailjet --version 1.3.0-rc.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: PosInformatique.Foundations.Emailing.Mailjet, 1.3.0-rc.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package PosInformatique.Foundations.Emailing.Mailjet@1.3.0-rc.2
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=PosInformatique.Foundations.Emailing.Mailjet&version=1.3.0-rc.2&prerelease
#tool nuget:?package=PosInformatique.Foundations.Emailing.Mailjet&version=1.3.0-rc.2&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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.
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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- Mailjet.Api (>= 4.0.0)
- Microsoft.Extensions.Http (>= 10.0.0)
- PosInformatique.Foundations.Emailing (>= 1.3.0-rc.2)
-
net8.0
- Mailjet.Api (>= 4.0.0)
- Microsoft.Extensions.Http (>= 8.0.0)
- PosInformatique.Foundations.Emailing (>= 1.3.0-rc.2)
-
net9.0
- Mailjet.Api (>= 4.0.0)
- Microsoft.Extensions.Http (>= 9.0.0)
- PosInformatique.Foundations.Emailing (>= 1.3.0-rc.2)
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.4 | 0 | 10/24/2026 |
| 1.4.0-rc.3 | 88 | 10/14/2026 |
| 1.4.0-rc.2 | 80 | 10/6/2026 |
| 1.4.0-rc.1 | 61 | 10/5/2026 |
| 1.3.0 | 121 | 10/2/2026 |
| 1.3.0-rc.4 | 80 | 9/29/2026 |
| 1.3.0-rc.3 | 70 | 9/28/2026 |
| 1.3.0-rc.2 | 70 | 9/25/2026 |
1.3.0
- Initial release with Mailjet Emailing provider.