Monday, December 6, 2010

POP3 protocol telnet simulation

> telnet pop.xxx.com 110
Trying xxx.xxx.xxx.xxx
Connected to pop.xxx.com.
Escape character is '^]'.
+OK POP3 Ready ospop1 0002002c
user honying@abc.com.hk
+OK USER honying@abc.com.hk set, mate
pass kokogoda
+OK Logged in.
quit
+OK Logging out.

S:    +OK POP3 server ready <1896.697170952@dbc.mtview.ca.us>
C:    APOP mrose c4c9334bac560ecc979e58001b3e22fb
S:    +OK mrose's maildrop has 2 messages (320 octets)
C:    STAT
S:    +OK 2 320
C:    LIST
S:    +OK 2 messages (320 octets)
S:    1 120
S:    2 200
S:    .
C:    RETR 1
S:    +OK 120 octets
S:    <the POP3 server sends message 1>
S:    .
C:    DELE 1
S:    +OK message 1 deleted
C:    RETR 2
S:    +OK 200 octets
S:    <the POP3 server sends message 2>
C:    QUIT
S:    +OK dewey POP3 server signing off (maildrop empty)

No comments:

Post a Comment