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