From 7db81cde444f6bc95e79527af0997de1788d48c7 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Sun, 19 Mar 2023 13:11:46 +0100 Subject: [feature] Email notifications for new / closed moderation reports (#1628) * start fiddling about with email sending to allow multiple recipients * do some fiddling * notifs working * notify on closed report * finishing up * envparsing * use strings.ContainsAny --- test/envparsing.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test') diff --git a/test/envparsing.sh b/test/envparsing.sh index 9f16e026c..361866881 100755 --- a/test/envparsing.sh +++ b/test/envparsing.sh @@ -113,6 +113,7 @@ EXPECT=$(cat <<"EOF" "port": 6969, "protocol": "http", "request-id-header": "X-Trace-Id", + "smtp-disclose-recipients": true, "smtp-from": "queen.rip.in.piss@terfisland.org", "smtp-host": "example.com", "smtp-password": "hunter2", @@ -222,6 +223,7 @@ GTS_SMTP_PORT=4269 \ GTS_SMTP_USERNAME='sex-haver' \ GTS_SMTP_PASSWORD='hunter2' \ GTS_SMTP_FROM='queen.rip.in.piss@terfisland.org' \ +GTS_SMTP_DISCLOSE_RECIPIENTS=true \ GTS_SYSLOG_ENABLED=true \ GTS_SYSLOG_PROTOCOL='udp' \ GTS_SYSLOG_ADDRESS='127.0.0.1:6969' \ -- cgit v1.2.3