summaryrefslogtreecommitdiff
path: root/web/template
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2024-05-27 19:03:54 +0200
committerLibravatar GitHub <noreply@github.com>2024-05-27 17:03:54 +0000
commita276b1ca06ce3ebfc201b9aaf3aa8c37c98fe584 (patch)
tree861d2c9c7440fd6b602f46a3e18a55b4c31718d1 /web/template
parent[experiment] add alternative wasm sqlite3 implementation available via build-... (diff)
downloadgotosocial-a276b1ca06ce3ebfc201b9aaf3aa8c37c98fe584.tar.xz
[feature/frontend] Let admins send test email to validate SMTP config (#2934)
* [feature/frontend] Let admins send test email to validate SMTP config * wee
Diffstat (limited to 'web/template')
-rw-r--r--web/template/email_test.tmpl7
1 files changed, 7 insertions, 0 deletions
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