1<testcase>
2<info>
3<keywords>
4IMAP
5EXAMINE
6CUSTOMREQUEST
7</keywords>
8</info>
9
10#
11# Server-side
12<reply>
13<data>
14* 17 EXISTS
15* 2 RECENT
16* OK [UNSEEN 8] Message 8 is first unseen
17* OK [UIDVALIDITY 3857529045] UIDs valid
18* OK [UIDNEXT 4392] Predicted next UID
19* FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
20* OK [PERMANENTFLAGS ()] No permanent flags permitted
21</data>
22</reply>
23
24#
25# Client-side
26<client>
27<server>
28imap
29</server>
30 <name>
31IMAP EXAMINE mailbox (CUSTOMREQUEST)
32 </name>
33 <command>
34imap://%HOSTIP:%IMAPPORT -u user:secret -X 'EXAMINE 808'
35</command>
36</client>
37
38#
39# Verify data after the test has been "shot"
40<verify>
41<protocol>
42A001 CAPABILITY
43A002 LOGIN user secret
44A003 EXAMINE 808
45A004 LOGOUT
46</protocol>
47</verify>
48</testcase>
49