From 97468cd6a2b031ff9107bc5b8d89eb9a6bd403db Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Wed, 10 Jul 2019 00:42:44 -0400 Subject: [PATCH] add from: and fix link sed --- bot.sh | 2 +- dj-online-email.tmpl | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bot.sh b/bot.sh index 7ec6521..28c43bb 100644 --- a/bot.sh +++ b/bot.sh @@ -43,7 +43,7 @@ do done 10< subscribers.txt while read -u 11 subscriber email_addr; do - sed -e "s//$dj/g" -e "s//$link/g" dj-online-email.tmpl \ + sed -e "s//$dj/g" -e "s||$link|g" dj-online-email.tmpl \ | sendmail $email_addr done 11< email-subscribers.txt diff --git a/dj-online-email.tmpl b/dj-online-email.tmpl index cbf6552..2cd5cec 100644 --- a/dj-online-email.tmpl +++ b/dj-online-email.tmpl @@ -1,3 +1,4 @@ +From: radiobot Subject: tilderadio: dj is now streaming! just came on the air on tilderadio.org!