cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: imap and headers?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 26 Mar 2010 17:19:54 +0100 (CET)

On Thu, 25 Mar 2010, Ben Greear wrote:

> I just tried out an IMAP url against an account with a single email msg, and
> it downloaded the text of the email, but there were no headers.
>
> Is there an option to download the headers as well, maybe look something
> like mbox format?

Perhaps headers should be sent just like headers in HTTP so that the app can
select how to deal with them (or not)?

There's but one problem with that I think. We (ab)use the headers concept in
IMAP just like with FTP (iirc) to pass on server responses to client commands,
and if we want to provide headers for mails as headers, we need to decide how
we really want to do it...

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-03-26