Thank you guys for the replies I appreciate it very much.
@pfaffman I am not aware that Digital Ocean is blocking outgoing mail. No i have not tried 2525.
After searching for it I stumbled upon an article they block all outgoing mails Why is SMTP blocked? | DigitalOcean Documentation
I did a little test with:
nc -vz ``smtp.mailgun.org`` 2525
and passed the test. 587 and 465 failed.
I opened a ticked with the request to open these ports.
If they won’t open it I need to look into mailgun, I hope this is free.