From 3cd74810741a0a93951fb08217313ea2929f7ef6 Mon Sep 17 00:00:00 2001 From: Thomas Lotze Date: Tue, 9 Jun 2020 09:44:38 +0200 Subject: [PATCH] =?UTF-8?q?zweite=20Empf=C3=A4ngeradresse=20(announce-List?= =?UTF-8?q?e)=20hinzu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- invite.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/invite.sh b/invite.sh index 53c2a14..181c919 100755 --- a/invite.sh +++ b/invite.sh @@ -3,7 +3,7 @@ ## Configuration from="office@krautspace.de" -to="hackspace-jena@lstsrv.org" +to=("hackspace-jena@lstsrv.org" "krautspace-announce@lstsrv.org") subject="Einladung zum Plenum" body_file=email_text # Use PROSEDATE for dd.mm.YYYY and URLDATE for YYYmmdd @@ -26,4 +26,4 @@ fi prose_date=$(date -d "+$next_thursday_offset days" +%d.%m.%Y) url_date=$(date -d "+$next_thursday_offset days" +%Y%m%d) -cat "$body_file" | sed -e "s/PROSEDATE/$prose_date/g" | sed -e "s/URLDATE/$url_date/g" | mail -s "$subject" -r "$from" "$to" +cat "$body_file" | sed -e "s/PROSEDATE/$prose_date/g" | sed -e "s/URLDATE/$url_date/g" | mail -s "$subject" -r "$from" "${to[@]}"