Method: Net::IMAP#expunge

Defined in:
lib/net/imap.rb

#expungeObject

Sends a EXPUNGE command to permanently remove from the currently selected mailbox all messages that have the Deleted flag set.



627
628
629
630
631
632
# File 'lib/net/imap.rb', line 627

def expunge
  synchronize do
    send_command("EXPUNGE")
    return @responses.delete("EXPUNGE")
  end
end