panorama/imap/bin/greenmail_test.rs

14 lines
278 B
Rust

use anyhow::Result;
use imap::client::ConfigBuilder;
#[tokio::main]
async fn main() -> Result<()> {
let _client = ConfigBuilder::default()
.hostname(String::from("localhost"))
.port(3993)
.tls(true)
.connect()
.await?;
Ok(())
}