Improve error code for SMTP emails
Open
- Dominant language
- Python
- Stars
- 44.8k
- Forks
- 4.9k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 624
Description
### Problem Statement
A user tried to set up smtp mail server on a self-hosted instance and got this error:

Turns out their port was wrong. Improving the error codes could reduce a lot of pain for devs since the error message is not clear.
### Solution Brainstorm
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.