Describe the bug
Check buttons on Mail return success on timeout.
New feature asked from this issue : #868
To Reproduce
Steps to reproduce the behavior:
- Go to '/settings/settings/mail'
- Configure a SMTP server and a wrong port
- Click on test button
- Wait 30sec to see Success on webUI but error in Devtools
Screenshots

Desktop (please complete the following information):
- OS: Windows 11
- Browser : Chrome
- Version : 142.0.7444.60
Additional context