2. Sockets programming (unless you're using a higher level MS control). Here's one of the best tutorials I've found on this complete with source examples
I've done this type of programming so let me know if you get stuck. I would recommend first learning the Pop protocol using telnet to get familiar with sending commands to the mail server. Once you understand the language, it's just a matter of learning how to create and connect a socket to the mail server and send the same commands.
In fact I know socket programming already, and I learn the pop3 RFC, but the most difficult for now is to interpret messages and over all to tell my socket to WAIT until all mail is downloaded, well I suppose it's just a matter of message treatment as message size is obtained with the list command, isn't it?
It sounds like you have all the background you need. Are you having a specific problem with the code? I'm not sure I understand exactly what you're having trouble with. If you're just looking for some general coding examples, I'd try searching on Google as I found a number of tutorial type pages like this one
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.