xref: /curl/tests/data/test801 (revision 3fd80c7b)
1<testcase>
2<info>
3<keywords>
4IMAP
5Clear Text
6FETCH
7</keywords>
8</info>
9
10#
11# Server-side
12<reply>
13<data>
14body
15
16--
17  yours sincerely
18</data>
19</reply>
20
21#
22# Client-side
23<client>
24<server>
25imap
26</server>
27<name>
28IMAP FETCH message by MAILINDEX and SECTION
29</name>
30<command>
31'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER/;MAILINDEX=123/;SECTION=1' -u user:secret
32</command>
33</client>
34
35#
36# Verify data after the test has been "shot"
37<verify>
38<protocol>
39A001 CAPABILITY
40A002 LOGIN user secret
41A003 SELECT %TESTNUMBER
42A004 FETCH 123 BODY[1]
43A005 LOGOUT
44</protocol>
45</verify>
46</testcase>
47