[−][src]Trait lettre::EmailTransport
Transport method for emails
Required Methods
fn send<T: SendableEmail<'a, U> + 'a>(&mut self, email: &'a T) -> V
Sends the email
Implementors
impl<'a, T: Read + 'a> EmailTransport<'a, T, Result<(), Error>> for FileEmailTransport
[src]
impl<'a, T: Read + 'a> EmailTransport<'a, T, Result<(), Error>> for FileEmailTransport
fn send<U: SendableEmail<'a, T> + 'a>(&mut self, email: &'a U) -> FileResult
[src]
fn send<U: SendableEmail<'a, T> + 'a>(&mut self, email: &'a U) -> FileResult
impl<'a, T: Read + 'a> EmailTransport<'a, T, Result<(), Error>> for SendmailTransport
[src]
impl<'a, T: Read + 'a> EmailTransport<'a, T, Result<(), Error>> for SendmailTransport
fn send<U: SendableEmail<'a, T> + 'a>(&mut self, email: &'a U) -> SendmailResult
[src]
fn send<U: SendableEmail<'a, T> + 'a>(&mut self, email: &'a U) -> SendmailResult
impl<'a, T: Read + 'a> EmailTransport<'a, T, Result<(), ()>> for StubEmailTransport
[src]
impl<'a, T: Read + 'a> EmailTransport<'a, T, Result<(), ()>> for StubEmailTransport
fn send<U: SendableEmail<'a, T>>(&mut self, email: &'a U) -> StubResult
[src]
fn send<U: SendableEmail<'a, T>>(&mut self, email: &'a U) -> StubResult
impl<'a, T: Read + 'a> EmailTransport<'a, T, Result<Response, Error>> for SmtpTransport
[src]
impl<'a, T: Read + 'a> EmailTransport<'a, T, Result<Response, Error>> for SmtpTransport
fn send<U: SendableEmail<'a, T> + 'a>(&mut self, email: &'a U) -> SmtpResult
[src]
fn send<U: SendableEmail<'a, T> + 'a>(&mut self, email: &'a U) -> SmtpResult
Sends an email