Sends an EXPUNGE command.
An EXPUNGE command causes the server to permanently delete the messages in the currently selected mailbox that have the \Deleted flag set. The server responds with an EXPUNGE response for each message deleted.
| Exception Type | Condition |
|---|---|
| Exception | If a network or protocol error occurs. |
Imap4Client Class | Hunny.Mail Namespace | ExpungeResponse | EXPUNGE command in the IMAP4 specification