Skip to main content

delete_folder

Function delete_folder 

Source
pub fn delete_folder(
    account: &Account,
    password: &str,
    name: &str,
) -> Result<(), SyncError>
Expand description

Takes a folder off the server (RFC 9051 §6.3.5): only an empty one, and never one with a purpose (the inbox, Sent, Drafts, the trash, junk, the archive), so no message is ever lost this way.