Identity.Base.Email.MailJet 0.5.10

There is a newer version of this package available.
See the version list below for details.
dotnet add package Identity.Base.Email.MailJet --version 0.5.10
                    
NuGet\Install-Package Identity.Base.Email.MailJet -Version 0.5.10
                    
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="Identity.Base.Email.MailJet" Version="0.5.10" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Identity.Base.Email.MailJet" Version="0.5.10" />
                    
Directory.Packages.props
<PackageReference Include="Identity.Base.Email.MailJet" />
                    
Project file
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 Identity.Base.Email.MailJet --version 0.5.10
                    
#r "nuget: Identity.Base.Email.MailJet, 0.5.10"
                    
#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 Identity.Base.Email.MailJet@0.5.10
                    
#: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=Identity.Base.Email.MailJet&version=0.5.10
                    
Install as a Cake Addin
#tool nuget:?package=Identity.Base.Email.MailJet&version=0.5.10
                    
Install as a Cake Tool

Identity.Base.Email.MailJet

Optional Mailjet integration for Identity Base. This package provides:

  • MailJetEmailSender, an ITemplatedEmailSender implementation that dispatches transactional emails via Mailjet.
  • MailJetOptions, MailJetTemplateOptions, and MailJetErrorReportingOptions configuration types.
  • Extension methods to register the sender for both raw IServiceCollection scenarios (AddMailJetEmailSender) and the IdentityBaseBuilder fluent API (UseMailJetEmailSender).

Getting Started

  1. Add the package to your host:
    dotnet add package Identity.Base.Email.MailJet
    
  2. Register the sender when configuring services:
    builder.Services.AddMailJetEmailSender(builder.Configuration);
    // or if you already have an IdentityBaseBuilder instance
    identityBuilder.UseMailJetEmailSender();
    
  3. Configure the MailJet section in your appsettings (keys shown with example values):
    {
      "MailJet": {
        "Enabled": true,
        "ApiKey": "your-mailjet-api-key",
        "ApiSecret": "your-mailjet-api-secret",
        "FromEmail": "noreply@example.com",
        "FromName": "Identity Base",
        "Templates": {
          "Confirmation": 1000000,
          "PasswordReset": 1000001,
          "MfaChallenge": 1000002
        },
        "ErrorReporting": {
          "Enabled": true,
          "Email": "identity-alerts@example.com"
        }
      }
    }
    

If MailJet.Enabled is false the sender becomes a no-op, allowing you to disable outbound email in lower environments without changing code.

See docs/guides/mailjet-email-sender.md in the repository root for configuration guidance, template setup, and troubleshooting tips.

Product Compatible and additional computed target framework versions.
.NET 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 was computed.  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.

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
0.7.12 39 12/30/2025
0.7.9 280 12/17/2025
0.7.7 190 12/3/2025
0.7.6 191 11/26/2025
0.7.5 308 11/14/2025
0.7.4 286 11/13/2025
0.7.3 263 11/10/2025
0.7.2 197 11/9/2025
0.7.1 137 11/9/2025
0.6.3 142 11/8/2025
0.6.2 140 11/8/2025
0.6.1 191 11/6/2025
0.5.10 185 11/5/2025
0.5.1 190 11/2/2025
0.4.3 163 11/2/2025
0.4.2 161 11/2/2025
0.3.6 125 11/1/2025
0.3.4 126 11/1/2025