Click to See Complete Forum and Search --> : pop3 server


Jim Roden
May 23rd, 1999, 01:49 PM
Hello,
I am trying to write a pop3 server application. Has any one out there had any luck?
I would be grateful for any help.



Best regards
Bassman

Dennis Ariës
May 26th, 1999, 08:24 AM
Yes, I have created both Pop3 servers and clients, what exactly is the problem?

The main thing you have to deal with is the commands that you can accept and what responses you are supposed to give to those commands. You can write a very useful pop3-server with only 4 commands implemented.

Greetz,
Dennis

CraigF
July 14th, 1999, 03:17 PM
I have made a Telnet Server, so is it much different?

What commands do you use?

Dennis Ariës
July 15th, 1999, 02:13 AM
No it is not that different. Basicly, the pop3 server is a telnet server, only
with specified commands:

Initial, after connection, you have two available commands:
QUIT - disconnect
USER <username> - username to log on

after specifying the USER, you usually have to send a password
PASS <password>

At this point you have established an active connection and have the following commands available to you:

STAT - status (responds with +OK <number of msg> <number of bytes>
LIST - list headers
RETR <id> - retrieve message <id>
DELE <id> - delete message <id>
QUIT - disconnect

Good luck.

Dennis

CraigF
July 21st, 1999, 03:35 PM
How do you accept more than one user, when multiple users connect to the same IP Address and use the same port number?

How does my program know who to send data to, or handle more than one user at anytime?

Cheers
Craig.