logo
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

Required Associated Types

Response produced by the Transport

Error produced by the Transport

Required Methods

Provided Methods

Available on crate feature builder only.

Sends the email

Implementors