From 131a681196931a82bfe2706fc24b7ce98ad41f96 Mon Sep 17 00:00:00 2001 From: GitHub Workflow Date: Fri, 8 Jan 2021 01:46:38 +0000 Subject: Runs update.sh --- 20.0-rc/fpm-alpine/config/smtp.config.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 20.0-rc/fpm-alpine/config/smtp.config.php (limited to '20.0-rc/fpm-alpine/config/smtp.config.php') diff --git a/20.0-rc/fpm-alpine/config/smtp.config.php b/20.0-rc/fpm-alpine/config/smtp.config.php new file mode 100644 index 00000000..59f1eaa1 --- /dev/null +++ b/20.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