Module lettre::smtp
[−]
[src]
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
authentication |
Provides authentication mechanisms |
client |
SMTP client |
commands |
SMTP commands |
error |
Error and result type for SMTP clients |
extension |
ESMTP features |
response |
SMTP response, containing a mandatory return code and an optional text message |
util |
Utils for string manipulation |
Structs
SmtpTransport |
Structure that implements the high level SMTP client |
SmtpTransportBuilder |
Contains client configuration |
Enums
ClientSecurity |
How to apply TLS to a client connection |
ConnectionReuseParameters |
Configures connection reuse behavior |
Constants
COLON |
Colon |
CRLF |
The line ending for SMTP transactions (carriage return + line feed) |
MESSAGE_ENDING |
The ending of message content |
NUL |
NUL unicode character |
SMTP_PORT |
Default smtp port |
SP |
The word separator for SMTP transactions |
SUBMISSION_PORT |
Default submission port |