1<testcase>
2<info>
3<keywords>
4IMAP
5STORE
6EXPUNGE
7CUSTOMREQUEST
8</keywords>
9</info>
10
11#
12# Server-side
13<reply>
14<data1>
15* 123 FETCH (FLAGS (\Seen \Deleted))
16</data1>
17<data2>
18* 123 EXPUNGE
19</data2>
20</reply>
21
22#
23# Client-side
24<client>
25<server>
26imap
27</server>
28 <name>
29IMAP STORE - delete message with confirmation (CUSTOMREQUEST)
30 </name>
31 <command>
32imap://%HOSTIP:%IMAPPORT/816 -X 'STORE 123 +Flags \Deleted' -u user:secret -: imap://%HOSTIP:%IMAPPORT/816 -X EXPUNGE
33</command>
34</client>
35
36#
37# Verify data after the test has been "shot"
38<verify>
39<protocol>
40A001 CAPABILITY
41A002 LOGIN user secret
42A003 SELECT 816
43A004 STORE 123 +Flags \Deleted
44A005 EXPUNGE
45A006 LOGOUT
46</protocol>
47</verify>
48</testcase>
49