Add 'build/start-container.sh'

This commit is contained in:
2023-03-17 22:19:33 +01:00
parent 281ccf277f
commit 953f7a53e6

15
build/start-container.sh Normal file
View File

@@ -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}