Learn how to create, update ir delete a message template.
You can create your own message template:
You can use variables to add dynamic content to your message template Subject and Content parts. For example, you can add user's name to create personalized course invitation.
Variable | Description |
---|---|
%%recipient_username%% | Recipient's Username (require recipient object) |
%%recipient_fullname%% | Recipient's Full name (require recipient object) |
%%recipient_prefix%% | Recipient's Degree (require recipient object) |
%%recipient_name%% | Recipient's First name (require recipient object) |
%%recipient_middlename%% | Recipient's Middle name (require recipient object) |
%%recipient_surname%% | Recipient's Last name (require recipient object) |
%%recipient_email%% | Recipient's Email (require recipient object) |
%%recipient_job_title%% | Recipient's Job title (require recipient object) |
%%recipient_code%% | Recipient's Code (require recipient object) |
%%recipient_phone_1%% | Recipient's Phone 1 (require recipient object) |
%%recipient_phone_2%% | Recipient's Phone 2 (require recipient object) |
%%recipient_fax%% | Recipient's Fax (require recipient object) |
%%recipient_web%% | Recipient's Web (require recipient object) |
%%certificate_name%% | Name of the certificate (require certificate object) |
%%certificate_valid_to%% | Certificate validity (require certificate object) |
%%certificate_link%% | Link to view certificate (require certificate object) |
%%course_name%% | Name of the course (require course object) |
%%course_valid_from%% | Course start date (require course object) |
%%course_valid_to%% | Course end date (require course object) |
%%course_link%% | Course link (require course object) |
%%data%% | Message submitted via online form (require form post method data object) |
Message template Subject and Content can be localized using localization strings.
Use any existing localization string in the format: %%_your_localization_string_%%
Output language is based on recipient's current user language preferences. If the recipent has no LMS account, LMS default language is used.
To edit or delete a page you must be either owner or has edit permission.
To edit custom message template:
To delete custom message template:
There are several ready made message templates.
Hello,
the certificate expires:
%%Certificate expiry date%%
%%Link to the certificate%%
Email sent via the contact form on your website.
%%Message from sender%%
Your message has been received. Thank you for your interest. We will contact you as soon as possible.
Hello,
the course begins:
%%Course start date%%
%%Link to the course%%
Username: %%Username%%
Do not have you password yet? Reset the password to get new one.
Hello,
the course ends:
%%Course expiry date%%
%%Link to the course%%
Username: %%Username%%
Do not have you password yet? Reset the password to get new one.
%%_eml_tpl_user_invitation_content_1_%% %%portal_name%% (Hello, you have been invited to the e-learning: Training Site)
%%_eml_tpl_user_invitation_content_2_%% (Custom message)
%%accept_link%% (Link to accept the invite)
%%_username_%%: %%user_login%% (Username: Username value)
%%_password_%%: %%user_password%% (Password: You will set your password in the next step / specific password)
Hello,
you have been invited to course:
%%Course name%%
%%Link to the course%%
Username: %%Username%%
Do not have you password yet? Reset the password to get new one.
Click on the following links to view the report:
%%Link to report 1%%
%%Link to report 2%%
Please confirm the generation of a new password for your account by clicking on the following link:
%%Password reset link%%
At your request, we are sending you a new password:
%%New password%%
Your registration was successful. Thank you.
Login: %%entered value%%
First name: %%entered value%%
Last name: %%entered value%%
E-mail: %%entered value%%
Username: %%entered value%%
Password: %%entered value%%
Password again: %%entered value%%
Privacy policy: %%entered value%%