alert by email dont work

my log:

14:07:00, 24 Aug 2018,code:20 reason:2,SMTP err ,Socket err
14:06:00, 24 Aug 2018,code:17 reason:0,SMTP req by SMTP email event.eml


that looks to be the router is not able to open the port on the email server.

have you tried from a pc to the email server on the port you have set