summaryrefslogtreecommitdiff
path: root/tests/data/test801
blob: af7e3876658a3f5d72074df2bd0a91cd15111ef0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<testcase>
<info>
<keywords>
IMAP
FETCH
</keywords>
</info>

#
# Server-side
<reply>
<data>
body

--
  yours sincerely
</data>
</reply>

#
# Client-side
<client>
<server>
imap
</server>
 <name>
IMAP FETCH message by UID and SECTION
 </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>
A001 CAPABILITY
A002 LOGIN user secret
A003 SELECT 801
A004 FETCH 123 BODY[1]
A005 LOGOUT
</protocol>
</verify>
</testcase>