MailInBoxIsOpen

function

Library: Email support, SMTP and POP3 (OMMAIL)
Include: ommail.xin

Returns: True or false.


Declaration
define external switch function MailInBoxIsOpen
           value MailInBox this-MailInBox

Argument definitions

this-MailInBox
is an OMX component of type MailInBox.


Purpose

This function returns true when the MailInBox is open, and false otherwise.

Example:


  MailInBoxOpen MyBox unless MailInBoxIsOpen MyBox