Open m0ndr4g0n opened 4 months ago
If the connection is via ssl or tls the port is most likely not going to be 25 but 465 or 587
I would try changing that first.
If it is Microsoft you are using, they list the settings here https://support.microsoft.com/en-us/office/pop-imap-and-smtp-settings-for-outlook-com-d088b986-291d-42b8-9564-9c414e2aa040
On Sat, Apr 13, 2024 at 19:26 Leonardo @.***> wrote:
I'm running leantime in a docker swarm environment.
I set the environment variables as the documentation says, but I still can't send emails.
When I test the shipment, I receive the message in the container logs:
sendmail: can't connect to remote host (127.0.0.1): Connection refused
LEAN_EMAIL_USE_SMTP: 'TRUE' LEAN_EMAIL_RETURN: @.' LEAN_EMAIL_SMTP_HOSTS: 'smtp.office365.com' LEAN_EMAIL_SMTP_USERNAME: @.' LEAN_EMAIL_SMTP_PASSWORD: $SMTP_PASSWORD LEAN_EMAIL_SMTP_AUTO_TLS: 'TRUE' LEAN_EMAIL_SMTP_SECURE: 'TLS' LEAN_EMAIL_SMTP_PORT: '25'
Maybe LEAN_EMAIL_SMTP_HOSTS variable is wrong? Does anyone have any idea what's going on? I didn't find much information out there
— Reply to this email directly, view it on GitHub https://github.com/Leantime/docker-leantime/issues/78, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALG4EFRHHACIIZCAUXTUAPDY5G5L7AVCNFSM6AAAAABGF2KMU6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGI2DCOBRG4ZDINA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
I'm running leantime in a docker swarm environment.
I set the environment variables as the documentation says, but I still can't send emails.
When I test the shipment, I receive the message in the container logs:
Maybe LEAN_EMAIL_SMTP_HOSTS variable is wrong? Does anyone have any idea what's going on? I didn't find much information out there