You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Port 465 is reserved for SMTPS, and the connection should start encrypted directly. So, I think that if the UseTLS option is enabled and the port is 465, the function tls.Dial+smtp.NewClient should be used instead of smtp.Dial+config.EmailConfig.UseTLS.
System details
OS: Ubuntu 24.04.1 LTS
Browser Firefox
Version 0.16.3
The text was updated successfully, but these errors were encountered:
What happened?
I enabled SMTP in the general configuration with the instructions provided by my hosting provider https://www.infomaniak.com/fr/support/faq/2427/synchroniser-les-e-mails-sur-tous-vos-appareils.
So I set:
But the server nerver send any email and the login to cosmos server is very slow (timeout wait)
What should have happened?
The cosmos server should by able to sent email and the login should not be slower.
How to reproduce the bug?
Relevant log output
Other details
I did a quick analysis, and what I understand is that the issue is in the send email function: https://github.com/azukaar/Cosmos-Server/blob/master/src/utils/emails.go#L89.
Port 465 is reserved for SMTPS, and the connection should start encrypted directly. So, I think that if the UseTLS option is enabled and the port is 465, the function tls.Dial+smtp.NewClient should be used instead of smtp.Dial+config.EmailConfig.UseTLS.
System details
The text was updated successfully, but these errors were encountered: