IP*Works! OpenPGP V9 - Online Help
IP*Works! OpenPGP V9
Questions / Feedback?

ExpungeMailbox Method

Removes all messages marked with 'Deleted' flag from the currently selected mailbox.

Syntax

[VB.NET]
Public Sub ExpungeMailbox()
[C#]
public void ExpungeMailbox();

Remarks

This method permanently removes all messages that have the 'Deleted' flag set from the current (selected) mailbox. Example (Set "Deleted" flag and Expunge)


IMAPControl.MessageSet = "1"
IMAPControl.AddMessageFlags("\Deleted")
IMAPControl.ExpungeMailbox()

NOTE: This method has a corresponding asynchronous version (ExpungeMailboxAsync) for use in the WinRT environment.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 9.0.6240.0