lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | IMAP |
| 5 | Clear Text |
| 6 | EXAMINE |
| 7 | CUSTOMREQUEST |
| 8 | </keywords> |
| 9 | </info> |
| 10 | |
| 11 | # |
| 12 | # Server-side |
| 13 | <reply> |
| 14 | <data> |
| 15 | * 17 EXISTS
|
| 16 | * 2 RECENT
|
| 17 | * OK [UNSEEN 8] Message 8 is first unseen
|
| 18 | * OK [UIDVALIDITY 3857529045] UIDs valid
|
| 19 | * OK [UIDNEXT 4392] Predicted next UID
|
| 20 | * FLAGS (\Answered \Flagged \Deleted \Seen \Draft)
|
| 21 | * OK [PERMANENTFLAGS ()] No permanent flags permitted
|
| 22 | </data> |
| 23 | </reply> |
| 24 | |
| 25 | # |
| 26 | # Client-side |
| 27 | <client> |
| 28 | <server> |
| 29 | imap |
| 30 | </server> |
| 31 | <name> |
| 32 | IMAP EXAMINE mailbox (CUSTOMREQUEST) |
| 33 | </name> |
| 34 | <command> |
| 35 | imap://%HOSTIP:%IMAPPORT -u user:secret -X 'EXAMINE 808' |
| 36 | </command> |
| 37 | </client> |
| 38 | |
| 39 | # |
| 40 | # Verify data after the test has been "shot" |
| 41 | <verify> |
| 42 | <protocol> |
| 43 | A001 CAPABILITY
|
| 44 | A002 LOGIN user secret
|
| 45 | A003 EXAMINE 808
|
| 46 | A004 LOGOUT
|
| 47 | </protocol> |
| 48 | </verify> |
| 49 | </testcase> |