-
Notifications
You must be signed in to change notification settings - Fork 22
Read bytes when fetching or uid_fetching. #33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I've checked this patch with DavMail, an IMAP proxy. |
upon further testing of
|
@dario23 yes, the matching is certainly not perfect, i made it to work with the server that I use, davmail. |
Having thought about this for a little while, now, I'm not convinced that the approach taken by this patch is the right one. Ultimately, the API should expose more structured responses (#28), but even then we'll want to expose Since that would likely be a lot of work, and would require changing the API significantly, I don't think accepting this PR would move things in the right direction. Instead, the easy way to deal with this is to use RFC5738's IMAP extensions (specifically, I'd be happy to accept a PR for either of these (though realistically the second option is probably the one you should try out if you want to fix this), but will close this PR. |
@jonhoo there are problems with re-coding content during server communication though, e.g. when verifying signatures/checksums, which won't match after re-coding to utf8 |
This returns raw bytes for each result as well as the id.
This is a first version of this patch. It {c,sh}ould have more error checking.