cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Using curl to get Yahoo mail

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 28 Mar 2002 08:15:14 +0100 (MET)

On Fri, 22 Mar 2002, Kerry Nice wrote:

> Has anybody here figured out how to use curl to get email from yahoo
> accounts, something like gotmail does? I've tried a few times but didn't
> get very far with this. I get confused by the cookies and the redirects
> and other things. It seems that now they want to charge for pop access,
> this seems a little more desirable to figure this out.
>
> I've looked for something already written, but I haven't found anything
> yet.
>
> Here is what I have so far, any idea how to make this all work?

[snip]

I don't have any specific answers to your specific problem, but in general
you need to 1) get a page (use present cookiejar, store cookiejar) 2) follow
redirects. 3) parse the result, if there are more links to get, goto 1.

I think you need to single out identifyable problems and ask. It'll be a lot
easier for us, who don't have a yahoo account and who don't feel like
fiddling with 32 curl command lines before we understand what or where the
problem might be.

That's just a word of advice. Feel free to ignore at will.

Good luck!

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2002-03-28