CloseMailbox Method
Removes all messages marked with 'Deleted' flag from the currently selected mailbox and unselect mailbox.
Syntax
[VB.NET] Public Sub CloseMailbox()
[C#] public void CloseMailbox();
Remarks
This method permanently removes all messages that have the 'Deleted' flag set from the current (selected) mailbox, and then closes (deselect) the mailbox.
NOTE: This method has a corresponding asynchronous version (CloseMailboxAsync) for use in the Xamarin environment.