Trait lettre::transport::EmailTransport [] [src]

pub trait EmailTransport<U> {
    fn send<T: SendableEmail>(&mut self, email: T) -> U;
    fn close(&mut self);
}

Transport method for emails

Required Methods

Sends the email

Close the transport explicitly

Implementors