There is no license information available for the latest version (1.0.3) of this package.

Simple Craft plugin for subscribing to a Mailjet list.

1.0.3 2019-07-15 09:45 UTC

This package is auto-updated.

Last update: 2023-05-14 14:41:35 UTC


Simple Craft plugin for subscribing to a Mailjet list.


This plugin requires Craft CMS 3.0.0 or later.


In the plugin settings you have to set

  • Public API key
  • Private API key
  • List ID you want to use (currently you have to use the same list in all forms)


The plugin consists of a controller function that needs an email address, which it then passes on to the mailjet service to handle subscribing. Post your subscription form to mailjet-subscribe/list/subscribe like the example below:

<form class="form" method="POST">
    {{ csrfInput() }}
    <input type="hidden" name="action" value="mailjet-subscribe/list/subscribe">
    <input type="email" id="email" name="email" required value="{% if (mailjetSubscribe is defined) and (not mailjetSubscribe.success) %}{{ }}{% endif %}">
    <input type="submit" value="Subscribe">