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