# Email Templates

## Overview of Email Templates

On the settings page, you can find all the email templates you have on your website. By expanding them you will find some settings to adjust.  Switch the tabs to set up the required template.

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2FScuLBipo0HkEdlrTLA2m%2Fimage.png?alt=media&#x26;token=58fe8111-5167-450a-a516-9f0d99eede82" alt=""><figcaption></figcaption></figure>

Each email template consists of:

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2Fy5wrBbpBrc8mq5Yw32rA%2Fimage.png?alt=media&#x26;token=54706118-9131-4c1e-8fa5-71690ae15d3c" alt=""><figcaption></figcaption></figure>

* **Condition - a** condition under which the email will be sent. You can disable it using the toggle, preventing emails from being sent under this condition.
* **Subject -** the subject line of the email.
* **Main Content Editor** - **WYSIWYG** (What You See Is What You Get) editor that gives you different options to style your text. There is an option to switch to an **HTML editor** using the <kbd>**<>**</kbd> button.&#x20;
* **Smart Tags -** shortcodes that the system will replace while email is sending. For example `{{current_date}}` smart tag will be replaced by the date on which this email is being sent.
* **Send Test Email** - special button to send test email to admin.

{% hint style="success" %}
Smart **Tags** can be used both in the **Main Email Body** as well as **Email Subject.**&#x20;
{% endhint %}

In addition to the <kbd>Add Smart Tag</kbd> button, you can type <kbd>{</kbd> symbol, and the system automatically displays the available smart tags that you can use in the main content or email subject:&#x20;

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2FJsFaN5b6AxL3rPwJXl1w%2Fimage.png?alt=media&#x26;token=62a460f1-db11-4059-848f-97db9ebf937b" alt=""><figcaption></figcaption></figure>

## Email Templates

Email templates for MasterStudy LMS have been organized into several tabs according to recipients and System Notifications.  &#x20;

### Emails to Admin

On this tab, all emails sent to the admin under different conditions can be managed.

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2Foqwl6fmNU9Iqpumrt2i4%2Fimage.png?alt=media&#x26;token=e13b7ed5-6ffc-4103-963a-fa242633f38f" alt=""><figcaption></figcaption></figure>

Here is the list of email templates for the current tab:

<table data-full-width="true"><thead><tr><th width="241">Template Name</th><th width="455">Condition</th><th>Smart Tags</th></tr></thead><tbody><tr><td>New User Signed Up </td><td>Sent when there is a new successfull user registration. It has been sent after the user activates his account if <a href="../../../lms-settings/profiles/authorization#enable-e-mail-confirmation"><strong>Email Confirmation</strong></a> is enabled.</td><td><ul><li><code>{{user_login}}</code> – login of the user on your website</li><li><code>{{user_email}}</code> – email of the user registered on your website</li><li><code>{{registration_date}}</code> – date of registration</li><li><code>{{blog_name}}</code> – title of your website</li><li><code>{{site_url}}</code> - URL of the website</li></ul></td></tr><tr><td>New Course Action by Instructor</td><td>Sent when an instructor adds a new course.</td><td><ul><li><code>{{action}}</code> – added or updated action by instructor</li><li><code>{{user_login}}</code> – instructor login</li><li><code>{{course_title}}</code> – title of the course</li><li><code>{{blog_name}}</code> - title of the website</li><li><code>{{site_url}}</code> - URL link of the website</li><li><code>{{date}}</code> - date when the instructor added the course</li><li><code>{{dashboard_url}}</code> - URL link to the admin dashboard</li><li><code>{{course_edit_url}}</code> - URL link to edit the course</li><li><code>{{course_url}}</code> - URL link of the course</li></ul></td></tr><tr><td>Course Assigned to Student</td><td>Sent when a course is added to a user.</td><td><ul><li><code>{{course_title}}</code> – course title</li><li><code>{{login}}</code> – student login</li><li><code>{{date}}</code> - issue date of  the event</li><li><code>{{site_url}}</code> - URL link of the website</li><li><code>{{blog_name}}</code> – title of the website</li><li><code>{{course_url}}</code> - URL link of the course</li></ul></td></tr><tr><td>New Order Notification</td><td>Sent when a new <a href="../../lms-course-features/orders"><strong>order</strong></a> is placed.</td><td><ul><li><code>{{user_login}}</code> – student login</li><li><code>{{student_email}}</code> - email address of the student</li><li><code>{{site_url}}</code> - URL of the website</li><li><code>{{blog_name}}</code> – title of the website</li><li><code>{{date}}</code> - issue date of  the event</li></ul><p><strong>Additional Settings of the Template</strong></p><ul><li><strong>Date</strong> - inserts order creation date</li><li><strong>Order ID</strong> - inserts a unique Order ID</li><li><strong>Title</strong> - inserts the system-generated title</li><li><strong>Items List</strong> - list of courses, bundles, or group courses included in the order</li><li><strong>Customer Section</strong> - purchaser's info</li><li><strong>Button</strong> - a button redirects to check the full info about the order</li></ul></td></tr><tr><td>Course Assigned to Student with Membership</td><td>Sent when a course is added via <a href="../../additional-features/membership-system"><strong>membership plan.</strong></a></td><td><ul><li><code>{{course_title}}</code> – course title</li><li><code>{{membership_plan}}</code> – plan name</li><li><code>{{login}}</code> - login of the student</li><li><code>{{date}}</code> - issue date of  the event</li><li><code>{{site_url}}</code> - URL link of the website</li><li><code>{{blog_name}}</code> – title of the website</li><li><code>{{course_url}}</code> - URL link of the course</li></ul></td></tr><tr><td>Instructor Application Submitted<mark style="color:red;"><strong>*</strong></mark></td><td>Sent when a user submits the <a href="../lms-form-editor"><strong>Become an Instructor form.</strong></a></td><td><ul><li><code>{{user_login}}</code> – user login</li><li><code>{{user_id}}</code> – user ID</li><li><code>{{user_email}}</code> – email of the user</li><li><code>{{blog_name}}</code> - title of the website</li><li><code>{{site_url}}</code> - URL link of the website</li><li><code>{{date}}</code> – application date</li><li><code>{{degree}}</code> – user’s degree</li><li><code>{{expertise}}</code> – field of expertise</li></ul></td></tr><tr><td>New Enterprise Request</td><td>Sent when a user submits an enterprise request form.</td><td><ul><li><code>{{name}}</code> – name of the student</li><li><code>{{email}}</code> – email of the user</li><li><code>{{text}}</code> – message from the user</li><li><code>{{date}}</code> – request submission date</li><li><code>{{blog_name}}</code> - title of your website</li><li><code>{{site_url}}</code> — URL link of your website</li></ul></td></tr><tr><td>Weekly/Monthly Summary Reports<mark style="color:red;"><strong>**</strong></mark></td><td>This condition sends emails to the admin to notify about the courses and their progress, revenue, reviews, and engagement on the platform. The email type is recurring, which means that the system will send an email to the admin according to the time setting that you set here:</td><td><ul><li><code>{{instructor_name}}</code> – name of the instructor</li><li><code>{{analytics_url}}</code> – URL that redirects to Analytics page</li><li><code>{{date}}</code> – request submission date</li><li><code>{{blog_name}}</code> - title of your website</li><li><code>{{site_url}}</code> — URL link of your website</li></ul><p><strong>Additional Settings of the Template</strong></p><ul><li><strong>Frequency</strong> - set the frequency of the recurring email. Available options are weekly and monthly.</li><li><strong>Day of the week</strong> - choose which day of the week is the most suitable to send the email.  </li><li><strong>Time</strong> - choose the time of the day that the emails should be sent.</li><li><strong>Title</strong> - enter the subject of the email.</li><li><strong>Message</strong> - enter your introduction message that will be displayed before the analytics.</li></ul></td></tr></tbody></table>

*<mark style="color:red;">**\***</mark>fields of the **Become Instructor Form** may differ based on your setup in* [***LMS Forms Editor***](https://docs.stylemixthemes.com/masterstudy-lms/lms-pro-addons/lms-form-editor)***.***\
\&#xNAN;*<mark style="color:red;">**\*\***</mark>Analytics for the email will be automatically added by the system.*&#x20;

### Emails to Instructors

On this tab, all emails sent to the admin under different conditions can be managed.

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2Fjhb6KOqnLcMuHYPdlFVI%2Fimage.png?alt=media&#x26;token=8143dbb8-f21a-4677-a5d6-d0a036336844" alt=""><figcaption></figcaption></figure>

Here is the list of email templates for the current tab:

<table data-full-width="true"><thead><tr><th width="240">Template Name</th><th width="436">Condition</th><th>Smart Tags</th></tr></thead><tbody><tr><td>Instructor's Course Published</td><td>Sent when a course created by the instructor is published.</td><td><ul><li><code>{{course_title}}</code> – title of the course</li><li><code>{{blog_name}}</code> - title of the website</li><li><code>{{site_url}}</code> - URL link of the website</li><li><code>{{date}}</code> - date when the course is published and accessible to students</li><li><code>{{course_edit_url}}</code> - URL link to edit the course</li><li><code>{{course_url}}</code> - URL link of the course</li></ul></td></tr><tr><td>New Q&#x26;A Message from Student</td><td>Sent when a new comment is posted in the lesson's <strong>Discussion</strong> section by a student. </td><td><ul><li><code>{{user_login}}</code> – student login</li><li><code>{{comment_content}}</code> – a message content left by the student</li><li><code>{{lesson_title}}</code> – title of the lesson comment has been published</li><li><code>{{course_title}}</code> – title of the course comment has been published</li><li><code>{{course_url}}</code> - URL link of the course</li><li><code>{{blog_name}}</code> – the title of your website</li><li><code>{{site_url}}</code> - URL link of the website</li><li><code>{{date}}</code> - date when the message has been sent</li></ul></td></tr><tr><td>New Order Notification</td><td>Sent to instructor when students buys his course or course bundle succesfully.</td><td><ul><li><code>{{user_login}}</code> – student login</li><li><code>{{site_url}}</code> - URL of the website</li><li><code>{{student_email}}</code> - email address of the student</li><li><code>{{blog_name}}</code> – title of the website</li><li><code>{{date}}</code> - issue date of  the event</li></ul><p><strong>Additional Settings of the Template</strong></p><ul><li><strong>Date</strong> - inserts order creation date</li><li><strong>Order ID</strong> - inserts a unique Order ID</li><li><strong>Title</strong> - inserts the system-generated title</li><li><strong>Items List</strong> - list of courses, bundles, or group courses included in the order</li><li><strong>Customer Section</strong> - purchaser's info</li><li><strong>Button</strong> - a button redirects to check the full info about the order</li></ul></td></tr><tr><td>Quiz Completed</td><td>Sent when a student completes a quiz.</td><td><ul><li><code>{{user_login}}</code> – student login</li><li><code>{{course_title}}</code> – course title</li><li><code>{{quiz_name}}</code> – quiz name</li><li><code>{{quiz_result}}</code> - final result of the quiz</li><li><code>{{quiz_completion_date}}</code> - date when student completed the quiz</li><li><code>{{site_url}}</code> - URL link of the website</li><li><code>{{blog_name}}</code> – title of the website</li><li><code>{{quiz_url}}</code> - URL link of the quiz</li></ul></td></tr><tr><td>A Student Completed Course</td><td>Sent when student completes the course succesfully.</td><td><ul><li><code>{{user_login}}</code> – student login</li><li><code>{{course_title}}</code> – course title</li><li><code>{{course_url}}</code> – URL link of the course</li></ul></td></tr><tr><td>Lesson completion notification</td><td>Sent when student completes a lesson successfully.</td><td><ul><li><code>{{user_login}}</code> – student login</li><li><code>{{lesson_title}}</code> – title of the lesson comment has been published</li><li><code>{{course_title}}</code> – title of the course comment has been published</li><li><code>{{course_url}}</code> - URL link of the course</li><li><code>{{blog_name}}</code> – the title of your website</li><li><code>{{site_url}}</code> - URL link of the website</li><li><code>{{date}}</code> - date when the message has been sent</li></ul></td></tr><tr><td>New Course Enrollment</td><td>Sent when student enrolled to the instructor's course</td><td><ul><li><code>{{user_login}}</code> - the login of the instructor</li><li><code>{{course_title}}</code> - title of the course that has a new  enrollment</li><li><code>{{date}}</code> - date of enrollment</li></ul></td></tr><tr><td>New Assignment Submission</td><td>Sent when a new assignment is submitted by a student.</td><td><ul><li><code>{{user_login}}</code> – student login</li><li><code>{{course_title}}</code> – title of the  course that the student completed an assignment</li><li><code>{{assignmentn_title}}</code> – title of the assignment in the course</li><li><code>{{date}}</code> - issue date of  the event</li><li><code>{{site_url}}</code> - URL link of the website</li><li><code>{{blog_name}}</code> – title of the website</li></ul></td></tr><tr><td>Course rejection notification</td><td>Sent when instructor's course rejectted by admin. Email will be active if <a href="../../../lms-settings/profiles#enable-course-pre-moderation"><strong>Course Premodedration</strong></a> setting is enabled.</td><td><ul><li><code>{{admin_email}}</code> – email address of admin to contact</li><li><code>{{course_title}}</code> – title of the rejected course</li><li><code>{{date}}</code> - issue date of  the event</li><li><code>{{site_url}}</code> - URL link of the website</li><li><code>{{blog_name}}</code> – title of the website</li></ul></td></tr><tr><td>Weekly/Monthly Summary Reports</td><td>This condition sends emails to instructors to notify them about their course progress, revenue, reviews, and the engagement of their students on your platform. This email type is recurring, which means that the system will send emails to instructors according to the time settings.</td><td><ul><li><code>{{instructor_name}}</code> – name of the instructor</li><li><code>{{analytics_url}}</code> – URL that redirects to the Analytics page</li><li><code>{{date}}</code> – request submission date</li><li><code>{{blog_name}}</code> - title of your website</li><li><code>{{site_url}}</code> — URL link of your website</li></ul><p><strong>Additional Settings of the Template</strong></p><ul><li><strong>Frequency</strong> - set the frequency of the recurring email. Available options are weekly and monthly.</li><li><strong>Day of the week</strong> - choose which day of the week is the most suitable to send the email.  </li><li><strong>Time</strong> - choose the time of the day that the emails should be sent.</li><li><strong>Title</strong> - enter the subject of the email.</li><li><strong>Message</strong> - enter your introduction message that will be displayed before the analytics.</li></ul></td></tr><tr><td>Instructor Application Approved</td><td>Sent when admin <strong>approves</strong> the <strong>become instructor form</strong> submitted by user</td><td><ul><li><code>{{instuctor_name}}</code> – full name of the instructor</li><li><code>{{login_url}}</code> – URL that brings the instructor to the sign-in page</li><li><code>{{blog_name}}</code> – the title of your website</li><li><code>{{admin_comment}}</code> - the comment has been made in response to the request by the admin</li><li><code>{{site_url}}</code> - URL link of the website</li><li><code>{{date}}</code> - date of approval</li></ul></td></tr></tbody></table>

### Emails to Students

On this tab, all emails sent to the admin under different conditions can be managed.

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2Fsxecz7A399ZFvQKj9ta6%2Fimage.png?alt=media&#x26;token=892cb586-c447-4671-9a2d-abe5a9919e5e" alt=""><figcaption></figcaption></figure>

Here is the list of email templates for the current tab:

<table data-full-width="true"><thead><tr><th width="273">Template Name</th><th width="419">Condition</th><th>Smart Tags</th></tr></thead><tbody><tr><td>Q&#x26;A Message Answered</td><td>Sent when there is a new reply to the question in the lesson's <strong>Discussion</strong> section</td><td><ul><li><code>{{user_login}}</code> – user login who replied</li><li><code>{{comment_content}}</code> – a message content left by the user</li><li><code>{{lesson_title}}</code> – title of the lesson comment has been published</li><li><code>{{course_title}}</code> – title of the course comment has been published</li><li><code>{{course_url}}</code> - URL link of the course</li><li><code>{{blog_name}}</code> – the title of your website</li><li><code>{{site_url}}</code> - URL link of the website</li><li><code>{{date}}</code> - date when the message has been sent</li></ul></td></tr><tr><td>Students Manually Enrolled (via Manage Students)</td><td>Sent when student has been added to the course using Manage Students tab by admin/instructor.</td><td><ul><li><code>{{username}}</code> – student login</li><li><code>{{password}}</code> – student password to sign-in</li><li><code>{{lesson_title}}</code> – title of the lesson comment has been published</li><li><code>{{course_title}}</code> – title of the course comment has been published</li><li><code>{{course_url}}</code> - URL link of the course</li><li><code>{{blog_name}}</code> – the title of your website</li><li><code>{{site_url}}</code> - URL link of the website</li><li><code>{{date}}</code> - date when the message has been sent</li></ul></td></tr><tr><td>Order Notification</td><td>Sent when a user places a new order.</td><td><ul><li><code>{{user_login}}</code> – student login</li><li><code>{{site_url}}</code> - URL of the website</li><li><code>{{blog_name}}</code> – title of the website</li><li><code>{{date}}</code> - issue date of  the event</li></ul><p><strong>Additional Settings of the Template</strong></p><ul><li><strong>Date</strong> - inserts order creation date</li><li><strong>Order ID</strong> - inserts a unique Order ID</li><li><strong>Title</strong> - inserts the system-generated title</li><li><strong>Items List</strong> - list of courses, bundles, or group courses included in the order</li><li><strong>Button</strong> - a button redirects to check the full info about the order</li></ul></td></tr><tr><td>Course Assigned</td><td>Sent when a course is added to a student's account.</td><td><ul><li><code>{{course_title}}</code> – course title</li><li><code>{{user_login}}</code> – student login</li><li><code>{{date}}</code> - issue date of  the event</li><li><code>{{site_url}}</code> - URL link of the website</li><li><code>{{blog_name}}</code> – title of the website</li><li><code>{{course_url}}</code> - URL link of the course</li></ul></td></tr><tr><td>Removed from Course</td><td>Sent when student has been removed from the course.</td><td><ul><li><code>{{user_login}}</code> – student login</li><li><code>{{instructor_name}}</code> – name of the instructor who removed a student from the course</li><li><code>{{course_title}}</code> – title of the course</li><li><code>{{date}}</code> - issue date of  the event</li><li><code>{{site_url}}</code> - URL link of the website</li><li><code>{{blog_name}}</code> – title of the website</li></ul></td></tr><tr><td>Reminder to Inactive Students</td><td>Sent when a student has not logged into the site for a specified number of days, reminding them to return and continue their learning.</td><td><ul><li><code>{{user_login}}</code> – student login</li><li><code>{{login_url}}</code> - URL link to sign in </li><li><code>{{date}}</code> - issue date of  the event</li><li><code>{{site_url}}</code> - URL link of the website</li><li><code>{{blog_name}}</code> – title of the website</li><li><code>{{inactivity_period}}</code> - number of inactive days</li></ul><p><strong>Additional Settings of the Template</strong></p><ul><li><strong>Send After (Days of Inactivity)</strong> - set the number of inactive days after which the reminder email will be sent. </li></ul></td></tr><tr><td>Student Completed Quiz</td><td>Sent when a student completes a quiz.</td><td><ul><li><code>{{user_login}}</code> – student login</li><li><code>{{course_title}}</code> – course title</li><li><code>{{quiz_name}}</code> – quiz name</li><li><code>{{quiz_result}}</code> - final result of the quiz</li><li><code>{{quiz_passing_grade}}</code> – <a href="../../../lms-course-features/quizzes#quiz-settings">passing grade</a> of the quiz</li><li><code>{{quiz_url}}</code> - URL link of the quiz</li><li><code>{{attempt_url}}</code> - URL link of the quiz attempt</li><li><code>{{attempt_number}}</code> - the order number of the quiz attempt</li><li><code>{{quiz_completion_date}}</code> - date when student completed the quiz</li><li><code>{{site_url}}</code> - URL link of the website</li><li><code>{{blog_name}}</code> – title of the website</li></ul></td></tr><tr><td>Course Completed</td><td>Sent when student comletes the course succesfully.</td><td><ul><li><code>{{user_login}}</code> - student login</li><li><code>{{course_title}}</code> - course title</li><li><code>{{course_url}}</code> - URL link of the course</li></ul></td></tr><tr><td>Course Enrollment Expired</td><td>Sent when course enrollment period of the studednt is expired. It works only in courses which is Time Limit <a data-footnote-ref href="#user-content-fn-1">enabled</a>.</td><td><ul><li><code>{{course_title}}</code> – course title</li><li><code>{{user_login}}</code> – student login</li><li><code>{{course_expiration_date}}</code> - expiration date of the course</li><li><code>{{site_url}}</code> - URL link of the website</li><li><code>{{blog_name}}</code> – title of the website</li><li><code>{{course_url}}</code> - URL link of the course</li></ul></td></tr><tr><td>Course Assigned with Membership</td><td>Sent when a user receives a course through a <a href="../../additional-features/membership-system"><strong>membership plan.</strong></a></td><td><ul><li><code>{{course_title}}</code> – course title</li><li><code>{{membership_plan}}</code> – plan name</li><li><code>{user_login}}</code> - login of the student</li><li><code>{{date}}</code> - issue date of  the event</li><li><code>{{site_url}}</code> - URL link of the website</li><li><code>{{blog_name}}</code> – title of the website</li><li><code>{{course_url}}</code> - URL link of the course</li></ul></td></tr><tr><td>New Announcement Posted</td><td>Sent when the instructor posts a new <a href="../../lms-course-features/course-announcements"><strong>course announcement.</strong></a></td><td><ul><li><code>{{mail}}</code> – content of the announcement</li><li><code>{{user_login}}</code> – instructor login</li><li><code>{{course_title}}</code> – title of the course</li><li><code>{{instuctor_name}}</code> – full name of the instructor</li><li><code>{{mail}}</code> - announcement content</li><li><code>{{course_url}}</code> - URL link of the course</li><li><code>{{blog_name}}</code> - title of the website</li><li><code>{{site_url}}</code> - URL link of the website</li><li><code>{{date}}</code> - date when the instructor published the announcement</li></ul></td></tr><tr><td>Assignment Graded</td><td>Sent when the status of a student's assignment is updated.</td><td><ul><li><code>{{date}}</code> - issue date of  the event</li><li><code>{{site_url}}</code> - URL link of the website</li><li><code>{{blog_name}}</code> – title of the website</li></ul></td></tr><tr><td>New Group Invitation</td><td>Sent when a user is invited to join a new group.</td><td><ul><li><code>{{group_name}}</code> – name of the group</li><li><code>{{admin_login}}</code> - login of the group admin who invited the student</li><li><code>{{date}}</code> - date of invitation</li><li><code>{{blog_name}}</code> - title of your website</li><li><code>{{site_url}}</code> - URL link of your website</li></ul></td></tr><tr><td>Enterprise Group Credentials Sent</td><td>Sent when a user is added to a <a href="../group-courses"><strong>group</strong> </a>with login credentials.</td><td><ul><li><code>{{username}}</code> – student's username</li><li><code>{{password}}</code> – password to access his profile</li><li><code>{{blog_name}}</code> - title of your website</li><li><code>{{site_url}}</code> – URL link of the website</li><li><code>{{login_url}}</code> – URL link that redirects to the sign-in page</li><li><code>{{date}}</code> - date of  the event</li><li><code>{{group_name}}</code> – name of the group</li><li><code>{{admin_login}}</code> - login of the group admin who invited the student</li></ul></td></tr><tr><td>New Course Assigned for Enterprise Group</td><td>Sent when a new course becomes available in the <a href="../group-courses"><strong>group</strong></a>.</td><td><ul><li><code>{{admin_login}}</code> – admin login</li><li><code>{{user_login}}</code> - student login</li><li> <code>{{group_name}}</code> – group name</li><li><code>{{blog_name}}</code> – site name</li><li><code>{{course_title}}</code> – course title</li><li><code>{{user_url}}</code>  - URL link redirects to the student profile</li><li><code>{{site_url}}</code> – URL link of the website</li><li><code>{{date}}</code> - date of  the event</li></ul></td></tr><tr><td>Removed from Enterprise Group</td><td>Sent when group admin removes the student from the <a href="../group-courses"><strong>enterprise group</strong></a>.</td><td><ul><li><code>{{admin_login}}</code> – admin login</li><li><code>{{user_login}}</code> - student login</li><li> <code>{{group_name}}</code> – group name</li><li><code>{{blog_name}}</code> – site name</li><li><code>{{site_url}}</code> – URL link of the website</li><li><code>{{date}}</code> - date of  the event</li></ul></td></tr><tr><td>Course Progress Update</td><td>Sends emails to students to notify them about their progress on your platform. This email type is recurring, which means that the system will send emails to students according to the time setting that you set.</td><td><ul><li><code>{{user_login}}</code> - student login</li><li><code>{{blog_name}}</code> – site name</li><li><code>{{site_url}}</code> – URL link of the website</li><li><code>{{date}}</code> - date of  the event</li></ul><p><strong>Additional Setting of the Template</strong></p><ul><li><strong>Frequency</strong> - set the frequency of the recurring email. Available options are weekly and monthly.</li><li><strong>Day of the week</strong> - choose which day of the week is the most suitable to send the email.  </li><li><strong>Time</strong> - choose the time of the day that the emails should be sent.</li><li><strong>Title</strong> - enter the subject of the email.</li><li><strong>Message</strong> - enter your introduction message that will be displayed before the analytics.</li></ul></td></tr><tr><td>Course Now Available for Completion</td><td>Sent when a course becomes available for completion/enroll.  The template can be activated if <a href="../upcoming-course-status"><strong>Upcoming Course Status</strong> </a>addon is enabled.</td><td><ul><li><code>{{course_title}}</code> – title of the course</li><li><code>{{date}}</code> - issue date of  the event</li><li><code>{{site_url}}</code> - URL link of the website</li><li><code>{{blog_name}}</code> – title of the website</li><li><code>{{user_login}}</code> - student login</li><li><code>{{course_url}}</code> - URL address of the course</li></ul></td></tr><tr><td>Course Available for Pre-Sale</td><td>Sent when a course is available for pre-sale. The template can be activated if <a href="../upcoming-course-status"><strong>Upcoming Course Status</strong> </a>addon is enabled.</td><td><p></p><ul><li><code>{{course_title}}</code> – title of the course</li><li><code>{{date}}</code> - issue date of  the event</li><li><code>{{site_url}}</code> - URL link of the website</li><li><code>{{blog_name}}</code> – title of the website</li><li><code>{{user_login}}</code> - student login</li><li><code>{{course_url}}</code> - URL address of the course</li><li><code>{{instructor_name}}</code> - full name of the instructor</li><li><code>{{upcoming_date}}</code> - expected pre-sale date of the course</li></ul></td></tr><tr><td>Course Start Date Updated</td><td>Sent when the start date of a course is changed.  The template can be activated if <a href="../upcoming-course-status"><strong>Upcoming Course Status</strong> </a>addon is enabled.</td><td><ul><li><code>{{course_title}}</code> – title of the course</li><li><code>{{date}}</code> - issue date of  the event</li><li><code>{{site_url}}</code> - URL link of the website</li><li><code>{{blog_name}}</code> – title of the website</li><li><code>{{user_login}}</code> - student login</li><li><code>{{course_url}}</code> - URL address of the course</li><li><code>{{instructor_name}}</code> - full name of the instructor</li><li><code>{{upcoming_date}}</code> - expected pre-sale date of the course</li></ul></td></tr><tr><td>Course Certificate Issued</td><td>Sent when students earns a certificate by completing required progress in the course.</td><td><ul><li><code>{{date}</code> – certificate achieved date</li><li><code>{{certificate_preview}}</code> – preview image of the certificate</li><li><code>{{button}}</code> – button that redirects to the<a href="../../../lms-settings/lms-pages#certificate-page"> <strong>Certificate page.</strong></a></li><li><code>{{site_url}}</code> - URL of the website</li><li><code>{{blog_name}}</code> – title of the website</li><li><code>{{date}}</code> - issue date of  the event</li><li><code>{{course_title}}</code> - title of the completed course</li><li><code>{{course_url}}</code> - URL of the course</li></ul></td></tr><tr><td>Instructor Application Rejected</td><td>Sent when admin rejects the <a href="../lms-form-editor"><strong>become instructor form</strong></a> submitted by user.</td><td><ul><li><code>{{instuctor_name}}</code> – full name of the instructor</li><li><code>{{blog_name}}</code> – the title of your website</li><li><code>{{admin_comment}}</code> - the comment has been made in response to the request by admin</li><li><code>{{site_url}}</code> - URL link of the website</li><li><code>{{date}}</code> - date of denial</li></ul></td></tr></tbody></table>

### System Notifications

Under this tab, you can manage the system notification emails sent to users, mainly about user account management.

<table data-full-width="true"><thead><tr><th width="243">Template Name</th><th width="426">Condition</th><th>Smart Tags</th></tr></thead><tbody><tr><td>Account Approval Required</td><td>Sends email notifications with the special URL-link to users to activate their newly registered accounts. Works  when <a href="../../../lms-settings/profiles/authorization#enable-e-mail-confirmation"><strong>Email Confirmation</strong></a> is enabled.</td><td><ul><li><code>{{blog_name}}</code> – title of your website</li><li><code>{{reset_url}}</code> – URL link that the user should click on to activate his account</li><li><code>{{user_login}}</code> – login of the user on your website</li><li><code>{{site_url}}</code> - URL of the website</li><li><code>{{date}}</code> - date of registration</li></ul></td></tr><tr><td>Welcome Email After Registration<br></td><td>Sends a welcome message to users  after the succesfull registration on your platform.</td><td><ul><li><code>{{blog_name}}</code> – title of your website</li><li><code>{{user_login}}</code> – login of the user on your website</li><li><code>{{user_id}}</code> - unique ID of the user</li><li><code>{{login_url}}</code> – URL link that redirects to the sign-in page</li><li><code>{{site_url}}</code> - URL of the website</li><li><code>{{date}}</code> - date of registration</li></ul></td></tr><tr><td>Password Reset Request</td><td>Sent when user clicks on the <strong>Forgot Password</strong> link on the sign-in/up page. </td><td><ul><li><code>{{user_login}}</code> – login of the user on your website</li><li><code>{{reset_url}}</code> – URL link that opens a special page to reset the password and set a new one</li><li><code>{{blog_name}}</code> – title of your website</li><li><code>{{date}}</code> - date of request</li></ul></td></tr><tr><td>Password Successfully Changed</td><td>Send when user changed his password.</td><td><ul><li><code>{{user_login}}</code> – login of the user on your website</li><li><code>{{blog_name}}</code> – title of your website</li><li><code>{{site_url}}</code> – URL link of the website</li><li><code>{{date}}</code> - date when the password changes</li></ul></td></tr></tbody></table>

## Adding Hyperlinks to Email Templates

Shortcodes can be added as hyperlinks to texts in the WYSIWYG editor. Let's see a clear example.

{% stepper %}
{% step %}
To do it,  first copy or cut the smart tag added to the editor that returns the URL address:

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2FpcMWzGuQA4IzIabNDkmq%2Fimage.png?alt=media&#x26;token=238fada9-b68b-4497-bff8-cdf792baecdd" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Click on the **hyperlink** button and add the shortcode to the **URL** field:

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2F5E0ztPg9OZCOm1qdp53g%2Fimage.png?alt=media&#x26;token=860143da-b546-4cc6-83ec-99507d9f4815" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
That's it, here is how it will look:

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2FB28kIHdrDGPHpnILGwpH%2Fimage.png?alt=media&#x26;token=f070b458-cd5d-4349-a1db-96a95c5507f0" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}

## Applying Custom HTML Templates

After disabling [**Email Branding**](https://docs.stylemixthemes.com/masterstudy-lms/lms-pro-addons/email-manager/..#disable-email-branding), you have to provide HTML templates for **each**[ **email template**](https://docs.stylemixthemes.com/masterstudy-lms/lms-pro-addons/email-manager/email-templates) using the **WYSIWYG** (What You See Is What You Get) editor. Use the <kbd>**<>**</kbd> button to switch to the **HTML editor**:

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2FyxNaGGM3t2ZBlqneroRP%2Fimage.png?alt=media&#x26;token=3748cf10-3a21-4f39-af5b-dfdb38c7f5fb" alt=""><figcaption></figcaption></figure>

After entering the HTML Code, you can press the <kbd>**<>**</kbd> button again to see how it appears:

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2FCnaGkkpNWYpiJuidvG88%2Fimage.png?alt=media&#x26;token=004ba3b4-e5d6-4359-ba16-75283596eed0" alt=""><figcaption></figcaption></figure>

The source code from the above screenshot generates the following content:

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2FgGdA5LfKHw9gwK8q6e6b%2Fimage.png?alt=media&#x26;token=1c1a34cf-d13e-47e2-90a3-d87c61801d65" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
While adding custom HTML templates, it is necessary to use shortcodes from the Message section to send LMS emails properly.
{% endhint %}

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2FFgTUidVtPOgqY1LBl9J3%2Fimage.png?alt=media&#x26;token=f0ba26e4-504e-43c0-be3d-c9ffb02ad2ac" alt=""><figcaption></figcaption></figure>

The user will receive the same email with the custom template:

<figure><img src="https://691205473-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MDTL6WUldKvxQaP8jzz%2Fuploads%2FVob66Rd8dSkhseDQqtwk%2Fimage.png?alt=media&#x26;token=4eb9446d-08a0-4610-8371-ccd03b07e778" alt=""><figcaption><p>The Result of Custom HTML template</p></figcaption></figure>

{% hint style="success" %}
With the HTML codes you provided, all email templates can have their **unique** styles.
{% endhint %}

[^1]: Course Builder > Settings >  Access > Time Limits > Course  Expiratdion (days) &#x20;
