Fixing expunge command to actually send EXPUNGE
This commit is contained in:
parent
91bcdf1a4e
commit
350329b5a4
1 changed files with 1 additions and 1 deletions
|
|
@ -222,7 +222,7 @@ impl<T: Read+Write> Client<T> {
|
|||
/// Expunge permanently removes all messages that have the \Deleted flag set from the currently
|
||||
/// selected mailbox.
|
||||
pub fn expunge(&mut self) -> Result<()> {
|
||||
self.run_command_and_check_ok("CHECK")
|
||||
self.run_command_and_check_ok("EXPUNGE")
|
||||
}
|
||||
|
||||
/// Check requests a checkpoint of the currently selected mailbox.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue