-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Email settings regression #4656
Comments
IMHO we can try to solve the issues that you mention without reverting the entire PR
We can show a warning alert in the admin that email settings will be ignored
I need to look to this one
The previous alert will clarify the things @jtkech @sebastienros your thoughts |
Please revert the PR. |
@sebastienros could we think about support both |
The PR #4637 has a couple of issues
It overrides UI settings, if email settings are supplied via appsettings, with no notification to the user
It tries to decrypt a password with the dataprotector from appsettings, but the password in appsettings will be in plain text, so will throw an exception
It creates an ambiguity as to where email is configured.
I looked at the code that introduced email to appsettings, and think it was testing code from when workflows were introduced on #1378
The correct way to it, I believe, is to only configure email from settings UI, but if someone wants to override that for development with a setting from configuration, they should implement their own
SmptOptions
in their own startup to override the UI settingsThe text was updated successfully, but these errors were encountered: