IP*Works! V9 - Online Help
IP*Works! 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 Xamarin environment.

 
 
Copyright (c) 2018 /n software inc. - All rights reserved.
Build 9.0.6635.0