Check connectivity to email server

Hi
We experience some lack of connectivity with our outlook email server and I would like to build a sequence to test whether the server is connected before proceeding.
What is the best way to do this please?

@helen.ingram

Welcome back to our uipath community.

Send mail to your self only and then check whether you received the mail or not. If you received the mail then connection is fine else some issue.:wink::wink:

Hi @helen.ingram u can also try to run .bat file which consist of ping to server in start process activity.

Thank you for the responses. How would I run a .bat file?