EmailTemplates module


About

Use this module to set up email templates that will be sent out to users. 

Ensure there are no Access Control Profiles set up for specific domains. The video portal uses four types of email templates for registration:

  • registrationEmailTemplates (verification mail)
  • confirmationEmailTemplates (confirmation mail)
  • passwordEmailTemplates (reset password mail)
  • passwordConfirmEmailTemplates (password updated successfully)

All emails support the following tokens: {FIRSTNAME} {LASTNAME} {COMPANY} {COUNTRY} {EMAIL} {URL} {QRCODE}. You can add a template for each language by clicking +addRegistrationTemplate.

Configure

1. Go to your Configuration Management console, and click the EmailTemplates module. You can also navigate directly using a link: https://{your_KMS_URL}/admin/config/tab/emailtemplates.

The EmailTemplates module page displays.

2. Configure the following:

+Add "template" - Click to add a template per local code. Configuring this section adds localized versions of a specific email template. 

templateName - Enter a template name that will be used to identify the template, for example: Confirm registration and set password.

localizedTemplate - Templates for a specific locales. When no locale fits - the template for En (English) is used. 

languageCode - Select the language of the email from the drop-down menu. The default is English (En), and is used when no other selection fits. 

subject - Type in the email subject line, for example, Confirm registration and set password.

body - Type in the email body in html. This field supports custom tokens from the language module, and also the following local tokens: {FIRSTNAME} {LASTNAME} {TITLE} {COMPANY} {COUNTRY} {EMAIL} {URL} {QRCODE}

You can use an HTML editor of your choice, such as Create a New Pen or W3Schools online HTML editor

bodyAsText - This is for calendar invites only. The body of the invite, displayed in the email, supports HTML formatting. However, the bodyAsText field should be plain text without any HTML, as it appears in the calendar invite itself. Tokens can still be used, as shown in the example below:

The siteRegistration module is further configured to support this type of invitation.

If you are using the emailLogin module, you can use {MAGICLINK} as an authentication link to the site and {MAGICLINK}&ref=[relative path] to link to a specific URL.

3. Click Save.

HTML examples used in the body of the email

Confirm registration and set password

Hi {FIRSTNAME} {LASTNAME} <br><br>

Click on the <a href={URL}> following link</a> to confirm your account registration and to set your password. <br> 

{URL}<br><br>

Thank you!

Registration complete

Hi {FIRSTNAME} {LASTNAME} <br><br>

Thank you for registering for the KMS. <br>

Please log into the <a href="{URL}"> KMS </a> <br><br>

Thanks!

Reset your password  

Please <a href="{URL}"> click here </a> to reset your password <br><br>

Please note:  This link will expire after 30 minutes. <br><br>

Reset password confirmation

Hi {FIRSTNAME} {LASTNAME} <br><br>

Your password has been reset <br>

Please login to the <a href="{URL}"> KMS </a><br>

Thanks!


Was this article helpful?
Thank you for your feedback!
User Icon

Thank you! Your comment has been submitted.

In This Article
Related Articles
Back to top

Never miss a thing!

Subscribe to our customer newsletter and our release notes updates, so you always get the best out of Kaltura.
Newsletter