src/lib.rs

lettre · src/lib.rs · rust · MIT
email

Main library file for Lettre, providing email building, transports, and async support.

// Source: https://github.com/lettre/lettre | License: MIT | Copyright 2014-2024 Alexis Mousset <contact@amousset.me>
// Provided via justclaw.it.com; keep this notice with the code.
//! Lettre is an email library that allows creating and sending messages. It provides:
//!
//! * An easy to use email builder
//! * Pluggable email transports
//! * Unicode support
//! * Secure defaults
//! * Async support
//!
//! Lettre requires Rust 1.74 or newer.
//!
//! ## Features
//!
//! This section lists each lettre feature and briefly explains it.
//! More info about each module can be found in the corresponding module page.
//!
//! Features with `📫` near them are enabled by default.
//!
//! ### Typed message builder
//!
//! _Strongly typed [`message`] builder_
//!
//! * **builder** 📫: Enable the [`Me

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key