Add 'build/start-container.sh'
This commit is contained in:
15
build/start-container.sh
Normal file
15
build/start-container.sh
Normal 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}
|
||||
Reference in New Issue
Block a user