curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Fetching emails via imap without setting the "\Seen" flag (i.e. using BODY.PEEK)

From: Luca Di Rocco via curl-library <>
Date: Wed, 15 May 2019 19:11:41 +0200

On Fri, 12 Apr 2019 at 16:03, Daniel Stenberg <> wrote:
> I'm willing to take this further and work on getting this functionality, or
> something like this, merged into curl.
> I will also insist on getting comments from more people on this approach and
> API, since while I wrote the initial IMAP code in curl back in the days I'm
> not an actual user of it.
> To make a merge more likely to happen I would like to see:
> 1. The patch submitted as a pull-request on github and have it go through
> all CI builds green.
> 2. A set of tests added for successful and unsuccessful cases. I *think* the
> existing test setup should be sufficient without too much trouble.
> 3. Documentation for users and developers on how this works and how users can
> take advantage of this feature.

Hello Daniel,

Sorry for my late reply, I have been away on a long holiday.

Thank you for accepting the feature, I will submit the pull request
and provide new test cases and docs in a few days.

Thanks and BR,
Received on 2019-05-15