Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't send notification emails #78

Open
m0ndr4g0n opened this issue Apr 13, 2024 · 1 comment
Open

I can't send notification emails #78

m0ndr4g0n opened this issue Apr 13, 2024 · 1 comment

Comments

@m0ndr4g0n
Copy link

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: 'email@email.com'
  LEAN_EMAIL_SMTP_HOSTS: 'smtp.office365.com'
  LEAN_EMAIL_SMTP_USERNAME: 'email@email.com'
  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

@marcelfolaron
Copy link
Contributor

marcelfolaron commented Apr 14, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants