0
0
Fork 0
mirror of https://github.com/nextcloud/docker.git synced 2025-04-20 10:56:08 +02:00
nextcloud-docker/13.0/fpm-alpine/config/smtp.config.php
2018-03-23 21:44:03 +01:00

15 lines
No EOL
577 B
PHP

<?php
if (getenv('MAIL_SMTPMODE') == 'smtp') {
$CONFIG = array (
'mail_smtpmode' => getenv('MAIL_SMTPMODE'),
'mail_smtphost' => getenv('MAIL_SMTPHOST'),
'mail_smtpport' => getenv('MAIL_SMTPPORT'),
'mail_smtpsecure' => getenv('MAIL_SMTPSECURE'),
'mail_smtpauth' => getenv('MAIL_SMTPAUTH'),
'mail_smtpauthtype' => getenv('MAIL_SMTPAUTHTYPE'),
'mail_smtpname' => getenv('MAIL_SMTPNAME'),
'mail_smtppassword' => getenv('MAIL_SMTPPASSWORD'),
'mail_from_address' => getenv('MAIL_FROM_ADDRESS'),
'mail_domain' => getenv('MAIL_DOMAIN'),
);
}