Crate maily

source ·
Expand description

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.

Structs§

  • A type representing a single email account.
  • Configconfig
    A type representing a deserializable configuration for the email sending functionality.
  • A type capturing options for capturing a screenshot.

Enums§

Functions§