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