Registry / networking / imap
library2.4.1rscratesunverified

IMAP client for Rust.

# Cargo.toml [dependencies] imap = "2.4.1"
INSTALL
IMPORT
SIG · IMAP
I
imap
networkingrustv2.4.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Client
use imap::Client;

Connects to an IMAP server on port 993.

use imap::Client; fn main() -> Result<(), Box<dyn std::error::Error>> { let client = Client::new("imap.example.com", 993)?; println!("Connected to IMAP server"); Ok(()) }
Debug
Known issues
gotchaRequires TLS feature for secure connections; default features may not include TLS.
fix
Add `features = ["tls"]` to the imap dependency in Cargo.toml.
affects: >=2.0.0
Upgrade
Version history
2.4.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
imap — cargo add imap · libregistry