Struct lettre::stub::StubEmailTransport [] [src]

pub struct StubEmailTransport { /* fields omitted */ }

This transport logs the message envelope and returns the given response

Methods

impl StubEmailTransport
[src]

[src]

Creates a new transport that always returns the given response

[src]

Creates a new transport that always returns a success response

Trait Implementations

impl Debug for StubEmailTransport
[src]

[src]

Formats the value using the given formatter.

impl<'a, T: Read + 'a> EmailTransport<'a, T, StubResult> for StubEmailTransport
[src]

[src]

Sends the email