Crate async_smtp

Source
Expand description

Async implementation of the SMTP protocol client in Rust.

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 limited SASL authentication mechanisms
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§

EmailAddress
Email address
Envelope
Simple email envelope representation
SendableEmail
Sendable email structure
SmtpClient
Contains client configuration
SmtpTransport
Structure that implements the high level SMTP client

Enums§

Message
Message buffer for sending.