-
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
Unexpected expection thrown when testing the email settings with an invalid email #12252
Comments
Before I dig into this PR, while I worked a lot in this area, I'm suggesting to replace your PR with the one introduced in #11130 /cc @sebastienros your thought, because we already supported localization for data annotations |
Not sure that I understand Hisham. The referenced PR seems to be doing something completely different. PR #12253 fixes missing validation in the SmtpService. |
My PR handles both the validation and localization in data annotations attributes, so what we need here is something like So, no need to introduce such kind of validation because we already supported localization in data annotations level |
@hishamco you may want to review that PR. |
You could review if you can, also I'm asking @sebastienros and @agriffard to review it if it's possible |
Describe the bug
When testing the email settings with an invalid email format, the SmtpService display the following error
To Reproduce
Steps to reproduce the behavior:
OC.Email
featureExpected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered: