Trait lettre::Transport[][src]

pub trait Transport {
    type Ok;
    type Error;
    fn send_raw(
        &self,
        envelope: &Envelope,
        email: &[u8]
    ) -> Result<Self::Ok, Self::Error>; fn send(&self, message: &Message) -> Result<Self::Ok, Self::Error> { ... } }
Expand description

Blocking Transport method for emails

Associated Types

Response produced by the Transport

Error produced by the Transport

Required methods

Provided methods

This is supported on crate feature builder only.

Sends the email

Implementors