cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Reading gmail with imap unsuccessful on Win32

From: Steve Holme <steve_holme_at_hotmail.com>
Date: Sat, 26 Oct 2013 10:40:59 +0100

HI Mark,

On Fri, 26 Aug 2013, Mark Hessling wrote:

> The certificate file I specified for Windows used was copied
> from my Linux machine, and I've also tried specifying the
> cacert.pem file downloaded from curl.haxx.se.
>
>
> Any help appreciated.

To me it looks like there is a problem with the SSL connection.

You can see from the log that "A001 LOGOUT" was sent which would indicate
that there is a problem with establishing the SSL connection rather than a
TCP/IP connection. This is by-the-by really but "A001 LOGOUT" shouldn't be
sent in this case, and has been fixed in the latest version of code in
repository.

As for your issue - can you try using -k (which is insecure mode) rather
than --cacert .\ca-certificates.crt but it should at least prove if IMAP is
working as expected?

Kind Regards

Steve
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-10-26