C12.1: ely-mail-engine connects over IMAP, POP3 and SMTP

TLS or STARTTLS with the system trust store; password and XOAUTH2
logins keep the server's words on refusal. IMAP and POP3 are written
in the engine (imap-proto parses IMAP replies): async-imap dropped
NO/BAD on LIST and FETCH and lost BYE text, async-pop kept dot
stuffing and logged passwords. SMTP runs its own transaction with
RFC 5321 mailbox checks, full dot transparency, SMTPUTF8 and RSET.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
ZacharyZhang-NYandClaude Opus 5.5 committed 2026-10-19 16:53:53 -04:00
1 parent d7de5619a7
commit 9f47b94714
21 files changed
+2848 -20

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
//! Mail protocols, sync and local storage for ElyMail.
mod error;
mod imap;
mod net;
mod pop;
mod smtp;
mod wire;
pub use error::{Error, Result};
pub use imap::Imap;
pub use net::{Login, Secret, Security, Server, system_tls};
pub use pop::Pop;
pub use smtp::Smtp;
pub use tokio_rustls::TlsConnector;