Merge pull request #147 from nupplaphil/bug/smtp_domain

Fix usage of "SMTP_DOMAIN"
This commit is contained in:
Michael Vogel 2021-03-27 22:32:05 +01:00 committed by GitHub
commit 500708b304
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 78 additions and 0 deletions

View File

@ -59,4 +59,10 @@ if (!empty(getenv('FRIENDICA_DEBUGGING'))) {
}
}
if (!empty(getenv('SMTP_DOMAIN'))) {
$smtp_from = !empty(getenv('SMTP_FROM')) ? getenv('SMTP_FROM') : 'no-reply';
$config['config']['sender_email'] = $smtp_from . "@" . getenv('SMTP_DOMAIN');
}
return $config;

View File

@ -59,4 +59,10 @@ if (!empty(getenv('FRIENDICA_DEBUGGING'))) {
}
}
if (!empty(getenv('SMTP_DOMAIN'))) {
$smtp_from = !empty(getenv('SMTP_FROM')) ? getenv('SMTP_FROM') : 'no-reply';
$config['config']['sender_email'] = $smtp_from . "@" . getenv('SMTP_DOMAIN');
}
return $config;

View File

@ -59,4 +59,10 @@ if (!empty(getenv('FRIENDICA_DEBUGGING'))) {
}
}
if (!empty(getenv('SMTP_DOMAIN'))) {
$smtp_from = !empty(getenv('SMTP_FROM')) ? getenv('SMTP_FROM') : 'no-reply';
$config['config']['sender_email'] = $smtp_from . "@" . getenv('SMTP_DOMAIN');
}
return $config;

View File

@ -59,4 +59,10 @@ if (!empty(getenv('FRIENDICA_DEBUGGING'))) {
}
}
if (!empty(getenv('SMTP_DOMAIN'))) {
$smtp_from = !empty(getenv('SMTP_FROM')) ? getenv('SMTP_FROM') : 'no-reply';
$config['config']['sender_email'] = $smtp_from . "@" . getenv('SMTP_DOMAIN');
}
return $config;

View File

@ -59,4 +59,10 @@ if (!empty(getenv('FRIENDICA_DEBUGGING'))) {
}
}
if (!empty(getenv('SMTP_DOMAIN'))) {
$smtp_from = !empty(getenv('SMTP_FROM')) ? getenv('SMTP_FROM') : 'no-reply';
$config['config']['sender_email'] = $smtp_from . "@" . getenv('SMTP_DOMAIN');
}
return $config;

View File

@ -59,4 +59,10 @@ if (!empty(getenv('FRIENDICA_DEBUGGING'))) {
}
}
if (!empty(getenv('SMTP_DOMAIN'))) {
$smtp_from = !empty(getenv('SMTP_FROM')) ? getenv('SMTP_FROM') : 'no-reply';
$config['config']['sender_email'] = $smtp_from . "@" . getenv('SMTP_DOMAIN');
}
return $config;

View File

@ -59,4 +59,10 @@ if (!empty(getenv('FRIENDICA_DEBUGGING'))) {
}
}
if (!empty(getenv('SMTP_DOMAIN'))) {
$smtp_from = !empty(getenv('SMTP_FROM')) ? getenv('SMTP_FROM') : 'no-reply';
$config['config']['sender_email'] = $smtp_from . "@" . getenv('SMTP_DOMAIN');
}
return $config;

View File

@ -59,4 +59,10 @@ if (!empty(getenv('FRIENDICA_DEBUGGING'))) {
}
}
if (!empty(getenv('SMTP_DOMAIN'))) {
$smtp_from = !empty(getenv('SMTP_FROM')) ? getenv('SMTP_FROM') : 'no-reply';
$config['config']['sender_email'] = $smtp_from . "@" . getenv('SMTP_DOMAIN');
}
return $config;

View File

@ -59,4 +59,10 @@ if (!empty(getenv('FRIENDICA_DEBUGGING'))) {
}
}
if (!empty(getenv('SMTP_DOMAIN'))) {
$smtp_from = !empty(getenv('SMTP_FROM')) ? getenv('SMTP_FROM') : 'no-reply';
$config['config']['sender_email'] = $smtp_from . "@" . getenv('SMTP_DOMAIN');
}
return $config;

View File

@ -59,4 +59,10 @@ if (!empty(getenv('FRIENDICA_DEBUGGING'))) {
}
}
if (!empty(getenv('SMTP_DOMAIN'))) {
$smtp_from = !empty(getenv('SMTP_FROM')) ? getenv('SMTP_FROM') : 'no-reply';
$config['config']['sender_email'] = $smtp_from . "@" . getenv('SMTP_DOMAIN');
}
return $config;

View File

@ -59,4 +59,10 @@ if (!empty(getenv('FRIENDICA_DEBUGGING'))) {
}
}
if (!empty(getenv('SMTP_DOMAIN'))) {
$smtp_from = !empty(getenv('SMTP_FROM')) ? getenv('SMTP_FROM') : 'no-reply';
$config['config']['sender_email'] = $smtp_from . "@" . getenv('SMTP_DOMAIN');
}
return $config;

View File

@ -59,4 +59,10 @@ if (!empty(getenv('FRIENDICA_DEBUGGING'))) {
}
}
if (!empty(getenv('SMTP_DOMAIN'))) {
$smtp_from = !empty(getenv('SMTP_FROM')) ? getenv('SMTP_FROM') : 'no-reply';
$config['config']['sender_email'] = $smtp_from . "@" . getenv('SMTP_DOMAIN');
}
return $config;

View File

@ -59,4 +59,10 @@ if (!empty(getenv('FRIENDICA_DEBUGGING'))) {
}
}
if (!empty(getenv('SMTP_DOMAIN'))) {
$smtp_from = !empty(getenv('SMTP_FROM')) ? getenv('SMTP_FROM') : 'no-reply';
$config['config']['sender_email'] = $smtp_from . "@" . getenv('SMTP_DOMAIN');
}
return $config;