A Rust library for building, signing with DKIM, and sending email messages via SMTP.
mail-send is a Rust library for building, signing, and sending email messages via SMTP. It provides RFC-compliant message generation with full MIME support and modern security features like DKIM signatures and TLS encryption. The library solves the problem of programmatically sending secure, standards-compliant email from Rust applications.
Rust developers building applications that require programmatic email delivery, such as web servers, notification services, or backend systems. It is particularly suited for those needing robust security features like DKIM signing and flexible SMTP authentication.
Developers choose mail-send for its strict adherence to email standards (RFCs), comprehensive security with DKIM and TLS support, and ease of use through a builder pattern API. Its async-first design using Tokio offers high performance, making it a reliable and modern choice for email delivery in Rust.
E-mail delivery library for Rust with DKIM support
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Builds email messages conforming to RFC 5322 and MIME standards, ensuring interoperability and reliability in email delivery.
Supports DKIM signatures with ED25519-SHA256 and RSA algorithms, and TLS encryption for secure SMTP transmission, as highlighted in the README.
Automatically negotiates SMTP auth mechanisms from CRAM-MD5 to PLAIN, including XOAUTH2 for Google services, simplifying setup.
Built with Tokio for high-performance, non-blocking operations, making it suitable for high-throughput email sending in async Rust applications.
Provides an intuitive builder pattern for constructing emails, as shown in the usage examples, reducing boilerplate code.
Email parsing is not included and requires a separate crate (mail-parser), adding dependency management complexity for full email handling.
Mandates the Tokio async runtime, which may not align with projects using other runtimes like async-std or preferring synchronous code.
Limited to SMTP protocol; lacks built-in support for alternative delivery methods like HTTP APIs from modern email service providers.