~ubuntu-branches/ubuntu/saucy/apache-mime4j/saucy

« back to all changes in this revision

Viewing changes to src/test/resources/testmsgs/simple-attachment_decoded.xml

  • Committer: Bazaar Package Importer
  • Author(s): David Paleino
  • Date: 2010-07-13 09:28:28 UTC
  • Revision ID: james.westby@ubuntu.com-20100713092828-g6wafdtidgmtx7su
Tags: upstream-0.6
ImportĀ upstreamĀ versionĀ 0.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<message>
 
2
<header>
 
3
<field>
 
4
Date: Fri, 27 Apr 2007 16:08:23 +0200</field>
 
5
<field>
 
6
From: Foo Bar &lt;bar@example.com&gt;</field>
 
7
<field>
 
8
MIME-Version: 1.0</field>
 
9
<field>
 
10
To:  foo@example.com</field>
 
11
<field>
 
12
Subject: Here is the attachment I was waiting for.</field>
 
13
<field>
 
14
Content-Type: multipart/mixed;
 
15
 boundary="------------090404080405080108000909"</field>
 
16
</header>
 
17
<multipart>
 
18
<preamble>
 
19
This is a multi-part message in MIME format.</preamble>
 
20
<body-part>
 
21
<header>
 
22
<field>
 
23
Content-Type: text/plain; charset=ISO-8859-15</field>
 
24
<field>
 
25
Content-Transfer-Encoding: 7bit</field>
 
26
</header>
 
27
<text-body name="simple-attachment_decoded_1_1.txt"/>
 
28
</body-part>
 
29
<body-part>
 
30
<header>
 
31
<field>
 
32
Content-Type: application/octet-stream;
 
33
 name="data.bin"</field>
 
34
<field>
 
35
Content-Transfer-Encoding: base64</field>
 
36
<field>
 
37
Content-Disposition: attachment;
 
38
 filename="data.bin"</field>
 
39
</header>
 
40
<binary-body name="simple-attachment_decoded_1_2.bin"/>
 
41
</body-part>
 
42
<epilogue>
 
43
 
 
44
</epilogue>
 
45
</multipart>
 
46
</message>