87039518ce477dd9c78b466648c95a3eff01874e
[platform/upstream/curl.git] / tests / data / test805
1 <testcase>
2 <info>
3 <keywords>
4 IMAP
5 APPEND
6 UPLOAD
7 </keywords>
8 </info>
9
10 #
11 # Server-side
12 <reply>
13 </reply>
14
15 #
16 # Client-side
17 <client>
18 <server>
19 imap
20 </server>
21  <name>
22 IMAP APPEND
23  </name>
24  <command>
25 -u user:secret -T log/upload805 'imap://%HOSTIP:%IMAPPORT/805'
26 </command>
27 <file name="log/upload805">
28 Date: Mon, 7 Feb 1994 21:52:25 -0800 (PST)\r
29 From: Fred Foobar <foobar@example.COM>\r
30 Subject: afternoon meeting\r
31 To: joe@example.com\r
32 Message-Id: <B27397-0100000@example.COM>\r
33 MIME-Version: 1.0\r
34 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII\r
35 \r
36 Hello Joe, do you think we can meet at 3:30 tomorrow?\r
37 </file>
38 </client>
39
40 #
41 # Verify data after the test has been "shot"
42 <verify>
43 <protocol>
44 A001 CAPABILITY\r
45 A002 LOGIN user secret\r
46 A003 APPEND 805 (\Seen) {295}\r
47 A004 LOGOUT\r
48 </protocol>
49 <upload>
50 Date: Mon, 7 Feb 1994 21:52:25 -0800 (PST)\r
51 From: Fred Foobar <foobar@example.COM>\r
52 Subject: afternoon meeting\r
53 To: joe@example.com\r
54 Message-Id: <B27397-0100000@example.COM>\r
55 MIME-Version: 1.0\r
56 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII\r
57 \r
58 Hello Joe, do you think we can meet at 3:30 tomorrow?\r
59 </upload>
60 </verify>
61 </testcase>