1 <testcase> 2 <info> 3 <keywords> 4 IMAP 5 Clear Text 6 STORE 7 EXPUNGE 8 CUSTOMREQUEST 9 </keywords> 10 </info> 11 12 # 13 # Server-side 14 <reply> 15 <data1> 16 * 123 FETCH (FLAGS (\Seen \Deleted)) 17 </data1> 18 <data2> 19 * 123 EXPUNGE 20 </data2> 21 </reply> 22 23 # 24 # Client-side 25 <client> 26 <server> 27 imap 28 </server> 29 <name> 30 IMAP STORE - delete message with confirmation (CUSTOMREQUEST) 31 </name> 32 <command> 33 imap://%HOSTIP:%IMAPPORT/816 -X 'STORE 123 +Flags \Deleted' -u user:secret -: imap://%HOSTIP:%IMAPPORT/816 -X EXPUNGE -u user:secret 34 </command> 35 </client> 36 37 # 38 # Verify data after the test has been "shot" 39 <verify> 40 <protocol> 41 A001 CAPABILITY 42 A002 LOGIN user secret 43 A003 SELECT 816 44 A004 STORE 123 +Flags \Deleted 45 A005 EXPUNGE 46 A006 LOGOUT 47 </protocol> 48 </verify> 49 </testcase> 50