soph_mail/
lib.rs

1pub mod config;
2pub mod error;
3pub mod support;
4pub mod traits;
5
6pub type MailResult<T, E = error::Error> = Result<T, E>;
7
8pub struct Mail {
9    config: config::Mail,
10    transport: Box<dyn traits::TransportTrait>,
11}
12
13// re-export
14pub use lettre::*;
15pub use soph_core::*;