Hi
I am wondering if I am the only one with this specific problem, I whant to check if my smtp host is up and running before I attempt to send an email. Or is it better to see if I get an exception and then handles this ?
I have 3 different smtp hosts I can use, but I would preffer to
test if they are running and ready to send my emails before I do it instead of using the exceptions. So my question is how do I do this ?
I did try InetAddress.getByName("w5.company.com").isReachable(1000) but they responds even if my smtp host is down, there are some webhosting here aswell.