ZF2 Mail could not open socket

Hi i have problem when send mail with ZF2

error_socket

can help with this case?

here is my code

https://codeshare.io/G6x71Q

Thanks

You are trying to send an email to $smtpOptions->setHost('dnr.mail.host'). I’m pretty sure dnr.mail.host is not a valid host.

You’re right
it already solved
my host is not valid