source: contrib/MailArchiver/sources/vendor/mime4j/apache-mime4j-0.7-SNAPSHOT-20110327.010440-17/core/src/test/resources/testmsgs/intermediate-boundaries.xml @ 6785

Revision 6785, 1005 bytes 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>
4Content-Type: multipart/mixed; boundary="boundary"</field>
5</header>
6<multipart>
7<preamble>
8preamble
9</preamble>
10<body-part>
11<header>
12<field>
13Content-Type: text/plain</field>
14</header>
15<body>
16first part
17</body>
18</body-part>
19<body-part>
20<header>
21<field>
22Content-Type: text/plain</field>
23</header>
24<body>
25from the rfc:
26================================
27encapsulation := delimiter transport-padding
28                      CRLF body-part
29================================
30and also
31================================
32"Composers MUST NOT generate non-zero length transport
33padding, but receivers MUST be able to handle padding
34added by message transports."
35================================
36
37second part have a start boundary ending with spaces
38and also have a boundary not at the beginning
39 --boundary
40... that should be ignored
41
42also a boundary with more data (a tab) shoud be ignored
43 --boundary     
44 
45end of part
46</body>
47</body-part>
48<epilogue>
49epilouge</epilogue>
50</multipart>
51</message>
Note: See TracBrowser for help on using the repository browser.