1<testcase>
2<info>
3<keywords>
4IMAP
5Clear Text
6FETCH
7</keywords>
8</info>
9
10#
11# Server-side
12<reply>
13<data>
14From: me@somewhere
15To: fake@nowhere
16
17body
18
19--
20  yours sincerely
21</data>
22</reply>
23
24#
25# Client-side
26<client>
27<server>
28imap
29</server>
30 <name>
31IMAP FETCH message
32 </name>
33 <command>
34'imap://%HOSTIP:%IMAPPORT/800/;MAILINDEX=1' -u '"user:sec"ret{'
35</command>
36</client>
37
38#
39# Verify data after the test has been "shot"
40<verify>
41<protocol>
42A001 CAPABILITY
43A002 LOGIN "\"user" "sec\"ret{"
44A003 SELECT 800
45A004 FETCH 1 BODY[]
46A005 LOGOUT
47</protocol>
48</verify>
49</testcase>
50