mirror of
https://github.com/moparisthebest/curl
synced 2024-11-06 01:25:33 -05:00
44 lines
569 B
Plaintext
44 lines
569 B
Plaintext
<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>
|
|
A001 CAPABILITY
|
|
A002 LOGIN user secret
|
|
A003 SELECT 807
|
|
A004 STORE 123 +Flags \Deleted
|
|
A005 LOGOUT
|
|
</protocol>
|
|
</verify>
|
|
</testcase>
|