Results 1 to 13 of 13

Thread: Using QTcpSockt to check an IMAP server

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Paris, France
    Posts
    227
    Thanks
    3
    Thanked 21 Times in 21 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Red face Using QTcpSockt to check an IMAP server

    Hello there,

    I have some troubles using QTcpSocket (Qt4)

    My code does those simple steps :
    - Connect to an IMAP server
    - Login (with username / password pair)
    - Look for new messages (if any)
    - Logout

    I checked the FortuneThreaded in the Qt4 doc, and tried to do something similar...
    but it doesn't work that much : it seems I can only connect to server...
    And the program seems to close unexpectedly, even if I put some sleep events...

    I joined my two files in attachment !

    Thanks in advance for any help,

    Guilugi.

    PS : I had some similar code made with Qt3, and it works perfectly, I'm sure that's a silly mistake from me
    Attached Files Attached Files

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.