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