CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5

Thread: pop3 server

  1. #1
    Join Date
    May 1999
    Posts
    1

    pop3 server

    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

  2. #2
    Join Date
    May 1999
    Location
    Netherlands
    Posts
    3

    Re: pop3 server

    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


  3. #3
    Join Date
    Jun 1999
    Posts
    11

    Re: pop3 server

    I have made a Telnet Server, so is it much different?

    What commands do you use?


  4. #4
    Join Date
    May 1999
    Location
    Netherlands
    Posts
    3

    Re: pop3 server

    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



  5. #5
    Join Date
    Jun 1999
    Posts
    11

    Re: pop3 server

    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.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured