From a276b1ca06ce3ebfc201b9aaf3aa8c37c98fe584 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Mon, 27 May 2024 19:03:54 +0200 Subject: [feature/frontend] Let admins send test email to validate SMTP config (#2934) * [feature/frontend] Let admins send test email to validate SMTP config * wee --- web/template/email_test.tmpl | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'web/template/email_test.tmpl') diff --git a/web/template/email_test.tmpl b/web/template/email_test.tmpl index d7af4d161..92e075e46 100644 --- a/web/template/email_test.tmpl +++ b/web/template/email_test.tmpl @@ -22,3 +22,10 @@ This is a test email from {{.InstanceName}} ({{.InstanceURL}}). If you're seeing this email, that means the SMTP configuration is correct! This email was sent by the admin user @{{.SendingUsername}}. +{{- if .Message }} + +The following message was included by the admin user: + +{{ .Message }} +{{- else }} +{{- end }} \ No newline at end of file -- cgit v1.3