[Qt-interest] QSslSocket hangs when logging into GMail via IMAP

Bo Thorsen bo at fioniasoftware.dk
Mon Jul 18 09:44:40 CEST 2011


Den 17-07-2011 21:24, Michael Chechow skrev:
> Hello,
>
> I try to write a very simple IMAP client. In order to test some IMAP
> commands, I use a slightly modified example (see attachment) from here:
> http://labs.qt.nokia.com/2007/02/28/ssl-proxies-and-md5-sums/
>
> These are the settings I use:
> Host: imap.gmail.com <http://imap.gmail.com>
> Port: 993
>
> After connecting, I login using the following line:
> "a001 login username password"
>
> The server returns a success message:
> "a001 OK username at googlemail.com <mailto:username at googlemail.com>
> authenticated (Success)"
>
> After the login, I try to send some more commands to the server. But
> from now on, I do not get any response regardless which command I try.
>
> I tried logging into another IMAP server (not Google), which worked fine.
>
> Could you tell me what is causing these issues?

No, because you did not send any information other than "it doesn't 
work". How many bugs have you fixed with that kind of information?

Bo Thorsen,
Fionia Software.

-- 

Expert Qt and C++ developer for hire
Contact me if you need expert Qt help
http://www.fioniasoftware.dk



More information about the Qt-interest-old mailing list