I'm working with CDO and having issues with one user who can't send (only their computer is having the problem)

is there any vba to test to see if a port is open? say an SMTP port like 587