Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

MailjetAPI

280 sites Security covered
View on drupal.org

This module integrates Drupal with the Mailjet email service for sending emails via the Mailjet API. It offers a basic Mail Plugin that utilizes the official Mailjet SDK.

This module provides integration with the Mailjet email service. It provide a simple Mail Plugin which permit to send emails with a request http on the Mailjet API webservice.

The module uses Mailjet Official SDK for sending emails with the send API v3.1.

This is not an official module sponsored by Mailjet. If you are looking for a complete integration with Mailjet service, please checkout the official module page.

Why this module ?

Where as I was looking for sending emails with the Mailjet Send API v3.1, unfortunatly the official module doesn't provide such feature and is more centered about all the services provided by MailJet (Campaign, Contact, etc.). I was looking for a simple integration of the Mail Manager service with the Mailjet API.

Requirements

You need a Mailjet account for using this module.

Installation

Install the module with composer. This will download automatically the required dependencies.
composer require drupal/mailjet_api ^1.0

Configuration

  • Configure your public and secret API key in the module administration settings form.
  • Enable the few options availables as you need (cron, use theme key, sandbox mode, embed image, etc).
  • Configure Mail system module to use the Mailjet API Mailer to format and/or send emails. You can configure Mail System globally or for a specific module / key.
  • Test your intégration with the testing form.

Cf. screenshots.

Use case

This module could play nice with local solutions managing newsletters and subscriptions as the simplenews module, but if you wanted to use a webservice to send emails. It could be use too for any transactional email, or any email sent by your Drupal 8 site.

Activity

Total releases
3
First release
Feb 2025
Latest release
1 month ago
Releases (12 mo)
1 ▼ from 2
Maintenance
Active

Release Timeline

Releases

Version Type Release date
8.x-1.6 Stable May 20, 2026
8.x-1.5 Stable Feb 19, 2025
8.x-1.4 Stable Feb 19, 2025