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;
        }