mirror of
https://github.com/moparisthebest/curl
synced 2024-11-10 11:35:07 -05:00
44 lines
568 B
Plaintext
44 lines
568 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>
|