test3209 (1259B)
1 <testcase> 2 <info> 3 <keywords> 4 IMAP 5 Clear Text 6 APPEND 7 UPLOAD 8 </keywords> 9 </info> 10 11 # 12 # Server-side 13 <reply> 14 </reply> 15 16 # 17 # Client-side 18 <client> 19 <server> 20 imap 21 </server> 22 <name> 23 Upload message via IMAP with upload flags 24 </name> 25 <command> 26 imap://%HOSTIP:%IMAPPORT/%TESTNUMBER -T %LOGDIR/upload%TESTNUMBER -u user:secret --upload-flags answered,deleted,draft,flagged,seen 27 </command> 28 <file name="%LOGDIR/upload%TESTNUMBER"> 29 Date: Mon, 7 Feb 1994 21:52:25 -0800 (PST) 30 From: Fred Foobar <foobar@example.COM> 31 Subject: afternoon meeting 32 To: joe@example.com 33 Message-Id: <B27397-0100000@example.COM> 34 MIME-Version: 1.0 35 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII 36 37 Hello Joe, do you think we can meet at 3:30 tomorrow? 38 </file> 39 </client> 40 41 # 42 # Verify data after the test has been "shot" 43 <verify> 44 <protocol crlf="yes"> 45 A001 CAPABILITY 46 A002 LOGIN user secret 47 A003 APPEND %TESTNUMBER (\Answered \Deleted \Draft \Flagged \Seen) {286} 48 A004 LOGOUT 49 </protocol> 50 <upload> 51 Date: Mon, 7 Feb 1994 21:52:25 -0800 (PST) 52 From: Fred Foobar <foobar@example.COM> 53 Subject: afternoon meeting 54 To: joe@example.com 55 Message-Id: <B27397-0100000@example.COM> 56 MIME-Version: 1.0 57 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII 58 59 Hello Joe, do you think we can meet at 3:30 tomorrow? 60 </upload> 61 </verify> 62 </testcase>