#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

#186 in Email

Download history 23/week @ 2024-07-19 79/week @ 2024-07-26 29/week @ 2024-08-02 18/week @ 2024-08-09 17/week @ 2024-08-16 23/week @ 2024-08-23 21/week @ 2024-08-30 22/week @ 2024-09-06 11/week @ 2024-09-13 24/week @ 2024-09-20 21/week @ 2024-09-27 37/week @ 2024-10-04 71/week @ 2024-10-11 29/week @ 2024-10-18 10/week @ 2024-10-25 10/week @ 2024-11-01

126 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–16MB
~216K SLoC