Module async_smtp::smtp
source · 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 client
SMTP commands
Error and result type for SMTP clients
ESMTP features
SMTP response, containing a mandatory return code and an optional text
message
Utils for string manipulation
Structs
Server address, basically a combination of a host (domain/ip address) and a port
Contains client configuration
Structure that implements the high level SMTP client
Enums
How to apply TLS to a client connection
Configures connection reuse behavior
Constants
Default smtp port
Default submission over TLS port
Default submission port