Expand description

The SMTP transport sends emails using the SMTP protocol.

This SMTP client follows RFC 5321, and is designed to efficiently send emails from an application to a relay email server, as it relies as much as possible on the relay server for sanity and RFC compliance checks.

It implements the following extensions:

Modules

Provides limited SASL authentication mechanisms

SMTP commands

ESMTP features

Traits and impls to represent and establish network-like streams

SMTP response, containing a mandatory return code and an optional text message

Structs

Contains client configuration

FIXME: this needs to be gracefully degraded to 7bit if 8bit/utf8 is not available

Structure that implements the high level SMTP client

Enums

How to apply TLS to a client connection

Configures connection reuse behavior

An enum of all error kinds.

Constants

Default smtp port

Default submission over TLS port

Default submission port

Type Definitions

SMTP result type