[Enhancement] - Better smtp error #3456

Closed
opened 2026-02-05 08:32:22 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @onelots on GitHub (Jun 11, 2024).

The bug

By default, when Ignore certificate errors is disabled and that you forget to enable it (in my case, I know that my certificate works but is invalid...), the default notification is only a Error 400 that is thrown : see the screen below :

Capture d’écran 2024-06-11 à 22 33 58

Maybe could it be better to throw a more precise error in this case, like SMTP certificate error ! ??

Thanks for your hard work !

The OS that Immich Server is running on

Linux 5.10.0-30-amd64 | Debian 5.10.218-1

Version of Immich Server

v1.106.2

Version of Immich Mobile App

not used yet

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

not needed ig :)

Your .env content

not needed neither :) (sorry I'm too lazy, and since it's only some front thing...)

Reproduction steps

1. go in the settings
2. have an invalid certificate
3. forgot do disable verification
4. boom ! the notif 
...

Relevant log output

No response

Additional information

No response

Originally created by @onelots on GitHub (Jun 11, 2024). ### The bug By default, when `Ignore certificate errors` is disabled and that you forget to enable it (in my case, I know that my certificate works but is invalid...), the default notification is only a `Error 400` that is thrown : see the screen below : ![Capture d’écran 2024-06-11 à 22 33 58](https://github.com/immich-app/immich/assets/54822802/bfb7b3aa-209b-4908-8b36-e4c1782938b8) Maybe could it be better to throw a more precise error in this case, like `SMTP certificate error !` ?? Thanks for your hard work ! ### The OS that Immich Server is running on Linux 5.10.0-30-amd64 | Debian 5.10.218-1 ### Version of Immich Server v1.106.2 ### Version of Immich Mobile App not used yet ### Platform with the issue - [ ] Server - [X] Web - [ ] Mobile ### Your docker-compose.yml content ```YAML not needed ig :) ``` ### Your .env content ```Shell not needed neither :) (sorry I'm too lazy, and since it's only some front thing...) ``` ### Reproduction steps ```bash 1. go in the settings 2. have an invalid certificate 3. forgot do disable verification 4. boom ! the notif ... ``` ### Relevant log output _No response_ ### Additional information _No response_
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#3456