Expand description
email-tester core library.
Pure-Rust, single-binary mail-server diagnostic. Used by both the
CLI (bin/cli.rs) and the GUI (bin/gui.rs).
All protocol tests emit progress through tracing events with a
protocol field ("smtp", "imap", or "pop3") so any subscriber
(terminal formatter, GUI log widget, file writer) can route them.
Re-exports§
pub use config::Config;pub use config::Profile;pub use runner::run_tests;pub use runner::TestOutcome;pub use runner::TestResults;
Modules§
- config
- TOML config file with named profiles. Auto-load order:
- diagnostics
- Translates raw server replies into human-readable, IT-actionable hints.
- imap
- Minimal hand-rolled IMAP client - just enough for connectivity diagnostics (CAPABILITY, STARTTLS, LOGIN, LIST, SELECT, LOGOUT).
- pop3
- Minimal hand-rolled POP3 client - USER/PASS, CAPA, STAT, STLS, QUIT.
- providers
- Built-in mail-provider presets.
- runner
- High-level orchestrator: run whichever of SMTP / IMAP / POP3 are enabled.
- smtp
- SMTP connectivity test using lettre.
- theme
- Cross-platform OS appearance (dark/light) detection.
- tls
- TLS configuration helpers built on rustls.
Functions§
- outlook_
defaults - Built-in Outlook.com / Office 365 defaults.