7 unstable releases
0.13.1 | Jan 30, 2022 |
---|---|
0.13.0 | Aug 4, 2021 |
0.12.0 | Feb 6, 2021 |
0.5.0 | Nov 21, 2020 |
0.4.4 | Oct 30, 2020 |
#255 in Email
149 downloads per month
Used in 2 crates
(via samotop)
335KB
9K
SLoC
samotop-delivery 0.13.1
Mail dispatch abstraction
samotop-delivery is a set of transports to deliver mail to, notably to SMTP/LMTP, but also maildir... It is used in Samotop as a dispatch solution for incoming mail, but you can use it to send mail, too.
Features
- Do it SMTP style:
- Speak SMTP
- Speak LMTP
- Connect over TCP
- Connect over Unix sockets
- Connect to a Child process IO
- TLS support on all connections
- Reuse established connections
- Do it locally:
- Write mail to a MailDir
- Write mail to lozizol journal
- Write mail to an MBox file - contributions welcome
- Write mail to a single dir - fit for debug only
- Popular integrations:
- Send mail with sendmail
LMTP on Unix socket enables wide range of local delivery integrations, dovecot or postfix for instance. Some mail delivery programs speak LMTP, too.
Credits
This is a fork of async-smtp from the awesome delta.chat project.
License - MIT OR Apache-2.0
Licensed under either of Apache License, Version 2.0 or MIT license at your option.Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Dependencies
~5–15MB
~217K SLoC