panorama/imap/bin/greenmail_test.rs

15 lines
287 B
Rust
Raw Normal View History

2021-08-08 23:45:18 +00:00
use anyhow::Result;
2021-08-08 23:53:21 +00:00
use panorama_imap::client::ConfigBuilder;
2021-08-08 23:45:18 +00:00
2021-08-08 06:41:07 +00:00
#[tokio::main]
2021-08-08 23:45:18 +00:00
async fn main() -> Result<()> {
let _client = ConfigBuilder::default()
.hostname(String::from("localhost"))
.port(3993)
.tls(true)
.connect()
.await?;
Ok(())
}