Struct lettre::file::FileEmailTransport
[−]
[src]
pub struct FileEmailTransport { /* fields omitted */ }
Writes the content and the envelope information to a file
Methods
impl FileEmailTransport
[src]
pub fn new<P: AsRef<Path>>(path: P) -> FileEmailTransport
[src]
Creates a new transport to the given directory
Trait Implementations
impl Debug for FileEmailTransport
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'a, T: Read + 'a> EmailTransport<'a, T, FileResult> for FileEmailTransport
[src]
fn send<U: SendableEmail<'a, T> + 'a>(&mut self, email: &'a U) -> FileResult
[src]
Sends the email