This function will tell you whether or not you are currently connected to a mail server or a file.
Returns 1 if you are currently connected to a mail server or file.
POP3it_Adv_IsConnected