#smtp #mailer #tls-connection

samotop-delivery

Set of transports to deliver mail to, notably to SMTP/LMTP, but also maildir

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

Download history 17/week @ 2024-07-15 26/week @ 2024-07-22 81/week @ 2024-07-29 25/week @ 2024-08-05 15/week @ 2024-08-12 17/week @ 2024-08-19 23/week @ 2024-08-26 23/week @ 2024-09-02 23/week @ 2024-09-09 4/week @ 2024-09-16 30/week @ 2024-09-23 19/week @ 2024-09-30 85/week @ 2024-10-07 31/week @ 2024-10-14 23/week @ 2024-10-21 9/week @ 2024-10-28

149 downloads per month
Used in 2 crates (via samotop)

MIT/Apache

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