cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: IMAP/SMTP/POP3 examples

From: Ben Greear <greearb_at_candelatech.com>
Date: Tue, 08 Jun 2010 08:18:52 -0700

On 06/08/2010 07:35 AM, Alona Rossen wrote:
> Hello Ben,
>
> Have you been able to fix IMAP issues mentioned in your post on
> 03/31/2010:
>
> Current curl IMAP code will not do anything useful..it doesn't parse
> URLs and
> always grabs
> message ID 1 in INBOX. I'm working on fixing some of this and hope to
> have a
> patch
> to post for comments later today.
> That said, turning curl IMAP into a fully functional client app will
> take work
> even beyond what
> I'm considering.

The code in my curl.ct branch works for most cases, but may fail when
using the multi-api in curl. I think it would also have trouble if you
got a list of email ids that was more than 16k in length.

It works fine for getting a normal sized list of email IDs and then
grabbing the mails one at a time.

Thanks,
Ben

>
> Thanks,
> Alona
>
> That said, turning curl IMAP into a fully functional
> -----Original Message-----
> From: curl-library-bounces_at_cool.haxx.se
> [mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Ben Greear
> Sent: Tuesday, June 01, 2010 7:34 PM
> To: libcurl development
> Subject: Re: IMAP/SMTP/POP3 examples
>
> On 06/01/2010 03:32 PM, Daniel Stenberg wrote:
>> On Mon, 31 May 2010, Alona Rossen wrote:
>>
>>> Are there any examples for using libcurl for IMAP/SMTP/POP3 protocols
>>> available?
>>
>> No. But dive in and have a go at it, and when you get something
> running
>> please submit it to us so that we _get_ examples for these protocols!
>>
>
> Just in case someone gets motivated: The IMAP code is basically
> non-functional,
> so please don't expect much from it w/out some serious libcurl hacking.
>
> We had good results using SMTP and POP3 though.
>
> Thanks,
> Ben
>

-- 
Ben Greear <greearb_at_candelatech.com>
Candela Technologies Inc  http://www.candelatech.com
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-06-08