summaryrefslogtreecommitdiff
path: root/internal/email/test.go
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 /internal/email/test.go
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 'internal/email/test.go')
-rw-r--r--internal/email/test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/email/test.go b/internal/email/test.go
index 7d6ac2b3b..762711b76 100644
--- a/internal/email/test.go
+++ b/internal/email/test.go
@@ -25,6 +25,8 @@ const (
type TestData struct {
// Username of admin user who sent the test.
SendingUsername string
+ // (Optional) message to include in the email.
+ Message string
// URL of the instance to present to the receiver.
InstanceURL string
// Name of the instance to present to the receiver.