TemplatesEducation

Enrolment confirmed email template

Confirms a place on a course, with the start date and the details of the first lesson.

From
Northwind <[email protected]>
Subject
You are enrolled in Pottery for beginners
Preview text
The course starts on Tuesday 3 November. Here are the details of your first lesson.
Preview of the Enrolment confirmed template
enrolment-confirmed.txt
The course starts on {{startDate}}. Here are the details of your first lesson.

{{schoolName}}

Welcome to {{courseName}}

Your place is confirmed. The course starts on {{startDate}} and runs for {{courseLength}}.

{{startMonth}}

{{startDay}}

First lesson at {{startTime}}

{{location}}

Instructor

{{instructorName}}

What to bring

{{whatToBring}}

Go to your course [{{courseUrl}}]

Cannot make the first lesson? Reply to this email and we will tell you how to catch up.

You are receiving this because you enrolled in a course with {{schoolName}}.

Shown with sample values. The HTML and plain-text tabs keep the placeholders.

About

When to send it

Send it once a student has a place. It confirms the start date and the length of the course, puts the first lesson on a calendar tile and names the instructor and what to bring.

12 values to fill

What each send fills in

Required values have to come with every send. The rest fall back to the default shown here.

PlaceholderKindRequiredDefault
{{schoolName}}TextRequiredNone
{{courseName}}TextRequiredNone
{{startDate}}TextRequiredNone
{{courseLength}}TextRequiredNone
{{startMonth}}TextRequiredNone
{{startDay}}TextRequiredNone
{{startTime}}TextRequiredNone
{{location}}TextRequiredNone
{{instructorName}}TextRequiredNone
{{whatToBring}}TextOptionalA notebook and a pen
{{courseUrl}}LinkRequiredNone
{{unsubscribeUrl}}LinkOptionalNone

API

Send it from your code

Create a template from this design once, then send it with the values for each message.

import { init, nextmail } from '@nextmail/sdk' init({ apiKey: process.env.NEXTMAIL_API_KEY }) await nextmail.templates.create({  name: 'Enrolment confirmed',  slug: 'enrolment-confirmed',  starter: 'enrolment-confirmed',  publish: true,}) const sent = await nextmail.templates.send('enrolment-confirmed', {  from: 'Northwind <[email protected]>',  to: '[email protected]',  props: {    schoolName: 'Northfield Arts Centre',    courseName: 'Pottery for beginners',    startDate: 'Tuesday 3 November',    courseLength: 'eight weeks',    startMonth: 'Nov',    startDay: '3',    startTime: '6:30 pm',    location: 'Studio 2, Northfield Arts Centre',    instructorName: 'Hannah Clarke',    courseUrl: 'https://example.com/courses/pottery-for-beginners',  },}) console.log(sent.id, sent.status)

Education

More templates like this

Preview of the Class starting soon template

Class starting soon

A reminder shortly before a live class, with the join link and what to prepare.

6 styles
Preview of the Assignment due template

Assignment due

A reminder that an assignment is due, with the deadline and a link to submit it.

6 styles
Preview of the Certificate earned template

Certificate earned

A centred certificate email for a finished course, with links to download and share it.

6 styles
Preview of the New listing match template

New listing match

A new property that matches a saved search, with a photo, the price and the rooms.

6 styles

Start from one

Pick a design, change anything,
and send it from your code.

Every template opens in the editor as blocks you can move, restyle or delete, and sends through the API with the values filled in.