MailInBoxClose

function

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

Declaration
define external function MailInBoxClose
               value MailInBox this-MailInBox


Purpose

This function closes the MailInBox. If "autodel" was specified and true when the MailInBox was opened using MailInBoxOpen, all messages in the box are deleted. If autodel is false, only messages marked for deletion are deleted.

Argument:

Example:

  MailInBoxClose MyBox when MailInBoxIsInError MyBox