2013-03-10 21:22:10 +01:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
IMAP
|
|
|
|
STORE
|
|
|
|
CUSTOMREQUEST
|
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
|
|
|
* 123 FETCH (FLAGS (\Seen \Deleted))
|
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
imap
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
IMAP STORE (CUSTOMREQUEST)
|
|
|
|
</name>
|
|
|
|
<command>
|
|
|
|
-u user:secret -X 'STORE 123 +Flags \Deleted' 'imap://%HOSTIP:%IMAPPORT/807'
|
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
2013-03-11 12:48:36 +01:00
|
|
|
A001 CAPABILITY
|
|
|
|
A002 LOGIN user secret
|
|
|
|
A003 SELECT 807
|
|
|
|
A004 STORE 123 +Flags \Deleted
|
|
|
|
A005 LOGOUT
|
2013-03-10 21:22:10 +01:00
|
|
|
</protocol>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|