Struct lettre::transport::stub::StubEmailTransport
[−]
[src]
pub struct StubEmailTransport;
This transport does nothing except logging the message envelope
Trait Implementations
impl EmailTransport<StubResult> for StubEmailTransport
[src]
fn send<T: SendableEmail>(&mut self, email: T) -> StubResult
Sends the email
fn close(&mut self)
Close the transport explicitly