use crate::helpers::{TestInfoBuilder, EMPTY_MESSAGE}; use lettre::{transport::smtp::client::Tls, Transport}; #[test] fn basic() { let test_info = TestInfoBuilder::new().default_auth_user().build(); let mailer = test_info.mailer_builder.tls(Tls::None).build(); assert!(mailer.send(&EMPTY_MESSAGE).is_ok()); }