[Qt-interest] QSslSocket hangs when logging into GMail via IMAP
Michael Chechow
minicheck at googlemail.com
Sun Jul 17 21:24:08 CEST 2011
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
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 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?
Thanks in advance,
Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110717/63b51ccd/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: IMAP.zip
Type: application/zip
Size: 2424 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110717/63b51ccd/attachment.zip
More information about the Qt-interest-old
mailing list