james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject svn commit: r1094991 [11/16] - in /james/mime4j/trunk: ./ core/src/test/java/org/apache/james/mime4j/parser/ core/src/test/resources/mimetools-testmsgs/ dom/src/test/java/org/apache/james/mime4j/dom/
Date Tue, 19 Apr 2011 10:12:26 GMT
Added: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-frag_decoded_1_1.txt
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-frag_decoded_1_1.txt?rev=1094991&view=auto
==============================================================================
--- james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-frag_decoded_1_1.txt (added)
+++ james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-frag_decoded_1_1.txt Tue Apr 19 10:12:19 2011
@@ -0,0 +1,5 @@
+Part 1 of the outer message.
+[Note that the preceding blank line means
+no header fields were given and this is text,
+with charset US ASCII.  It could have been
+done with explicit typing as in the next part.]

Propchange: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-frag_decoded_1_1.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-frag_decoded_1_2.txt
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-frag_decoded_1_2.txt?rev=1094991&view=auto
==============================================================================
--- james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-frag_decoded_1_2.txt (added)
+++ james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-frag_decoded_1_2.txt Tue Apr 19 10:12:19 2011
@@ -0,0 +1,4 @@
+Part 2 of the outer message.
+This could have been part of the previous part,
+but illustrates explicit versus implicit
+typing of body parts.

Propchange: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-frag_decoded_1_2.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-frag_decoded_1_3_1.bin
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-frag_decoded_1_3_1.bin?rev=1094991&view=auto
==============================================================================
Binary file - no diff available.

Propchange: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-frag_decoded_1_3_1.bin
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-frag_decoded_1_3_2.bin
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-frag_decoded_1_3_2.bin?rev=1094991&view=auto
==============================================================================
Binary file - no diff available.

Propchange: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-frag_decoded_1_3_2.bin
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-frag_decoded_1_4.txt
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-frag_decoded_1_4.txt?rev=1094991&view=auto
==============================================================================
--- james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-frag_decoded_1_4.txt (added)
+++ james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-frag_decoded_1_4.txt Tue Apr 19 10:12:19 2011
@@ -0,0 +1,4 @@
+This is <bold>part 4 of the outer message</bold>
+<smaller>as defined in RFC1341</smaller><nl>
+<nl>
+Isn't it <bigger><bigger>cool?</bigger></bigger>

Propchange: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-frag_decoded_1_4.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-frag_decoded_1_5_1.txt
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-frag_decoded_1_5_1.txt?rev=1094991&view=auto
==============================================================================
--- james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-frag_decoded_1_5_1.txt (added)
+++ james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-frag_decoded_1_5_1.txt Tue Apr 19 10:12:19 2011
@@ -0,0 +1 @@
+Part 5 of the outer message is itself an RFC822 message!

Propchange: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-frag_decoded_1_5_1.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor.msg
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor.msg?rev=1094991&view=auto
==============================================================================
--- james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor.msg (added)
+++ james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor.msg Tue Apr 19 10:12:19 2011
@@ -0,0 +1,198 @@
+Date: Thu, 6 Jun 1996 15:50:39 +0400 (MOW DST)
+From: Starovoitov Igor <igor@fripp.aic.synapse.ru>
+To: eryq@rhine.gsfc.nasa.gov
+Subject: Need help
+MIME-Version: 1.0
+Content-Type: MULTIPART/MIXED; BOUNDARY="-490585488-806670346-834061839=:2195"
+
+  This message is in MIME format.  The first part should be readable text,
+  while the remaining parts are likely unreadable without MIME-aware tools.
+  Send mail to mime@docserver.cac.washington.edu for more info.
+
+---490585488-806670346-834061839=:2195
+Content-Type: TEXT/PLAIN; charset=US-ASCII
+
+Dear Sir,
+
+I have a problem with Your MIME-Parser-1.9
+and multipart-nested messages. 
+Not all parts are parsed.
+
+Here my Makefile, Your own multipart-nested.msg
+and its out after "make test".
+Some my messages not completely parsed too. 
+
+Is this a bug?
+
+Thank You for help.
+
+
+Igor Starovoytov.
+---490585488-806670346-834061839=:2195
+Content-Type: TEXT/PLAIN; charset=US-ASCII; name=Makefile
+Content-Transfer-Encoding: BASE64
+Content-ID: <Pine.LNX.3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G0uaHRtbDoNCglwb2QyaHRtbCAke1BP
+RDJIVE1MX0ZMQUdTfSBcDQoJCS0tdGl0bGU9TUlNRTo6JCogXA0KCQktLWlu
+ZmlsZT0kPCBcDQoJCS0tb3V0ZmlsZT1kb2NzLyQqLmh0bWwNCg0KIy0tLS0t
+LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
+LS0tLS0tLS0tLQ0K
+---490585488-806670346-834061839=:2195
+Content-Type: TEXT/PLAIN; charset=US-ASCII; name="multi-nested.msg"
+Content-Transfer-Encoding: BASE64
+Content-ID: <Pine.LNX.3.91.960606155039.2195C@fripp.aic.synapse.ru>
+Content-Description: test message
+
+TUlNRS1WZXJzaW9uOiAxLjANCkZyb206IExvcmQgSm9obiBXaG9yZmluIDx3
+aG9yZmluQHlveW9keW5lLmNvbT4NClRvOiA8am9obi15YXlhQHlveW9keW5l
+LmNvbT4NClN1YmplY3Q6IEEgY29tcGxleCBuZXN0ZWQgbXVsdGlwYXJ0IGV4
+YW1wbGUNCkNvbnRlbnQtVHlwZTogbXVsdGlwYXJ0L21peGVkOw0KICAgICBi
+b3VuZGFyeT11bmlxdWUtYm91bmRhcnktMQ0KDQpUaGUgcHJlYW1ibGUgb2Yg
+dGhlIG91dGVyIG11bHRpcGFydCBtZXNzYWdlLg0KTWFpbCByZWFkZXJzIHRo
+YXQgdW5kZXJzdGFuZCBtdWx0aXBhcnQgZm9ybWF0DQpzaG91bGQgaWdub3Jl
+IHRoaXMgcHJlYW1ibGUuDQpJZiB5b3UgYXJlIHJlYWRpbmcgdGhpcyB0ZXh0
+LCB5b3UgbWlnaHQgd2FudCB0bw0KY29uc2lkZXIgY2hhbmdpbmcgdG8gYSBt
+YWlsIHJlYWRlciB0aGF0IHVuZGVyc3RhbmRzDQpob3cgdG8gcHJvcGVybHkg
+ZGlzcGxheSBtdWx0aXBhcnQgbWVzc2FnZXMuDQotLXVuaXF1ZS1ib3VuZGFy
+eS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c21hbGxlcj5hcyBk
+ZWZpbmVkIGluIFJGQzEzNDE8L3NtYWxsZXI+PG5sPg0KPG5sPg0KSXNuJ3Qg
+aXQgPGJpZ2dlcj48YmlnZ2VyPmNvb2w/PC9iaWdnZXI+PC9iaWdnZXI+DQoN
+Ci0tdW5pcXVlLWJvdW5kYXJ5LTENCkNvbnRlbnQtVHlwZTogbWVzc2FnZS9y
+ZmM4MjINCg0KRnJvbTogKG1haWxib3ggaW4gVVMtQVNDSUkpDQpUbzogKGFk
+ZHJlc3MgaW4gVVMtQVNDSUkpDQpTdWJqZWN0OiBQYXJ0IDUgb2YgdGhlIG91
+dGVyIG1lc3NhZ2UgaXMgaXRzZWxmIGFuIFJGQzgyMiBtZXNzYWdlIQ0KQ29u
+dGVudC1UeXBlOiBUZXh0L3BsYWluOyBjaGFyc2V0PUlTTy04ODU5LTENCkNv
+bnRlbnQtVHJhbnNmZXItRW5jb2Rpbmc6IFF1b3RlZC1wcmludGFibGUNCg0K
+UGFydCA1IG9mIHRoZSBvdXRlciBtZXNzYWdlIGlzIGl0c2VsZiBhbiBSRkM4
+MjIgbWVzc2FnZSENCg0KLS11bmlxdWUtYm91bmRhcnktMS0tDQoNClRoZSBl
+cGlsb2d1ZSBmb3IgdGhlIG91dGVyIG1lc3NhZ2UuDQo=
+---490585488-806670346-834061839=:2195
+Content-Type: TEXT/PLAIN; charset=US-ASCII; name="Parser.n.out"
+Content-Transfer-Encoding: BASE64
+Content-ID: <Pine.LNX.3.91.960606155039.2195D@fripp.aic.synapse.ru>
+Content-Description: out from parser
+
+KiBXYWl0aW5nIGZvciBhIE1JTUUgbWVzc2FnZSBmcm9tIFNURElOLi4uDQo9
+PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
+PT09PT09PT09PT09PT0NCkNvbnRlbnQtdHlwZTogbXVsdGlwYXJ0L21peGVk
+DQpCb2R5LWZpbGU6IE5PTkUNClN1YmplY3Q6IEEgY29tcGxleCBuZXN0ZWQg
+bXVsdGlwYXJ0IGV4YW1wbGUNCk51bS1wYXJ0czogMw0KLS0NCiAgICBDb250
+ZW50LXR5cGU6IHRleHQvcGxhaW4NCiAgICBCb2R5LWZpbGU6IC4vdGVzdG91
+dC9tc2ctMzUzOC0xLmRvYw0KICAgIC0tDQogICAgQ29udGVudC10eXBlOiB0
+ZXh0L3BsYWluDQogICAgQm9keS1maWxlOiAuL3Rlc3RvdXQvbXNnLTM1Mzgt
+Mi5kb2MNCiAgICAtLQ0KICAgIENvbnRlbnQtdHlwZTogbXVsdGlwYXJ0L3Bh
+cmFsbGVsDQogICAgQm9keS1maWxlOiBOT05FDQogICAgU3ViamVjdDogUGFy
+dCAzIG9mIHRoZSBvdXRlciBtZXNzYWdlIGlzIG11bHRpcGFydCENCiAgICBO
+dW0tcGFydHM6IDINCiAgICAtLQ0KICAgICAgICBDb250ZW50LXR5cGU6IGlt
+YWdlL2dpZg0KICAgICAgICBCb2R5LWZpbGU6IC4vdGVzdG91dC8zZC1jb21w
+cmVzcy5naWYNCiAgICAgICAgU3ViamVjdDogUGFydCAxIG9mIHRoZSBpbm5l
+ciBtZXNzYWdlIGlzIGEgR0lGLCAiM2QtY29tcHJlc3MuZ2lmIg0KICAgICAg
+ICAtLQ0KICAgICAgICBDb250ZW50LXR5cGU6IGltYWdlL2dpZg0KICAgICAg
+ICBCb2R5LWZpbGU6IC4vdGVzdG91dC8zZC1leWUuZ2lmDQogICAgICAgIFN1
+YmplY3Q6IFBhcnQgMiBvZiB0aGUgaW5uZXIgbWVzc2FnZSBpcyBhbm90aGVy
+IEdJRiwgIjNkLWV5ZS5naWYiDQogICAgICAgIC0tDQo9PT09PT09PT09PT09
+PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
+PT0NCg0K
+---490585488-806670346-834061839=:2195--

Added: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor.out
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor.out?rev=1094991&view=auto
==============================================================================
--- james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor.out (added)
+++ james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor.out Tue Apr 19 10:12:19 2011
@@ -0,0 +1,169 @@
+Date: Thu, 6 Jun 1996 15:50:39 +0400 (MOW DST)
+From: Starovoitov Igor <igor@fripp.aic.synapse.ru>
+To: eryq@rhine.gsfc.nasa.gov
+Subject: Need help
+MIME-Version: 1.0
+Content-Type: MULTIPART/MIXED; BOUNDARY="-490585488-806670346-834061839=:2195"
+
+  This message is in MIME format.  The first part should be readable text,
+  while the remaining parts are likely unreadable without MIME-aware tools.
+  Send mail to mime@docserver.cac.washington.edu for more info.
+
+---490585488-806670346-834061839=:2195
+Content-Type: TEXT/PLAIN; charset=US-ASCII
+
+Dear Sir,
+
+I have a problem with Your MIME-Parser-1.9
+and multipart-nested messages. 
+Not all parts are parsed.
+
+Here my Makefile, Your own multipart-nested.msg
+and its out after "make test".
+Some my messages not completely parsed too. 
+
+Is this a bug?
+
+Thank You for help.
+
+
+Igor Starovoytov.
+---490585488-806670346-834061839=:2195
+Content-Type: TEXT/PLAIN; charset=US-ASCII; name=Makefile
+Content-Transfer-Encoding: BASE64
+Content-ID: <Pine.LNX.3.91.960606155039.2195B@fripp.aic.synapse.ru>
+Content-Description: Makefile
+
+Iy0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
+LS0tLQ0KIyBNYWtlZmlsZSBmb3IgTUlNRTo6DQojLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
+LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tDQoNCiMgV2hlcmUgdG8gaW5zdGFsbCB0
+aGUgbGlicmFyaWVzOg0KU0lURV9QRVJMID0gL3Vzci9saWIvcGVybDUNCg0KIyBXaGF0IFBlcmw1
+I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MgRm9yIGRldmVsb3BlciBvbmx5Li4uDQojLS0tLS0tLS0tLS0tLS0t
+LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tDQoNClBPRDJIVE1M
+X0ZMQUdTID0gLS1wb2RwYXRoPS4gLS1mbHVzaCAtLWh0bWxyb290PS4uDQpIVE1MUyAgICAgICAg
+ICA9ICR7TU9EUzoucG09Lmh0bWx9DQpWUEFUSCAgICAgICAgICA9IE1JTUUNCg0KLlNVRkZJWEVT
+OiAucG0gLnBvZCAuaHRtbA0KDQojIHYuMS44IGdlbmVyYXRlZCAzMCBBcHIgOTYNCiMgdi4xLjkg
+aXMgb25seSBiZWNhdXNlIDEuOCBmYWlsZWQgQ1BBTiBpbmdlc3Rpb24NCmRpc3Q6IGRvY3VtZW50
+ZWQJDQoJVkVSU0lPTj0xLjkgOyBcDQoJbWtkaXN0IC10Z3ogTUlNRS1wYXJzZXItJCRWRVJTSU9O
+IDsgXA0KCWNwIE1LRElTVC9NSU1FLXBhcnNlci0kJFZFUlNJT04udGd6ICR7SE9NRX0vcHVibGlj
+X2h0bWwvY3Bhbg0KCQ0KZG9jdW1lbnRlZDogJHtIVE1MU30gJHtNT0RTfQ0KDQoucG0uaHRtbDoN
+Cglwb2QyaHRtbCAke1BPRDJIVE1MX0ZMQUdTfSBcDQoJCS0tdGl0bGU9TUlNRTo6JCogXA0KCQkt
+LWluZmlsZT0kPCBcDQoJCS0tb3V0ZmlsZT1kb2NzLyQqLmh0bWwNCg0KIy0tLS0tLS0tLS0tLS0t
+LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQ0K
+
+---490585488-806670346-834061839=:2195
+Content-Type: TEXT/PLAIN; charset=US-ASCII; name="multi-nested.msg"
+Content-Transfer-Encoding: BASE64
+Content-ID: <Pine.LNX.3.91.960606155039.2195C@fripp.aic.synapse.ru>
+Content-Description: test message
+
+TUlNRS1W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s
+YWluOyBjaGFyc2V0PUlTTy04ODU5LTENCkNvbnRlbnQtVHJhbnNmZXItRW5jb2Rpbmc6IFF1b3Rl
+ZC1wcmludGFibGUNCg0KUGFydCA1IG9mIHRoZSBvdXRlciBtZXNzYWdlIGlzIGl0c2VsZiBhbiBS
+RkM4MjIgbWVzc2FnZSENCg0KLS11bmlxdWUtYm91bmRhcnktMS0tDQoNClRoZSBlcGlsb2d1ZSBm
+b3IgdGhlIG91dGVyIG1lc3NhZ2UuDQo=
+
+---490585488-806670346-834061839=:2195
+Content-Type: TEXT/PLAIN; charset=US-ASCII; name="Parser.n.out"
+Content-Transfer-Encoding: BASE64
+Content-ID: <Pine.LNX.3.91.960606155039.2195D@fripp.aic.synapse.ru>
+Content-Description: out from parser
+
+KiBXYWl0aW5nIGZvciBhIE1JTUUgbWVzc2FnZSBmcm9tIFNURElOLi4uDQo9PT09PT09PT09PT09
+PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NCkNvbnRlbnQt
+dHlwZTogbXVsdGlwYXJ0L21peGVkDQpCb2R5LWZpbGU6IE5PTkUNClN1YmplY3Q6IEEgY29tcGxl
+eCBuZXN0ZWQgbXVsdGlwYXJ0IGV4YW1wbGUNCk51bS1wYXJ0czogMw0KLS0NCiAgICBDb250ZW50
+LXR5cGU6IHRleHQvcGxhaW4NCiAgICBCb2R5LWZpbGU6IC4vdGVzdG91dC9tc2ctMzUzOC0xLmRv
+Yw0KICAgIC0tDQogICAgQ29udGVudC10eXBlOiB0ZXh0L3BsYWluDQogICAgQm9keS1maWxlOiAu
+L3Rlc3RvdXQvbXNnLTM1MzgtMi5kb2MNCiAgICAtLQ0KICAgIENvbnRlbnQtdHlwZTogbXVsdGlw
+YXJ0L3BhcmFsbGVsDQogICAgQm9keS1maWxlOiBOT05FDQogICAgU3ViamVjdDogUGFydCAzIG9m
+IHRoZSBvdXRlciBtZXNzYWdlIGlzIG11bHRpcGFydCENCiAgICBOdW0tcGFydHM6IDINCiAgICAt
+LQ0KICAgICAgICBDb250ZW50LXR5cGU6IGltYWdlL2dpZg0KICAgICAgICBCb2R5LWZpbGU6IC4v
+dGVzdG91dC8zZC1jb21wcmVzcy5naWYNCiAgICAgICAgU3ViamVjdDogUGFydCAxIG9mIHRoZSBp
+bm5lciBtZXNzYWdlIGlzIGEgR0lGLCAiM2QtY29tcHJlc3MuZ2lmIg0KICAgICAgICAtLQ0KICAg
+ICAgICBDb250ZW50LXR5cGU6IGltYWdlL2dpZg0KICAgICAgICBCb2R5LWZpbGU6IC4vdGVzdG91
+dC8zZC1leWUuZ2lmDQogICAgICAgIFN1YmplY3Q6IFBhcnQgMiBvZiB0aGUgaW5uZXIgbWVzc2Fn
+ZSBpcyBhbm90aGVyIEdJRiwgIjNkLWV5ZS5naWYiDQogICAgICAgIC0tDQo9PT09PT09PT09PT09
+PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NCg0K
+
+---490585488-806670346-834061839=:2195--

Added: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor.xml
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor.xml?rev=1094991&view=auto
==============================================================================
--- james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor.xml (added)
+++ james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor.xml Tue Apr 19 10:12:19 2011
@@ -0,0 +1,234 @@
+<message>
+<header>
+<field>
+Date: Thu, 6 Jun 1996 15:50:39 +0400 (MOW DST)</field>
+<field>
+From: Starovoitov Igor &lt;igor@fripp.aic.synapse.ru&gt;</field>
+<field>
+To: eryq@rhine.gsfc.nasa.gov</field>
+<field>
+Subject: Need help</field>
+<field>
+MIME-Version: 1.0</field>
+<field>
+Content-Type: MULTIPART/MIXED; BOUNDARY="-490585488-806670346-834061839=:2195"</field>
+</header>
+<multipart>
+<preamble>
+  This message is in MIME format.  The first part should be readable text,
+  while the remaining parts are likely unreadable without MIME-aware tools.
+  Send mail to mime@docserver.cac.washington.edu for more info.
+</preamble>
+<body-part>
+<header>
+<field>
+Content-Type: TEXT/PLAIN; charset=US-ASCII</field>
+</header>
+<body>
+Dear Sir,
+
+I have a problem with Your MIME-Parser-1.9
+and multipart-nested messages. 
+Not all parts are parsed.
+
+Here my Makefile, Your own multipart-nested.msg
+and its out after "make test".
+Some my messages not completely parsed too. 
+
+Is this a bug?
+
+Thank You for help.
+
+
+Igor Starovoytov.</body>
+</body-part>
+<body-part>
+<header>
+<field>
+Content-Type: TEXT/PLAIN; charset=US-ASCII; name=Makefile</field>
+<field>
+Content-Transfer-Encoding: BASE64</field>
+<field>
+Content-ID: &lt;Pine.LNX.3.91.960606155039.2195B@fripp.aic.synapse.ru&gt;</field>
+<field>
+Content-Description: Makefile</field>
+</header>
+<body>
+Iy0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
+LS0tLS0tLS0tLS0tLS0tLQ0KIyBNYWtlZmlsZSBmb3IgTUlNRTo6DQojLS0t
+LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
+LS0tLS0tLS0tLS0tDQoNCiMgV2hlcmUgdG8gaW5zdGFsbCB0aGUgbGlicmFy
+aWVzOg0KU0lURV9QRVJMID0gL3Vzci9saWIvcGVybDUNCg0KIyBXaGF0IFBl
+cmw1IGlzIGNhbGxlZCBvbiB5b3VyIHN5c3RlbSAobm8gbmVlZCB0byBnaXZl
+IGVudGlyZSBwYXRoKToNClBFUkw1ICAgICA9IHBlcmwNCg0KIyBZb3UgcHJv
+YmFibHkgd29uJ3QgbmVlZCB0byBjaGFuZ2UgdGhlc2UuLi4NCk1PRFMgICAg
+ICA9IERlY29kZXIucG0gRW50aXR5LnBtIEhlYWQucG0gUGFyc2VyLnBtIEJh
+c2U2NC5wbSBRdW90ZWRQcmludC5wbQ0KU0hFTEw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gICA9IE1J
+TUUNCg0KLlNVRkZJWEVTOiAucG0gLnBvZCAuaHRtbA0KDQojIHYuMS44IGdl
+bmVyYXRlZCAzMCBBcHIgOTYNCiMgdi4xLjkgaXMgb25seSBiZWNhdXNlIDEu
+OCBmYWlsZWQgQ1BBTiBpbmdlc3Rpb24NCmRpc3Q6IGRvY3VtZW50ZWQJDQoJ
+VkVSU0lPTj0xLjkgOyBcDQoJbWtkaXN0IC10Z3ogTUlNRS1wYXJzZXItJCRW
+RVJTSU9OIDsgXA0KCWNwIE1LRElTVC9NSU1FLXBhcnNlci0kJFZFUlNJT04u
+dGd6ICR7SE9NRX0vcHVibGljX2h0bWwvY3Bhbg0KCQ0KZG9jdW1lbnRlZDog
+JHtIVE1MU30gJHtNT0RTfQ0KDQoucG0uaHRtbDoNCglwb2QyaHRtbCAke1BP
+RDJIVE1MX0ZMQUdTfSBcDQoJCS0tdGl0bGU9TUlNRTo6JCogXA0KCQktLWlu
+ZmlsZT0kPCBcDQoJCS0tb3V0ZmlsZT1kb2NzLyQqLmh0bWwNCg0KIy0tLS0t
+LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
+LS0tLS0tLS0tLQ0K</body>
+</body-part>
+<body-part>
+<header>
+<field>
+Content-Type: TEXT/PLAIN; charset=US-ASCII; name="multi-nested.msg"</field>
+<field>
+Content-Transfer-Encoding: BASE64</field>
+<field>
+Content-ID: &lt;Pine.LNX.3.91.960606155039.2195C@fripp.aic.synapse.ru&gt;</field>
+<field>
+Content-Description: test message</field>
+</header>
+<body>
+TUlNRS1WZXJzaW9uOiAxLjANCkZyb206IExvcmQgSm9obiBXaG9yZmluIDx3
+aG9yZmluQHlveW9keW5lLmNvbT4NClRvOiA8am9obi15YXlhQHlveW9keW5l
+LmNvbT4NClN1YmplY3Q6IEEgY29tcGxleCBuZXN0ZWQgbXVsdGlwYXJ0IGV4
+YW1wbGUNCkNvbnRlbnQtVHlwZTogbXVs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gbWVzc2FnZSENCg0KLS11bmlxdWUtYm91bmRhcnktMS0tDQoNClRoZSBl
+cGlsb2d1ZSBmb3IgdGhlIG91dGVyIG1lc3NhZ2UuDQo=</body>
+</body-part>
+<body-part>
+<header>
+<field>
+Content-Type: TEXT/PLAIN; charset=US-ASCII; name="Parser.n.out"</field>
+<field>
+Content-Transfer-Encoding: BASE64</field>
+<field>
+Content-ID: &lt;Pine.LNX.3.91.960606155039.2195D@fripp.aic.synapse.ru&gt;</field>
+<field>
+Content-Description: out from parser</field>
+</header>
+<body>
+KiBXYWl0aW5nIGZvciBhIE1JTUUgbWVzc2FnZSBmcm9tIFNURElOLi4uDQo9
+PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
+PT09PT09PT09PT09PT0NCkNvbnRlbnQtdHlwZTogbXVsdGlwYXJ0L21peGVk
+DQpCb2R5LWZpbGU6IE5PTkUNClN1YmplY3Q6IEEgY29tcGxleCBuZXN0ZWQg
+bXVsdGlwYXJ0IGV4YW1wbGUNCk51bS1wYXJ0czogMw0KLS0NCiAgICBDb250
+ZW50LXR5cGU6IHRleHQvcGxhaW4NCiAgICBCb2R5LWZpbGU6IC4vdGVzdG91
+dC9tc2ctMzUzOC0xLmRvYw0KICAgIC0tDQogICAgQ29udGVudC10eXBlOiB0
+ZXh0L3BsYWluDQogICAgQm9keS1maWxlOiAuL3Rlc3RvdXQvbXNnLTM1Mzgt
+Mi5kb2MNCiAgICAtLQ0KICAgIENvbnRlbnQtdHlwZTogbXVsdGlwYXJ0L3Bh
+cmFsbGVsDQogICAgQm9keS1maWxlOiBOT05FDQogICAgU3ViamVjdDogUGFy
+dCAzIG9mIHRoZSBvdXRlciBtZXNzYWdlIGlzIG11bHRpcGFydCENCiAgICBO
+dW0tcGFydHM6IDINCiAgICAtLQ0KICAgICAgICBDb250ZW50LXR5cGU6IGlt
+YWdlL2dpZg0KICAgICAgICBCb2R5LWZpbGU6IC4vdGVzdG91dC8zZC1jb21w
+cmVzcy5naWYNCiAgICAgICAgU3ViamVjdDogUGFydCAxIG9mIHRoZSBpbm5l
+ciBtZXNzYWdlIGlzIGEgR0lGLCAiM2QtY29tcHJlc3MuZ2lmIg0KICAgICAg
+ICAtLQ0KICAgICAgICBDb250ZW50LXR5cGU6IGltYWdlL2dpZg0KICAgICAg
+ICBCb2R5LWZpbGU6IC4vdGVzdG91dC8zZC1leWUuZ2lmDQogICAgICAgIFN1
+YmplY3Q6IFBhcnQgMiBvZiB0aGUgaW5uZXIgbWVzc2FnZSBpcyBhbm90aGVy
+IEdJRiwgIjNkLWV5ZS5naWYiDQogICAgICAgIC0tDQo9PT09PT09PT09PT09
+PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
+PT0NCg0K</body>
+</body-part>
+</multipart>
+</message>

Propchange: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor2.msg
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor2.msg?rev=1094991&view=auto
==============================================================================
--- james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor2.msg (added)
+++ james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor2.msg Tue Apr 19 10:12:19 2011
@@ -0,0 +1,198 @@
+Date: Thu, 6 Jun 1996 15:50:39 +0400 (MOW DST)
+From: Starovoitov Igor <igor@fripp.aic.synapse.ru>
+To: eryq@rhine.gsfc.nasa.gov
+Subject: Need help
+MIME-Version: 1.0
+Content-Type: MULTIPART/MIXED; BOUNDARY="-490585488-806670346-834061839=:2195"
+
+  This message is in MIME format.  The first part should be readable text,
+  while the remaining parts are likely unreadable without MIME-aware tools.
+  Send mail to mime@docserver.cac.washington.edu for more info.
+
+---490585488-806670346-834061839=:2195
+Content-Type: TEXT/PLAIN; charset=US-ASCII
+
+Dear Sir,
+
+I have a problem with Your MIME-Parser-1.9
+and multipart-nested messages. 
+Not all parts are parsed.
+
+Here my Makefile, Your own multipart-nested.msg
+and its out after "make test".
+Some my messages not completely parsed too. 
+
+Is this a bug?
+
+Thank You for help.
+
+
+Igor Starovoytov.
+---490585488-806670346-834061839=:2195
+Content-Type: TEXT/PLAIN; charset=US-ASCII; name=Makefile
+Content-Transfer-Encoding: BASE64
+Content-ID: <Pine.LNX.3.91.960606155039.2195B@fripp.aic.synapse.ru>
+Content-Description: Makefile
+
+Iy0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
+LS0tLS0tLS0tLS0tLS0tLQ0KIyBNYWtlZmlsZSBmb3IgTUlNRTo6DQojLS0t
+LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
+LS0tLS0tLS0tLS0tDQoNCiMgV2hlcmUgdG8gaW5zdGFsbCB0aGUgbGlicmFy
+aWVzOg0KU0lURV9QRVJMID0gL3Vzci9saWIvcGVybDUNCg0KIyBXaGF0IFBl
+cmw1IGlzIGNhbGxlZCBvbiB5b3VyIHN5c3RlbSAobm8gbmVlZCB0byBnaXZl
+IGVudGlyZSBwYXRoKToNClBFUkw1ICAgICA9IHBlcmwNCg0KIyBZb3UgcHJv
+YmFibHkgd29uJ3QgbmVlZCB0byBjaGFuZ2UgdGhlc2UuLi4NCk1PRFMgICAg
+ICA9IERlY29kZXIucG0gRW50aXR5LnBtIEhlYWQucG0gUGFyc2VyLnBtIEJh
+c2U2NC5wbSBRdW90ZWRQcmludC5wbQ0KU0hFTEwgICAgID0gL2Jpbi9zaA0K
+DQojLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
+LS0tLS0tLS0tLS0tLS0tLS0tDQojIEZvciBpbnN0YWxsZXJzLi4uDQojLS0t
+LS0tLS0tLS0tLS0tLS0tLS0tL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3Q6IGRvY3VtZW50ZWQJDQoJ
+VkVSU0lPTj0xLjkgOyBcDQoJbWtkaXN0IC10Z3ogTUlNRS1wYXJzZXItJCRW
+RVJTSU9OIDsgXA0KCWNwIE1LRElTVC9NSU1FLXBhcnNlci0kJFZFUlNJT04u
+dGd6ICR7SE9NRX0vcHVibGljX2h0bWwvY3Bhbg0KCQ0KZG9jdW1lbnRlZDog
+JHtIVE1MU30gJHtNT0RTfQ0KDQoucG0uaHRtbDoNCglwb2QyaHRtbCAke1BP
+RDJIVE1MX0ZMQUdTfSBcDQoJCS0tdGl0bGU9TUlNRTo6JCogXA0KCQktLWlu
+ZmlsZT0kPCBcDQoJCS0tb3V0ZmlsZT1kb2NzLyQqLmh0bWwNCg0KIy0tLS0t
+LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
+LS0tLS0tLS0tLQ0K
+---490585488-806670346-834061839=:2195
+Content-Type: TEXT/PLAIN; charset=US-ASCII; name="multi-nested.msg"
+Content-Transfer-Encoding: BASE64
+Content-ID: <Pine.LNX.3.91.960606155039.2195C@fripp.aic.synapse.ru>
+Content-Description: test message
+
+TUlNRS1WZXJzaW9uOiAxLjANCkZyb206IExvcmQgSm9obiBXaG9yZmluIDx3
+aG9yZmluQHlveW9keW5lLmNvbT4NClRvOiA8am9obi15YXlhQHlveW9keW5l
+LmNvbT4NClN1YmplY3Q6IEEgY29tcGxleCBuZXN0ZWQgbXVsdGlwYXJ0IGV4
+YW1wbGUNCkNvbnRlbnQtVHlwZTogbXVsdGlwYXJ0L21peGVkOw0KICAgICBi
+b3VuZGFyeT11bmlxdWUtYm91bmRhcnktMQ0KDQpUaGUgcHJlYW1ibGUgb2Yg
+dGhlIG91dGVyIG11bHRpcGFydCBtZXNzYWdlLg0KTWFpbCByZWFkZXJzIHRo
+YXQgdW5kZXJzdGFuZCBtdWx0aXBhcnQgZm9ybWF0DQpzaG91bGQgaWdub3Jl
+IHRoaXMgcH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S11bmlxdWUt
+Ym91bmRhcnktMi0tDQoNClRoZSBlcGlsb2d1ZSBmb3IgdGhlIGlubmVyIG11
+bHRpcGFydCBtZXNzYWdlLg0KDQotLXVuaXF1ZS1ib3VuZGFyeS0xDQpDb250
+ZW50LXR5cGU6IHRleHQvcmljaHRleHQNCg0KVGhpcyBpcyA8Ym9sZD5wYXJ0
+IDQgb2YgdGhlIG91dGVyIG1lc3NhZ2U8L2JvbGQ+DQo8c21hbGxlcj5hcyBk
+ZWZpbmVkIGluIFJGQzEzNDE8L3NtYWxsZXI+PG5sPg0KPG5sPg0KSXNuJ3Qg
+aXQgPGJpZ2dlcj48YmlnZ2VyPmNvb2w/PC9iaWdnZXI+PC9iaWdnZXI+DQoN
+Ci0tdW5pcXVlLWJvdW5kYXJ5LTENCkNvbnRlbnQtVHlwZTogbWVzc2FnZS9y
+ZmM4MjINCg0KRnJvbTogKG1haWxib3ggaW4gVVMtQVNDSUkpDQpUbzogKGFk
+ZHJlc3MgaW4gVVMtQVNDSUkpDQpTdWJqZWN0OiBQYXJ0IDUgb2YgdGhlIG91
+dGVyIG1lc3NhZ2UgaXMgaXRzZWxmIGFuIFJGQzgyMiBtZXNzYWdlIQ0KQ29u
+dGVudC1UeXBlOiBUZXh0L3BsYWluOyBjaGFyc2V0PUlTTy04ODU5LTENCkNv
+bnRlbnQtVHJhbnNmZXItRW5jb2Rpbmc6IFF1b3RlZC1wcmludGFibGUNCg0K
+UGFydCA1IG9mIHRoZSBvdXRlciBtZXNzYWdlIGlzIGl0c2VsZiBhbiBSRkM4
+MjIgbWVzc2FnZSENCg0KLS11bmlxdWUtYm91bmRhcnktMS0tDQoNClRoZSBl
+cGlsb2d1ZSBmb3IgdGhlIG91dGVyIG1lc3NhZ2UuDQo=
+---490585488-806670346-834061839=:2195
+Content-Type: TEXT/PLAIN; charset=US-ASCII; name="Parser.n.out"
+Content-Transfer-Encoding: BASE64
+Content-ID: <Pine.LNX.3.91.960606155039.2195D@fripp.aic.synapse.ru>
+Content-Description: out from parser
+
+KiBXYWl0aW5nIGZvciBhIE1JTUUgbWVzc2FnZSBmcm9tIFNURElOLi4uDQo9
+PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
+PT09PT09PT09PT09PT0NCkNvbnRlbnQtdHlwZTogbXVsdGlwYXJ0L21peGVk
+DQpCb2R5LWZpbGU6IE5PTkUNClN1YmplY3Q6IEEgY29tcGxleCBuZXN0ZWQg
+bXVsdGlwYXJ0IGV4YW1wbGUNCk51bS1wYXJ0czogMw0KLS0NCiAgICBDb250
+ZW50LXR5cGU6IHRleHQvcGxhaW4NCiAgICBCb2R5LWZpbGU6IC4vdGVzdG91
+dC9tc2ctMzUzOC0xLmRvYw0KICAgIC0tDQogICAgQ29udGVudC10eXBlOiB0
+ZXh0L3BsYWluDQogICAgQm9keS1maWxlOiAuL3Rlc3RvdXQvbXNnLTM1Mzgt
+Mi5kb2MNCiAgICAtLQ0KICAgIENvbnRlbnQtdHlwZTogbXVsdGlwYXJ0L3Bh
+cmFsbGVsDQogICAgQm9keS1maWxlOiBOT05FDQogICAgU3ViamVjdDogUGFy
+dCAzIG9mIHRoZSBvdXRlciBtZXNzYWdlIGlzIG11bHRpcGFydCENCiAgICBO
+dW0tcGFydHM6IDINCiAgICAtLQ0KICAgICAgICBDb250ZW50LXR5cGU6IGlt
+YWdlL2dpZg0KICAgICAgICBCb2R5LWZpbGU6IC4vdGVzdG91dC8zZC1jb21w
+cmVzcy5naWYNCiAgICAgICAgU3ViamVjdDogUGFydCAxIG9mIHRoZSBpbm5l
+ciBtZXNzYWdlIGlzIGEgR0lGLCAiM2QtY29tcHJlc3MuZ2lmIg0KICAgICAg
+ICAtLQ0KICAgICAgICBDb250ZW50LXR5cGU6IGltYWdlL2dpZg0KICAgICAg
+ICBCb2R5LWZpbGU6IC4vdGVzdG91dC8zZC1leWUuZ2lmDQogICAgICAgIFN1
+YmplY3Q6IFBhcnQgMiBvZiB0aGUgaW5uZXIgbWVzc2FnZSBpcyBhbm90aGVy
+IEdJRiwgIjNkLWV5ZS5naWYiDQogICAgICAgIC0tDQo9PT09PT09PT09PT09
+PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
+PT0NCg0K
+---490585488-806670346-834061839=:2195--

Added: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor2.out
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor2.out?rev=1094991&view=auto
==============================================================================
--- james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor2.out (added)
+++ james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor2.out Tue Apr 19 10:12:19 2011
@@ -0,0 +1,169 @@
+Date: Thu, 6 Jun 1996 15:50:39 +0400 (MOW DST)
+From: Starovoitov Igor <igor@fripp.aic.synapse.ru>
+To: eryq@rhine.gsfc.nasa.gov
+Subject: Need help
+MIME-Version: 1.0
+Content-Type: MULTIPART/MIXED; BOUNDARY="-490585488-806670346-834061839=:2195"
+
+  This message is in MIME format.  The first part should be readable text,
+  while the remaining parts are likely unreadable without MIME-aware tools.
+  Send mail to mime@docserver.cac.washington.edu for more info.
+
+---490585488-806670346-834061839=:2195
+Content-Type: TEXT/PLAIN; charset=US-ASCII
+
+Dear Sir,
+
+I have a problem with Your MIME-Parser-1.9
+and multipart-nested messages. 
+Not all parts are parsed.
+
+Here my Makefile, Your own multipart-nested.msg
+and its out after "make test".
+Some my messages not completely parsed too. 
+
+Is this a bug?
+
+Thank You for help.
+
+
+Igor Starovoytov.
+---490585488-806670346-834061839=:2195
+Content-Type: TEXT/PLAIN; charset=US-ASCII; name=Makefile
+Content-Transfer-Encoding: BASE64
+Content-ID: <Pine.LNX.3.91.960606155039.2195B@fripp.aic.synapse.ru>
+Content-Description: Makefile
+
+Iy0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t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bWwNCg0KIy0tLS0tLS0tLS0tLS0t
+LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQ0K
+
+---490585488-806670346-834061839=:2195
+Content-Type: TEXT/PLAIN; charset=US-ASCII; name="multi-nested.msg"
+Content-Transfer-Encoding: BASE64
+Content-ID: <Pine.LNX.3.91.960606155039.2195C@fripp.aic.synapse.ru>
+Content-Description: test message
+
+TUlNRS1WZXJzaW9uOiAxLjANCkZyb206IExvcmQgSm9obiBXaG9yZmluIDx3aG9yZmluQHlveW9k
+eW5lLmNvbT4NClRvOiA8am9obi15YXlhQHlveW9keW5lLmNvbT4NClN1YmplY3Q6IEEgY29tcGxl
+eCBuZXN0ZWQgbXVsdGlwYXJ0IGV4YW1wbGUNCkNvbnRlbnQtVHlwZTogbXVsdGlwYXJ0L21peGVk
+Ow0KICAgICBib3VuZGFyeT11bmlxdWUtYm91bmRhcnktMQ0KDQpUaGUgcHJlYW1ibGUgb2YgdGhl
+IG91dGVyIG11bHRpcGFydCBtZXNzYWdlLg0KTWFpbCByZWFkZXJzIHRoYXQgdW5kZXJzdGFuZCBt
+dWx0aXBhcnQgZm9ybWF0DQpzaG91bGQgaWdub3JlIHRoaXMgcHJlYW1ibGUuDQpJZiB5b3UgYXJl
+IHJlYWRpbmcgdGhpcyB0ZXh0LCB5b3UgbWlnaHQgd2FudCB0bw0KY29uc2lkZXIgY2hhbmdpbmcg
+dG8gYSBtYWlsIHJlYWRlciB0aGF0IHVuZGVyc3RhbmRzDQpob3cgdG8gcHJvcGVybHkgZGlzcGxh
+eSBtdWx0aXBhcnQgbWVzc2FnZXMuDQotLXVuaXF1ZS1ib3VuZGFyeS0xDQoNClBhcnQgMSBvZiB0
+aGUgb3V0ZXIgbWVzc2FnZS4NCltOb3RlIHRoYXQgdGhlIHByZWNlZGluZyBibGFuayBsaW5lIG1l
+YW5zDQpubyBoZWFkZXIgZmllbGRzIHdlcmUgZ2l2ZW4gYW5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5LTENCkNvbnRl
+bnQtVHlwZTogbWVzc2FnZS9yZmM4MjINCg0KRnJvbTogKG1haWxib3ggaW4gVVMtQVNDSUkpDQpU
+bzogKGFkZHJlc3MgaW4gVVMtQVNDSUkpDQpTdWJqZWN0OiBQYXJ0IDUgb2YgdGhlIG91dGVyIG1l
+c3NhZ2UgaXMgaXRzZWxmIGFuIFJGQzgyMiBtZXNzYWdlIQ0KQ29udGVudC1UeXBlOiBUZXh0L3Bs
+YWluOyBjaGFyc2V0PUlTTy04ODU5LTENCkNvbnRlbnQtVHJhbnNmZXItRW5jb2Rpbmc6IFF1b3Rl
+ZC1wcmludGFibGUNCg0KUGFydCA1IG9mIHRoZSBvdXRlciBtZXNzYWdlIGlzIGl0c2VsZiBhbiBS
+RkM4MjIgbWVzc2FnZSENCg0KLS11bmlxdWUtYm91bmRhcnktMS0tDQoNClRoZSBlcGlsb2d1ZSBm
+b3IgdGhlIG91dGVyIG1lc3NhZ2UuDQo=
+
+---490585488-806670346-834061839=:2195
+Content-Type: TEXT/PLAIN; charset=US-ASCII; name="Parser.n.out"
+Content-Transfer-Encoding: BASE64
+Content-ID: <Pine.LNX.3.91.960606155039.2195D@fripp.aic.synapse.ru>
+Content-Description: out from parser
+
+KiBXYWl0aW5nIGZvciBhIE1JTUUgbWVzc2FnZSBmcm9tIFNURElOLi4uDQo9PT09PT09PT09PT09
+PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NCkNvbnRlbnQt
+dHlwZTogbXVsdGlwYXJ0L21peGVkDQpCb2R5LWZpbGU6IE5PTkUNClN1YmplY3Q6IEEgY29tcGxl
+eCBuZXN0ZWQgbXVsdGlwYXJ0IGV4YW1wbGUNCk51bS1wYXJ0czogMw0KLS0NCiAgICBDb250ZW50
+LXR5cGU6IHRleHQvcGxhaW4NCiAgICBCb2R5LWZpbGU6IC4vdGVzdG91dC9tc2ctMzUzOC0xLmRv
+Yw0KICAgIC0tDQogICAgQ29udGVudC10eXBlOiB0ZXh0L3BsYWluDQogICAgQm9keS1maWxlOiAu
+L3Rlc3RvdXQvbXNnLTM1MzgtMi5kb2MNCiAgICAtLQ0KICAgIENvbnRlbnQtdHlwZTogbXVsdGlw
+YXJ0L3BhcmFsbGVsDQogICAgQm9keS1maWxlOiBOT05FDQogICAgU3ViamVjdDogUGFydCAzIG9m
+IHRoZSBvdXRlciBtZXNzYWdlIGlzIG11bHRpcGFydCENCiAgICBOdW0tcGFydHM6IDINCiAgICAt
+LQ0KICAgICAgICBDb250ZW50LXR5cGU6IGltYWdlL2dpZg0KICAgICAgICBCb2R5LWZpbGU6IC4v
+dGVzdG91dC8zZC1jb21wcmVzcy5naWYNCiAgICAgICAgU3ViamVjdDogUGFydCAxIG9mIHRoZSBp
+bm5lciBtZXNzYWdlIGlzIGEgR0lGLCAiM2QtY29tcHJlc3MuZ2lmIg0KICAgICAgICAtLQ0KICAg
+ICAgICBDb250ZW50LXR5cGU6IGltYWdlL2dpZg0KICAgICAgICBCb2R5LWZpbGU6IC4vdGVzdG91
+dC8zZC1leWUuZ2lmDQogICAgICAgIFN1YmplY3Q6IFBhcnQgMiBvZiB0aGUgaW5uZXIgbWVzc2Fn
+ZSBpcyBhbm90aGVyIEdJRiwgIjNkLWV5ZS5naWYiDQogICAgICAgIC0tDQo9PT09PT09PT09PT09
+PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0NCg0K
+
+---490585488-806670346-834061839=:2195--

Added: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor2.xml
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor2.xml?rev=1094991&view=auto
==============================================================================
--- james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor2.xml (added)
+++ james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor2.xml Tue Apr 19 10:12:19 2011
@@ -0,0 +1,234 @@
+<message>
+<header>
+<field>
+Date: Thu, 6 Jun 1996 15:50:39 +0400 (MOW DST)</field>
+<field>
+From: Starovoitov Igor &lt;igor@fripp.aic.synapse.ru&gt;</field>
+<field>
+To: eryq@rhine.gsfc.nasa.gov</field>
+<field>
+Subject: Need help</field>
+<field>
+MIME-Version: 1.0</field>
+<field>
+Content-Type: MULTIPART/MIXED; BOUNDARY="-490585488-806670346-834061839=:2195"</field>
+</header>
+<multipart>
+<preamble>
+  This message is in MIME format.  The first part should be readable text,
+  while the remaining parts are likely unreadable without MIME-aware tools.
+  Send mail to mime@docserver.cac.washington.edu for more info.
+</preamble>
+<body-part>
+<header>
+<field>
+Content-Type: TEXT/PLAIN; charset=US-ASCII</field>
+</header>
+<body>
+Dear Sir,
+
+I have a problem with Your MIME-Parser-1.9
+and multipart-nested messages. 
+Not all parts are parsed.
+
+Here my Makefile, Your own multipart-nested.msg
+and its out after "make test".
+Some my messages not completely parsed too. 
+
+Is this a bug?
+
+Thank You for help.
+
+
+Igor Starovoytov.</body>
+</body-part>
+<body-part>
+<header>
+<field>
+Content-Type: TEXT/PLAIN; charset=US-ASCII; name=Makefile</field>
+<field>
+Content-Transfer-Encoding: BASE64</field>
+<field>
+Content-ID: &lt;Pine.LNX.3.91.960606155039.2195B@fripp.aic.synapse.ru&gt;</field>
+<field>
+Content-Description: Makefile</field>
+</header>
+<body>
+Iy0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
+LS0tLS0tLS0tLS0tLS0tLQ0KIyBNYWtlZmlsZSBmb3IgTUlNRTo6DQojLS0t
+LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
+LS0tLS0tLS0tLS0tDQoNCiMgV2hlcmUgdG8gaW5zdGFsbCB0aGUgbGlicmFy
+aWVzOg0KU0lURV9QRVJMID0gL3Vzci9saWIvcGVybDUNCg0KIyBXaGF0IFBl
+cmw1IGlzIGNhbGxlZCBvbiB5b3VyI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IGRldmVsb3BlciBv
+bmx5Li4uDQojLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
+LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tDQoNClBPRDJIVE1MX0ZMQUdTID0g
+LS1wb2RwYXRoPS4gLS1mbHVzaCAtLWh0bWxyb290PS4uDQpIVE1MUyAgICAg
+ICAgICA9ICR7TU9EUzoucG09Lmh0bWx9DQpWUEFUSCAgICAgICAgICA9IE1J
+TUUNCg0KLlNVRkZJWEVTOiAucG0gLnBvZCAuaHRtbA0KDQojIHYuMS44IGdl
+bmVyYXRlZCAzMCBBcHIgOTYNCiMgdi4xLjkgaXMgb25seSBiZWNhdXNlIDEu
+OCBmYWlsZWQgQ1BBTiBpbmdlc3Rpb24NCmRpc3Q6IGRvY3VtZW50ZWQJDQoJ
+VkVSU0lPTj0xLjkgOyBcDQoJbWtkaXN0IC10Z3ogTUlNRS1wYXJzZXItJCRW
+RVJTSU9OIDsgXA0KCWNwIE1LRElTVC9NSU1FLXBhcnNlci0kJFZFUlNJT04u
+dGd6ICR7SE9NRX0vcHVibGljX2h0bWwvY3Bhbg0KCQ0KZG9jdW1lbnRlZDog
+JHtIVE1MU30gJHtNT0RTfQ0KDQoucG0uaHRtbDoNCglwb2QyaHRtbCAke1BP
+RDJIVE1MX0ZMQUdTfSBcDQoJCS0tdGl0bGU9TUlNRTo6JCogXA0KCQktLWlu
+ZmlsZT0kPCBcDQoJCS0tb3V0ZmlsZT1kb2NzLyQqLmh0bWwNCg0KIy0tLS0t
+LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
+LS0tLS0tLS0tLQ0K</body>
+</body-part>
+<body-part>
+<header>
+<field>
+Content-Type: TEXT/PLAIN; charset=US-ASCII; name="multi-nested.msg"</field>
+<field>
+Content-Transfer-Encoding: BASE64</field>
+<field>
+Content-ID: &lt;Pine.LNX.3.91.960606155039.2195C@fripp.aic.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dGVyIG1lc3NhZ2UgaXMgaXRzZWxmIGFuIFJGQzgyMiBtZXNzYWdlIQ0KQ29u
+dGVudC1UeXBlOiBUZXh0L3BsYWluOyBjaGFyc2V0PUlTTy04ODU5LTENCkNv
+bnRlbnQtVHJhbnNmZXItRW5jb2Rpbmc6IFF1b3RlZC1wcmludGFibGUNCg0K
+UGFydCA1IG9mIHRoZSBvdXRlciBtZXNzYWdlIGlzIGl0c2VsZiBhbiBSRkM4
+MjIgbWVzc2FnZSENCg0KLS11bmlxdWUtYm91bmRhcnktMS0tDQoNClRoZSBl
+cGlsb2d1ZSBmb3IgdGhlIG91dGVyIG1lc3NhZ2UuDQo=</body>
+</body-part>
+<body-part>
+<header>
+<field>
+Content-Type: TEXT/PLAIN; charset=US-ASCII; name="Parser.n.out"</field>
+<field>
+Content-Transfer-Encoding: BASE64</field>
+<field>
+Content-ID: &lt;Pine.LNX.3.91.960606155039.2195D@fripp.aic.synapse.ru&gt;</field>
+<field>
+Content-Description: out from parser</field>
+</header>
+<body>
+KiBXYWl0aW5nIGZvciBhIE1JTUUgbWVzc2FnZSBmcm9tIFNURElOLi4uDQo9
+PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
+PT09PT09PT09PT09PT0NCkNvbnRlbnQtdHlwZTogbXVsdGlwYXJ0L21peGVk
+DQpCb2R5LWZpbGU6IE5PTkUNClN1YmplY3Q6IEEgY29tcGxleCBuZXN0ZWQg
+bXVsdGlwYXJ0IGV4YW1wbGUNCk51bS1wYXJ0czogMw0KLS0NCiAgICBDb250
+ZW50LXR5cGU6IHRleHQvcGxhaW4NCiAgICBCb2R5LWZpbGU6IC4vdGVzdG91
+dC9tc2ctMzUzOC0xLmRvYw0KICAgIC0tDQogICAgQ29udGVudC10eXBlOiB0
+ZXh0L3BsYWluDQogICAgQm9keS1maWxlOiAuL3Rlc3RvdXQvbXNnLTM1Mzgt
+Mi5kb2MNCiAgICAtLQ0KICAgIENvbnRlbnQtdHlwZTogbXVsdGlwYXJ0L3Bh
+cmFsbGVsDQogICAgQm9keS1maWxlOiBOT05FDQogICAgU3ViamVjdDogUGFy
+dCAzIG9mIHRoZSBvdXRlciBtZXNzYWdlIGlzIG11bHRpcGFydCENCiAgICBO
+dW0tcGFydHM6IDINCiAgICAtLQ0KICAgICAgICBDb250ZW50LXR5cGU6IGlt
+YWdlL2dpZg0KICAgICAgICBCb2R5LWZpbGU6IC4vdGVzdG91dC8zZC1jb21w
+cmVzcy5naWYNCiAgICAgICAgU3ViamVjdDogUGFydCAxIG9mIHRoZSBpbm5l
+ciBtZXNzYWdlIGlzIGEgR0lGLCAiM2QtY29tcHJlc3MuZ2lmIg0KICAgICAg
+ICAtLQ0KICAgICAgICBDb250ZW50LXR5cGU6IGltYWdlL2dpZg0KICAgICAg
+ICBCb2R5LWZpbGU6IC4vdGVzdG91dC8zZC1leWUuZ2lmDQogICAgICAgIFN1
+YmplY3Q6IFBhcnQgMiBvZiB0aGUgaW5uZXIgbWVzc2FnZSBpcyBhbm90aGVy
+IEdJRiwgIjNkLWV5ZS5naWYiDQogICAgICAgIC0tDQo9PT09PT09PT09PT09
+PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
+PT0NCg0K</body>
+</body-part>
+</multipart>
+</message>

Propchange: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor2.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor2_decoded.xml
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor2_decoded.xml?rev=1094991&view=auto
==============================================================================
--- james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor2_decoded.xml (added)
+++ james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor2_decoded.xml Tue Apr 19 10:12:19 2011
@@ -0,0 +1,69 @@
+<message>
+<header>
+<field>
+Date: Thu, 6 Jun 1996 15:50:39 +0400 (MOW DST)</field>
+<field>
+From: Starovoitov Igor &lt;igor@fripp.aic.synapse.ru&gt;</field>
+<field>
+To: eryq@rhine.gsfc.nasa.gov</field>
+<field>
+Subject: Need help</field>
+<field>
+MIME-Version: 1.0</field>
+<field>
+Content-Type: MULTIPART/MIXED; BOUNDARY="-490585488-806670346-834061839=:2195"</field>
+</header>
+<multipart>
+<preamble>
+  This message is in MIME format.  The first part should be readable text,
+  while the remaining parts are likely unreadable without MIME-aware tools.
+  Send mail to mime@docserver.cac.washington.edu for more info.
+</preamble>
+<body-part>
+<header>
+<field>
+Content-Type: TEXT/PLAIN; charset=US-ASCII</field>
+</header>
+<text-body name="multi-igor2_decoded_1_1.txt"/>
+</body-part>
+<body-part>
+<header>
+<field>
+Content-Type: TEXT/PLAIN; charset=US-ASCII; name=Makefile</field>
+<field>
+Content-Transfer-Encoding: BASE64</field>
+<field>
+Content-ID: &lt;Pine.LNX.3.91.960606155039.2195B@fripp.aic.synapse.ru&gt;</field>
+<field>
+Content-Description: Makefile</field>
+</header>
+<text-body name="multi-igor2_decoded_1_2.txt"/>
+</body-part>
+<body-part>
+<header>
+<field>
+Content-Type: TEXT/PLAIN; charset=US-ASCII; name="multi-nested.msg"</field>
+<field>
+Content-Transfer-Encoding: BASE64</field>
+<field>
+Content-ID: &lt;Pine.LNX.3.91.960606155039.2195C@fripp.aic.synapse.ru&gt;</field>
+<field>
+Content-Description: test message</field>
+</header>
+<text-body name="multi-igor2_decoded_1_3.txt"/>
+</body-part>
+<body-part>
+<header>
+<field>
+Content-Type: TEXT/PLAIN; charset=US-ASCII; name="Parser.n.out"</field>
+<field>
+Content-Transfer-Encoding: BASE64</field>
+<field>
+Content-ID: &lt;Pine.LNX.3.91.960606155039.2195D@fripp.aic.synapse.ru&gt;</field>
+<field>
+Content-Description: out from parser</field>
+</header>
+<text-body name="multi-igor2_decoded_1_4.txt"/>
+</body-part>
+</multipart>
+</message>

Propchange: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor2_decoded.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor2_decoded_1_1.txt
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor2_decoded_1_1.txt?rev=1094991&view=auto
==============================================================================
--- james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor2_decoded_1_1.txt (added)
+++ james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor2_decoded_1_1.txt Tue Apr 19 10:12:19 2011
@@ -0,0 +1,16 @@
+Dear Sir,
+
+I have a problem with Your MIME-Parser-1.9
+and multipart-nested messages. 
+Not all parts are parsed.
+
+Here my Makefile, Your own multipart-nested.msg
+and its out after "make test".
+Some my messages not completely parsed too. 
+
+Is this a bug?
+
+Thank You for help.
+
+
+Igor Starovoytov.
\ No newline at end of file

Propchange: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor2_decoded_1_1.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor2_decoded_1_2.txt
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor2_decoded_1_2.txt?rev=1094991&view=auto
==============================================================================
--- james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor2_decoded_1_2.txt (added)
+++ james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor2_decoded_1_2.txt Tue Apr 19 10:12:19 2011
@@ -0,0 +1,76 @@
+#------------------------------------------------------------
+# Makefile for MIME::
+#------------------------------------------------------------
+
+# Where to install the libraries:
+SITE_PERL = /usr/lib/perl5
+
+# What Perl5 is called on your system (no need to give entire path):
+PERL5     = perl
+
+# You probably won't need to change these...
+MODS      = Decoder.pm Entity.pm Head.pm Parser.pm Base64.pm QuotedPrint.pm
+SHELL     = /bin/sh
+
+#------------------------------------------------------------
+# For installers...
+#------------------------------------------------------------
+
+help:	
+	@echo "Valid targets: test clean install"
+
+clean:
+	rm -f testout/*
+
+test:
+#	@echo "TESTING Head.pm..."
+#	${PERL5} MIME/Head.pm   < testin/first.hdr       > testout/Head.out
+#	@echo "TESTING Decoder.pm..."
+#	${PERL5} MIME/Decoder.pm < testin/quot-print.body > testout/Decoder.out
+#	@echo "TESTING Parser.pm (simple)..."
+#	${PERL5} MIME/Parser.pm < testin/simple.msg      > testout/Parser.s.out
+#	@echo "TESTING Parser.pm (multipart)..."
+#	${PERL5} MIME/Parser.pm < testin/multi-2gifs.msg > testout/Parser.m.out
+	@echo "TESTING Parser.pm (multi_nested.msg)..."
+	${PERL5} MIME/Parser.pm < testin/multi-nested.msg > testout/Parser.n.out
+	@echo "All tests passed... see ./testout/MODULE*.out for output"
+
+install:
+	@if [ ! -d ${SITE_PERL} ]; then \
+	    echo "Please edit the SITE_PERL in your Makefile"; exit -1; \
+        fi          
+	@if [ ! -w ${SITE_PERL} ]; then \
+	    echo "No permission... should you be root?"; exit -1; \
+        fi          
+	@if [ ! -d ${SITE_PERL}/MIME ]; then \
+	    mkdir ${SITE_PERL}/MIME; \
+        fi
+	install -m 0644 MIME/*.pm ${SITE_PERL}/MIME
+
+
+#------------------------------------------------------------
+# For developer only...
+#------------------------------------------------------------
+
+POD2HTML_FLAGS = --podpath=. --flush --htmlroot=..
+HTMLS          = ${MODS:.pm=.html}
+VPATH          = MIME
+
+.SUFFIXES: .pm .pod .html
+
+# v.1.8 generated 30 Apr 96
+# v.1.9 is only because 1.8 failed CPAN ingestion
+dist: documented	
+	VERSION=1.9 ; \
+	mkdist -tgz MIME-parser-$$VERSION ; \
+	cp MKDIST/MIME-parser-$$VERSION.tgz ${HOME}/public_html/cpan
+	
+documented: ${HTMLS} ${MODS}
+
+.pm.html:
+	pod2html ${POD2HTML_FLAGS} \
+		--title=MIME::$* \
+		--infile=$< \
+		--outfile=docs/$*.html
+
+#------------------------------------------------------------

Propchange: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor2_decoded_1_2.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor2_decoded_1_3.txt
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor2_decoded_1_3.txt?rev=1094991&view=auto
==============================================================================
--- james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor2_decoded_1_3.txt (added)
+++ james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor2_decoded_1_3.txt Tue Apr 19 10:12:19 2011
@@ -0,0 +1,88 @@
+MIME-Version: 1.0
+From: Lord John Whorfin <whorfin@yoyodyne.com>
+To: <john-yaya@yoyodyne.com>
+Subject: A complex nested multipart example
+Content-Type: multipart/mixed;
+     boundary=unique-boundary-1
+
+The preamble of the outer multipart message.
+Mail readers that understand multipart format
+should ignore this preamble.
+If you are reading this text, you might want to
+consider changing to a mail reader that understands
+how to properly display multipart messages.
+--unique-boundary-1
+
+Part 1 of the outer message.
+[Note that the preceding blank line means
+no header fields were given and this is text,
+with charset US ASCII.  It could have been
+done with explicit typing as in the next part.]
+
+--unique-boundary-1
+Content-type: text/plain; charset=US-ASCII
+
+Part 2 of the outer message.
+This could have been part of the previous part,
+but illustrates explicit versus implicit
+typing of body parts.
+
+--unique-boundary-1
+Subject: Part 3 of the outer message is multipart!
+Content-Type: multipart/parallel;
+     boundary=unique-boundary-2
+
+A one-line preamble for the inner multipart message.
+--unique-boundary-2
+Content-Type: image/gif
+Content-Transfer-Encoding: base64
+Content-Disposition: inline; filename="3d-compress.gif"
+Subject: Part 1 of the inner message is a GIF, "3d-compress.gif"
+
+R0lGODdhKAAoAOMAAAAAAAAAgB6Q/y9PT25ubnCAkKBSLb6+vufn5/Xes/+lAP/6zQAAAAAA
+AAAAAAAAACwAAAAAKAAoAAAE/hDJSau9eJLMOyYbcoxkaZ5oCkoH6L5wLMfiWqd4btZhmxbA
+oFCY47EIqMJgyWw2ATjj7aRkAq5YwDMl9VGtKO0SiuoiTVlscsxt9c4HgXxUIA0EAVOVfDKT
+8Hl1B3kDAYYle202XnGGgoMHhYckiWVuR3+OTgCGeZRslotwgJ2lnYigfZdTjQULr7ALBZN0
+qTurjHgLKAu0B5Wqopm7J72etQN8t8Ijury+wMtvw8/Hv7Ylfs0BxCbGqMmK0yOOQ0GTCgrR
+2bhwJGlXJQYG6mMKoeNoWSbzCWIACe5JwxQm3AkDAbUAQCiQhDZEBeBl6afgCsOBrD45edIv
+QceGWSMevpOYhl6CkydBHhBZQmGKjihVshypjB9ClAHZMTugzOU7mzhBPiSZ5uDNnA7b/aTZ
+0mhMnfl0pDBFa6bUElSPWb0qtYuHrxlwcR17YsWMs2jTql3LFkQEADs=
+--unique-boundary-2
+Content-Type: image/gif
+Content-Transfer-Encoding: base64
+Content-Disposition: inline; filename="3d-eye.gif"
+Subject: Part 2 of the inner message is another GIF, "3d-eye.gif"
+
+R0lGODdhKAAoAPMAAAAAAAAAzN3u/76+voiIiG5ubszd7v///+fn5wAAAAAAAAAAAAAAAAAA
+AAAAAAAAACwAAAAAKAAoAAAE/hDJSau9eJbMOy4bMoxkaZ5oCkoD6L5wLMfiWns41oZt7lM7
+VujnC96IRVsPWQE4nxPjkvmsQmu8oc/KBUSVWk7XepGGLeNrxoxJO1MjILjthg/kWXQ6wO/7
++3dCeRRjfAKHiImJAV+DCF0BiW5VAo1CElaRh5NjlkeYmpyTgpcTAKGiaaSfpwKpVQaxVatL
+rU8GaQdOBAQAB7+yXliXTrgAxsW4vFabv8BOtBsBt7cGvwCIT9nOyNEIxuC4zrqKzc9XbODJ
+vs7Y5ewH3d7Fxe3jB4rj8t6PuNa6r2bhKQXN17FYCBMqTGiBzSNhx5g0nEMhlsSJjiRYvDjw
+E0cdGxQ/gswosoKUkmuU2FnJcsSKGTBjypxJsyaICAA7
+--unique-boundary-2--
+
+The epilogue for the inner multipart message.
+
+--unique-boundary-1
+Content-type: text/richtext
+
+This is <bold>part 4 of the outer message</bold>
+<smaller>as defined in RFC1341</smaller><nl>
+<nl>
+Isn't it <bigger><bigger>cool?</bigger></bigger>
+
+--unique-boundary-1
+Content-Type: message/rfc822
+
+From: (mailbox in US-ASCII)
+To: (address in US-ASCII)
+Subject: Part 5 of the outer message is itself an RFC822 message!
+Content-Type: Text/plain; charset=ISO-8859-1
+Content-Transfer-Encoding: Quoted-printable
+
+Part 5 of the outer message is itself an RFC822 message!
+
+--unique-boundary-1--
+
+The epilogue for the outer message.

Propchange: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor2_decoded_1_3.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor2_decoded_1_4.txt
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor2_decoded_1_4.txt?rev=1094991&view=auto
==============================================================================
--- james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor2_decoded_1_4.txt (added)
+++ james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor2_decoded_1_4.txt Tue Apr 19 10:12:19 2011
@@ -0,0 +1,28 @@
+* Waiting for a MIME message from STDIN...
+============================================================
+Content-type: multipart/mixed
+Body-file: NONE
+Subject: A complex nested multipart example
+Num-parts: 3
+--
+    Content-type: text/plain
+    Body-file: ./testout/msg-3538-1.doc
+    --
+    Content-type: text/plain
+    Body-file: ./testout/msg-3538-2.doc
+    --
+    Content-type: multipart/parallel
+    Body-file: NONE
+    Subject: Part 3 of the outer message is multipart!
+    Num-parts: 2
+    --
+        Content-type: image/gif
+        Body-file: ./testout/3d-compress.gif
+        Subject: Part 1 of the inner message is a GIF, "3d-compress.gif"
+        --
+        Content-type: image/gif
+        Body-file: ./testout/3d-eye.gif
+        Subject: Part 2 of the inner message is another GIF, "3d-eye.gif"
+        --
+============================================================
+

Propchange: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/multi-igor2_decoded_1_4.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message