[−][src]Trait lettre::transport::EmailTransport
Transport method for emails
Required methods
fn send<T: SendableEmail>(&mut self, email: T) -> U
Sends the email
fn close(&mut self)
Close the transport explicitly
Implementors
impl EmailTransport<Result<(), Error>> for FileEmailTransport
[src]
fn send<T: SendableEmail>(&mut self, email: T) -> FileResult
[src]
fn close(&mut self)
[src]
impl EmailTransport<Result<(), Error>> for StubEmailTransport
[src]
fn send<T: SendableEmail>(&mut self, email: T) -> StubResult
[src]
fn close(&mut self)
[src]
impl EmailTransport<Result<Response, Error>> for SmtpTransport
[src]
fn send<T: SendableEmail>(&mut self, email: T) -> SmtpResult
[src]
Sends an email
fn close(&mut self)
[src]
Closes the inner connection