A simple Mailjet integration for WordPress.
Integration for Mailjet unlike any other. Aims to be simple, lightweight, robust and customizable.
Consult the wiki or open an issue if you have questions.
After cloning this repository you can get started after 2 easy steps.
-
Add a template
After you have created your transactional template, add the confirmation link variable (
{{var:confirmationlink:""}}
) to it. -
Add shortcode
Add
[mailjet_integration]
anywhere to see the subscription form.
So far the following shortcodes are available.
-
[mailjet_integration]
The subscription form
-
[mailjet_integration_response]
The response after clicking the confirmation link. Put this in your Success/Failure pages.
So far the following variables are available and can be used in your transactional Mailjet templates.
-
confirmationlink
The link to confirm a subscribers e-mail address.
-
approximatename
The subscribers name guessed, based on the e-mail address. Currently the part before the
@
is used.Example: john.doe@domain.tld would extract
john.doe
and use it to greet the subscriber.
Integration for Mailjet works with:
Install dependencies with composer.
composer install
And/or help translate the app on Hosted Weblate
We are using the WordPress coding standard.
For a full list of all contributers please see Contributors.