How to: Send an e-mail notification when you enroll users in a course

Applies to: Employee Training Management for Office 365/SharePoint online


Follow this guide if you want to send an e-mail notification when you assign courses to users, either directly or through a curriculum, or when users enroll themselves.

Prerequisites

Make sure you have the app SharePoint|sapiens Modern User Interface version 1.3.55.0 or higher installed.

Configure the email template

Open the site contents view in your SharePoint site, click on the SharePoint|sapiens Employee Training Management app, click on Change settings and select E-Mail templates on the left. Here you can configure the email templates for all course types (content types in the course catalog). You can configure a template for Instructor-led training, Self-paced training, … and also for your own course types if you configured custom content types.

Empty email template

You can use the following subject and body for all courses, or you can use your own templates for each content type.

Subject:

The course {Title} has been assigned to you
The course {Title} has been assigned to you

Body:

<table>
<tbody>
<tr>
<td style="background: #e6e9ed; padding: 30px; border: 0px; width: 100%;" width="100%">
<table>
<tbody>
<tr>
<td style="padding: 15px; min-width: 600px; background-color: #ffffff;" valign="top">
<h1><span class="primaryColorText" style="color: {primarythemecolor}; font-family: segoe ui,sans-serif; font-size: 16pt; font-weight: normal;">The course {Title} has been assigned to you</span></h1>
<p style="padding: 0px 0px 5px;"><span style="color: #656d78; font-family: segoe ui,sans-serif; font-size: 12pt;">Click <strong><a href="http://{DetailsPage}"><span class="primaryColorText" style="color: {primarythemecolor};">here</span></a></strong> to open the course page.</span></p>
<p style="padding: 0px 0px 5px;"><span style="color: #656d78; font-family: segoe ui,sans-serif; font-size: 12pt;">Regards,</span></p>
</td>
</tr>
<tr>
<td class="primaryColorBackground" style="background: {PrimaryThemeColor}; padding: 10px 30px;">
<p style="text-align: center;"><img src="https://addins.sharepointsapiens.com/sharepointsapiens.png" alt="SharePointSapiens" width="250" height="34" border="0" /></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<table>
<tbody>
<tr>
<td style="background: #e6e9ed; padding: 30px; border: 0px; width: 100%;" width="100%">
<table>
<tbody>
<tr>
<td style="padding: 15px; min-width: 600px; background-color: #ffffff;" valign="top">
<h1><span class="primaryColorText" style="color: {primarythemecolor}; font-family: segoe ui,sans-serif; font-size: 16pt; font-weight: normal;">The course {Title} has been assigned to you</span></h1>
<p style="padding: 0px 0px 5px;"><span style="color: #656d78; font-family: segoe ui,sans-serif; font-size: 12pt;">Click <strong><a href="http://{DetailsPage}"><span class="primaryColorText" style="color: {primarythemecolor};">here</span></a></strong> to open the course page.</span></p>
<p style="padding: 0px 0px 5px;"><span style="color: #656d78; font-family: segoe ui,sans-serif; font-size: 12pt;">Regards,</span></p>
</td>
</tr>
<tr>
<td class="primaryColorBackground" style="background: {PrimaryThemeColor}; padding: 10px 30px;">
<p style="text-align: center;"><img src="https://addins.sharepointsapiens.com/sharepointsapiens.png" alt="SharePointSapiens" width="250" height="34" border="0" /></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>

Click on View, Source Code to paste the above html to the email body.

Email template for course

Repeat the same for other course types (content types) and save the settings.

Test the email notifications

Enroll in individual courses or a curriculum to test the email notifications.

Email notification

The here-link will open the course page. For further details about how to create course pages, read the following article: How to: Use course pages in an Employee Training Management SharePoint site

I hope you found this guide useful. If you have any questions, please send an e-mail to support@sharepointsapiens.com.