by adding in tls:// before the server name did the trick with port 465
thijskossen Thanks! 👍️
I can confirm that using ssl://smtp.dreamhost.com resolves this issue and enforces a correct secure connection.