From 953f7a53e6d86390a0e5f2d2e03a09b319081052 Mon Sep 17 00:00:00 2001 From: vista Date: Fri, 17 Mar 2023 22:19:33 +0100 Subject: [PATCH] Add 'build/start-container.sh' --- build/start-container.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 build/start-container.sh diff --git a/build/start-container.sh b/build/start-container.sh new file mode 100644 index 0000000..81c6271 --- /dev/null +++ b/build/start-container.sh @@ -0,0 +1,15 @@ +#! /usr/bin/env sh + +echo "defaults +auth on +tls on + +account default +host ${SMTP_HOST} +port ${SMTP_PORT} +tls_starttls ${SMTP_STARTTLS} +from ${SMTP_FROM} +user ${SMTP_USER} +password ${SMTP_PASSWORD}" > ~/.msmtprc + +echo -e "Subject: ${SUBJECT}\n\n${MESSAGE}" | msmtp ${TO_ADDRESS} \ No newline at end of file