use-smtp
SMTP protocol vocabulary primitives for RustUse.
Experimental
use-smtp is experimental while use-email remains below 0.3.0.
Example
use ;
let mail_from = MailFrom;
let rcpt_to = RcptTo;
let reply = new?;
assert_eq!;
assert_eq!;
assert_eq!;
# Ok::
Scope
- SMTP command, reply, reply code, enhanced status code, extension, EHLO keyword, MAIL FROM, RCPT TO, DATA, QUIT, and capability markers.
- Protocol vocabulary only.
Non-goals
- Network client behavior.
- TLS negotiation.
- Authentication, delivery, retry, queue, or provider integration.
License
Licensed under either Apache-2.0 or MIT.