How to setup email correctly?

Hey, I tried to set mail settings on my sentry but I keep getting the same error all the time.

I’m not sure if I need to set something other than config.yaml mail:

I tried with mail.backend: 'django.core.mail.backends.smtp.EmailBackend' and mail.backend: 'smtp'

mail.backend: 'django.core.mail.backends.smtp.EmailBackend' 'localhost'
mail.port: 25
mail.username: 'root@localhost'
mail.password: ''
mail.use-tls: false
# The email address to send on behalf of
mail.from: ''

PS: My instance runs on Ubuntu 20.04.2 LTS
can anyone give me a hand? Thanks!

Hey, I’ve mange to get another error!

Any ideas why I’m getting this connection refused?

If you are using smtp you have to set like so: mail.backend=‘smtp’ and point‘your.smtp.server.address,com’ eg.

Remaining values for port, tls etc. have to be set to your smtp provider requirements.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.