Add reference to the RFC defining the UID EXPUNGE command
This commit is contained in:
parent
c9b720155f
commit
4321b7fe14
1 changed files with 1 additions and 0 deletions
|
|
@ -534,6 +534,7 @@ impl <T: Read + Write> Session<T> {
|
||||||
|
|
||||||
/// Permanently removes all messages that have both the \Deleted flag set and have a UID that is
|
/// Permanently removes all messages that have both the \Deleted flag set and have a UID that is
|
||||||
/// included in the specified message set.
|
/// included in the specified message set.
|
||||||
|
/// The UID EXPUNGE command is defined in [RFC 4315 - "Internet Message Access Protocol (IMAP) - UIDPLUS extension"](https://tools.ietf.org/html/rfc4315#section-2.1).
|
||||||
pub fn uid_expunge(&mut self, uid_set: &str) -> Result<()> {
|
pub fn uid_expunge(&mut self, uid_set: &str) -> Result<()> {
|
||||||
self.run_command_and_check_ok(&format!("UID EXPUNGE {}", uid_set))
|
self.run_command_and_check_ok(&format!("UID EXPUNGE {}", uid_set))
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue