method
delete
delete(mailbox)
public
Sends a DELETE command to remove the mailbox.
A Net::IMAP::NoResponseError is raised if a mailbox with that name cannot be deleted, either because it does not exist or because the client does not have permission to delete it.