jonhoo / rust-imap

IMAP client library for Rust
Apache License 2.0
477 stars 80 forks source link

Plaintext Non-SSL/TLS connection not supported #247

Closed 641i130 closed 1 year ago

641i130 commented 1 year ago

~~I've been trying to figure out how to make an IMAP connection without the TLS/SSL (via port 143) but nothing I try seems to work. Is this supported still, or did it break? All the imap::connect functions seem to only have use for TLS. (I'm assuming I'm just configuring it wrong; If possible a simple connection example would help greatly)~~ Hang on, I might've figured it out. Making a 'naked TCP' connection as the contributor recommended. I'll push an example probably for others struggling with this.