#send-email #smtp #fault-tolerant #text #async #encryption

maily

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

3 unstable releases

0.2.1 Jul 11, 2024
0.2.0 Apr 25, 2024
0.0.0 Mar 24, 2024

#352 in Email


Used in mail-message

GPL-3.0-or-later

26KB
536 lines

pipeline crates.io Docs

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–27MB
~395K SLoC