From 0ebad103636855c27265f34ebc4fab84e409fdb6 Mon Sep 17 00:00:00 2001 From: tilosp-bot Date: Fri, 13 Dec 2019 11:16:18 +0000 Subject: Run update.sh Signed-off-by: tilosp-bot --- 16.0-rc/fpm-alpine/config/smtp.config.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 16.0-rc/fpm-alpine/config/smtp.config.php (limited to '16.0-rc/fpm-alpine/config/smtp.config.php') diff --git a/16.0-rc/fpm-alpine/config/smtp.config.php b/16.0-rc/fpm-alpine/config/smtp.config.php new file mode 100644 index 00000000..59f1eaa1 --- /dev/null +++ b/16.0-rc/fpm-alpine/config/smtp.config.php @@ -0,0 +1,15 @@ + 'smtp', + 'mail_smtphost' => getenv('SMTP_HOST'), + 'mail_smtpport' => getenv('SMTP_PORT') ?: (getenv('SMTP_SECURE') ? 465 : 25), + 'mail_smtpsecure' => getenv('SMTP_SECURE') ?: '', + 'mail_smtpauth' => getenv('SMTP_NAME') && getenv('SMTP_PASSWORD'), + 'mail_smtpauthtype' => getenv('SMTP_AUTHTYPE') ?: 'LOGIN', + 'mail_smtpname' => getenv('SMTP_NAME') ?: '', + 'mail_smtppassword' => getenv('SMTP_PASSWORD') ?: '', + 'mail_from_address' => getenv('MAIL_FROM_ADDRESS'), + 'mail_domain' => getenv('MAIL_DOMAIN'), + ); +} -- cgit v1.2.3