public final class ExpungeCommand extends Object
Removes all the emails from a folder that contains the DELETED flag.
| Constructor and Description |
|---|
ExpungeCommand() |
| Modifier and Type | Method and Description |
|---|---|
void |
expunge(MailboxConnection connection,
String folderName)
Removes from the mailbox all deleted messages if the flag is set true.
|
public void expunge(MailboxConnection connection, String folderName)
connection - the associated MailboxConnection.folderName - the name of the folder that is going to erase the deleted emails.Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.