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