jonhoo / rust-imap

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

COMPRESS=DEFLATE #290

Open paulomartins666 opened 3 months ago

paulomartins666 commented 3 months ago

How to handle DEFLATE compressed data streams, and are there any plans for related support?

jonhoo commented 2 months ago

Do you mean specifically for things like attachments? I don't think DEFLATE can be used on the entire connection? For attachments and the like, the imap crate just gives you the raw multiparts, so decoding their contents is up to you.