+OK POP3 ready
user testhack
+OK
pass hacker123
+OK Authentication succeeded
stat //查看邮箱状态
+OK 3 1662
list //显示邮箱列表
+OK 3
1 513
2 573
3 576
.
top 3 0 // 查看指定邮件的邮件头,0表示查看整个邮件头,其它正整数表示限制返回多少行。
+OK Top of message follows
Return-Path: <testhack@sohu.com>
X-Original-To: testhack@sohu.com
Delivered-To: testhack@sohu.com
Received: from relay.mail.sohu.com (unknown [192.168.95.48])
by mx55.mail.sohu.com (Postfix) with ESMTP id 3E4B7B80106
for <testhack@sohu.com>; Fri, 11 Jun 2010 11:05:26 +0800 (CST)
Received: from smtp.sohu.com (unknown [123.120.33.52])
by relay.mail.sohu.com (Postfix) with ESMTPA id 84FE23A5C1AB
for <testhack@sohu.com>; Fri, 11 Jun 2010 11:03:35 +0800 (CST)
to:testhack@sohu.com
from:testhack@sohu.com
subject:testmail
DSPAM: PASS
X-SOHU-Antispam-Bayes: 0
.
retr 3 //获取指定邮件
+OK 576
Return-Path: <testhack@sohu.com>
X-Original-To: testhack@sohu.com
Delivered-To: testhack@sohu.com
Received: from relay.mail.sohu.com (unknown [192.168.95.48])
by mx55.mail.sohu.com (Postfix) with ESMTP id 3E4B7B80106
for <testhack@sohu.com>; Fri, 11 Jun 2010 11:05:26 +0800 (CST)
Received: from smtp.sohu.com (unknown [123.120.33.52])
by relay.mail.sohu.com (Postfix) with ESMTPA id 84FE23A5C1AB
for <testhack@sohu.com>; Fri, 11 Jun 2010 11:03:35 +0800 (CST)
to:testhack@sohu.com
from:testhack@sohu.com
subject:testmail
DSPAM: PASS
X-SOHU-Antispam-Bayes: 0
testmaildata.
.
dele 3 //删除第3封邮件
+OK
stat //查看邮箱状态
+OK 3 1086
list //显示邮箱列表
+OK 3
1 513
2 573
3 0
.
quit
+OK
转载请注明:exchen's blog » pop3