Crate vsmtp_protocol
Expand description
vSMTP protocol implementation
Currently only implement a ESMTPSA server.
Re-exports
pub use tokio_rustls;
pub use tokio_rustls::rustls;
Structs
- Information received from the client at the connection TCP/IP.
- Information received from the client at the AUTH command.
- Information received from the client at the EHLO command.
- Information received from the client at the HELO command.
- Information received from the client at the MAIL FROM command.
- Information received from the client at the RCPT TO command.
- Stream for reading commands from the client.
- A SMTP receiver.
- An handle to send event from the
ReceiverHandler
to theReceiver
. - Buffer received from the client.
- Sink for sending reply to the client
Enums
- The possible outcomes of a SMTP-SASL handshake.
- Type of SMTP connection.
- Error while processing the TCP/IP stream.
- Error while parsing the arguments of a command.
- SMTP Command.
Traits
- Trait to implement to handle the SMTP commands in pair with the
Receiver
.