SMTP setup not working [On-Premise]

Sentry version - 21.7.0.dev0

I am following the documentation on https://develop.sentry.dev/services/email/
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.

/config.yml

mail.backend: ‘smtp’
mail.host: ‘smtp.transmail.com
mail.port: 465
mail.username: ‘emailapikey’
mail.password: removed
mail.use-tls: true
mail.from: ‘sender@domain.com’
mail.list-namespace: ‘domain.com

@BYK

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.