Results 1 to 7 of 7

Thread: QPop3 and QSocket (example from wysota)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Posts
    273
    Thanks
    42
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default QPop3 and QSocket (example from wysota)

    Hello everybody,

    QT = 3.4
    OS: Windows XP
    Compiler: MINGW

    i am looking for to understand the example from wysota. After compiling and running the program, it happens nothing..
    the program should connect with a Server by login name and password.
    And i should get a list of my emails via qDebug.
    Can somebody say me why after running the program happens nothing?
    I get no erros or qDebug messages..


    Best Regards
    Attached Files Attached Files

  2. #2
    Join Date
    Jan 2006
    Location
    Athens - Greece
    Posts
    219
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QPop3 and QSocket (example from wysota)

    Quote Originally Posted by raphaelf
    the program should connect with a Server by login name and password.
    And i should get a list of my emails via qDebug.
    Can somebody say me why after running the program happens nothing?
    Though wysota knows better, have you seen any network activity by your side? You can use ethereal to check out what is sent to the server and what the server replies and give us some feedback. If wysota reads this, I'm intrested in sending mails also (right now I'm using a quick & dirty solution (system call with mail)). Any pointers on that?

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QPop3 and QSocket (example from wysota)

    Quote Originally Posted by yop
    I'm intrested in sending mails also (right now I'm using a quick & dirty solution (system call with mail)). Any pointers on that?
    Maybe this?

  4. #4
    Join Date
    Jan 2006
    Location
    Athens - Greece
    Posts
    219
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QPop3 and QSocket (example from wysota)

    Quote Originally Posted by jacek
    Maybe this?
    I'll check it out thanks

  5. #5
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QPop3 and QSocket (example from wysota)

    Quote Originally Posted by raphaelf
    Can somebody say me why after running the program happens nothing?
    I get no erros or qDebug messages..
    Hello,

    looks to me that you are trying to connect to a wrong server. You are connecting to "www.hotmail.com:110", but:

    $ dig -t mx hotmail.com

    ;; QUESTION SECTION:
    ;hotmail.com. IN MX

    ;; ANSWER SECTION:
    hotmail.com. 3600 IN MX 5 mx1.hotmail.com.
    hotmail.com. 3600 IN MX 5 mx2.hotmail.com.
    hotmail.com. 3600 IN MX 5 mx3.hotmail.com.
    hotmail.com. 3600 IN MX 5 mx4.hotmail.com.
    which means hotmail.com domain mail is served by mx{1,2,3,4}.hotmail.com, so you should connect to one of them. www.hotmail.com:110 just drops connections, check it out yourself by connecting with a telnet to it (telnet www.hotmail.com 110).

  6. #6
    Join Date
    Jan 2006
    Location
    Kerala
    Posts
    371
    Thanks
    76
    Thanked 37 Times in 32 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QPop3 and QSocket (example from wysota)

    Quote Originally Posted by raphaelf
    i am looking for to understand the example from wysota. After compiling and running the program, it happens nothing..
    Where was the example given ?
    We can't solve problems by using the same kind of thinking we used when we created them

  7. #7

    Default Re: QPop3 and QSocket (example from wysota)

    Quote Originally Posted by sunil.thaha
    Where was the example given ?
    If u mean of the example of wysota, then it is in the thread attachment:
    http://www.qtcentre.org/forum/attach...0&d=1137673383


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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.