| Crates.io | oxidite-mail |
| lib.rs | oxidite-mail |
| version | 2.0.1 |
| created_at | 2025-12-07 14:23:48.438057+00 |
| updated_at | 2026-01-25 01:39:00.750464+00 |
| description | Email sending for Oxidite with SMTP support |
| homepage | |
| repository | https://github.com/meshackbahati/rust-oxidite |
| max_upload_size | |
| id | 1971678 |
| size | 45,884 |
Email sending for Oxidite with SMTP support.
[dependencies]
oxidite-mail = "0.1"
use oxidite_mail::*;
// Create transport
let transport = SmtpTransport::new("smtp.gmail.com", 587).unwrap()
.credentials("user", "password")
.build();
// Create mailer
let mailer = Mailer::new(transport);
mailer.send(
Email::new()
.to("recipient@example.com")
.subject("Hello")
.body("Email content")
).await?;
MIT