Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Searchin good tutorial for POP3 protocol

Status
Not open for further replies.

tehem

Programmer
Dec 13, 2000
6
FR
I'm searching for a tutorial on pop3 protocol via C++ programming, do anyone know where I could find this?
 
You're going to need to know two things to do this.

1. The actual pop3 protocol. I don't know where the official home is but this seems to be valid 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.

Good luck.
GunJack@atlbiz.com
 
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

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top