#smtp #text #async #encryption

maily

A library for easy, quick, and fault tolerant sending of emails

2 unstable releases

new 0.2.0 Apr 25, 2024
0.0.0 Mar 24, 2024

#329 in Email

Download history 82/week @ 2024-03-18 43/week @ 2024-03-25 24/week @ 2024-04-01 175/week @ 2024-04-22

203 downloads per month
Used in mail-message

GPL-3.0-or-later

25KB
509 lines

pipeline crates.io

maily

A library for easy and quick sending of emails, coming with support for a system-wide configuration for zero-config usage in clients.


lib.rs:

This library provides infrastructure for easy and quick sending of emails. It comes with built-in redundancy by allowing the configuration of multiple SMTP accounts, one of which will be chosen at random. If sending fails, another one if picked and the operation retried, until one succeeded or all failed sending.

If the pgp feature is enabled, emails can be PGP encrypted to the given set of recipients.

With the config feature enable, the library honors a global system-wide configuration. This configuration can capture anything from SMTP account to default recipients and means that clients of this crate don't have to specify anything but message contents.

Dependencies

~9–29MB
~471K SLoC