2013-03-11 03:37:41 +08:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
IMAP
|
2014-03-30 18:40:50 +08:00
|
|
|
Clear Text
|
2013-03-11 03:37:41 +08:00
|
|
|
FETCH
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
2013-03-21 20:42:32 +08:00
|
|
|
body
|
|
|
|
|
|
|
|
--
|
|
|
|
yours sincerely
|
2013-03-11 03:37:41 +08:00
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
imap
|
|
|
|
</server>
|
|
|
|
<name>
|
2013-09-14 21:57:15 +08:00
|
|
|
IMAP FETCH message by UID and SECTION
|
2013-03-11 03:37:41 +08:00
|
|
|
</name>
|
|
|
|
<command>
|
|
|
|
'imap://%HOSTIP:%IMAPPORT/801/;UID=123/;SECTION=1' -u user:secret
|
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
2013-03-11 19:48:36 +08:00
|
|
|
A001 CAPABILITY
|
|
|
|
A002 LOGIN user secret
|
|
|
|
A003 SELECT 801
|
|
|
|
A004 FETCH 123 BODY[1]
|
|
|
|
A005 LOGOUT
|
2013-03-11 03:37:41 +08:00
|
|
|
</protocol>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|