Skip to content

Commit

Permalink
Fallback to email address to from email address when not set (#81)
Browse files Browse the repository at this point in the history
* fallback to email address to from email address when not set

* add documentation for to email address behaviour
  • Loading branch information
alexander-schranz authored and wachterjohannes committed Jan 22, 2018
1 parent 92359dc commit 068dbd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ private function updateWebspaceConfig($webspaceKey, array $webspaceConfig)
$webspaceConfig[Configuration::EMAIL_TO][Configuration::EMAIL_TO_EMAIL] => $webspaceConfig[Configuration::EMAIL_TO][Configuration::EMAIL_TO_NAME],
];
} else {
$webspaceConfig[Configuration::EMAIL_TO] = null;
$webspaceConfig[Configuration::EMAIL_TO] = $webspaceConfig[Configuration::EMAIL_FROM];
}

// Set maintenance mode
Expand Down
1 change: 1 addition & 0 deletions Resources/doc/3-customization.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ Type: `string`
Example: [email protected]

Will be used as receiver of the admin emails.
If not configured it will fallback to the from configuration.

#### role

Expand Down

0 comments on commit 068dbd6

Please sign in to comment.