Skip to content

robuust/craft-mailjet

Repository files navigation

Mailjet for Craft CMS icon

Mailjet for Craft CMS

This plugin provides a Mailjet integration for Craft CMS.

Requirements

This plugin requires Craft CMS 5.0 or later.

You can install this plugin from the Plugin Store or with Composer.

From the Plugin Store

Go to the Plugin Store in your project’s Control Panel and search for “Mailjet”. Then click on the “Install” button in its modal window.

With Composer

Open your terminal and run the following commands:

# go to the project directory
cd /path/to/my-project.test

# tell Composer to load the plugin
composer require robuust/craft-mailjet

# tell Craft to install the plugin
./craft install/plugin mailjet-adapter

Setup

Once Mailjet is installed, go to Settings → Email, and change the “Transport Type” setting to “Mailjet”. Enter your Mailjet API Key and API Secret and click Save.

Tip: The API Key and API Secret settings can be set to environment variables. See Environmental Configuration in the Craft docs to learn more about that.