Email templates

You must configure your own email provider using a third-party service (such as Amazon SES, Mandrill, SendGrid, SparkPost, Mailgun, or a custom SMTP provider) to be able to customize your emails.

You can only use one template for each template type. JFramework does not support plaintext/text-based emails.

You can customize the Subject, and the Message body for each email template. You can use Liquid Syntax to dynamically generate content, with access to a number of contextual variables that will be replaced with the relevant values when rendering the email messages.

Common variables

You can access the following common variables when using Liquid Syntax in the Subject, and Message fields:

  • The brand object, with access to the standard client properties like

    • brand.name

    • brand.code

    • brand.abbr

    • brand.description

    • brand.logo

    • brand.email_support

    • brand.email_support_title

    • brand.system_email

    • brand.system_email_title

  • The user object, with access to the following properties:

    • user.username

    • user.name

    • user.full_name

    • user.first_name

    • user.last_name

    • user.nick_name

    • user.email_address

    • user.expiry_date

  • The license object, with access to the following properties:

    • license.code

URL lifetime

The Verification Email, Change Password and Blocked Account Email contain links which allow users to verify their email address when signing up, confirm their password change, or unblock a blocked account respectively.

Last updated

Was this helpful?