Skip to content

Email Templates

Go to Admin → Email Template

EduLab LMS ships with a built-in email template manager. You can customise the subject and body of every transactional email sent by the platform without touching any code.


Available Templates

Template KeyWhen It Is Sent
enrollment_confirmationStudent successfully purchases / enrolls in a course
enrollment_manualAdmin manually enrolls a student
password_resetUser requests a password reset link
registration_welcomeNew user registration
certificate_issuedCertificate generated after course completion
payment_successSuccessful payment confirmation
payment_failedPayment gateway returns a failure
support_ticket_createdNew support ticket submitted
support_ticket_repliedReply added to a support ticket
instructor_approvedInstructor account approved by admin

Available Placeholders

Use {placeholder} syntax inside the subject or body:

PlaceholderValue
{student_name}Full name of the recipient student
{instructor_name}Full name of the instructor
{course_name}Course title
{amount}Transaction amount with currency symbol
{site_name}Value set in Backend Settings → General
{site_url}Application root URL
{login_url}Direct link to the login page
{reset_url}Password reset link (for password reset template only)
{certificate_url}Public certificate download URL

SMTP Configuration

Email delivery requires a working SMTP driver. Configure it under Admin → Backend Settings → SMTP Setting.

For Gmail, generate an App Password (not your regular password) at https://myaccount.google.com/apppasswords.

Mail Driver:     smtp
Mail Host:       smtp.gmail.com
Mail Port:       587
Mail Encryption: tls
Mail Username:   your-address@gmail.com
Mail Password:   your-app-password

For production sites, Mailgun, Postmark, or Amazon SES are recommended for higher deliverability.