Struct lettre::smtp::SmtpTransport [] [src]

pub struct SmtpTransport { /* fields omitted */ }

Structure that implements the high level SMTP client

Methods

impl<'a> SmtpTransport
[src]

[src]

Simple and secure transport, should be used when possible. Creates an encrypted transport over submission port, using the provided domain to validate TLS certificates.

[src]

Creates a new configurable builder

[src]

Creates a new local SMTP client to port 25

[src]

Creates a new SMTP client

It does not connect to the server, but only creates the SmtpTransport

[src]

Reset the client state

Trait Implementations

impl<'a, T: Read + 'a> EmailTransport<'a, T, SmtpResult> for SmtpTransport
[src]

[src]

Sends an email

Auto Trait Implementations

impl Send for SmtpTransport

impl Sync for SmtpTransport