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