1 Attachment(s)
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
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?
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?
Re: QPop3 and QSocket (example from wysota)
Quote:
Originally Posted by jacek
I'll check it out thanks
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:
Quote:
$ 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).
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 ?
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
:o