| 
||||||||||
| 
 | 
||||||||||
| Other Library Functions | ||||||||||
| function | MailInBoxGetNumberOfMessages | 
  Available in:
   Professional Enterprise  | 
| 
Library: ommail - email support (SMTP and POP3)
 Include: ommail.xin  | 
Return type: Integer Returns: The number of messages in the mailbox.  | 
  define external integer function MailInBoxGetNumberOfMessages
             value MailInBox this-MailInBox
This function returns the number of messages in the mailbox. A negative number will be returned if an error occurs.
Argument:
Example:
set NumMsgs to MailInBoxGetNumberOfMessages MyBox
| ---- |