source: contrib/MailArchiver/sources/vendor/mime4j/custom/core/src/test/resources/mimetools-testmsgs/multi-frag_decoded.xml @ 6785

Revision 6785, 2.5 KB checked in by rafaelraymundo, 12 years ago (diff)

Ticket #2946 - Liberado codigo do MailArchiver?. Documentação na subpasta DOCS.

Line 
1<message>
2<header>
3<field>
4MIME-Version: 1.0</field>
5<field>
6From: Lord John Whorfin &lt;whorfin@yoyodyne.com&gt;</field>
7<field>
8To: &lt;john-yaya@yoyodyne.com&gt;</field>
9<field>
10Subject: A complex nested multipart example</field>
11<field>
12Content-Type: multipart/mixed;
13     boundary=unique-boundary-1</field>
14</header>
15<multipart>
16<preamble>
17The preamble of the outer multipart message.
18Mail readers that understand multipart format
19should ignore this preamble.
20If you are reading this text, you might want to
21consider changing to a mail reader that understands
22how to properly display multipart messages.</preamble>
23<body-part>
24<header>
25</header>
26<text-body name="multi-frag_decoded_1_1.txt"/>
27</body-part>
28<body-part>
29<header>
30<field>
31Content-type: text/plain; charset=US-ASCII</field>
32</header>
33<text-body name="multi-frag_decoded_1_2.txt"/>
34</body-part>
35<body-part>
36<header>
37<field>
38Subject: Part 3 of the outer message is multipart!</field>
39<field>
40Content-Type: multipart/parallel;
41     boundary=unique-boundary-2</field>
42</header>
43<multipart>
44<preamble>
45A one-line preamble for the inner multipart message.</preamble>
46<body-part>
47<header>
48<field>
49Content-Type: image/gif</field>
50<field>
51Content-Transfer-Encoding: base64</field>
52<field>
53Content-Disposition: inline; filename="3d-vise.gif"</field>
54<field>
55Subject: Part 1 of the inner message is a GIF, "3d-vise.gif"</field>
56</header>
57<binary-body name="multi-frag_decoded_1_3_1.bin"/>
58</body-part>
59<body-part>
60<header>
61<field>
62Content-Type: image/gif</field>
63<field>
64Content-Transfer-Encoding: base64</field>
65<field>
66Content-Disposition: inline; filename="3d-eye.gif"</field>
67<field>
68Subject: Part 2 of the inner message is another GIF, "3d-eye.gif", but
69 the terminating boundary is bad!</field>
70</header>
71<binary-body name="multi-frag_decoded_1_3_2.bin"/>
72</body-part>
73</multipart>
74</body-part>
75<body-part>
76<header>
77<field>
78Content-type: text/richtext</field>
79</header>
80<text-body name="multi-frag_decoded_1_4.txt"/>
81</body-part>
82<body-part>
83<header>
84<field>
85Content-Type: message/rfc822; name="nice.name";</field>
86</header>
87<message>
88<header>
89<field>
90From: (mailbox in US-ASCII)</field>
91<field>
92To: (address in US-ASCII)</field>
93<field>
94Subject: Part 5 of the outer message is itself an RFC822 message!</field>
95<field>
96Content-Type: Text/plain; charset=ISO-8859-1</field>
97<field>
98Content-Transfer-Encoding: Quoted-printable</field>
99</header>
100<text-body name="multi-frag_decoded_1_5_1.txt"/>
101</message>
102</body-part>
103<epilogue>
104
105The epilogue for the outer message.
106
107</epilogue>
108</multipart>
109</message>
Note: See TracBrowser for help on using the repository browser.