Crystalbyte.Equinox.Imap.ImapClient.Expunge C# (CSharp) Метод

Expunge() публичный Метод

The EXPUNGE command permanently removes all messages that have the \Deleted flag set from the currently selected mailbox. Before returning an OK to the client, an untagged EXPUNGE response is sent for each message that is removed.
public Expunge ( ) : Crystalbyte.Equinox.Imap.Responses.ExpungeImapResponse
Результат Crystalbyte.Equinox.Imap.Responses.ExpungeImapResponse
        public ExpungeImapResponse Expunge()
        {
            var text = string.Format("EXPUNGE");
            var command = new ImapCommand(text);
            var reader = SendAndReceive(command);

            var response = new ExpungeImapResponse();
            response.Parse(reader);
            return response;
        }