Mailjet Plugin Settings
To configure the Mailjet plugin, click on ‘Settings’ from the Plugins page,
or select ‘Mailjet’ → ‘Settings’ from your WordPress menu.
The top of the Mailjet Settings page shows an overview of the setting up and using the Mailjet Plugin:
If you do not already have a Mailjet account, now is the time to sign up for one. Simply click on the ‘Create your Mailjet account’ link on the Mailjet Settings page or click here to go to Mailjet directly.
Let’s go through the options on the Mailjet Settings Page.
In the API Settings section, enter your Mailjet API Key and Secret Key information. To view your API Key Information, click on the ‘your Mailjet account’ link.
The first option in the ‘General Settings’ section allows to you enable emails to be sent via Mailjet. By using Mailjet’s SMTP relay to send your WordPress emails, you take advantage of Mailjet’s optimized email deliverability as well as gain the ability to track what happens to those emails (opens, clicks, bounces, blocks, etc.) in real-time on your Mailjet Stats page.
Please enable the checkbox now. This will allow your transactional emails to pass through using the SMTP credentials you have set up in Mailjet, improving their deliverability.
Next, set the port that will be used to send your emails via the SMTP relay. By default, we recommend using port 25. However some ISPs may block port 25, so try using port 587, or 465 (with SSL enabled) in case you have trouble with port 25. You can find this port information on your Mailjet SMTP Settings page.
If you wish, you can send a test email (fill in the ‘recipient’ and ‘from’ email addresses).
Subscribe WordPress Users to Mailjet Lists¶
The ‘Subscribe WordPress Users’ section allows you to transfer your WordPress user details to a Mailjet contact list. You have two options - to subscribe existing users, and to automatically subscribe new ones.
Subscribe Existing Users¶
To transfer existing users you need to choose a contact list from the ‘Subscribe existing users to this list’ drop-down menu and click on ‘Save options’. The contacts will be copied, the users’ email addresses and registered names will be added as contact properties (‘first_name’ and ‘last_name’) and a new ‘wp_user_role’ contact property will be added as well. The user role property will allow you to segment your contacts and target only certain users with marketing campaigns - e.g. only send them to accounts marked in WordPress as Subscribers.
You can create new contact lists in the Mailjet plugin’s ‘Lists’ section by clicking on ‘Create a contact list’.
After transferring existing WordPress users to a contact list, the drop-down menu will automatically change to ‘Disable initial sync’. This is done to avoid unnecessary accidental syncs, whenever you go to update your Mailjet Settings. A note will be displayed above the menu, explaining when the last sync of existing users occurred.
Subscribe New Users¶
To transfer new users, you again need to select a contact list, this time from the ‘Auto subscribe new users to this list’ drop-down menu, then click on ‘Save options’. If you have decided not to import your existing contacts, the ‘wp_user_role’ contact property will be created when the first new user is created and migrated to the contact list.
If you do not want to subscribe your WordPress users to any Mailjet lists, then from the drop-down menus choose the ‘Disable initial sync’ and ‘Disable autosubscribe’ options, respectively.
Subscribe Comment Authors to Mailjet Lists¶
The ‘Subscribe comment authors’ option activates a checkbox in the ‘Leave a reply’ form.
If the comment author ticks the checkbox, after submitting the reply they will receive an automatic email asking them to subscribe. They will need to click on a link within the email to complete the subscription process.
The last section is the Access Settings where you can set the user roles for this plugin. Of course, your role is set as the Administrator and cannot be changed. For more information about these user roles, please visit the WordPress Roles and Capabilities page.
Click on the ‘Save options’ button to save all your changes.
Congratulations on configuring your Mailjet WordPress plugin!
Using the Mailjet Plugin from Multiple Locations¶
When you initially save your Mailjet Plugin Settings (see above), the WordPress plugin will save the plugin configuration and link it to the IP address it has been made from. As a result of this, afterwards it is possible to access the Lists, Campaigns and Stats pages only from this IP address.
The good news is that a new “token” + “IP address” pair is generated every time the settings are saved, and all pairs are active simultaneously. So in order to use the Mailjet plugin from a different location / IP Address, you simply need to go to the ‘Settings’ section of the plugin and click on ‘Save options’ without changing anything. This will generate a new “token” + “IP address” pair, allowing you to access the Lists / Campaigns / Statistics from the new location or computer.