Skip to main content

MailPoet

The MailPoet add-on allows you to automatically login users from the newsletter sent by MailPoet into a WordPress website using a JWT.

This add-on will generate short codes that can be used in your MailPoet templates.

Download

Short Code parameters

  • text : The text for the link
  • class: Class added for the link
  • style: Custom CSS added to the link
  • validity: The Valability of the JWT. Default value is one week
  • authCode: Auth Code that is required by Autologin. You will find this in Simple-JWT-Login plugin -> Auth Codes
  • redirectUrl: This URL will overwrite the SimpleJWTLogin settings, and it will specify where users will be redirected after autologin.
[custom:simple-jwt-login text="Login" class="myClassName" style="color:red;" validity="604800" authCode="1" redirectUrl="https://simplejwtlogin.com"]

Installation

  1. Download the add-on from https://wordpress.org/plugins/simple-jwt-login-mailpoet/
  2. Activate the plugin
  3. Generate a short-code
  4. Insert the shortcode in your email templates

Screenshots

Configuration

Email Template

Email preview