lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | IMAP |
| 5 | Clear Text |
| 6 | STORE |
| 7 | CLOSE |
| 8 | CUSTOMREQUEST |
| 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> |
| 24 | imap |
| 25 | </server> |
| 26 | <name> |
| 27 | IMAP STORE - delete message (CUSTOMREQUEST) |
| 28 | </name> |
| 29 | <command> |
| 30 | imap://%HOSTIP:%IMAPPORT/815 -X 'STORE 123 +Flags \Deleted' -u user:secret -: imap://%HOSTIP:%IMAPPORT/815 -X CLOSE -u user:secret |
| 31 | </command> |
| 32 | </client> |
| 33 | |
| 34 | # |
| 35 | # Verify data after the test has been "shot" |
| 36 | <verify> |
| 37 | <protocol> |
| 38 | A001 CAPABILITY
|
| 39 | A002 LOGIN user secret
|
| 40 | A003 SELECT 815
|
| 41 | A004 STORE 123 +Flags \Deleted
|
| 42 | A005 CLOSE
|
| 43 | A006 LOGOUT
|
| 44 | </protocol> |
| 45 | </verify> |
| 46 | </testcase> |