urlwatch content-transfer-encoding: base64

This commit is contained in:
tv 2023-02-02 16:02:31 +01:00
parent c2b601d123
commit 38d0a0a5be
1 changed files with 4 additions and 1 deletions

View File

@ -181,8 +181,11 @@ let
sed '1!s/^ //'
)
echo To: ${shell.escape cfg.mailto}
echo Mime-Version: 1.0
echo Content-Type: text/plain\; charset=UTF-8
echo Content-Transfer-Encoding: base64
echo
cat changes
base64 changes
} | /run/wrappers/bin/sendmail -t
fi
''}