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

Revision 6785, 4.0 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<body>
27Part 1 of the outer message.
28[Note that the preceding blank line means
29no header fields were given and this is text,
30with charset US ASCII.  It could have been
31done with explicit typing as in the next part.]
32</body>
33</body-part>
34<body-part>
35<header>
36<field>
37Content-type: text/plain; charset=US-ASCII</field>
38</header>
39<body>
40Part 2 of the outer message.
41This could have been part of the previous part,
42but illustrates explicit versus implicit
43typing of body parts.
44</body>
45</body-part>
46<body-part>
47<header>
48<field>
49Subject: Part 3 of the outer message is multipart!</field>
50<field>
51Content-Type: multipart/parallel;
52     boundary=unique-boundary-2</field>
53</header>
54<multipart>
55<preamble>
56A one-line preamble for the inner multipart message.</preamble>
57<body-part>
58<header>
59<field>
60Content-Type: image/gif</field>
61<field>
62Content-Transfer-Encoding: base64</field>
63<field>
64Content-Disposition: inline; filename="3d-vise.gif"</field>
65<field>
66Subject: Part 1 of the inner message is a GIF, "3d-vise.gif"</field>
67</header>
68<body>
69R0lGODdhKAAoAOMAAAAAAAAAgB6Q/y9PT25ubnCAkKBSLb6+vufn5/Xes/+lAP/6zQAAAAAA
70AAAAAAAAACwAAAAAKAAoAAAE/hDJSau9eJLMOyYbcoxkaZ5oCkoH6L5wLMfiWqd4btZhmxbA
71oFCY47EIqMJgyWw2ATjj7aRkAq5YwDMl9VGtKO0SiuoiTVlscsxt9c4HgXxUIA0EAVOVfDKT
728Hl1B3kDAYYle202XnGGgoMHhYckiWVuR3+OTgCGeZRslotwgJ2lnYigfZdTjQULr7ALBZN0
73qTurjHgLKAu0B5Wqopm7J72etQN8t8Ijury+wMtvw8/Hv7Ylfs0BxCbGqMmK0yOOQ0GTCgrR
742bhwJGlXJQYG6mMKoeNoWSbzCWIACe5JwxQm3AkDAbUAQCiQhDZEBeBl6afgCsOBrD45edIv
75QceGWSMevpOYhl6CkydBHhBZQmGKjihVshypjB9ClAHZMTugzOU7mzhBPiSZ5uDNnA7b/aTZ
760mhMnfl0pDBFa6bUElSPWb0qtYuHrxlwcR17YsWMs2jTql3LFkQEADs=</body>
77</body-part>
78<body-part>
79<header>
80<field>
81Content-Type: image/gif</field>
82<field>
83Content-Transfer-Encoding: base64</field>
84<field>
85Content-Disposition: inline; filename="3d-eye.gif"</field>
86<field>
87Subject: Part 2 of the inner message is another GIF, "3d-eye.gif"</field>
88</header>
89<body>
90R0lGODdhKAAoAPMAAAAAAAAAzN3u/76+voiIiG5ubszd7v///+fn5wAAAAAAAAAAAAAAAAAA
91AAAAAAAAACwAAAAAKAAoAAAE/hDJSau9eJbMOy4bMoxkaZ5oCkoD6L5wLMfiWns41oZt7lM7
92VujnC96IRVsPWQE4nxPjkvmsQmu8oc/KBUSVWk7XepGGLeNrxoxJO1MjILjthg/kWXQ6wO/7
93+3dCeRRjfAKHiImJAV+DCF0BiW5VAo1CElaRh5NjlkeYmpyTgpcTAKGiaaSfpwKpVQaxVatL
94rU8GaQdOBAQAB7+yXliXTrgAxsW4vFabv8BOtBsBt7cGvwCIT9nOyNEIxuC4zrqKzc9XbODJ
95vs7Y5ewH3d7Fxe3jB4rj8t6PuNa6r2bhKQXN17FYCBMqTGiBzSNhx5g0nEMhlsSJjiRYvDjw
96E0cdGxQ/gswosoKUkmuU2FnJcsSKGTBjypxJsyaICAA7</body>
97</body-part>
98<epilogue>
99
100The epilogue for the inner multipart message.
101</epilogue>
102</multipart>
103</body-part>
104<body-part>
105<header>
106<field>
107Content-type: text/richtext</field>
108</header>
109<body>
110This is &lt;bold&gt;part 4 of the outer message&lt;/bold&gt;
111&lt;smaller&gt;as defined in RFC1341&lt;/smaller&gt;&lt;nl&gt;
112&lt;nl&gt;
113Isn't it &lt;bigger&gt;&lt;bigger&gt;cool?&lt;/bigger&gt;&lt;/bigger&gt;
114</body>
115</body-part>
116<body-part>
117<header>
118<field>
119Content-Type: message/rfc822; name="/evil/filename";</field>
120</header>
121<message>
122<header>
123<field>
124From: (mailbox in US-ASCII)</field>
125<field>
126To: (address in US-ASCII)</field>
127<field>
128Subject: Part 5 of the outer message is itself an RFC822 message!</field>
129<field>
130Content-Type: Text/plain; charset=ISO-8859-1</field>
131<field>
132Content-Transfer-Encoding: Quoted-printable</field>
133</header>
134<body>
135Part 5 of the outer message is itself an RFC822 message!
136</body>
137</message>
138</body-part>
139<epilogue>
140
141The epilogue for the outer message.
142
143</epilogue>
144</multipart>
145</message>
Note: See TracBrowser for help on using the repository browser.