SMTP setup not working [On-Premise]

Sentry version - 21.7.0.dev0

I am following the documentation on
and have added have enabled the required configuration but for some reason it doesn’t seem to work , I have tried changing the port to 587 with no luck.

Can someone guide me on where i am going wrong.


mail.backend: ‘smtp’ ‘
mail.port: 465
mail.username: ‘emailapikey’
mail.password: removed
mail.use-tls: true
mail.from: ‘’
mail.list-namespace: ‘


Thanks in advance!!

The timeout error here indicates that the remote server is not responding. That’s all we can say. You may wanna dig into the logs to see more information around this.