blob: 2b19aa3e5f42e73a47c44bbedec41d8c87c3fda4 [file] [log] [blame]
<message>
<header>
<field>
MIME-Version: 1.0</field>
<field>
From: Lord John Whorfin &lt;whorfin@yoyodyne.com&gt;</field>
<field>
To: &lt;john-yaya@yoyodyne.com&gt;</field>
<field>
Subject: A complex nested multipart example</field>
<field>
Content-Type: multipart/mixed;
boundary=unique-boundary-1</field>
</header>
<multipart>
<preamble>
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.</preamble>
<body-part>
<header>
</header>
<text-body name="multi-nested3_decoded_1_1.txt"/>
</body-part>
<body-part>
<header>
<field>
Content-type: text/plain; charset=US-ASCII</field>
</header>
<text-body name="multi-nested3_decoded_1_2.txt"/>
</body-part>
<body-part>
<header>
<field>
Subject: Part 3 of the outer message is multipart!</field>
<field>
Content-Type: multipart/parallel;
boundary=unique-boundary-2</field>
</header>
<multipart>
<preamble>
A one-line preamble for the inner multipart message.</preamble>
<body-part>
<header>
<field>
Content-Type: image/gif</field>
<field>
Content-Transfer-Encoding: base64</field>
<field>
Content-Disposition: inline; filename="3d-vise.gif"</field>
<field>
Subject: Part 1 of the inner message is a GIF, "3d-vise.gif"</field>
</header>
<binary-body name="multi-nested3_decoded_1_3_1.bin"/>
</body-part>
<body-part>
<header>
<field>
Content-Type: image/gif</field>
<field>
Content-Transfer-Encoding: base64</field>
<field>
Content-Disposition: inline; filename="3d-eye.gif"</field>
<field>
Subject: Part 2 of the inner message is another GIF, "3d-eye.gif"</field>
</header>
<binary-body name="multi-nested3_decoded_1_3_2.bin"/>
</body-part>
<epilogue>
The epilogue for the inner multipart message.
</epilogue>
</multipart>
</body-part>
<body-part>
<header>
<field>
Content-type: text/richtext</field>
</header>
<text-body name="multi-nested3_decoded_1_4.txt"/>
</body-part>
<body-part>
<header>
<field>
Content-Type: message/rfc822; name="nice.name";</field>
</header>
<message>
<header>
<field>
From: (mailbox in US-ASCII)</field>
<field>
To: (address in US-ASCII)</field>
<field>
Subject: Part 5 of the outer message is itself an RFC822 message!</field>
<field>
Content-Type: Text/plain; charset=ISO-8859-1</field>
<field>
Content-Transfer-Encoding: Quoted-printable</field>
</header>
<text-body name="multi-nested3_decoded_1_5_1.txt"/>
</message>
</body-part>
<epilogue>
The epilogue for the outer message.
</epilogue>
</multipart>
</message>