Hello,
When I examined the pictures, a setting caught my attention. port number 25 was selected. as you know, it can be used as an smtp port, but usually in companies, port 25 supports a restricted or restricted communication / transfer structure due to external threats. For this reason, if you are making your connection with your mail server structure with this method / port, the problem may be caused by this. My request from you is to first perform this test using gmail over a network where you can access the internet without any restrictions or routing. Or confirm that this port can be actively used by your internet provider. Port 25 is usually changed to 587 or 465 by internet providers.