pub fn append<S: AsRef<str>, B: AsRef<[u8]>>(&mut self, mailbox: S, content: B) -> Result<()> {
        match self {
            Imap::Secured(ref mut session) => session.append(mailbox, content),
            Imap::Insecured(ref mut session) => session.append(mailbox, content),
        }
    }
/// Appends a new message to the given server.

Appends a new message to the given server.
Appends a new message to the given server .
pub fn append<S: AsRef<str>, B: AsRef<[u8]>>(&mut self, mailbox: S, content: B) -> Result<()> {
        match self {
            Imap::Secured(ref mut session) => session.append(mailbox, content),
            Imap::Insecured(ref mut session) => session.append(mailbox, content),
        }
    }
pub fn append < S : AsRef < str > , B : AsRef < [ u8 ] > > ( & mut self , mailbox : S , content : B ) -> Result < ( ) > { match self { Imap :: Secured ( ref mut session ) => session . append ( mailbox , content ) , Imap :: Insecured ( ref mut session ) => session . append ( mailbox , content ) , } }
Appends a new message to the given server.
Appends a new message to the given server .
&mut self
mailbox
S
content
B
&mut self
mailbox
S
content
B