Secure SSL/TLS email not working with Laravel



I'm using GoDaddy server for my personal website and a DigitalOcean server for a larger project which wouldn't be suitable for a shared hosting.

I own 2 domains (on Godaddy) and one is pointing to the GoDaddy server, and the second one is pointing to the DigitalOcean server (while using mail and other DNS records as default - pointing to GoDaddy).

In my Laravel app, on the DigitalOcean server, if I use non-secure email settings (, everything works, mails are being sent. But if I use secure email settings, every time I receive Connection to Timed Out and I can't send an email.


Can anyone point me out, what am I doing wrong here?