- Introduction
- Requirements
- Installation
- Configuration
- Author
This plugin enable Mautic 5 to run Mailjet as a email transport.
- Mautic 5.x (minimum 5.1)
- PHP 8.0 or higher
- Get the plugin using
composer require leuchtfeuer/mautic-mailjetadapter-bundle
- Install it using
php bin\console mautic:plugins:reload
. - The plugin will start listing on plugin page.
This plugin provide two transports,
- SMTP Relay: The best and fastest way to use the SMTP Relay is to have your own local mail server relaying messages to the Mailjet SMTP.
- Email API: The Mailjet API is organized around REST. For more visit Send API v3.1.
DSN (Data Source Name) | |
---|---|
SMTP Relay | 'mailer_dsn' => 'mautic+mailjet+smtp://<apiKey>:<secretKey>@default:465', |
Email API | 'mailer_dsn' => 'mautic+mailjet+api://<apiKey>:<secretKey>@default:465', |
Follow the steps to set up Mailjet DSN,
- Navigate to Configuration (/s/config/edit>)
- Scroll to Email Settings
- Update the following fields leaving rest default or empty,
Field | Value |
---|---|
Scheme | mautic+mailjet+smtp or mautic+mailjet+api |
Host | default |
Port | 465 |
User | <apiKey> |
Password | <secretKey> |
The <apiKey>
and <secretKey>
will be used for authentication purposes. Please visit the Mailjet Guide
On the Configuration page Email DSN should look like
- Create a Mailjet account
- Then retrieve your API and Secret keys. They will be used for authentication purposes.
- Set up the webhook hook for event tracking from your account preferences, in the Event Tracking section. The webhook URL should be
https://<your-domain.tld>/mailer/callback
.
Leuchtfeuer Digital Marketing GmbH
Please raise any issues in GitHub.
For all other things, please email [email protected]