Added: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/samples/wild-alt-reply3.mail
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/samples/wild-alt-reply3.mail?rev=1682367&view=auto
==============================================================================
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/samples/wild-alt-reply3.mail
 (added)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/samples/wild-alt-reply3.mail
 Fri May 29 05:16:50 2015
@@ -0,0 +1,254 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+Return-Path: <[email protected]>
+Delivered-To: rob@localhost
+Delivered-To: rob@localhost
+Received: from smtp-in3.blueyonder.co.uk ([172.23.146.14]) by cluster6 with
+        Microsoft SMTPSVC(5.0.2195.6713); Tue, 11 Mar 2008 18:53:48 +0000
+Received: from eback03.blueyonder.co.uk ([195.188.53.214]) by
+        smtp-in3.blueyonder.co.uk with Microsoft SMTPSVC(5.0.2195.6713); Tue, 
11
+        Mar 2008 18:53:48 +0000
+Received: from [172.23.170.141] (helo=anti-virus02-08) by
+        eback03.blueyonder.co.uk with smtp (Exim 4.52) id 1JZ9bg-0005pc-Kc for
+        [email protected]; Tue, 11 Mar 2008 18:53:48 +0000
+Received: from [209.85.146.177] (helo=wa-out-1112.google.com) by
+        exim11.blueyonder.co.uk with esmtp (Exim 4.68) (envelope-from
+        <[email protected]>) id 1JZ9bf-0005sq-E4 for
+        [email protected]; Tue, 11 Mar 2008 18:53:47 +0000
+Received: by wa-out-1112.google.com with SMTP id k40so3093721wah.25 for
+        <[email protected]>; Tue, 11 Mar 2008 11:53:46 -0700
+        (PDT)
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
+        
h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references;
+        bh=yuycNteU3R8u06MvlZyMGfEM6XWUsfZNdi4MXOvDmJM=;
+        
b=YlpZWlL8q5FXdYMMXo1tUnxhwvV6uGNszLQ7f7p0LXDa0YLsPi8GQRckuRlB8aHvO6aVR14qbuLTbFHZJ5+cwITLZhtQrFzq/BiBzh5F1UjbcgwLkulHRkw2ulBGN06rK4FJCH976aaf7M8qKkK3i+xkwo2ptTzve4VFzGXh4gg=
+DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
+        
h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references;
+        
b=CITXFMszoBpjfabn47oOdBGGj3ULwqJ3L1P84fQz0ZY/LdPk1qW3oC0bsmJPK6swRfHYDkz695QKHn9XG/d0B7lFmODrXZ1jxSqyz6N6WgvE4vqyiZ+fniz0sZHvpXGub06y1DI8b7vGLA5fj5BoJ9tFk8uIthJbrKb2j4WbJco=
+Received: by 10.114.197.1 with SMTP id u1mr5302053waf.61.1205261626861;
+        Tue, 11 Mar 2008 11:53:46 -0700 (PDT)
+Received: by 10.114.126.16 with HTTP; Tue, 11 Mar 2008 11:53:38 -0700 (PDT)
+Message-ID: <[email protected]>
+Date: Tue, 11 Mar 2008 18:53:38 +0000
+From: "Robert Burrell Donkin" <[email protected]>
+To: "Robert Burrell Donkin" <[email protected]>
+Subject: Re: Sonnets By William Shakespeare
+Cc: "Robert Burrell Donkin" <[email protected]>
+In-Reply-To: <1205261107.7516.6.camel@localhost>
+MIME-Version: 1.0
+Content-Type: multipart/mixed;  
boundary="----=_Part_4002_22491526.1205261626856"
+References: <1205261107.7516.6.camel@localhost>
+X-Envelope-To: [email protected]
+X-OriginalArrivalTime: 11 Mar 2008 18:53:48.0705 (UTC)
+        FILETIME=[3DA5D910:01C883A9]
+X-fetched-from: blueyonder.co.uk
+X-Evolution-Source: imap://rob@thebes/
+
+
+------=_Part_4002_22491526.1205261626856
+Content-Type: multipart/alternative;  
boundary="----=_Part_4003_18492227.1205261626856"
+
+
+------=_Part_4003_18492227.1205261626856
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: 7bit
+Content-Disposition: inline
+
+*Ah yes!*
+
+On Tue, Mar 11, 2008 at 6:45 PM, Robert Burrell Donkin <
[email protected]> wrote:
+> O! lest the world should task you to recite
+>  What merit lived in me, that you should love
+>  After my death,--dear love, forget me quite,
+>  For you in me can nothing worthy prove;
+>  Unless you would devise some virtuous lie,
+>  To do more for me than mine own desert,
+>  And hang more praise upon deceased I
+>  Than niggard truth would willingly impart:
+>  O! lest your true love may seem false in this
+>  That you for love speak well of me untrue,
+>  My name be buried where my body is,
+>  And live no more to shame nor me nor you.
+>   For I am shamed by that which I bring forth,
+>   And so should you, to love things nothing worth.
+>
+
+------=_Part_4003_18492227.1205261626856
+Content-Type: text/html; charset=ISO-8859-1
+Content-Transfer-Encoding: 7bit
+Content-Disposition: inline
+
+<b><span style="font-family: trebuchet ms,sans-serif;">Ah 
yes!</span></b><br><br>On Tue, Mar 11, 2008 at 6:45 PM, Robert Burrell Donkin 
&lt;<a 
href="mailto:[email protected]";>[email protected]</a>&gt;
 wrote:<br>
+&gt; O! lest the world should task you to recite<br>&gt; &nbsp;What merit 
lived in me, that you should love<br>&gt; &nbsp;After my death,--dear love, 
forget me quite,<br>&gt; &nbsp;For you in me can nothing worthy prove;<br>&gt; 
&nbsp;Unless you would devise some virtuous lie,<br>
+&gt; &nbsp;To do more for me than mine own desert,<br>&gt; &nbsp;And hang more 
praise upon deceased I<br>&gt; &nbsp;Than niggard truth would willingly 
impart:<br>&gt; &nbsp;O! lest your true love may seem false in this<br>&gt; 
&nbsp;That you for love speak well of me untrue,<br>
+&gt; &nbsp;My name be buried where my body is,<br>&gt; &nbsp;And live no more 
to shame nor me nor you.<br>&gt; &nbsp; For I am shamed by that which I bring 
forth,<br>&gt; &nbsp; And so should you, to love things nothing worth.<br>&gt; 
&nbsp;<br><br>
+
+------=_Part_4003_18492227.1205261626856
+Content-Type: text/calendar; method=REQUEST; name=invite.ics; 
charset=ISO-8859-1
+Content-Transfer-Encoding: 7bit
+Content-Disposition: inline
+
+BEGIN:VCALENDAR
+PRODID:-//Google Inc//Google Calendar 70.9054//EN
+VERSION:2.0
+CALSCALE:GREGORIAN
+METHOD:REQUEST
+BEGIN:VEVENT
+DTSTART;VALUE=DATE:20080407
+DTEND;VALUE=DATE:20080412
+DTSTAMP:20080311T185338Z
+ORGANIZER;CN=Robert Burrell Donkin:MAILTO:[email protected]
+UID:[email protected]
+ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
+ TRUE;X-NUM-GUESTS=0:MAILTO:[email protected]
+ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
+ ;CN=Robert Burrell Donkin;X-NUM-GUESTS=0:MAILTO:[email protected]
+ om
+ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
+ TRUE;X-NUM-GUESTS=0:MAILTO:[email protected]
+CLASS:PRIVATE
+CREATED:20080311T185337Z
+DESCRIPTION:<b><span style="font-family: trebuchet ms\,sans-serif\;">Ah yes
+ !</span></b><br><br>On Tue\, Mar 11\, 2008 at 6:45 PM\, Robert Burrell Donk
+ in &lt\;[email protected]&gt\; wrote:<br>&gt\; O! lest t
+ he world should task you to recite<br>&gt\; &nbsp\;What merit lived in me\,
+  that you should love<br>&gt\; &nbsp\;After my death\,--dear love\, forget 
+ me quite\,<br>&gt\; &nbsp\;For you in me can nothing worthy prove\;<br>&gt\
+ ; &nbsp\;Unless you would devise some virtuous lie\,<br>&gt\; &nbsp\;To do 
+ more for me than mine own desert\,<br>&gt\; &nbsp\;And hang more praise upo
+ n deceased I<br>&gt\; &nbsp\;Than niggard truth would willingly impart:<br>
+ &gt\; &nbsp\;O! lest your true love may seem false in this<br>&gt\; &nbsp\;
+ That you for love speak well of me untrue\,<br>&gt\; &nbsp\;My name be buri
+ ed where my body is\,<br>&gt\; &nbsp\;And live no more to shame nor me nor 
+ you.<br>&gt\; &nbsp\; For I am shamed by that which I bring forth\,<br>&gt\
+ ; &nbsp\; And so should you\, to love things nothing worth.<br>&gt\; &nbsp\
+ ;<br><br>\nView your event at http://www.google.com/calendar/event?action=V
+ IEW&ueid=i12ksc4hr5uud1gs9dsos1ipj8.
+LAST-MODIFIED:20080311T185337Z
+LOCATION:Amsterdam
+SEQUENCE:0
+STATUS:CONFIRMED
+SUMMARY:ApacheCon Europe 2008!
+TRANSP:OPAQUE
+END:VEVENT
+END:VCALENDAR
+
+------=_Part_4003_18492227.1205261626856--
+
+------=_Part_4002_22491526.1205261626856
+Content-Type: application/ics; name=invite20080407T190000.ics
+Content-Transfer-Encoding: base64
+Content-Disposition: attachment; filename=invite20080407T190000.ics
+
+QkVHSU46VkNBTEVOREFSDQpQUk9ESUQ6LS8vR29vZ2xlIEluYy8vR29vZ2xlIENhbGVuZGFyIDcw
+LjkwNTQvL0VODQpWRVJTSU9OOjIuMA0KQ0FMU0NBTEU6R1JFR09SSUFODQpNRVRIT0Q6UkVRVUVT
+VA0KQkVHSU46VkVWRU5UDQpEVFNUQVJUO1ZBTFVFPURBVEU6MjAwODA0MDcNCkRURU5EO1ZBTFVF
+PURBVEU6MjAwODA0MTINCkRUU1RBTVA6MjAwODAzMTFUMTg1MzM4Wg0KT1JHQU5JWkVSO0NOPVJv
+YmVydCBCdXJyZWxsIERvbmtpbjpNQUlMVE86cm9iZXJ0YnVycmVsbGRvbmtpbkBnbWFpbC5jb20N
+ClVJRDppMTJrc2M0aHI1dXVkMWdzOWRzb3MxaXBqOEBnb29nbGUuY29tDQpBVFRFTkRFRTtDVVRZ
+UEU9SU5ESVZJRFVBTDtST0xFPVJFUS1QQVJUSUNJUEFOVDtQQVJUU1RBVD1ORUVEUy1BQ1RJT047
+UlNWUD0NCiBUUlVFO1gtTlVNLUdVRVNUUz0wOk1BSUxUTzpyb2JlcnRidXJyZWxsZG9ua2luQGJs
+dWV5b25kZXIuY28udWsNCkFUVEVOREVFO0NVVFlQRT1JTkRJVklEVUFMO1JPTEU9UkVRLVBBUlRJ
+Q0lQQU5UO1BBUlRTVEFUPUFDQ0VQVEVEO1JTVlA9VFJVRQ0KIDtDTj1Sb2JlcnQgQnVycmVsbCBE
+b25raW47WC1OVU0tR1VFU1RTPTA6TUFJTFRPOnJvYmVydGJ1cnJlbGxkb25raW5AZ21haWwuYw0K
+IG9tDQpBVFRFTkRFRTtDVVRZUEU9SU5ESVZJRFVBTDtST0xFPVJFUS1QQVJUSUNJUEFOVDtQQVJU
+U1RBVD1ORUVEUy1BQ1RJT047UlNWUD0NCiBUUlVFO1gtTlVNLUdVRVNUUz0wOk1BSUxUTzpyZG9u
+a2luQGFwYWNoZS5vcmcNCkNMQVNTOlBSSVZBVEUNCkNSRUFURUQ6MjAwODAzMTFUMTg1MzM3Wg0K
+REVTQ1JJUFRJT046PGI+PHNwYW4gc3R5bGU9ImZvbnQtZmFtaWx5OiB0cmVidWNoZXQgbXNcLHNh
+bnMtc2VyaWZcOyI+QWggeWVzDQogITwvc3Bhbj48L2I+PGJyPjxicj5PbiBUdWVcLCBNYXIgMTFc
+LCAyMDA4IGF0IDY6NDUgUE1cLCBSb2JlcnQgQnVycmVsbCBEb25rDQogaW4gJmx0XDtyb2JlcnRi
+dXJyZWxsZG9ua2luQGJsdWV5b25kZXIuY28udWsmZ3RcOyB3cm90ZTo8YnI+Jmd0XDsgTyEgbGVz
+dCB0DQogaGUgd29ybGQgc2hvdWxkIHRhc2sgeW91IHRvIHJlY2l0ZTxicj4mZ3RcOyAmbmJzcFw7
+V2hhdCBtZXJpdCBsaXZlZCBpbiBtZVwsDQogIHRoYXQgeW91IHNob3VsZCBsb3ZlPGJyPiZndFw7
+ICZuYnNwXDtBZnRlciBteSBkZWF0aFwsLS1kZWFyIGxvdmVcLCBmb3JnZXQgDQogbWUgcXVpdGVc
+LDxicj4mZ3RcOyAmbmJzcFw7Rm9yIHlvdSBpbiBtZSBjYW4gbm90aGluZyB3b3J0aHkgcHJvdmVc
+Ozxicj4mZ3RcDQogOyAmbmJzcFw7VW5sZXNzIHlvdSB3b3VsZCBkZXZpc2Ugc29tZSB2aXJ0dW91
+cyBsaWVcLDxicj4mZ3RcOyAmbmJzcFw7VG8gZG8gDQogbW9yZSBmb3IgbWUgdGhhbiBtaW5lIG93
+biBkZXNlcnRcLDxicj4mZ3RcOyAmbmJzcFw7QW5kIGhhbmcgbW9yZSBwcmFpc2UgdXBvDQogbiBk
+ZWNlYXNlZCBJPGJyPiZndFw7ICZuYnNwXDtUaGFuIG5pZ2dhcmQgdHJ1dGggd291bGQgd2lsbGlu
+Z2x5IGltcGFydDo8YnI+DQogJmd0XDsgJm5ic3BcO08hIGxlc3QgeW91ciB0cnVlIGxvdmUgbWF5
+IHNlZW0gZmFsc2UgaW4gdGhpczxicj4mZ3RcOyAmbmJzcFw7DQogVGhhdCB5b3UgZm9yIGxvdmUg
+c3BlYWsgd2VsbCBvZiBtZSB1bnRydWVcLDxicj4mZ3RcOyAmbmJzcFw7TXkgbmFtZSBiZSBidXJp
+DQogZWQgd2hlcmUgbXkgYm9keSBpc1wsPGJyPiZndFw7ICZuYnNwXDtBbmQgbGl2ZSBubyBtb3Jl
+IHRvIHNoYW1lIG5vciBtZSBub3IgDQogeW91Ljxicj4mZ3RcOyAmbmJzcFw7IEZvciBJIGFtIHNo
+YW1lZCBieSB0aGF0IHdoaWNoIEkgYnJpbmcgZm9ydGhcLDxicj4mZ3RcDQogOyAmbmJzcFw7IEFu
+ZCBzbyBzaG91bGQgeW91XCwgdG8gbG92ZSB0aGluZ3Mgbm90aGluZyB3b3J0aC48YnI+Jmd0XDsg
+Jm5ic3BcDQogOzxicj48YnI+XG5WaWV3IHlvdXIgZXZlbnQgYXQgaHR0cDovL3d3dy5nb29nbGUu
+Y29tL2NhbGVuZGFyL2V2ZW50P2FjdGlvbj1WDQogSUVXJnVlaWQ9aTEya3NjNGhyNXV1ZDFnczlk
+c29zMWlwajguDQpMQVNULU1PRElGSUVEOjIwMDgwMzExVDE4NTMzN1oNCkxPQ0FUSU9OOkFtc3Rl
+cmRhbQ0KU0VRVUVOQ0U6MA0KU1RBVFVTOkNPTkZJUk1FRA0KU1VNTUFSWTpBcGFjaGVDb24gRXVy
+b3BlIDIwMDghDQpUUkFOU1A6T1BBUVVFDQpFTkQ6VkVWRU5UDQpFTkQ6VkNBTEVOREFSDQo=
+------=_Part_4002_22491526.1205261626856
+Content-Type: text/html; name=sonnet.html
+Content-Transfer-Encoding: base64
+X-Attachment-Id: 0.1
+Content-Disposition: attachment; filename=sonnet.html
+
+PGh0bWw+PGhlYWQ+PHRpdGxlPjwvdGl0bGU+PC9oZWFkPgo8Ym9keT4KPGJsb2NrcXVvdGUgY2l0
+ZT0naHR0cDovL2VuLndpa2lwZWRpYS5vcmcvd2lraS9XaWxsaWFtX1NoYWtlc3BlYXJlJz48cHJl
+PgpUaG9zZSBwYXJ0cyBvZiB0aGVlIHRoYXQgdGhlIHdvcmxkJ3MgZXllIGRvdGggdmlldwpXYW50
+IG5vdGhpbmcgdGhhdCB0aGUgdGhvdWdodCBvZiBoZWFydHMgY2FuIG1lbmQ7CkFsbCB0b25ndWVz
+LS10aGUgdm9pY2Ugb2Ygc291bHMtLWdpdmUgdGhlZSB0aGF0IGR1ZSwKVXR0ZXJpbmcgYmFyZSB0
+cnV0aCwgZXZlbiBzbyBhcyBmb2VzIGNvbW1lbmQuClRoeSBvdXR3YXJkIHRodXMgd2l0aCBvdXR3
+YXJkIHByYWlzZSBpcyBjcm93bidkOwpCdXQgdGhvc2Ugc2FtZSB0b25ndWVzLCB0aGF0IGdpdmUg
+dGhlZSBzbyB0aGluZSBvd24sCkluIG90aGVyIGFjY2VudHMgZG8gdGhpcyBwcmFpc2UgY29uZm91
+bmQKQnkgc2VlaW5nIGZhcnRoZXIgdGhhbiB0aGUgZXllIGhhdGggc2hvd24uClRoZXkgbG9vayBp
+bnRvIHRoZSBiZWF1dHkgb2YgdGh5IG1pbmQsCkFuZCB0aGF0IGluIGd1ZXNzIHRoZXkgbWVhc3Vy
+ZSBieSB0aHkgZGVlZHM7ClRoZW4tLWNodXJscy0tdGhlaXIgdGhvdWdodHMsIGFsdGhvdWdoIHRo
+ZWlyIGV5ZXMgd2VyZSBraW5kLApUbyB0aHkgZmFpciBmbG93ZXIgYWRkIHRoZSByYW5rIHNtZWxs
+IG9mIHdlZWRzOiAKICBCdXQgd2h5IHRoeSBvZG91ciBtYXRjaGV0aCBub3QgdGh5IHNob3csCiAg
+VGhlIHNvaWwgaXMgdGhpcywgdGhhdCB0aG91IGRvc3QgY29tbW9uIGdyb3cuCjwvcHJlPjwvYmxv
+Y2txdW90ZT4KPC9ib2R5PjwvaHRtbD4K
+------=_Part_4002_22491526.1205261626856
+Content-Type: text/plain; name=sonnet.txt
+Content-Transfer-Encoding: base64
+X-Attachment-Id: 0.2
+Content-Disposition: attachment; filename=sonnet.txt
+
+QWghIHdoZXJlZm9yZSB3aXRoIGluZmVjdGlvbiBzaG91bGQgaGUgbGl2ZSwKQW5kIHdpdGggaGlz
+IHByZXNlbmNlIGdyYWNlIGltcGlldHksClRoYXQgc2luIGJ5IGhpbSBhZHZhbnRhZ2Ugc2hvdWxk
+IGFjaGlldmUsCkFuZCBsYWNlIGl0c2VsZiB3aXRoIGhpcyBzb2NpZXR5PyAKV2h5IHNob3VsZCBm
+YWxzZSBwYWludGluZyBpbWl0YXRlIGhpcyBjaGVlaywKQW5kIHN0ZWVsIGRlYWQgc2VlbWluZyBv
+ZiBoaXMgbGl2aW5nIGh1ZT8KV2h5IHNob3VsZCBwb29yIGJlYXV0eSBpbmRpcmVjdGx5IHNlZWsK
+Um9zZXMgb2Ygc2hhZG93LCBzaW5jZSBoaXMgcm9zZSBpcyB0cnVlPwpXaHkgc2hvdWxkIGhlIGxp
+dmUsIG5vdyBOYXR1cmUgYmFua3J1cHQgaXMsCkJlZ2dhcidkIG9mIGJsb29kIHRvIGJsdXNoIHRo
+cm91Z2ggbGl2ZWx5IHZlaW5zPwpGb3Igc2hlIGhhdGggbm8gZXhjaGVxdWVyIG5vdyBidXQgaGlz
+LApBbmQgcHJvdWQgb2YgbWFueSwgbGl2ZXMgdXBvbiBoaXMgZ2FpbnMuCiAgTyEgaGltIHNoZSBz
+dG9yZXMsIHRvIHNob3cgd2hhdCB3ZWFsdGggc2hlIGhhZAogIEluIGRheXMgbG9uZyBzaW5jZSwg
+YmVmb3JlIHRoZXNlIGxhc3Qgc28gYmFkLgo=
+------=_Part_4002_22491526.1205261626856
+Content-Type: text/plain; name=another-sonnet.txt
+Content-Transfer-Encoding: base64
+X-Attachment-Id: f_fdotkfhj2
+Content-Disposition: attachment; filename=another-sonnet.txt
+
+U28gYXJlIHlvdSB0byBteSB0aG91Z2h0cyBhcyBmb29kIHRvIGxpZmUsCk9yIGFzIHN3ZWV0LXNl
+YXNvbidkIHNob3dlcnMgYXJlIHRvIHRoZSBncm91bmQ7CkFuZCBmb3IgdGhlIHBlYWNlIG9mIHlv
+dSBJIGhvbGQgc3VjaCBzdHJpZmUKQXMgJ3R3aXh0IGEgbWlzZXIgYW5kIGhpcyB3ZWFsdGggaXMg
+Zm91bmQuCk5vdyBwcm91ZCBhcyBhbiBlbmpveWVyLCBhbmQgYW5vbgpEb3VidGluZyB0aGUgZmls
+Y2hpbmcgYWdlIHdpbGwgc3RlYWwgaGlzIHRyZWFzdXJlOwpOb3cgY291bnRpbmcgYmVzdCB0byBi
+ZSB3aXRoIHlvdSBhbG9uZSwKVGhlbiBiZXR0ZXInZCB0aGF0IHRoZSB3b3JsZCBtYXkgc2VlIG15
+IHBsZWFzdXJlOgpTb21ldGltZSBhbGwgZnVsbCB3aXRoIGZlYXN0aW5nIG9uIHlvdXIgc2lnaHQs
+CkFuZCBieSBhbmQgYnkgY2xlYW4gc3RhcnZlZCBmb3IgYSBsb29rOwpQb3NzZXNzaW5nIG9yIHB1
+cnN1aW5nIG5vIGRlbGlnaHQsClNhdmUgd2hhdCBpcyBoYWQsIG9yIG11c3QgZnJvbSB5b3UgYmUg
+dG9vay4KICBUaHVzIGRvIEkgcGluZSBhbmQgc3VyZmVpdCBkYXkgYnkgZGF5LAogIE9yIGdsdXR0
+b25pbmcgb24gYWxsLCBvciBhbGwgYXdheS4K
+------=_Part_4002_22491526.1205261626856--
+

Added: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/samples/wild-alt-reply4.mail
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/samples/wild-alt-reply4.mail?rev=1682367&view=auto
==============================================================================
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/samples/wild-alt-reply4.mail
 (added)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/samples/wild-alt-reply4.mail
 Fri May 29 05:16:50 2015
@@ -0,0 +1,268 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+
+Return-Path: <[email protected]>
+Received: (qmail 26928 invoked from network); 11 Mar 2008 18:54:17 -0000
+Received: from unknown (HELO pre-smtp21-01.prod.mesa1.secureserver.net)
+        ([10.0.19.121]) (envelope-sender <[email protected]>) by
+        smtp18-01.prod.mesa1.secureserver.net (qmail-1.03) with SMTP for
+        <[email protected]>; 11 Mar 2008 18:54:17 -0000
+Received: (qmail 8159 invoked from network); 11 Mar 2008 18:54:16 -0000
+Received: from unknown (HELO minotaur.apache.org) ([140.211.11.9])
+        (envelope-sender <[email protected]>) by
+        pre-smtp21-01.prod.mesa1.secureserver.net (qmail-ldap-1.03) with SMTP 
for
+        <[email protected]>; 11 Mar 2008 18:54:16 -0000
+Received: (qmail 33158 invoked by uid 1289); 11 Mar 2008 18:54:15 -0000
+Delivered-To: [email protected]
+Received: (qmail 33153 invoked from network); 11 Mar 2008 18:54:15 -0000
+Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by
+        minotaur.apache.org with SMTP; 11 Mar 2008 18:54:15 -0000
+Received: (qmail 13020 invoked by uid 500); 11 Mar 2008 18:54:12 -0000
+Delivered-To: [email protected]
+Delivered-To: rob@localhost
+Delivered-To: rob@localhost
+Received: (qmail 13017 invoked by uid 99); 11 Mar 2008 18:54:12 -0000
+Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136)
+        by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Mar 2008 11:54:12 
-0700
+X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS
+X-Spam-Check-By: apache.org
+Received-SPF: pass (athena.apache.org: domain of
+        [email protected] designates 209.85.146.176 as permitted 
sender)
+Received: from [209.85.146.176] (HELO wa-out-1112.google.com)
+        (209.85.146.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 11 Mar 
2008
+        18:53:36 +0000
+Received: by wa-out-1112.google.com with SMTP id m28so3142139wag.13 for
+        <[email protected]>; Tue, 11 Mar 2008 11:53:46 -0700 (PDT)
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
+        
h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references;
+        bh=yuycNteU3R8u06MvlZyMGfEM6XWUsfZNdi4MXOvDmJM=;
+        
b=YlpZWlL8q5FXdYMMXo1tUnxhwvV6uGNszLQ7f7p0LXDa0YLsPi8GQRckuRlB8aHvO6aVR14qbuLTbFHZJ5+cwITLZhtQrFzq/BiBzh5F1UjbcgwLkulHRkw2ulBGN06rK4FJCH976aaf7M8qKkK3i+xkwo2ptTzve4VFzGXh4gg=
+DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
+        
h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references;
+        
b=CITXFMszoBpjfabn47oOdBGGj3ULwqJ3L1P84fQz0ZY/LdPk1qW3oC0bsmJPK6swRfHYDkz695QKHn9XG/d0B7lFmODrXZ1jxSqyz6N6WgvE4vqyiZ+fniz0sZHvpXGub06y1DI8b7vGLA5fj5BoJ9tFk8uIthJbrKb2j4WbJco=
+Received: by 10.114.197.1 with SMTP id u1mr5302053waf.61.1205261626861;
+        Tue, 11 Mar 2008 11:53:46 -0700 (PDT)
+Received: by 10.114.126.16 with HTTP; Tue, 11 Mar 2008 11:53:38 -0700 (PDT)
+Message-ID: <[email protected]>
+Date: Tue, 11 Mar 2008 18:53:38 +0000
+From: "Robert Burrell Donkin" <[email protected]>
+To: "Robert Burrell Donkin" <[email protected]>
+Subject: Re: Sonnets By William Shakespeare
+Cc: "Robert Burrell Donkin" <[email protected]>
+In-Reply-To: <1205261107.7516.6.camel@localhost>
+MIME-Version: 1.0
+Content-Type: multipart/mixed;  
boundary="----=_Part_4002_22491526.1205261626856"
+References: <1205261107.7516.6.camel@localhost>
+X-Virus-Checked: Checked by ClamAV on apache.org
+X-Nonspam: None
+X-fetched-from: mail.xmlmapt.org
+X-Evolution-Source: imap://rob@thebes/
+
+
+------=_Part_4002_22491526.1205261626856
+Content-Type: multipart/alternative;  
boundary="----=_Part_4003_18492227.1205261626856"
+
+
+------=_Part_4003_18492227.1205261626856
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: 7bit
+Content-Disposition: inline
+
+*Ah yes!*
+
+On Tue, Mar 11, 2008 at 6:45 PM, Robert Burrell Donkin <
[email protected]> wrote:
+> O! lest the world should task you to recite
+>  What merit lived in me, that you should love
+>  After my death,--dear love, forget me quite,
+>  For you in me can nothing worthy prove;
+>  Unless you would devise some virtuous lie,
+>  To do more for me than mine own desert,
+>  And hang more praise upon deceased I
+>  Than niggard truth would willingly impart:
+>  O! lest your true love may seem false in this
+>  That you for love speak well of me untrue,
+>  My name be buried where my body is,
+>  And live no more to shame nor me nor you.
+>   For I am shamed by that which I bring forth,
+>   And so should you, to love things nothing worth.
+>
+
+------=_Part_4003_18492227.1205261626856
+Content-Type: text/html; charset=ISO-8859-1
+Content-Transfer-Encoding: 7bit
+Content-Disposition: inline
+
+<b><span style="font-family: trebuchet ms,sans-serif;">Ah 
yes!</span></b><br><br>On Tue, Mar 11, 2008 at 6:45 PM, Robert Burrell Donkin 
&lt;<a 
href="mailto:[email protected]";>[email protected]</a>&gt;
 wrote:<br>
+&gt; O! lest the world should task you to recite<br>&gt; &nbsp;What merit 
lived in me, that you should love<br>&gt; &nbsp;After my death,--dear love, 
forget me quite,<br>&gt; &nbsp;For you in me can nothing worthy prove;<br>&gt; 
&nbsp;Unless you would devise some virtuous lie,<br>
+&gt; &nbsp;To do more for me than mine own desert,<br>&gt; &nbsp;And hang more 
praise upon deceased I<br>&gt; &nbsp;Than niggard truth would willingly 
impart:<br>&gt; &nbsp;O! lest your true love may seem false in this<br>&gt; 
&nbsp;That you for love speak well of me untrue,<br>
+&gt; &nbsp;My name be buried where my body is,<br>&gt; &nbsp;And live no more 
to shame nor me nor you.<br>&gt; &nbsp; For I am shamed by that which I bring 
forth,<br>&gt; &nbsp; And so should you, to love things nothing worth.<br>&gt; 
&nbsp;<br><br>
+
+------=_Part_4003_18492227.1205261626856
+Content-Type: text/calendar; method=REQUEST; name=invite.ics; 
charset=ISO-8859-1
+Content-Transfer-Encoding: 7bit
+Content-Disposition: inline
+
+BEGIN:VCALENDAR
+PRODID:-//Google Inc//Google Calendar 70.9054//EN
+VERSION:2.0
+CALSCALE:GREGORIAN
+METHOD:REQUEST
+BEGIN:VEVENT
+DTSTART;VALUE=DATE:20080407
+DTEND;VALUE=DATE:20080412
+DTSTAMP:20080311T185338Z
+ORGANIZER;CN=Robert Burrell Donkin:MAILTO:[email protected]
+UID:[email protected]
+ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
+ TRUE;X-NUM-GUESTS=0:MAILTO:[email protected]
+ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE
+ ;CN=Robert Burrell Donkin;X-NUM-GUESTS=0:MAILTO:[email protected]
+ om
+ATTENDEE;CUTYPE=INDIVIDUAL;ROLE=REQ-PARTICIPANT;PARTSTAT=NEEDS-ACTION;RSVP=
+ TRUE;X-NUM-GUESTS=0:MAILTO:[email protected]
+CLASS:PRIVATE
+CREATED:20080311T185337Z
+DESCRIPTION:<b><span style="font-family: trebuchet ms\,sans-serif\;">Ah yes
+ !</span></b><br><br>On Tue\, Mar 11\, 2008 at 6:45 PM\, Robert Burrell Donk
+ in &lt\;[email protected]&gt\; wrote:<br>&gt\; O! lest t
+ he world should task you to recite<br>&gt\; &nbsp\;What merit lived in me\,
+  that you should love<br>&gt\; &nbsp\;After my death\,--dear love\, forget 
+ me quite\,<br>&gt\; &nbsp\;For you in me can nothing worthy prove\;<br>&gt\
+ ; &nbsp\;Unless you would devise some virtuous lie\,<br>&gt\; &nbsp\;To do 
+ more for me than mine own desert\,<br>&gt\; &nbsp\;And hang more praise upo
+ n deceased I<br>&gt\; &nbsp\;Than niggard truth would willingly impart:<br>
+ &gt\; &nbsp\;O! lest your true love may seem false in this<br>&gt\; &nbsp\;
+ That you for love speak well of me untrue\,<br>&gt\; &nbsp\;My name be buri
+ ed where my body is\,<br>&gt\; &nbsp\;And live no more to shame nor me nor 
+ you.<br>&gt\; &nbsp\; For I am shamed by that which I bring forth\,<br>&gt\
+ ; &nbsp\; And so should you\, to love things nothing worth.<br>&gt\; &nbsp\
+ ;<br><br>\nView your event at http://www.google.com/calendar/event?action=V
+ IEW&ueid=i12ksc4hr5uud1gs9dsos1ipj8.
+LAST-MODIFIED:20080311T185337Z
+LOCATION:Amsterdam
+SEQUENCE:0
+STATUS:CONFIRMED
+SUMMARY:ApacheCon Europe 2008!
+TRANSP:OPAQUE
+END:VEVENT
+END:VCALENDAR
+
+------=_Part_4003_18492227.1205261626856--
+
+------=_Part_4002_22491526.1205261626856
+Content-Type: application/ics; name=invite20080407T190000.ics
+Content-Transfer-Encoding: base64
+Content-Disposition: attachment; filename=invite20080407T190000.ics
+
+QkVHSU46VkNBTEVOREFSDQpQUk9ESUQ6LS8vR29vZ2xlIEluYy8vR29vZ2xlIENhbGVuZGFyIDcw
+LjkwNTQvL0VODQpWRVJTSU9OOjIuMA0KQ0FMU0NBTEU6R1JFR09SSUFODQpNRVRIT0Q6UkVRVUVT
+VA0KQkVHSU46VkVWRU5UDQpEVFNUQVJUO1ZBTFVFPURBVEU6MjAwODA0MDcNCkRURU5EO1ZBTFVF
+PURBVEU6MjAwODA0MTINCkRUU1RBTVA6MjAwODAzMTFUMTg1MzM4Wg0KT1JHQU5JWkVSO0NOPVJv
+YmVydCBCdXJyZWxsIERvbmtpbjpNQUlMVE86cm9iZXJ0YnVycmVsbGRvbmtpbkBnbWFpbC5jb20N
+ClVJRDppMTJrc2M0aHI1dXVkMWdzOWRzb3MxaXBqOEBnb29nbGUuY29tDQpBVFRFTkRFRTtDVVRZ
+UEU9SU5ESVZJRFVBTDtST0xFPVJFUS1QQVJUSUNJUEFOVDtQQVJUU1RBVD1ORUVEUy1BQ1RJT047
+UlNWUD0NCiBUUlVFO1gtTlVNLUdVRVNUUz0wOk1BSUxUTzpyb2JlcnRidXJyZWxsZG9ua2luQGJs
+dWV5b25kZXIuY28udWsNCkFUVEVOREVFO0NVVFlQRT1JTkRJVklEVUFMO1JPTEU9UkVRLVBBUlRJ
+Q0lQQU5UO1BBUlRTVEFUPUFDQ0VQVEVEO1JTVlA9VFJVRQ0KIDtDTj1Sb2JlcnQgQnVycmVsbCBE
+b25raW47WC1OVU0tR1VFU1RTPTA6TUFJTFRPOnJvYmVydGJ1cnJlbGxkb25raW5AZ21haWwuYw0K
+IG9tDQpBVFRFTkRFRTtDVVRZUEU9SU5ESVZJRFVBTDtST0xFPVJFUS1QQVJUSUNJUEFOVDtQQVJU
+U1RBVD1ORUVEUy1BQ1RJT047UlNWUD0NCiBUUlVFO1gtTlVNLUdVRVNUUz0wOk1BSUxUTzpyZG9u
+a2luQGFwYWNoZS5vcmcNCkNMQVNTOlBSSVZBVEUNCkNSRUFURUQ6MjAwODAzMTFUMTg1MzM3Wg0K
+REVTQ1JJUFRJT046PGI+PHNwYW4gc3R5bGU9ImZvbnQtZmFtaWx5OiB0cmVidWNoZXQgbXNcLHNh
+bnMtc2VyaWZcOyI+QWggeWVzDQogITwvc3Bhbj48L2I+PGJyPjxicj5PbiBUdWVcLCBNYXIgMTFc
+LCAyMDA4IGF0IDY6NDUgUE1cLCBSb2JlcnQgQnVycmVsbCBEb25rDQogaW4gJmx0XDtyb2JlcnRi
+dXJyZWxsZG9ua2luQGJsdWV5b25kZXIuY28udWsmZ3RcOyB3cm90ZTo8YnI+Jmd0XDsgTyEgbGVz
+dCB0DQogaGUgd29ybGQgc2hvdWxkIHRhc2sgeW91IHRvIHJlY2l0ZTxicj4mZ3RcOyAmbmJzcFw7
+V2hhdCBtZXJpdCBsaXZlZCBpbiBtZVwsDQogIHRoYXQgeW91IHNob3VsZCBsb3ZlPGJyPiZndFw7
+ICZuYnNwXDtBZnRlciBteSBkZWF0aFwsLS1kZWFyIGxvdmVcLCBmb3JnZXQgDQogbWUgcXVpdGVc
+LDxicj4mZ3RcOyAmbmJzcFw7Rm9yIHlvdSBpbiBtZSBjYW4gbm90aGluZyB3b3J0aHkgcHJvdmVc
+Ozxicj4mZ3RcDQogOyAmbmJzcFw7VW5sZXNzIHlvdSB3b3VsZCBkZXZpc2Ugc29tZSB2aXJ0dW91
+cyBsaWVcLDxicj4mZ3RcOyAmbmJzcFw7VG8gZG8gDQogbW9yZSBmb3IgbWUgdGhhbiBtaW5lIG93
+biBkZXNlcnRcLDxicj4mZ3RcOyAmbmJzcFw7QW5kIGhhbmcgbW9yZSBwcmFpc2UgdXBvDQogbiBk
+ZWNlYXNlZCBJPGJyPiZndFw7ICZuYnNwXDtUaGFuIG5pZ2dhcmQgdHJ1dGggd291bGQgd2lsbGlu
+Z2x5IGltcGFydDo8YnI+DQogJmd0XDsgJm5ic3BcO08hIGxlc3QgeW91ciB0cnVlIGxvdmUgbWF5
+IHNlZW0gZmFsc2UgaW4gdGhpczxicj4mZ3RcOyAmbmJzcFw7DQogVGhhdCB5b3UgZm9yIGxvdmUg
+c3BlYWsgd2VsbCBvZiBtZSB1bnRydWVcLDxicj4mZ3RcOyAmbmJzcFw7TXkgbmFtZSBiZSBidXJp
+DQogZWQgd2hlcmUgbXkgYm9keSBpc1wsPGJyPiZndFw7ICZuYnNwXDtBbmQgbGl2ZSBubyBtb3Jl
+IHRvIHNoYW1lIG5vciBtZSBub3IgDQogeW91Ljxicj4mZ3RcOyAmbmJzcFw7IEZvciBJIGFtIHNo
+YW1lZCBieSB0aGF0IHdoaWNoIEkgYnJpbmcgZm9ydGhcLDxicj4mZ3RcDQogOyAmbmJzcFw7IEFu
+ZCBzbyBzaG91bGQgeW91XCwgdG8gbG92ZSB0aGluZ3Mgbm90aGluZyB3b3J0aC48YnI+Jmd0XDsg
+Jm5ic3BcDQogOzxicj48YnI+XG5WaWV3IHlvdXIgZXZlbnQgYXQgaHR0cDovL3d3dy5nb29nbGUu
+Y29tL2NhbGVuZGFyL2V2ZW50P2FjdGlvbj1WDQogSUVXJnVlaWQ9aTEya3NjNGhyNXV1ZDFnczlk
+c29zMWlwajguDQpMQVNULU1PRElGSUVEOjIwMDgwMzExVDE4NTMzN1oNCkxPQ0FUSU9OOkFtc3Rl
+cmRhbQ0KU0VRVUVOQ0U6MA0KU1RBVFVTOkNPTkZJUk1FRA0KU1VNTUFSWTpBcGFjaGVDb24gRXVy
+b3BlIDIwMDghDQpUUkFOU1A6T1BBUVVFDQpFTkQ6VkVWRU5UDQpFTkQ6VkNBTEVOREFSDQo=
+------=_Part_4002_22491526.1205261626856
+Content-Type: text/html; name=sonnet.html
+Content-Transfer-Encoding: base64
+X-Attachment-Id: 0.1
+Content-Disposition: attachment; filename=sonnet.html
+
+PGh0bWw+PGhlYWQ+PHRpdGxlPjwvdGl0bGU+PC9oZWFkPgo8Ym9keT4KPGJsb2NrcXVvdGUgY2l0
+ZT0naHR0cDovL2VuLndpa2lwZWRpYS5vcmcvd2lraS9XaWxsaWFtX1NoYWtlc3BlYXJlJz48cHJl
+PgpUaG9zZSBwYXJ0cyBvZiB0aGVlIHRoYXQgdGhlIHdvcmxkJ3MgZXllIGRvdGggdmlldwpXYW50
+IG5vdGhpbmcgdGhhdCB0aGUgdGhvdWdodCBvZiBoZWFydHMgY2FuIG1lbmQ7CkFsbCB0b25ndWVz
+LS10aGUgdm9pY2Ugb2Ygc291bHMtLWdpdmUgdGhlZSB0aGF0IGR1ZSwKVXR0ZXJpbmcgYmFyZSB0
+cnV0aCwgZXZlbiBzbyBhcyBmb2VzIGNvbW1lbmQuClRoeSBvdXR3YXJkIHRodXMgd2l0aCBvdXR3
+YXJkIHByYWlzZSBpcyBjcm93bidkOwpCdXQgdGhvc2Ugc2FtZSB0b25ndWVzLCB0aGF0IGdpdmUg
+dGhlZSBzbyB0aGluZSBvd24sCkluIG90aGVyIGFjY2VudHMgZG8gdGhpcyBwcmFpc2UgY29uZm91
+bmQKQnkgc2VlaW5nIGZhcnRoZXIgdGhhbiB0aGUgZXllIGhhdGggc2hvd24uClRoZXkgbG9vayBp
+bnRvIHRoZSBiZWF1dHkgb2YgdGh5IG1pbmQsCkFuZCB0aGF0IGluIGd1ZXNzIHRoZXkgbWVhc3Vy
+ZSBieSB0aHkgZGVlZHM7ClRoZW4tLWNodXJscy0tdGhlaXIgdGhvdWdodHMsIGFsdGhvdWdoIHRo
+ZWlyIGV5ZXMgd2VyZSBraW5kLApUbyB0aHkgZmFpciBmbG93ZXIgYWRkIHRoZSByYW5rIHNtZWxs
+IG9mIHdlZWRzOiAKICBCdXQgd2h5IHRoeSBvZG91ciBtYXRjaGV0aCBub3QgdGh5IHNob3csCiAg
+VGhlIHNvaWwgaXMgdGhpcywgdGhhdCB0aG91IGRvc3QgY29tbW9uIGdyb3cuCjwvcHJlPjwvYmxv
+Y2txdW90ZT4KPC9ib2R5PjwvaHRtbD4K
+------=_Part_4002_22491526.1205261626856
+Content-Type: text/plain; name=sonnet.txt
+Content-Transfer-Encoding: base64
+X-Attachment-Id: 0.2
+Content-Disposition: attachment; filename=sonnet.txt
+
+QWghIHdoZXJlZm9yZSB3aXRoIGluZmVjdGlvbiBzaG91bGQgaGUgbGl2ZSwKQW5kIHdpdGggaGlz
+IHByZXNlbmNlIGdyYWNlIGltcGlldHksClRoYXQgc2luIGJ5IGhpbSBhZHZhbnRhZ2Ugc2hvdWxk
+IGFjaGlldmUsCkFuZCBsYWNlIGl0c2VsZiB3aXRoIGhpcyBzb2NpZXR5PyAKV2h5IHNob3VsZCBm
+YWxzZSBwYWludGluZyBpbWl0YXRlIGhpcyBjaGVlaywKQW5kIHN0ZWVsIGRlYWQgc2VlbWluZyBv
+ZiBoaXMgbGl2aW5nIGh1ZT8KV2h5IHNob3VsZCBwb29yIGJlYXV0eSBpbmRpcmVjdGx5IHNlZWsK
+Um9zZXMgb2Ygc2hhZG93LCBzaW5jZSBoaXMgcm9zZSBpcyB0cnVlPwpXaHkgc2hvdWxkIGhlIGxp
+dmUsIG5vdyBOYXR1cmUgYmFua3J1cHQgaXMsCkJlZ2dhcidkIG9mIGJsb29kIHRvIGJsdXNoIHRo
+cm91Z2ggbGl2ZWx5IHZlaW5zPwpGb3Igc2hlIGhhdGggbm8gZXhjaGVxdWVyIG5vdyBidXQgaGlz
+LApBbmQgcHJvdWQgb2YgbWFueSwgbGl2ZXMgdXBvbiBoaXMgZ2FpbnMuCiAgTyEgaGltIHNoZSBz
+dG9yZXMsIHRvIHNob3cgd2hhdCB3ZWFsdGggc2hlIGhhZAogIEluIGRheXMgbG9uZyBzaW5jZSwg
+YmVmb3JlIHRoZXNlIGxhc3Qgc28gYmFkLgo=
+------=_Part_4002_22491526.1205261626856
+Content-Type: text/plain; name=another-sonnet.txt
+Content-Transfer-Encoding: base64
+X-Attachment-Id: f_fdotkfhj2
+Content-Disposition: attachment; filename=another-sonnet.txt
+
+U28gYXJlIHlvdSB0byBteSB0aG91Z2h0cyBhcyBmb29kIHRvIGxpZmUsCk9yIGFzIHN3ZWV0LXNl
+YXNvbidkIHNob3dlcnMgYXJlIHRvIHRoZSBncm91bmQ7CkFuZCBmb3IgdGhlIHBlYWNlIG9mIHlv
+dSBJIGhvbGQgc3VjaCBzdHJpZmUKQXMgJ3R3aXh0IGEgbWlzZXIgYW5kIGhpcyB3ZWFsdGggaXMg
+Zm91bmQuCk5vdyBwcm91ZCBhcyBhbiBlbmpveWVyLCBhbmQgYW5vbgpEb3VidGluZyB0aGUgZmls
+Y2hpbmcgYWdlIHdpbGwgc3RlYWwgaGlzIHRyZWFzdXJlOwpOb3cgY291bnRpbmcgYmVzdCB0byBi
+ZSB3aXRoIHlvdSBhbG9uZSwKVGhlbiBiZXR0ZXInZCB0aGF0IHRoZSB3b3JsZCBtYXkgc2VlIG15
+IHBsZWFzdXJlOgpTb21ldGltZSBhbGwgZnVsbCB3aXRoIGZlYXN0aW5nIG9uIHlvdXIgc2lnaHQs
+CkFuZCBieSBhbmQgYnkgY2xlYW4gc3RhcnZlZCBmb3IgYSBsb29rOwpQb3NzZXNzaW5nIG9yIHB1
+cnN1aW5nIG5vIGRlbGlnaHQsClNhdmUgd2hhdCBpcyBoYWQsIG9yIG11c3QgZnJvbSB5b3UgYmUg
+dG9vay4KICBUaHVzIGRvIEkgcGluZSBhbmQgc3VyZmVpdCBkYXkgYnkgZGF5LAogIE9yIGdsdXR0
+b25pbmcgb24gYWxsLCBvciBhbGwgYXdheS4K
+------=_Part_4002_22491526.1205261626856--
+

Added: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/samples/wild-example.mail
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/samples/wild-example.mail?rev=1682367&view=auto
==============================================================================
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/samples/wild-example.mail
 (added)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/samples/wild-example.mail
 Fri May 29 05:16:50 2015
@@ -0,0 +1,38 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+
+Received: by 10.114.81.13 with HTTP; Sat, 2 Feb 2008 05:14:19 -0800 (PST)
+Message-ID: <[email protected]>
+Date: Sat, 2 Feb 2008 13:14:19 +0000
+From: "Robert Burrell Donkin" <[email protected]>
+To: "James Developers List" <[email protected]>
+Subject: JCR -> trunk ...?
+MIME-Version: 1.0
+Content-Type: text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: 7bit
+Content-Disposition: inline
+Delivered-To: [email protected]
+
+i'd like to copy james-jcr into trunk and add some example
+configurations. development can continue in the sandbox (or not) and
+merged in later (if necessary).
+
+any objections?
+
+- robert
\ No newline at end of file

Added: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/samples/wild-mixed-alt.mail
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/samples/wild-mixed-alt.mail?rev=1682367&view=auto
==============================================================================
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/samples/wild-mixed-alt.mail
 (added)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/samples/wild-mixed-alt.mail
 Fri May 29 05:16:50 2015
@@ -0,0 +1,108 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+                                                                               
                                                                                
                                                                                
                                                      
+Delivered-To: [email protected]
+Received: by 10.114.126.16 with SMTP id y16cs68962wac;
+        Tue, 11 Mar 2008 11:41:47 -0700 (PDT)
+Received: by 10.78.193.19 with SMTP id q19mr18798706huf.15.1205260904964;
+        Tue, 11 Mar 2008 11:41:44 -0700 (PDT)
+Return-Path: <[email protected]>
+Received: from smtp-out4.blueyonder.co.uk (smtp-out4.blueyonder.co.uk 
[195.188.213.7])
+        by mx.google.com with ESMTP id c22si4019124ika.3.2008.03.11.11.41.42;
+        Tue, 11 Mar 2008 11:41:44 -0700 (PDT)
+Received-SPF: pass (google.com: domain of [email protected] 
designates 195.188.213.7 as permitted sender) client-ip=195.188.213.7;
+Authentication-Results: mx.google.com; spf=pass (google.com: domain of 
[email protected] designates 195.188.213.7 as permitted 
sender) [email protected]
+Received: from [172.23.170.136] (helo=anti-virus01-07)
+       by smtp-out4.blueyonder.co.uk with smtp (Exim 4.52)
+       id 1JZ9Px-0001OZ-VF
+       for [email protected]; Tue, 11 Mar 2008 18:41:42 +0000
+Received: from [82.38.65.6] (helo=[10.0.0.27])
+       by asmtp-out1.blueyonder.co.uk with esmtpa (Exim 4.52)
+       id 1JZ9Px-0007FO-G5
+       for [email protected]; Tue, 11 Mar 2008 18:41:41 +0000
+Subject: An HTML Email
+From: Robert Burrell Donkin <[email protected]>
+To: [email protected]
+Content-Type: multipart/alternative; boundary="=-blWYb/063JwXox8nBGv5"
+Date: Tue, 11 Mar 2008 18:41:40 +0000
+Message-Id: <1205260900.7516.3.camel@localhost>
+Mime-Version: 1.0
+X-Mailer: Evolution 2.12.1 
+
+
+--=-blWYb/063JwXox8nBGv5
+Content-Type: text/plain
+Content-Transfer-Encoding: 7bit
+
+A Sonnet By William Shakespeare
+
+
+
+Tired with all these, for restful death I cry,
+As to behold desert a beggar born,
+And needy nothing trimm'd in jollity,
+And purest faith unhappily forsworn,
+And gilded honour shamefully misplac'd,
+And maiden virtue rudely strumpeted,
+And right perfection wrongfully disgrac'd,
+And strength by limping sway disabled
+And art made tongue-tied by authority,
+And folly--doctor-like--controlling skill,
+And simple truth miscall'd simplicity,
+And captive good attending captain ill:
+  Tir'd with all these, from these would I be gone,
+  Save that, to die, I leave my love alone.
+
+--=-blWYb/063JwXox8nBGv5
+Content-Type: text/html; charset=utf-8
+Content-Transfer-Encoding: 7bit
+
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
+<HTML>
+<HEAD>
+  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
+  <META NAME="GENERATOR" CONTENT="GtkHTML/3.16.1">
+</HEAD>
+<BODY>
+<H1>
+A Sonnet By William Shakespeare
+</H1>
+<BR>
+<PRE>
+Tired with all these, for restful death I cry,
+As to behold desert a beggar born,
+And needy nothing trimm'd in jollity,
+And purest faith unhappily forsworn,
+And gilded honour shamefully misplac'd,
+And maiden virtue rudely strumpeted,
+And right perfection wrongfully disgrac'd,
+And strength by limping sway disabled
+And art made tongue-tied by authority,
+And folly--doctor-like--controlling skill,
+And simple truth miscall'd simplicity,
+And captive good attending captain ill:
+  Tir'd with all these, from these would I be gone,
+  Save that, to die, I leave my love alone.
+</PRE>
+</BODY>
+</HTML>
+
+--=-blWYb/063JwXox8nBGv5--
+
+

Added: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/samples/wild-mixed.mail
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/samples/wild-mixed.mail?rev=1682367&view=auto
==============================================================================
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/samples/wild-mixed.mail
 (added)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/samples/wild-mixed.mail
 Fri May 29 05:16:50 2015
@@ -0,0 +1,113 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+                                                                               
                                                                                
                                                     
+Delivered-To: [email protected]
+Received: by 10.114.126.16 with SMTP id y16cs69319wac;
+        Tue, 11 Mar 2008 11:45:12 -0700 (PDT)
+Received: by 10.78.107.8 with SMTP id f8mr18855121huc.40.1205261111174;
+        Tue, 11 Mar 2008 11:45:11 -0700 (PDT)
+Return-Path: <[email protected]>
+Received: from smtp-out2.blueyonder.co.uk (smtp-out2.blueyonder.co.uk 
[195.188.213.5])
+        by mx.google.com with ESMTP id z34si465534ikz.8.2008.03.11.11.45.09;
+        Tue, 11 Mar 2008 11:45:11 -0700 (PDT)
+Received-SPF: pass (google.com: domain of [email protected] 
designates 195.188.213.5 as permitted sender) client-ip=195.188.213.5;
+Authentication-Results: mx.google.com; spf=pass (google.com: domain of 
[email protected] designates 195.188.213.5 as permitted 
sender) [email protected]
+Received: from [172.23.170.147] (helo=anti-virus03-10)
+       by smtp-out2.blueyonder.co.uk with smtp (Exim 4.52)
+       id 1JZ9TJ-0000ZL-49
+       for [email protected]; Tue, 11 Mar 2008 18:45:09 +0000
+Received: from [82.38.65.6] (helo=[10.0.0.27])
+       by asmtp-out3.blueyonder.co.uk with esmtpa (Exim 4.52)
+       id 1JZ9TI-0000A6-8B
+       for [email protected]; Tue, 11 Mar 2008 18:45:08 +0000
+Subject: Sonnets By William Shakespeare
+From: Robert Burrell Donkin <[email protected]>
+To: [email protected]
+Content-Type: multipart/mixed; boundary="=-iC8rnNDvTPHypqsz+j7t"
+Date: Tue, 11 Mar 2008 18:45:07 +0000
+Message-Id: <1205261107.7516.6.camel@localhost>
+Mime-Version: 1.0
+X-Mailer: Evolution 2.12.1 
+
+
+--=-iC8rnNDvTPHypqsz+j7t
+Content-Type: text/plain
+Content-Transfer-Encoding: 7bit
+
+O! lest the world should task you to recite
+What merit lived in me, that you should love
+After my death,--dear love, forget me quite,
+For you in me can nothing worthy prove;
+Unless you would devise some virtuous lie,
+To do more for me than mine own desert,
+And hang more praise upon deceased I
+Than niggard truth would willingly impart:
+O! lest your true love may seem false in this
+That you for love speak well of me untrue,
+My name be buried where my body is,
+And live no more to shame nor me nor you.
+  For I am shamed by that which I bring forth,
+  And so should you, to love things nothing worth.
+
+--=-iC8rnNDvTPHypqsz+j7t
+Content-Disposition: attachment; filename=sonnet.html
+Content-Type: text/html; name=sonnet.html; charset=us-ascii
+Content-Transfer-Encoding: 7bit
+
+<html><head><title></title></head>
+<body>
+<blockquote cite='http://en.wikipedia.org/wiki/William_Shakespeare'><pre>
+Those parts of thee that the world's eye doth view
+Want nothing that the thought of hearts can mend;
+All tongues--the voice of souls--give thee that due,
+Uttering bare truth, even so as foes commend.
+Thy outward thus with outward praise is crown'd;
+But those same tongues, that give thee so thine own,
+In other accents do this praise confound
+By seeing farther than the eye hath shown.
+They look into the beauty of thy mind,
+And that in guess they measure by thy deeds;
+Then--churls--their thoughts, although their eyes were kind,
+To thy fair flower add the rank smell of weeds: 
+  But why thy odour matcheth not thy show,
+  The soil is this, that thou dost common grow.
+</pre></blockquote>
+</body></html>
+
+--=-iC8rnNDvTPHypqsz+j7t
+Content-Disposition: attachment; filename=sonnet.txt
+Content-Type: text/plain; name=sonnet.txt; charset=us-ascii
+Content-Transfer-Encoding: 7bit
+
+Ah! wherefore with infection should he live,
+And with his presence grace impiety,
+That sin by him advantage should achieve,
+And lace itself with his society? 
+Why should false painting imitate his cheek,
+And steel dead seeming of his living hue?
+Why should poor beauty indirectly seek
+Roses of shadow, since his rose is true?
+Why should he live, now Nature bankrupt is,
+Beggar'd of blood to blush through lively veins?
+For she hath no exchequer now but his,
+And proud of many, lives upon his gains.
+  O! him she stores, to show what wealth she had
+  In days long since, before these last so bad.
+
+--=-iC8rnNDvTPHypqsz+j7t--
\ No newline at end of file

Added: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/Append.test
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/Append.test?rev=1682367&view=auto
==============================================================================
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/Append.test
 (added)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/Append.test
 Fri May 29 05:16:50 2015
@@ -0,0 +1,69 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+C: a1 CREATE appendBox
+S: a1 OK CREATE completed.
+
+C: A003 APPEND appendBox {310}
+# Use command continuation request
+S: \+
+C: Date: Mon, 7 Feb 1994 21:52:25 -0800 (PST)
+C: From: Fred Foobar <[email protected]>
+C: Subject: afternoon meeting 2
+C: To: [email protected]
+C: Message-Id: <[email protected]>
+C: MIME-Version: 1.0
+C: Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
+C:
+C: Hello Joe, could we change that to 4:00pm tomorrow?
+C:
+S: A003 OK (\[.+\] )?APPEND completed.
+
+C: A004 APPEND appendBox (\Seen) "17-Jul-1996 02:44:25 -0700" {310+}
+# use synchronising literal
+C: Date: Mon, 7 Feb 1994 21:52:25 -0800 (PST)
+C: From: Fred Foobar <[email protected]>
+C: Subject: afternoon meeting 2
+C: To: [email protected]
+C: Message-Id: <[email protected]>
+C: MIME-Version: 1.0
+C: Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
+C:
+C: Hello Joe, could we change that to 4:00pm tomorrow?
+C:
+S: A004 OK (\[.+\] )?APPEND completed.
+
+C: a1 APPEND nosuchmailbox {13+}
+C: 13 characters
+S: a1 NO \[TRYCREATE\] APPEND failed\. No such mailbox\.
+
+C: 5.25 APPEND appendBox (\Seen \Draft) "09-Apr-2008 15:17:51 +0200" {310+}
+C: Date: Mon, 7 Feb 1994 21:52:25 -0800 (PST)
+C: From: Fred Foobar <[email protected]>
+C: Subject: afternoon meeting 2
+C: To: [email protected]
+C: Message-Id: <[email protected]>
+C: MIME-Version: 1.0
+C: Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
+C:
+C: Hello Joe, could we change that to 4:00pm tomorrow?
+C:
+S: 5.25 OK (\[.+\] )?APPEND completed.
+
+C: a1 DELETE appendBox
+S: a1 OK DELETE completed.
\ No newline at end of file

Added: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/AppendExamineInbox.test
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/AppendExamineInbox.test?rev=1682367&view=auto
==============================================================================
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/AppendExamineInbox.test
 (added)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/AppendExamineInbox.test
 Fri May 29 05:16:50 2015
@@ -0,0 +1,74 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+# Create a couple of messages to retrieve
+C: A003 APPEND inbox {254+}
+C: Date: Mon, 7 Feb 1994 21:52:25 -0800 (PST)
+C: From: Fred Foobar <[email protected]>
+C: Subject: Test 01
+C: To: [email protected]
+C: Message-Id: <[email protected]>
+C: MIME-Version: 1.0
+C: Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
+C:
+C: Test 01
+C:
+S: A003 OK (\[.+\] )?APPEND completed.
+
+C: A003 APPEND inbox {254+}
+C: Date: Mon, 7 Feb 1994 21:52:25 -0800 (PST)
+C: From: Fred Foobar <[email protected]>
+C: Subject: Test 02
+C: To: [email protected]
+C: Message-Id: <[email protected]>
+C: MIME-Version: 1.0
+C: Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
+C:
+C: Test 02
+C:
+S: A003 OK (\[.+\] )?APPEND completed.
+
+C: abcd EXAMINE inbox
+S: \* FLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\Seen\)
+S: \* 2 EXISTS
+S: \* 2 RECENT
+S: \* OK \[UIDVALIDITY \d+\].*
+S: \* OK \[UNSEEN 1\].*
+S: \* OK \[PERMANENTFLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\\Seen( 
\\\*)?\)\].*
+S: \* OK \[HIGHESTMODSEQ \d+\].*
+S: \* OK \[UIDNEXT 3\].*
+S: abcd OK \[READ-ONLY\] EXAMINE completed.
+
+# Try again to ensure that no changes to flags were made.
+C: abcd EXAMINE inbox
+S: \* FLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\Seen\)
+S: \* 2 EXISTS
+S: \* 2 RECENT
+S: \* OK \[UIDVALIDITY \d+\].*
+S: \* OK \[UNSEEN 1\].*
+S: \* OK \[PERMANENTFLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\\Seen( 
\\\*)?\)\].*
+S: \* OK \[HIGHESTMODSEQ \d+\].*
+S: \* OK \[UIDNEXT 3\].*
+S: abcd OK \[READ-ONLY\] EXAMINE completed.
+
+# Rename the INBOX - this copies all of the messages out
+C: a RENAME INBOX tobedeleted
+S: a OK RENAME completed.
+
+C: a DELETE tobedeleted
+S: a OK DELETE completed.

Added: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/AppendExpunge.test
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/AppendExpunge.test?rev=1682367&view=auto
==============================================================================
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/AppendExpunge.test
 (added)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/AppendExpunge.test
 Fri May 29 05:16:50 2015
@@ -0,0 +1,113 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+C: 10 CREATE appendexpunge
+S: 10 OK CREATE completed.
+
+C: a001 STATUS appendexpunge (MESSAGES)
+S: \* STATUS "appendexpunge" \(MESSAGES 0\)
+S: a001 OK STATUS completed.
+
+C: A002 APPEND appendexpunge (\Deleted) {310+}
+C: Date: Mon, 7 Feb 1994 21:52:25 -0800 (PST)
+C: From: Fred Foobar <[email protected]>
+C: Subject: afternoon meeting
+C: To: [email protected]
+C: Message-Id: <[email protected]>
+C: MIME-Version: 1.0
+C: Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
+C:
+C: Hello Joe, do you think we can meet at 3:30 tomorrow?
+C:
+S: A002 OK (\[.+\] )?APPEND completed.
+
+C: A003 APPEND appendexpunge {310+}
+C: Date: Mon, 7 Feb 1994 21:52:25 -0800 (PST)
+C: From: Fred Foobar <[email protected]>
+C: Subject: afternoon meeting 2
+C: To: [email protected]
+C: Message-Id: <[email protected]>
+C: MIME-Version: 1.0
+C: Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
+C:
+C: Hello Joe, could we change that to 4:00pm tomorrow?
+C:
+S: A003 OK (\[.+\] )?APPEND completed.
+
+C: A004 APPEND appendexpunge {310+}
+C: Date: Mon, 7 Feb 1994 21:52:25 -0800 (PST)
+C: From: Fred Foobar <[email protected]>
+C: Subject: afternoon meeting 2
+C: To: [email protected]
+C: Message-Id: <[email protected]>
+C: MIME-Version: 1.0
+C: Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
+C:
+C: Hello Joe, could we change that to 4:30pm tomorrow?
+C:
+S: A004 OK (\[.+\] )?APPEND completed.
+
+C: A005 STATUS appendexpunge (MESSAGES)
+S: \* STATUS "appendexpunge" \(MESSAGES 3\)
+S: A005 OK STATUS completed.
+
+C: A006 SELECT appendexpunge
+S: \* FLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\Seen\)
+S: \* 3 EXISTS
+S: \* \d+ RECENT
+S: \* OK \[UIDVALIDITY \d+\].*
+S: \* OK \[UNSEEN 1\].*
+S: \* OK \[PERMANENTFLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\\Seen( 
\\\*)?\)\].*
+S: \* OK \[HIGHESTMODSEQ \d+\].*
+S: \* OK \[UIDNEXT 4\].*
+S: A006 OK \[READ-WRITE\] SELECT completed.
+
+C: A109 STORE 2 FLAGS.SILENT (\Deleted)
+S: A109 OK STORE completed.
+
+C: A007 EXPUNGE
+S: \* 1 EXPUNGE
+S: \* 1 EXPUNGE
+S: \* \d+ RECENT
+S: A007 OK EXPUNGE completed.
+
+C: A008 STATUS appendexpunge (MESSAGES)
+S: \* STATUS "appendexpunge" \(MESSAGES 1\)
+S: A008 OK STATUS completed.
+
+C: A009 STORE 1 FLAGS.SILENT (\Deleted)
+S: A009 OK STORE completed.
+
+C: A010 EXPUNGE
+S: \* 1 EXPUNGE
+S: \* \d+ RECENT
+S: A010 OK EXPUNGE completed.
+
+C: A011 STATUS appendexpunge (MESSAGES)
+S: \* STATUS "appendexpunge" \(MESSAGES 0\)
+S: A011 OK STATUS completed.
+
+C: A012 DELETE appendexpunge
+S: A012 OK DELETE completed.
+
+
+
+
+
+
+

Added: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/AppendSelectInbox.test
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/AppendSelectInbox.test?rev=1682367&view=auto
==============================================================================
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/AppendSelectInbox.test
 (added)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/AppendSelectInbox.test
 Fri May 29 05:16:50 2015
@@ -0,0 +1,71 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+# Create a couple of messages to retrieve
+C: A003 APPEND inbox {254+}
+C: Date: Mon, 7 Feb 1994 21:52:25 -0800 (PST)
+C: From: Fred Foobar <[email protected]>
+C: Subject: Test 01
+C: To: [email protected]
+C: Message-Id: <[email protected]>
+C: MIME-Version: 1.0
+C: Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
+C:
+C: Test 01
+C:
+S: A003 OK (\[.+\] )?APPEND completed.
+
+C: A003 APPEND inbox {254+}
+C: Date: Mon, 7 Feb 1994 21:52:25 -0800 (PST)
+C: From: Fred Foobar <[email protected]>
+C: Subject: Test 02
+C: To: [email protected]
+C: Message-Id: <[email protected]>
+C: MIME-Version: 1.0
+C: Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
+C:
+C: Test 02
+C:
+S: A003 OK (\[.+\] )?APPEND completed.
+
+C: abcd SELECT inbox
+S: \* FLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\Seen\)
+S: \* 2 EXISTS
+S: \* 2 RECENT
+S: \* OK \[UIDVALIDITY \d+\].*
+S: \* OK \[UNSEEN 1\].*
+S: \* OK \[PERMANENTFLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\\Seen( 
\\\*)?\)\].*
+S: \* OK \[HIGHESTMODSEQ \d+\].*
+S: \* OK \[UIDNEXT 3\].*
+S: abcd OK \[READ-WRITE\] SELECT completed.
+
+# Try again to ensure that no changes to flags were made.
+C: abcd SELECT "INBOX"
+S: \* FLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\Seen\)
+S: \* 2 EXISTS
+S: \* 2 RECENT
+S: \* OK \[UIDVALIDITY \d+\].*
+S: \* OK \[UNSEEN 1\].*
+S: \* OK \[PERMANENTFLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\\Seen( 
\\\*)?\)\].*
+S: \* OK \[HIGHESTMODSEQ \d+\].*
+S: \* OK \[UIDNEXT 3\].*
+S: abcd OK \[READ-WRITE\] SELECT completed.
+
+# Closing the inbox will cause the messages to be silently expunged
+C: abcd CLOSE
+S: abcd OK CLOSE completed.

Added: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/AppendToSelected.test
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/AppendToSelected.test?rev=1682367&view=auto
==============================================================================
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/AppendToSelected.test
 (added)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/AppendToSelected.test
 Fri May 29 05:16:50 2015
@@ -0,0 +1,65 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+C: a1 CREATE appendBox
+S: a1 OK CREATE completed.
+
+C: A003 APPEND appendBox {310}
+# Use command continuation request
+S: \+
+C: Date: Mon, 7 Feb 1994 21:52:25 -0800 (PST)
+C: From: Fred Foobar <[email protected]>
+C: Subject: afternoon meeting 2
+C: To: [email protected]
+C: Message-Id: <[email protected]>
+C: MIME-Version: 1.0
+C: Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
+C:
+C: Hello Joe, could we change that to 4:00pm tomorrow?
+C:
+S: A003 OK (\[.+\] )?APPEND completed.
+
+C: a7 select appendBox
+S: \* FLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\Seen\)
+S: \* 1 EXISTS
+S: \* 1 RECENT
+S: \* OK \[UIDVALIDITY \d+\].*
+S: \* OK \[UNSEEN 1\].*
+S: \* OK \[PERMANENTFLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\\Seen( 
\\\*)?\)\].*
+S: \* OK \[HIGHESTMODSEQ \d+\].*
+S: \* OK \[UIDNEXT 2\].*
+S: a7 OK \[READ-WRITE\] SELECT completed.
+
+C: A007 APPEND appendBox (\Seen) "17-Jul-1996 02:44:25 -0700" {310+}
+# use synchronising literal
+C: Date: Mon, 7 Feb 1994 21:52:25 -0800 (PST)
+C: From: Fred Foobar <[email protected]>
+C: Subject: afternoon meeting 2
+C: To: [email protected]
+C: Message-Id: <[email protected]>
+C: MIME-Version: 1.0
+C: Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
+C:
+C: Hello Joe, could we change that to 4:00pm tomorrow?
+C:
+S: \* 2 EXISTS
+S: \* 2 RECENT
+S: A007 OK (\[.+\] )?APPEND completed.
+
+C: a1 DELETE appendBox
+S: a1 OK DELETE completed.

Added: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/Authenticate.test
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/Authenticate.test?rev=1682367&view=auto
==============================================================================
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/Authenticate.test
 (added)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/Authenticate.test
 Fri May 29 05:16:50 2015
@@ -0,0 +1,27 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+# Unsupported Authentication mechanism
+C: abcd AUTHENTICATE KERBEROS_V4
+S: abcd NO AUTHENTICATE failed. Authentication mechanism is unsupported.
+
+C: abcd AUTHENTICATE
+S: abcd BAD AUTHENTICATE failed. Illegal arguments.
+
+C: abcd AUTHENTICATE KERBEROS_V4 extra
+S: abcd NO AUTHENTICATE failed. Authentication mechanism is unsupported.

Added: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/BadTag.test
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/BadTag.test?rev=1682367&view=auto
==============================================================================
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/BadTag.test
 (added)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/BadTag.test
 Fri May 29 05:16:50 2015
@@ -0,0 +1,24 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+#
+# Send a bye when the tag is bad
+#
+S: \* OK IMAP4rev1 Server ready
+C: (((
+S: \* BYE Unknown command.
\ No newline at end of file

Added: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/BodyPartialFetch.test
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/BodyPartialFetch.test?rev=1682367&view=auto
==============================================================================
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/BodyPartialFetch.test
 (added)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/BodyPartialFetch.test
 Fri May 29 05:16:50 2015
@@ -0,0 +1,336 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+C: A2 CREATE testmailbox
+S: A2 OK CREATE completed\.
+C: A3 SELECT testmailbox
+S: \* FLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\Seen\)
+S: \* 0 EXISTS
+S: \* 0 RECENT
+S: \* OK \[UIDVALIDITY (.)*\].*
+S: \* OK \[PERMANENTFLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\\Seen( 
\\\*)?\)\].*
+S: \* OK \[HIGHESTMODSEQ \d+\].*
+S: \* OK \[UIDNEXT 1\].*
+S: A3 OK \[READ-WRITE\] SELECT completed\.
+C: A4 APPEND testmailbox {765+}
+C: From: Timothy Tayler <[email protected]>
+C: To: Samual Smith <[email protected]>
+C: Date: Thu, 14 Feb 2008 12:00:00 +0000 (GMT)
+C: Subject: A Multipart Email
+C: Content-Type: multipart/mixed;boundary=1729
+C: 
+C: Start with a preamble
+C: 
+C: --1729
+C: Content-Type: text/plain; charset=US-ASCII
+C: 
+C: Rhubarb!
+C: 
+C: --1729
+C: Content-Type: text/html; charset=US-ASCII
+C: 
+C: <html><head><title>Rhubarb</title></head><body>Rhubarb!</body></html>
+C: 
+C: --1729
+C: Content-Type: application/xhtml+xml
+C: 
+C: <!DOCTYPE html
+C: PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+C: "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+C: <html><head><title>Rhubarb</title></head><body>Rhubarb!</body></html>
+C: 
+C: --1729
+C: Content-Type: image/jpeg
+C: Content-Transfer-Encoding: base64
+C: 
+C: 1234567890ABCDEFGHIJKLMNOPQ
+C: 
+C: --1729--
+C: 
+S: \* 1 EXISTS
+S: \* 1 RECENT
+S: A4 OK (\[.+\] )?APPEND completed\.
+C: A5 SELECT testmailbox
+S: \* FLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\Seen\)
+S: \* 1 EXISTS
+S: \* 1 RECENT
+S: \* OK \[UIDVALIDITY (.)*\].*
+S: \* OK \[UNSEEN 1\](.)*
+S: \* OK \[PERMANENTFLAGS \(\\Answered \\Deleted \\Draft \\Flagged \\\Seen( 
\\\*)?\)\].*
+S: \* OK \[HIGHESTMODSEQ \d+\].*
+S: \* OK \[UIDNEXT 2\].*
+S: A5 OK \[READ-WRITE\] SELECT completed\.
+C: A6 FETCH 1 (BODY[]<0.10>)
+S: \* 1 FETCH \(FLAGS \(\\Recent \\Seen\) BODY\[\]<0> \{10\}
+S: From: Timo\)
+S: A6 OK FETCH completed\.
+C: A7 FETCH 1 (BODY[]<0.100>)
+S: \* 1 FETCH \(BODY\[\]<0> \{100\}
+S: From: Timothy Tayler <timothy@example\.org>
+S: To: Samual Smith <samual@example\.org>
+S: Date: Thu, 14 Feb\)
+S: A7 OK FETCH completed\.
+C: A8 FETCH 1 (BODY[]<0.1000>)
+S: \* 1 FETCH \(BODY\[\]<0> \{765\}
+S: From: Timothy Tayler <timothy@example\.org>
+S: To: Samual Smith <samual@example\.org>
+S: Date: Thu, 14 Feb 2008 12:00:00 \+0000 \(GMT\)
+S: Subject: A Multipart Email
+S: Content-Type: multipart/mixed;boundary=1729
+S: 
+S: Start with a preamble
+S: 
+S: --1729
+S: Content-Type: text/plain; charset=US-ASCII
+S: 
+S: Rhubarb!
+S: 
+S: --1729
+S: Content-Type: text/html; charset=US-ASCII
+S: 
+S: <html><head><title>Rhubarb</title></head><body>Rhubarb!</body></html>
+S: 
+S: --1729
+S: Content-Type: application/xhtml\+xml
+S: 
+S: <!DOCTYPE html
+S: PUBLIC "-//W3C//DTD XHTML 1\.0 Strict//EN"
+S: "http://www\.w3\.org/TR/xhtml1/DTD/xhtml1-strict\.dtd";>
+S: <html><head><title>Rhubarb</title></head><body>Rhubarb!</body></html>
+S: 
+S: --1729
+S: Content-Type: image/jpeg
+S: Content-Transfer-Encoding: base64
+S: 
+S: 1234567890ABCDEFGHIJKLMNOPQ
+S: 
+S: --1729--
+S: \)
+S: A8 OK FETCH completed\.
+C: A9 FETCH 1 (BODY[]<0.10000>)
+S: \* 1 FETCH \(BODY\[\]<0> \{765\}
+S: From: Timothy Tayler <timothy@example\.org>
+S: To: Samual Smith <samual@example\.org>
+S: Date: Thu, 14 Feb 2008 12:00:00 \+0000 \(GMT\)
+S: Subject: A Multipart Email
+S: Content-Type: multipart/mixed;boundary=1729
+S: 
+S: Start with a preamble
+S: 
+S: --1729
+S: Content-Type: text/plain; charset=US-ASCII
+S: 
+S: Rhubarb!
+S: 
+S: --1729
+S: Content-Type: text/html; charset=US-ASCII
+S: 
+S: <html><head><title>Rhubarb</title></head><body>Rhubarb!</body></html>
+S: 
+S: --1729
+S: Content-Type: application/xhtml\+xml
+S: 
+S: <!DOCTYPE html
+S: PUBLIC "-//W3C//DTD XHTML 1\.0 Strict//EN"
+S: "http://www\.w3\.org/TR/xhtml1/DTD/xhtml1-strict\.dtd";>
+S: <html><head><title>Rhubarb</title></head><body>Rhubarb!</body></html>
+S: 
+S: --1729
+S: Content-Type: image/jpeg
+S: Content-Transfer-Encoding: base64
+S: 
+S: 1234567890ABCDEFGHIJKLMNOPQ
+S: 
+S: --1729--
+S: \)
+S: A9 OK FETCH completed\.
+C: A10 FETCH 1 (BODY[]<0.100000>)
+S: \* 1 FETCH \(BODY\[\]<0> \{765\}
+S: From: Timothy Tayler <timothy@example\.org>
+S: To: Samual Smith <samual@example\.org>
+S: Date: Thu, 14 Feb 2008 12:00:00 \+0000 \(GMT\)
+S: Subject: A Multipart Email
+S: Content-Type: multipart/mixed;boundary=1729
+S: 
+S: Start with a preamble
+S: 
+S: --1729
+S: Content-Type: text/plain; charset=US-ASCII
+S: 
+S: Rhubarb!
+S: 
+S: --1729
+S: Content-Type: text/html; charset=US-ASCII
+S: 
+S: <html><head><title>Rhubarb</title></head><body>Rhubarb!</body></html>
+S: 
+S: --1729
+S: Content-Type: application/xhtml\+xml
+S: 
+S: <!DOCTYPE html
+S: PUBLIC "-//W3C//DTD XHTML 1\.0 Strict//EN"
+S: "http://www\.w3\.org/TR/xhtml1/DTD/xhtml1-strict\.dtd";>
+S: <html><head><title>Rhubarb</title></head><body>Rhubarb!</body></html>
+S: 
+S: --1729
+S: Content-Type: image/jpeg
+S: Content-Transfer-Encoding: base64
+S: 
+S: 1234567890ABCDEFGHIJKLMNOPQ
+S: 
+S: --1729--
+S: \)
+S: A10 OK FETCH completed\.
+C: A11 FETCH 1 (BODY[]<100.10>)
+S: \* 1 FETCH \(BODY\[\]<100> \{10\}
+S:  2008 12:0\)
+S: A11 OK FETCH completed\.
+C: A12 FETCH 1 (BODY[]<100.100>)
+S: \* 1 FETCH \(BODY\[\]<100> \{100\}
+S:  2008 12:00:00 \+0000 \(GMT\)
+S: Subject: A Multipart Email
+S: Content-Type: multipart/mixed;boundary=1729\r\)
+S: A12 OK FETCH completed\.
+C: A13 FETCH 1 (BODY[]<100.1000>)
+S: \* 1 FETCH \(BODY\[\]<100> \{665\}
+S:  2008 12:00:00 \+0000 \(GMT\)
+S: Subject: A Multipart Email
+S: Content-Type: multipart/mixed;boundary=1729
+S: 
+S: Start with a preamble
+S: 
+S: --1729
+S: Content-Type: text/plain; charset=US-ASCII
+S: 
+S: Rhubarb!
+S: 
+S: --1729
+S: Content-Type: text/html; charset=US-ASCII
+S: 
+S: <html><head><title>Rhubarb</title></head><body>Rhubarb!</body></html>
+S: 
+S: --1729
+S: Content-Type: application/xhtml\+xml
+S: 
+S: <!DOCTYPE html
+S: PUBLIC "-//W3C//DTD XHTML 1\.0 Strict//EN"
+S: "http://www\.w3\.org/TR/xhtml1/DTD/xhtml1-strict\.dtd";>
+S: <html><head><title>Rhubarb</title></head><body>Rhubarb!</body></html>
+S: 
+S: --1729
+S: Content-Type: image/jpeg
+S: Content-Transfer-Encoding: base64
+S: 
+S: 1234567890ABCDEFGHIJKLMNOPQ
+S: 
+S: --1729--
+S: \)
+S: A13 OK FETCH completed\.
+C: A14 FETCH 1 (BODY[]<100.10000>)
+S: \* 1 FETCH \(BODY\[\]<100> \{665\}
+S:  2008 12:00:00 \+0000 \(GMT\)
+S: Subject: A Multipart Email
+S: Content-Type: multipart/mixed;boundary=1729
+S: 
+S: Start with a preamble
+S: 
+S: --1729
+S: Content-Type: text/plain; charset=US-ASCII
+S: 
+S: Rhubarb!
+S: 
+S: --1729
+S: Content-Type: text/html; charset=US-ASCII
+S: 
+S: <html><head><title>Rhubarb</title></head><body>Rhubarb!</body></html>
+S: 
+S: --1729
+S: Content-Type: application/xhtml\+xml
+S: 
+S: <!DOCTYPE html
+S: PUBLIC "-//W3C//DTD XHTML 1\.0 Strict//EN"
+S: "http://www\.w3\.org/TR/xhtml1/DTD/xhtml1-strict\.dtd";>
+S: <html><head><title>Rhubarb</title></head><body>Rhubarb!</body></html>
+S: 
+S: --1729
+S: Content-Type: image/jpeg
+S: Content-Transfer-Encoding: base64
+S: 
+S: 1234567890ABCDEFGHIJKLMNOPQ
+S: 
+S: --1729--
+S: \)
+S: A14 OK FETCH completed\.
+C: A15 FETCH 1 (BODY[]<100.100000>)
+S: \* 1 FETCH \(BODY\[\]<100> \{665\}
+S:  2008 12:00:00 \+0000 \(GMT\)
+S: Subject: A Multipart Email
+S: Content-Type: multipart/mixed;boundary=1729
+S: 
+S: Start with a preamble
+S: 
+S: --1729
+S: Content-Type: text/plain; charset=US-ASCII
+S: 
+S: Rhubarb!
+S: 
+S: --1729
+S: Content-Type: text/html; charset=US-ASCII
+S: 
+S: <html><head><title>Rhubarb</title></head><body>Rhubarb!</body></html>
+S: 
+S: --1729
+S: Content-Type: application/xhtml\+xml
+S: 
+S: <!DOCTYPE html
+S: PUBLIC "-//W3C//DTD XHTML 1\.0 Strict//EN"
+S: "http://www\.w3\.org/TR/xhtml1/DTD/xhtml1-strict\.dtd";>
+S: <html><head><title>Rhubarb</title></head><body>Rhubarb!</body></html>
+S: 
+S: --1729
+S: Content-Type: image/jpeg
+S: Content-Transfer-Encoding: base64
+S: 
+S: 1234567890ABCDEFGHIJKLMNOPQ
+S: 
+S: --1729--
+S: \)
+S: A15 OK FETCH completed\.
+C: A16 FETCH 1 (BODY[]<10000.10>)
+S: \* 1 FETCH \(BODY\[\]<10000> \{0\}
+S: \)
+S: A16 OK FETCH completed\.
+C: A17 FETCH 1 (BODY[]<10000.100>)
+S: \* 1 FETCH \(BODY\[\]<10000> \{0\}
+S: \)
+S: A17 OK FETCH completed\.
+C: A18 FETCH 1 (BODY[]<10000.1000>)
+S: \* 1 FETCH \(BODY\[\]<10000> \{0\}
+S: \)
+S: A18 OK FETCH completed\.
+C: A19 FETCH 1 (BODY[]<10000.10000>)
+S: \* 1 FETCH \(BODY\[\]<10000> \{0\}
+S: \)
+S: A19 OK FETCH completed\.
+C: A20 FETCH 1 (BODY[]<10000.100000>)
+S: \* 1 FETCH \(BODY\[\]<10000> \{0\}
+S: \)
+S: A20 OK FETCH completed\.
+C: A21 DELETE testmailbox
+S: A21 OK DELETE completed\.
+

Added: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/BogusCommand.test
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/BogusCommand.test?rev=1682367&view=auto
==============================================================================
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/BogusCommand.test
 (added)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/BogusCommand.test
 Fri May 29 05:16:50 2015
@@ -0,0 +1,24 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+#
+# Send a bye when the tag is bad
+#
+S: \* OK IMAP4rev1 Server ready
+C: A88345 BOGUS
+S: \* BYE Unknown command.
\ No newline at end of file

Added: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/Capability.test
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/Capability.test?rev=1682367&view=auto
==============================================================================
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/Capability.test
 (added)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/Capability.test
 Fri May 29 05:16:50 2015
@@ -0,0 +1,24 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+C: abcd CAPABILITY
+S: \* CAPABILITY .+
+S: abcd OK CAPABILITY completed.
+
+C: abcd CAPABILITY extra stuff
+S: abcd BAD CAPABILITY failed. Illegal arguments.

Added: 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/Check.test
URL: 
http://svn.apache.org/viewvc/james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/Check.test?rev=1682367&view=auto
==============================================================================
--- 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/Check.test
 (added)
+++ 
james/mpt/trunk/impl/imap-mailbox/core/src/main/resources/org/apache/james/imap/scripts/Check.test
 Fri May 29 05:16:50 2015
@@ -0,0 +1,20 @@
+################################################################
+# Licensed to the Apache Software Foundation (ASF) under one   #
+# or more contributor license agreements.  See the NOTICE file #
+# distributed with this work for additional information        #
+# regarding copyright ownership.  The ASF licenses this file   #
+# to you under the Apache License, Version 2.0 (the            #
+# "License"); you may not use this file except in compliance   #
+# with the License.  You may obtain a copy of the License at   #
+#                                                              #
+#   http://www.apache.org/licenses/LICENSE-2.0                 #
+#                                                              #
+# Unless required by applicable law or agreed to in writing,   #
+# software distributed under the License is distributed on an  #
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       #
+# KIND, either express or implied.  See the License for the    #
+# specific language governing permissions and limitations      #
+# under the License.                                           #
+################################################################
+C: a01 CHECK
+S: a01 OK CHECK completed.
\ No newline at end of file



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to