function
| Library: Email support, SMTP and POP3 (OMMAIL) Include: ommail.xin | Returns: true when the MailInBox is open, and false otherwise | 
define external switch function MailInBoxIsOpen
           value MailInBox this-MailInBox
Argument definitions
MailInBoxOpen MyBox unless MailInBoxIsOpen MyBox