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> { ... } }
Blocking Transport method for emails
Associated Types
Loading content...Required methods
Loading content...Provided methods
fn send(&self, message: &Message) -> Result<Self::Ok, Self::Error>
[src]
This is supported on crate feature
builder
only.Sends the email
Implementors
impl Transport for FileTransport
[src]
impl Transport for FileTransport
[src]This is supported on crate feature
file-transport
only.impl Transport for SendmailTransport
[src]
impl Transport for SendmailTransport
[src]This is supported on crate feature
sendmail-transport
only.impl Transport for SmtpTransport
[src]
impl Transport for SmtpTransport
[src]This is supported on crate feature
smtp-transport
only.