From 2d8dbed00ae471b36f0faee46ff223fe6620ca2b Mon Sep 17 00:00:00 2001 From: Mauro D Date: Mon, 25 Oct 2021 16:19:54 +0000 Subject: [PATCH] Test suite using Serde. --- Cargo.lock | 34 + Cargo.toml | 10 +- README | 22 + src/decoders/base64.rs | 4 +- src/decoders/quoted_printable.rs | 15 +- src/parsers/fields/address.rs | 905 ++--- src/parsers/fields/content_type.rs | 759 +++- src/parsers/fields/list.rs | 18 +- src/parsers/fields/mod.rs | 82 +- src/parsers/header.rs | 18 +- src/parsers/message.rs | 256 +- src/parsers/message_stream.rs | 88 +- src/parsers/mime.js | 90 - tests/legacy/000.txt | 1567 +++++++ tests/legacy/001.txt | 102 + tests/legacy/002.txt | 92 + tests/legacy/003.txt | 143 + tests/legacy/004.txt | 73 + tests/legacy/005.txt | 94 + tests/legacy/006.txt | 2963 ++++++++++++++ tests/legacy/007.txt | 93 + tests/legacy/008.txt | 4350 ++++++++++++++++++++ tests/legacy/009.txt | 96 + tests/legacy/010.txt | 77 + tests/legacy/011.txt | 82 + tests/legacy/012.txt | 92 + tests/legacy/013.txt | 93 + tests/legacy/014.txt | 158 + tests/legacy/015.txt | 5771 ++++++++++++++++++++++++++ tests/legacy/016.txt | 3263 +++++++++++++++ tests/legacy/017.txt | 3957 ++++++++++++++++++ tests/legacy/018.txt | 3045 ++++++++++++++ tests/legacy/019.txt | 3027 ++++++++++++++ tests/legacy/020.txt | 93 + tests/legacy/021.txt | 4413 ++++++++++++++++++++ tests/legacy/022.txt | 92 + tests/legacy/023.txt | 1560 +++++++ tests/legacy/024.txt | 3001 ++++++++++++++ tests/legacy/025.txt | 5729 ++++++++++++++++++++++++++ tests/legacy/026.txt | 191 + tests/legacy/027.txt | 93 + tests/legacy/028.txt | 3056 ++++++++++++++ tests/legacy/029.txt | 83 + tests/legacy/030.txt | 2864 +++++++++++++ tests/legacy/031.txt | 2977 ++++++++++++++ tests/legacy/032.txt | 2879 +++++++++++++ tests/legacy/033.txt | 89 + tests/legacy/034.txt | 79 + tests/legacy/035.txt | 5904 +++++++++++++++++++++++++++ tests/legacy/036.txt | 71 + tests/legacy/037.txt | 1462 +++++++ tests/legacy/038.txt | 70 + tests/legacy/039.txt | 5720 ++++++++++++++++++++++++++ tests/legacy/040.txt | 81 + tests/legacy/041.txt | 1589 ++++++++ tests/legacy/042.txt | 144 + tests/legacy/043.txt | 138 + tests/legacy/044.txt | 4343 ++++++++++++++++++++ tests/legacy/045.txt | 127 + tests/legacy/046.txt | 85 + tests/legacy/047.txt | 146 + tests/legacy/048.txt | 6091 ++++++++++++++++++++++++++++ tests/legacy/049.txt | 184 + tests/legacy/050.txt | 3001 ++++++++++++++ tests/legacy/051.txt | 5719 ++++++++++++++++++++++++++ tests/legacy/052.txt | 80 + tests/legacy/053.txt | 94 + tests/malformed/000.txt | 23 + tests/malformed/001.txt | 28 + tests/malformed/002.txt | 23 + tests/malformed/003.txt | 35 + tests/malformed/004.txt | 29 + tests/malformed/005.txt | 37 + tests/malformed/006.txt | 35 + tests/malformed/007.txt | 31 + tests/malformed/008.txt | 39 + tests/malformed/009.txt | 54 + tests/malformed/010.txt | 22 + tests/malformed/011.txt | 54 + tests/malformed/012.txt | 70 + tests/malformed/013.txt | 84 + tests/malformed/014.txt | 31 + tests/malformed/015.txt | 106 + tests/malformed/016.txt | 61 + tests/rfc/000.txt | 194 + tests/rfc/001.txt | 379 ++ tests/rfc/002.txt | 488 +++ tests/rfc/003.txt | 157 + tests/rfc/004.txt | 134 + tests/rfc/005.txt | 79 + tests/rfc/006.txt | 82 + tests/rfc/007.txt | 69 + 92 files changed, 95113 insertions(+), 918 deletions(-) create mode 100644 README delete mode 100644 src/parsers/mime.js create mode 100644 tests/legacy/000.txt create mode 100644 tests/legacy/001.txt create mode 100644 tests/legacy/002.txt create mode 100644 tests/legacy/003.txt create mode 100644 tests/legacy/004.txt create mode 100644 tests/legacy/005.txt create mode 100644 tests/legacy/006.txt create mode 100644 tests/legacy/007.txt create mode 100644 tests/legacy/008.txt create mode 100644 tests/legacy/009.txt create mode 100644 tests/legacy/010.txt create mode 100644 tests/legacy/011.txt create mode 100644 tests/legacy/012.txt create mode 100644 tests/legacy/013.txt create mode 100644 tests/legacy/014.txt create mode 100644 tests/legacy/015.txt create mode 100644 tests/legacy/016.txt create mode 100644 tests/legacy/017.txt create mode 100644 tests/legacy/018.txt create mode 100644 tests/legacy/019.txt create mode 100644 tests/legacy/020.txt create mode 100644 tests/legacy/021.txt create mode 100644 tests/legacy/022.txt create mode 100644 tests/legacy/023.txt create mode 100644 tests/legacy/024.txt create mode 100644 tests/legacy/025.txt create mode 100644 tests/legacy/026.txt create mode 100644 tests/legacy/027.txt create mode 100644 tests/legacy/028.txt create mode 100644 tests/legacy/029.txt create mode 100644 tests/legacy/030.txt create mode 100644 tests/legacy/031.txt create mode 100644 tests/legacy/032.txt create mode 100644 tests/legacy/033.txt create mode 100644 tests/legacy/034.txt create mode 100644 tests/legacy/035.txt create mode 100644 tests/legacy/036.txt create mode 100644 tests/legacy/037.txt create mode 100644 tests/legacy/038.txt create mode 100644 tests/legacy/039.txt create mode 100644 tests/legacy/040.txt create mode 100644 tests/legacy/041.txt create mode 100644 tests/legacy/042.txt create mode 100644 tests/legacy/043.txt create mode 100644 tests/legacy/044.txt create mode 100644 tests/legacy/045.txt create mode 100644 tests/legacy/046.txt create mode 100644 tests/legacy/047.txt create mode 100644 tests/legacy/048.txt create mode 100644 tests/legacy/049.txt create mode 100644 tests/legacy/050.txt create mode 100644 tests/legacy/051.txt create mode 100644 tests/legacy/052.txt create mode 100644 tests/legacy/053.txt create mode 100644 tests/malformed/000.txt create mode 100644 tests/malformed/001.txt create mode 100644 tests/malformed/002.txt create mode 100644 tests/malformed/003.txt create mode 100644 tests/malformed/004.txt create mode 100644 tests/malformed/005.txt create mode 100644 tests/malformed/006.txt create mode 100644 tests/malformed/007.txt create mode 100644 tests/malformed/008.txt create mode 100644 tests/malformed/009.txt create mode 100644 tests/malformed/010.txt create mode 100644 tests/malformed/011.txt create mode 100644 tests/malformed/012.txt create mode 100644 tests/malformed/013.txt create mode 100644 tests/malformed/014.txt create mode 100644 tests/malformed/015.txt create mode 100644 tests/malformed/016.txt create mode 100644 tests/rfc/000.txt create mode 100644 tests/rfc/001.txt create mode 100644 tests/rfc/002.txt create mode 100644 tests/rfc/003.txt create mode 100644 tests/rfc/004.txt create mode 100644 tests/rfc/005.txt create mode 100644 tests/rfc/006.txt create mode 100644 tests/rfc/007.txt diff --git a/Cargo.lock b/Cargo.lock index 20539b4..578bb2a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -45,6 +45,12 @@ dependencies = [ "hashbrown", ] +[[package]] +name = "itoa" +version = "0.4.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4" + [[package]] name = "linked-hash-map" version = "0.5.4" @@ -69,6 +75,12 @@ dependencies = [ "proc-macro2", ] +[[package]] +name = "ryu" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "71d301d4193d031abdd79ff7e3dd721168a9572ef3fe51a1517aba235bd8f86e" + [[package]] name = "serde" version = "1.0.130" @@ -78,6 +90,15 @@ dependencies = [ "serde_derive", ] +[[package]] +name = "serde_bytes" +version = "0.11.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16ae07dd2f88a366f15bd0632ba725227018c69a1c8550a927324f8eb8368bb9" +dependencies = [ + "serde", +] + [[package]] name = "serde_derive" version = "1.0.130" @@ -89,6 +110,17 @@ dependencies = [ "syn", ] +[[package]] +name = "serde_json" +version = "1.0.68" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0f690853975602e1bfe1ccbf50504d67174e3bcf340f23b5ea9992e0587a52d8" +dependencies = [ + "itoa", + "ryu", + "serde", +] + [[package]] name = "serde_yaml" version = "0.8.21" @@ -107,6 +139,8 @@ version = "0.1.0" dependencies = [ "encoding_rs", "serde", + "serde_bytes", + "serde_json", "serde_yaml", ] diff --git a/Cargo.toml b/Cargo.toml index 747848f..cb3f190 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,9 +5,13 @@ edition = "2018" [dependencies] encoding_rs = {version=">=0.8.28", optional=true} -serde = { version = "1.0", features = ["derive"], optional=true} -serde_yaml = "0.8" +serde = { version = ">=1.0.117", features = ["derive"], optional=true} +serde_bytes = { version = ">=0.11.5", optional=true} + +[dev-dependencies] +serde_yaml = ">=0.8.21" +serde_json = ">=1.0.59" [features] -default = ["multibytedecode", "serde"] +default = ["multibytedecode", "serde", "serde_bytes"] multibytedecode = ["encoding_rs"] diff --git a/README b/README new file mode 100644 index 0000000..bd3b5b2 --- /dev/null +++ b/README @@ -0,0 +1,22 @@ + +#### Conformed RFCs +------------- +- [RFC 822 - Standard for ARPA Internet Text Messages](https://datatracker.ietf.org/doc/html/rfc822) +- [RFC 5322 - Internet Message Format](https://datatracker.ietf.org/doc/html/rfc5322) +- [RFC 2045 - Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies](https://datatracker.ietf.org/doc/html/rfc2045) +- [RFC 2046 - Multipurpose Internet Mail Extensions (MIME) Part Two: Media Types](https://datatracker.ietf.org/doc/html/rfc2046) +- [RFC 2047 - MIME (Multipurpose Internet Mail Extensions) Part Three: Message Header Extensions for Non-ASCII Text](https://datatracker.ietf.org/doc/html/rfc2047) +- [RFC 2048 - Multipurpose Internet Mail Extensions (MIME) Part Four: Registration Procedures](https://datatracker.ietf.org/doc/html/rfc2048) +- [RFC 2049 - Multipurpose Internet Mail Extensions (MIME) Part Five: Conformance Criteria and Examples](https://datatracker.ietf.org/doc/html/rfc2049) +- [RFC 2231 - MIME Parameter Value and Encoded Word Extensions: Character Sets, Languages, and Continuations](https://datatracker.ietf.org/doc/html/rfc2231) +- [RFC 2183 - Communicating Presentation Information in Internet Messages: The Content-Disposition Header Field](https://datatracker.ietf.org/doc/html/rfc2183) +- [RFC 6532 - Internationalized Email Headers](https://datatracker.ietf.org/doc/html/rfc6532) +- [RFC 2369 - The Use of URLs as Meta-Syntax for Core Mail List Commands and their Transport through Message Header Fields](https://datatracker.ietf.org/doc/html/rfc2369) +- [RFC 2919 - List-Id: A Structured Field and Namespace for the Identification of Mailing Lists](https://datatracker.ietf.org/doc/html/rfc2919) +- [RFC 8621 - The JSON Meta Application Protocol (JMAP) for Mail (Section 4.1.4)](https://datatracker.ietf.org/doc/html/rfc8621#section-4.1.4) + +#### TODO +-------------- +- HTML / Test body conversion +- UTF-7 support + \ No newline at end of file diff --git a/src/decoders/base64.rs b/src/decoders/base64.rs index 660d49c..40d0db1 100644 --- a/src/decoders/base64.rs +++ b/src/decoders/base64.rs @@ -116,9 +116,7 @@ impl<'x> Base64Decoder<'x> for MessageStream<'x> { #[cfg(test)] mod tests { - use crate::{ - parsers::message_stream::MessageStream, - }; + use crate::parsers::message_stream::MessageStream; use super::Base64Decoder; diff --git a/src/decoders/quoted_printable.rs b/src/decoders/quoted_printable.rs index 46710f0..378ac03 100644 --- a/src/decoders/quoted_printable.rs +++ b/src/decoders/quoted_printable.rs @@ -45,12 +45,16 @@ impl<'x> QuotedPrintableDecoder<'x> for MessageStream<'x> { if ch == *boundary.get_unchecked(match_count) { match_count += 1; if match_count == boundary.len() { - success = true; - break; + if is_word || self.is_boundary_end(read_pos) { + success = true; + break; + } } else { continue; } - } else if match_count > 0 { + } + + if match_count > 0 { for ch in boundary[..match_count].iter() { if *ch != b'\n' || QuotedPrintableState::Eq != state { *((*data).get_unchecked_mut(write_pos)) = *ch; @@ -151,10 +155,7 @@ impl<'x> QuotedPrintableDecoder<'x> for MessageStream<'x> { #[cfg(test)] mod tests { use crate::{ - decoders::{ - quoted_printable::QuotedPrintableDecoder, - }, - parsers::message_stream::MessageStream, + decoders::quoted_printable::QuotedPrintableDecoder, parsers::message_stream::MessageStream, }; #[test] diff --git a/src/parsers/fields/address.rs b/src/parsers/fields/address.rs index 39a5091..79fdeec 100644 --- a/src/parsers/fields/address.rs +++ b/src/parsers/fields/address.rs @@ -1,10 +1,7 @@ use serde::{Deserialize, Serialize}; use std::borrow::Cow; -use crate::{ - decoders::{encoded_word::parse_encoded_word}, - parsers::message_stream::MessageStream, -}; +use crate::{decoders::encoded_word::parse_encoded_word, parsers::message_stream::MessageStream}; #[derive(Debug, PartialEq, Serialize, Deserialize)] pub struct Addr<'x> { @@ -443,108 +440,101 @@ mod tests { use crate::parsers::{fields::address::parse_address, message_stream::MessageStream}; use super::*; - + let inputs = [ ( - concat!("John Doe \n"), - Address::Address(Addr { - name: Some("John Doe".into()), - address: Some("jdoe@machine.example".into()), - }), - ), - ( - concat!(" Mary Smith \n"), - Address::Address(Addr { - name: Some("Mary Smith".into()), - address: Some("mary@example.net".into()), - }), - ), - ( - concat!("\"Joe Q. Public\" \n"), - Address::Address(Addr { - name: Some("Joe Q. Public".into()), - address: Some("john.q.public@example.com".into()), - }), - ), - ( - concat!("Mary Smith , jdoe@example.org, Who? \n"), - Address::AddressList(vec![ - Addr { - name: Some("Mary Smith".into()), - address: Some("mary@x.test".into()), - }, - Addr { - name: None, - address: Some("jdoe@example.org".into()), - }, - Addr { - name: Some("Who?".into()), - address: Some("one@y.test".into()), - }, - ]), - ), - ( - concat!(", \"Giant; \\\"Big\\\" Box\" \n"), - Address::AddressList(vec![ - Addr { - name: None, - address: Some("boss@nil.test".into()), - }, - Addr { - name: Some("Giant; \"Big\" Box".into()), - address: Some("sysservices@example.net".into()), - }, - ]), - ), - ( - concat!("A Group:Ed Jones ,joe@where.test,John ;\n"), - Address::Group(Group { - name: Some("A Group".into()), - addresses: vec![ - Addr { - name: Some("Ed Jones".into()), - address: Some("c@a.test".into()), - }, - Addr { - name: None, - address: Some("joe@where.test".into()), - }, - Addr { - name: Some("John".into()), - address: Some("jdoe@one.test".into()), - }, - ], - }), - ), - ( - concat!("Undisclosed recipients:;\n"), - Address::Group(Group { - name: Some("Undisclosed recipients".into()), - addresses: vec![], - }), - ), - ( - concat!("\"Mary Smith: Personal Account\" \n"), - Address::Address(Addr { - name: Some("Mary Smith: Personal Account".into()), - address: Some("smith@home.example".into()), - }), - ), - ( - concat!("Pete(A nice \\) chap) \n"), - Address::Address(Addr { - name: Some("Pete (A nice ) chap his account his host)".into()), - address: Some("pete@silly.test".into()), - }), - ), - ( + "John Doe \n", concat!( - "Pete(A nice \n \\\n ) chap) \n" + "---\n", + "Address:\n", + " name: John Doe\n", + " address: jdoe@machine.example\n" + ), + ), + ( + " Mary Smith \n", + concat!( + "---\n", + "Address:\n", + " name: Mary Smith\n", + " address: mary@example.net\n" + ), + ), + ( + "\"Joe Q. Public\" \n", + concat!( + "---\n", + "Address:\n", + " name: Joe Q. Public\n", + " address: john.q.public@example.com\n" + ), + ), + ( + "Mary Smith , jdoe@example.org, Who? \n", + concat!( + "---\n", + "AddressList:\n", + " - name: Mary Smith\n", + " address: mary@x.test\n", + " - address: jdoe@example.org\n", + " - name: Who?\n", + " address: one@y.test\n" + ), + ), + ( + ", \"Giant; \\\"Big\\\" Box\" \n", + concat!( + "---\n", + "AddressList:\n", + " - address: boss@nil.test\n", + " - name: \"Giant; \\\"Big\\\" Box\"\n", + " address: sysservices@example.net\n" + ), + ), + ( + "A Group:Ed Jones ,joe@where.test,John ;\n", + concat!( + "---\n", + "Group:\n", + " name: A Group\n", + " addresses:\n", + " - name: Ed Jones\n", + " address: c@a.test\n", + " - address: joe@where.test\n", + " - name: John\n", + " address: jdoe@one.test\n" + ), + ), + ( + "Undisclosed recipients:;\n", + concat!("---\n", "Group:\n", " name: Undisclosed recipients\n"), + ), + ( + "\"Mary Smith: Personal Account\" \n", + concat!( + "---\n", + "Address:\n", + " name: \"Mary Smith: Personal Account\"\n", + " address: smith@home.example\n" + ), + ), + ( + "Pete(A nice \\) chap) \n", + concat!( + "---\n", + "Address:\n", + " name: Pete (A nice ) chap his account his host)\n", + " address: pete@silly.test\n" + ), + ), + ( + "Pete(A nice \n \\\n ) chap) \n", + concat!( + "---\n", + "Address:\n", + " name: Pete (A nice ) chap his account his host)\n", + " address: pete@silly.test\n" ), - Address::Address(Addr { - name: Some("Pete (A nice ) chap his account his host)".into()), - address: Some("pete@silly.test".into()), - }), ), ( concat!( @@ -552,342 +542,282 @@ mod tests { "mple>,\n joe@example.org,\n John (my dear", " friend); (the end of the group)\n" ), - Address::GroupList(vec![ - Group { - name: Some("A Group (Some people)".into()), - addresses: vec![ - Addr { - name: Some("Chris Jones (Chris's host.)".into()), - address: Some("c@public.example".into()), - }, - Addr { - name: None, - address: Some("joe@example.org".into()), - }, - Addr { - name: Some("John (my dear friend)".into()), - address: Some("jdoe@one.test".into()), - }, - ], - }, - Group { - name: None, - addresses: vec![Addr { - name: Some("the end of the group".into()), - address: None, - }], - }, - ]), + concat!( + "---\n", + "GroupList:\n", + " - name: A Group (Some people)\n", + " addresses:\n", + " - name: \"Chris Jones (Chris's host.)\"\n", + " address: c@public.example\n", + " - address: joe@example.org\n", + " - name: John (my dear friend)\n", + " address: jdoe@one.test\n", + " - addresses:\n", + " - name: the end of the group\n" + ), ), ( - concat!("(Empty list)(start)Hidden recipients :(nobody(that I know)) ;\n"), - Address::Group(Group { - name: Some("Hidden recipients (Empty list start)".into()), - addresses: vec![Addr { - name: Some("nobody(that I know)".into()), - address: None, - }], - }), + "(Empty list)(start)Hidden recipients :(nobody(that I know)) ;\n", + concat!( + "---\n", + "Group:\n", + " name: Hidden recipients (Empty list start)\n", + " addresses:\n", + " - name: nobody(that I know)\n" + ), ), ( - concat!("Joe Q. Public \n"), - Address::Address(Addr { - name: Some("Joe Q. Public".into()), - address: Some("john.q.public@example.com".into()), - }), + "Joe Q. Public \n", + concat!( + "---\n", + "Address:\n", + " name: Joe Q. Public\n", + " address: john.q.public@example.com\n" + ), ), ( - concat!("Mary Smith <@node.test:mary@example.net>, , jdoe@test . example\n"), - Address::AddressList(vec![ - Addr { - name: Some("Mary Smith".into()), - address: Some("@node.test:mary@example.net".into()), - }, - Addr { - name: None, - address: Some("jdoe@test . example".into()), - }, - ]), + "Mary Smith <@node.test:mary@example.net>, , jdoe@test . example\n", + concat!( + "---\n", + "AddressList:\n", + " - name: Mary Smith\n", + " address: \"@node.test:mary@example.net\"\n", + " - address: jdoe@test . example\n" + ), ), ( - concat!("John Doe \n"), - Address::Address(Addr { - name: Some("John Doe (comment)".into()), - address: Some("jdoe@machine. example".into()), - }), + "John Doe \n", + concat!( + "---\n", + "Address:\n", + " name: John Doe (comment)\n", + " address: jdoe@machine. example\n" + ), ), ( - concat!("Mary Smith\n \n\t\n"), - Address::Address(Addr { - name: Some("Mary Smith".into()), - address: Some("mary@example.net".into()), - }), + "Mary Smith\n \n\t\n", + concat!( + "---\n", + "Address:\n", + " name: Mary Smith\n", + " address: mary@example.net\n" + ), ), ( - concat!("=?US-ASCII*EN?Q?Keith_Moore?= \n"), - Address::Address(Addr { - name: Some("Keith Moore".into()), - address: Some("moore@cs.utk.edu".into()), - }), + "=?US-ASCII*EN?Q?Keith_Moore?= \n", + concat!( + "---\n", + "Address:\n", + " name: Keith Moore\n", + " address: moore@cs.utk.edu\n" + ), ), ( - concat!("John =?US-ASCII*EN?Q?Doe?= \n"), - Address::Address(Addr { - name: Some("John Doe".into()), - address: Some("moore@cs.utk.edu".into()), - }), + "John =?US-ASCII*EN?Q?Doe?= \n", + concat!( + "---\n", + "Address:\n", + " name: John Doe\n", + " address: moore@cs.utk.edu\n" + ), ), ( - concat!("=?ISO-8859-1?Q?Keld_J=F8rn_Simonsen?= \n"), - Address::Address(Addr { - name: Some("Keld Jørn Simonsen".into()), - address: Some("keld@dkuug.dk".into()), - }), + "=?ISO-8859-1?Q?Keld_J=F8rn_Simonsen?= \n", + concat!( + "---\n", + "Address:\n", + " name: Keld Jørn Simonsen\n", + " address: keld@dkuug.dk\n" + ), ), ( - concat!("=?ISO-8859-1?Q?Andr=E9?= Pirard \n"), - Address::Address(Addr { - name: Some("André Pirard".into()), - address: Some("PIRARD@vm1.ulg.ac.be".into()), - }), + "=?ISO-8859-1?Q?Andr=E9?= Pirard \n", + concat!( + "---\n", + "Address:\n", + " name: André Pirard\n", + " address: PIRARD@vm1.ulg.ac.be\n" + ), ), ( - concat!("=?ISO-8859-1?Q?Olle_J=E4rnefors?= \n"), - Address::Address(Addr { - name: Some("Olle Järnefors".into()), - address: Some("ojarnef@admin.kth.se".into()), - }), + "=?ISO-8859-1?Q?Olle_J=E4rnefors?= \n", + concat!( + "---\n", + "Address:\n", + " name: Olle Järnefors\n", + " address: ojarnef@admin.kth.se\n" + ), ), ( - concat!("ietf-822@dimacs.rutgers.edu, ojarnef@admin.kth.se\n"), - Address::AddressList(vec![ - Addr { - name: None, - address: Some("ietf-822@dimacs.rutgers.edu".into()), - }, - Addr { - name: None, - address: Some("ojarnef@admin.kth.se".into()), - }, - ]), + "ietf-822@dimacs.rutgers.edu, ojarnef@admin.kth.se\n", + concat!( + "---\n", + "AddressList:\n", + " - address: ietf-822@dimacs.rutgers.edu\n", + " - address: ojarnef@admin.kth.se\n" + ), ), ( concat!( "Nathaniel Borenstein \n (=?iso-8859-8?b?7e", "Xs+SDv4SDp7Oj08A==?=)\n" ), - Address::Address(Addr { - name: Some("Nathaniel Borenstein (םולש ןב ילטפנ)".into()), - address: Some("nsb@thumper.bellcore.com".into()), - }), + concat!( + "---\n", + "Address:\n", + " name: Nathaniel Borenstein (םולש ןב ילטפנ)\n", + " address: nsb@thumper.bellcore.com\n" + ), ), ( concat!( "Greg Vaudreuil , Ned Freed\n , Keith Moore \n" ), - Address::AddressList(vec![ - Addr { - name: Some("Greg Vaudreuil".into()), - address: Some("gvaudre@NRI.Reston.VA.US".into()), - }, - Addr { - name: Some("Ned Freed".into()), - address: Some("ned@innosoft.com".into()), - }, - Addr { - name: Some("Keith Moore".into()), - address: Some("moore@cs.utk.edu".into()), - }, - ]), + concat!( + "---\n", + "AddressList:\n", + " - name: Greg Vaudreuil\n", + " address: gvaudre@NRI.Reston.VA.US\n", + " - name: Ned Freed\n", + " address: ned@innosoft.com\n", + " - name: Keith Moore\n", + " address: moore@cs.utk.edu\n" + ), ), ( - concat!("=?ISO-8859-1?Q?a?= \n"), - Address::Address(Addr { - name: Some("a".into()), - address: Some("test@test.com".into()), - }), + "=?ISO-8859-1?Q?a?= \n", + concat!( + "---\n", + "Address:\n", + " name: a\n", + " address: test@test.com\n" + ), ), ( - concat!("\"=?ISO-8859-1?Q?a?= b\" \n"), - Address::Address(Addr { - name: Some("a b".into()), - address: Some("test@test.com".into()), - }), + "\"=?ISO-8859-1?Q?a?= b\" \n", + concat!( + "---\n", + "Address:\n", + " name: a b\n", + " address: test@test.com\n" + ), ), ( - concat!("=?ISO-8859-1?Q?a?= =?ISO-8859-1?Q?b?= \n"), - Address::Address(Addr { - name: Some("ab".into()), - address: Some("test@test.com".into()), - }), + "=?ISO-8859-1?Q?a?= =?ISO-8859-1?Q?b?= \n", + concat!( + "---\n", + "Address:\n", + " name: ab\n", + " address: test@test.com\n" + ), ), ( - concat!("=?ISO-8859-1?Q?a?=\n =?ISO-8859-1?Q?b?= \n"), - Address::Address(Addr { - name: Some("ab".into()), - address: Some("test@test.com".into()), - }), + "=?ISO-8859-1?Q?a?=\n =?ISO-8859-1?Q?b?= \n", + concat!( + "---\n", + "Address:\n", + " name: ab\n", + " address: test@test.com\n" + ), ), ( - concat!("=?ISO-8859-1?Q?a?= \"=?ISO-8859-2?Q?_b?=\" \n"), - Address::Address(Addr { - name: Some("a b".into()), - address: Some("test@test.com".into()), - }), + "=?ISO-8859-1?Q?a?= \"=?ISO-8859-2?Q?_b?=\" \n", + concat!( + "---\n", + "Address:\n", + " name: a b\n", + " address: test@test.com\n" + ), ), ( - concat!(" \n"), - Address::Address(Addr { - name: None, - address: Some("test@test.com".into()), - }), + " \n", + concat!("---\n", "Address:\n", " address: test@test.com\n"), ), ( - concat!("test@test.com\ninvalid@address.com\n"), - Address::Address(Addr { - name: None, - address: Some("test@test.com".into()), - }), + "test@test.com\ninvalid@address.com\n", + concat!("---\n", "Address:\n", " address: test@test.com\n"), ), ( concat!( "\"=?ISO-8859-1?Q =?ISO-8859-1?Q?a?= \\\" =?ISO-8859-1?Q?b?=\" \n\nbody@content.com" ), - Address::Address(Addr { - name: Some("=?ISO-8859-1?Q a \" b".into()), - address: Some("last@address.com".into()), - }), + concat!( + "---\n", + "Address:\n", + " name: \"=?ISO-8859-1?Q a \\\" b\"\n", + " address: last@address.com\n" + ), ), ( - concat!("=? \n"), - Address::Address(Addr { - name: Some("=?".into()), - address: Some("name@domain.com".into()), - }), + "=? \n", + concat!( + "---\n", + "Address:\n", + " name: \"=?\"\n", + " address: name@domain.com\n" + ), ), ( concat!( "\" James Smythe\" , Friends:\n jane@example.com, =?U", "TF-8?Q?John_Sm=C3=AEth?=\n ;\n" ), - Address::GroupList(vec![ - Group { - name: None, - addresses: vec![Addr { - name: Some(" James Smythe".into()), - address: Some("james@example.com".into()), - }], - }, - Group { - name: Some("Friends".into()), - addresses: vec![ - Addr { - name: None, - address: Some("jane@example.com".into()), - }, - Addr { - name: Some("John Smîth".into()), - address: Some("john@example.com".into()), - }, - ], - }, - ]), + concat!( + "---\n", + "GroupList:\n", + " - addresses:\n", + " - name: \" James Smythe\"\n", + " address: james@example.com\n", + " - name: Friends\n", + " addresses:\n", + " - address: jane@example.com\n", + " - name: John Smîth\n", + " address: john@example.com\n" + ), ), ( concat!( "List 1: addr1@test.com, addr2@test.com; List 2: addr3@test.com, addr4@", "test.com; addr5@test.com, addr6@test.com\n" ), - Address::GroupList(vec![ - Group { - name: Some("List 1".into()), - addresses: vec![ - Addr { - name: None, - address: Some("addr1@test.com".into()), - }, - Addr { - name: None, - address: Some("addr2@test.com".into()), - }, - ], - }, - Group { - name: Some("List 2".into()), - addresses: vec![ - Addr { - name: None, - address: Some("addr3@test.com".into()), - }, - Addr { - name: None, - address: Some("addr4@test.com".into()), - }, - ], - }, - Group { - name: None, - addresses: vec![ - Addr { - name: None, - address: Some("addr5@test.com".into()), - }, - Addr { - name: None, - address: Some("addr6@test.com".into()), - }, - ], - }, - ]), + concat!( + "---\n", + "GroupList:\n", + " - name: List 1\n", + " addresses:\n", + " - address: addr1@test.com\n", + " - address: addr2@test.com\n", + " - name: List 2\n", + " addresses:\n", + " - address: addr3@test.com\n", + " - address: addr4@test.com\n", + " - addresses:\n", + " - address: addr5@test.com\n", + " - address: addr6@test.com\n" + ), ), ( concat!( "\"List 1\": addr1@test.com, addr2@test.com; \"List 2\": addr3@test.com, ad", "dr4@test.com; addr5@test.com, addr6@test.com\n" ), - Address::GroupList(vec![ - Group { - name: Some("List 1".into()), - addresses: vec![ - Addr { - name: None, - address: Some("addr1@test.com".into()), - }, - Addr { - name: None, - address: Some("addr2@test.com".into()), - }, - ], - }, - Group { - name: Some("List 2".into()), - addresses: vec![ - Addr { - name: None, - address: Some("addr3@test.com".into()), - }, - Addr { - name: None, - address: Some("addr4@test.com".into()), - }, - ], - }, - Group { - name: None, - addresses: vec![ - Addr { - name: None, - address: Some("addr5@test.com".into()), - }, - Addr { - name: None, - address: Some("addr6@test.com".into()), - }, - ], - }, - ]), + concat!( + "---\n", + "GroupList:\n", + " - name: List 1\n", + " addresses:\n", + " - address: addr1@test.com\n", + " - address: addr2@test.com\n", + " - name: List 2\n", + " addresses:\n", + " - address: addr3@test.com\n", + " - address: addr4@test.com\n", + " - addresses:\n", + " - address: addr5@test.com\n", + " - address: addr6@test.com\n" + ), ), ( concat!( @@ -895,201 +825,170 @@ mod tests { "test.com; =?utf-8?b?VGjDrXMgw61zIHbDoWzDrWQgw5pURjg=?=: addr3@test.com", ", addr4@test.com; addr5@test.com, addr6@test.com\n" ), - Address::GroupList(vec![ - Group { - name: Some("Thís ís válíd ÚTF8".into()), - addresses: vec![ - Addr { - name: None, - address: Some("addr1@test.com".into()), - }, - Addr { - name: None, - address: Some("addr2@test.com".into()), - }, - ], - }, - Group { - name: Some("Thís ís válíd ÚTF8".into()), - addresses: vec![ - Addr { - name: None, - address: Some("addr3@test.com".into()), - }, - Addr { - name: None, - address: Some("addr4@test.com".into()), - }, - ], - }, - Group { - name: None, - addresses: vec![ - Addr { - name: None, - address: Some("addr5@test.com".into()), - }, - Addr { - name: None, - address: Some("addr6@test.com".into()), - }, - ], - }, - ]), + concat!( + "---\n", + "GroupList:\n", + " - name: Thís ís válíd ÚTF8\n", + " addresses:\n", + " - address: addr1@test.com\n", + " - address: addr2@test.com\n", + " - name: Thís ís válíd ÚTF8\n", + " addresses:\n", + " - address: addr3@test.com\n", + " - address: addr4@test.com\n", + " - addresses:\n", + " - address: addr5@test.com\n", + " - address: addr6@test.com\n" + ), ), ( - concat!(" (Web Archive)\n"), - Address::Address(Addr { - name: Some("Web Archive".into()), - address: Some("http://www.host.com/list/archive/".into()), - }), + " (Web Archive)\n", + concat!( + "---\n", + "Address:\n", + " name: Web Archive\n", + " address: \"http://www.host.com/list/archive/\"\n" + ), ), ( - concat!("\n"), - Address::Address(Addr { - name: None, - address: Some("mailto:archive@host.com?subject=index%20list".into()), - }), + "\n", + concat!( + "---\n", + "Address:\n", + " address: \"mailto:archive@host.com?subject=index%20list\"\n" + ), ), ( - concat!(" (Postings are Moderated)\n"), - Address::Address(Addr { - name: Some("Postings are Moderated".into()), - address: Some("mailto:moderator@host.com".into()), - }), + " (Postings are Moderated)\n", + concat!( + "---\n", + "Address:\n", + " name: Postings are Moderated\n", + " address: \"mailto:moderator@host.com\"\n" + ), ), ( concat!( "(Use this command to join the list)\n \n" ), - Address::Address(Addr { - name: Some("Use this command to join the list".into()), - address: Some("mailto:list-manager@host.com?body=subscribe%20list".into()), - }), + concat!( + "---\n", + "Address:\n", + " name: Use this command to join the list\n", + " address: \"mailto:list-manager@host.com?body=subscribe%20list\"\n" + ), ), ( concat!( ",\n \n" ), - Address::AddressList(vec![ - Addr { - name: None, - address: Some("http://www.host.com/list.cgi?cmd=sub&lst=list".into()), - }, - Addr { - name: None, - address: Some("mailto:list-manager@host.com?body=subscribe%20list".into()), - }, - ]), + concat!( + "---\n", + "AddressList:\n", + " - address: \"http://www.host.com/list.cgi?cmd=sub&lst=list\"\n", + " - address: \"mailto:list-manager@host.com?body=subscribe%20list\"\n" + ), ), ( - concat!("NO (posting not allowed on this list)\n"), - Address::Address(Addr { - name: Some("posting not allowed on this list".into()), - address: Some("NO".into()), - }), + "NO (posting not allowed on this list)\n", + concat!( + "---\n", + "Address:\n", + " name: posting not allowed on this list\n", + " address: \"NO\"\n" + ), ), ( concat!( " (FTP),\n \n" ), - Address::AddressList(vec![ - Addr { - name: Some("FTP".into()), - address: Some("ftp://ftp.host.com/list.txt".into()), - }, - Addr { - name: None, - address: Some("mailto:list@host.com?subject=help".into()), - }, - ]), + concat!( + "---\n", + "AddressList:\n", + " - name: FTP\n", + " address: \"ftp://ftp.host.com/list.txt\"\n", + " - address: \"mailto:list@host.com?subject=help\"\n" + ), ), ( - concat!(", \n"), - Address::AddressList(vec![ - Addr { - name: None, - address: Some("http://www.host.com/list/".into()), - }, - Addr { - name: None, - address: Some("mailto:list-info@host.com".into()), - }, - ]), + ", \n", + concat!( + "---\n", + "AddressList:\n", + " - address: \"http://www.host.com/list/\"\n", + " - address: \"mailto:list-info@host.com\"\n" + ), ), ( concat!( "(Use this command to get off the list)\n \n" ), - Address::Address(Addr { - name: Some("Use this command to get off the list".into()), - address: Some("mailto:list-manager@host.com?body=unsubscribe%20list".into()), - }), + concat!( + "---\n", + "Address:\n", + " name: Use this command to get off the list\n", + " address: \"mailto:list-manager@host.com?body=unsubscribe%20list\"\n" + ), ), ( concat!( ",\n \n" ), - Address::AddressList(vec![ - Addr { - name: None, - address: Some("http://www.host.com/list.cgi?cmd=unsub&lst=list".into()), - }, - Addr { - name: None, - address: Some("mailto:list-request@host.com?subject=unsubscribe".into()), - }, - ]), + concat!( + "---\n", + "AddressList:\n", + " - address: \"http://www.host.com/list.cgi?cmd=unsub&lst=list\"\n", + " - address: \"mailto:list-request@host.com?subject=unsubscribe\"\n" + ), ), ( - concat!(" (Contact Person for Help)\n"), - Address::Address(Addr { - name: Some("Contact Person for Help".into()), - address: Some("mailto:listmom@host.com".into()), - }), + " (Contact Person for Help)\n", + concat!( + "---\n", + "Address:\n", + " name: Contact Person for Help\n", + " address: \"mailto:listmom@host.com\"\n" + ), ), ]; for input in inputs { let mut str = input.0.to_string(); let result = parse_address(&MessageStream::new(unsafe { str.as_bytes_mut() })); + let expected: Address = serde_yaml::from_str(input.1).unwrap_or(Address::Empty); - /*println!( - "(concat!({}), {}),", - format!( - "{:?}", + /*if input.0.len() >= 70 { + println!( + "(concat!({:?}), concat!({:?})),", input .0 .chars() .collect::>() .chunks(70) .map(|c| c.iter().collect::()) - .collect::>() - ) - .replace("[\"", "\"") - .replace("\"]", "\""), - format!("{:?}", result) - .replace("GroupList([", "Address::GroupList(vec![") - .replace("Address(Addr", "Address::Address(Addr") - .replace("AddressList([", "Address::AddressList(vec![") - .replace("Group(Group", "Address::Group(Group") - .replace("addresses: [", "addresses: vec![") - .replace("\")", "\".into())") - );*/ + .collect::>(), + serde_yaml::to_string(&result) + .unwrap_or("".to_string()) + .split_inclusive("\n") + .collect::>() + ); + } else { + println!( + "({:?}, concat!({:?})),", + input.0, + serde_yaml::to_string(&result) + .unwrap_or("".to_string()) + .split_inclusive("\n") + .collect::>() + ); + }*/ - /*println!( - "{} ->\n{:?}\n{}\n", - input.0.escape_debug(), - result, - "-".repeat(50) - );*/ - - assert_eq!(result, input.1, "Failed for '{:?}'", input.0); + assert_eq!(result, expected, "Failed for '{:?}'", input.0); } } } diff --git a/src/parsers/fields/content_type.rs b/src/parsers/fields/content_type.rs index 152c5e5..e121c00 100644 --- a/src/parsers/fields/content_type.rs +++ b/src/parsers/fields/content_type.rs @@ -417,6 +417,8 @@ pub fn parse_content_type<'x>(stream: &MessageStream<'x>) -> Option { if !parser.is_escaped { parser.state = parser.state_stack.pop().unwrap(); + parser.token_start = 0; + parser.is_token_safe = true; } else { parser.is_escaped = false; } @@ -453,74 +455,179 @@ pub fn parse_content_type<'x>(stream: &MessageStream<'x>) -> Option> = None; - let mut c_subtype: Option> = None; - let mut attributes: HashMap, Cow> = HashMap::new(); + let expected: Option = serde_yaml::from_str(input.1).unwrap_or(None); - for (count, part) in input.1.split("||").enumerate() { - match count { - 0 => c_type = Some(part.into()), - 1 => { - c_subtype = if part.is_empty() { - None - } else { - Some(part.into()) - } - } - _ => { - let attr: Vec<&str> = part.split("~~").collect(); - attributes.insert(attr[0].into(), attr[1].into()); - } - } - } - - c_type.map(|content_type| ContentType { - c_type: content_type, - c_subtype: c_subtype.take(), - attributes: if !attributes.is_empty() { - Some(attributes) - } else { - None - }, - }) + /* + if input.0.len() >= 70 { + println!( + "(concat!({:?}), concat!({:?})),", + input + .0 + .chars() + .collect::>() + .chunks(70) + .map(|c| c.iter().collect::()) + .collect::>(), + serde_yaml::to_string(&result) + .unwrap_or("".to_string()) + .split_inclusive("\n") + .collect::>() + ); } else { - None - }; + println!( + "({:?}, concat!({:?})),", + input.0, + serde_yaml::to_string(&result) + .unwrap_or("".to_string()) + .split_inclusive("\n") + .collect::>() + ); + }*/ assert_eq!(result, expected, "Failed for '{:?}'", input.0); } diff --git a/src/parsers/fields/list.rs b/src/parsers/fields/list.rs index ed65559..9acaa0a 100644 --- a/src/parsers/fields/list.rs +++ b/src/parsers/fields/list.rs @@ -1,9 +1,6 @@ use std::borrow::Cow; -use crate::{ - decoders::{encoded_word::parse_encoded_word}, - parsers::message_stream::MessageStream, -}; +use crate::{decoders::encoded_word::parse_encoded_word, parsers::message_stream::MessageStream}; struct ListParser<'x> { token_start: usize, @@ -51,9 +48,7 @@ fn add_tokens_to_list<'x>(parser: &mut ListParser<'x>) { } } -pub fn parse_comma_separared<'x>( - stream: &MessageStream<'x>, -) -> Option>> { +pub fn parse_comma_separared<'x>(stream: &MessageStream<'x>) -> Option>> { let mut parser = ListParser { token_start: 0, token_end: 0, @@ -128,9 +123,7 @@ pub fn parse_comma_separared<'x>( } mod tests { - use crate::{ - parsers::{fields::list::parse_comma_separared, message_stream::MessageStream}, - }; + use crate::parsers::{fields::list::parse_comma_separared, message_stream::MessageStream}; #[test] fn parse_comma_separated_text() { @@ -183,10 +176,7 @@ mod tests { for input in inputs { let mut str = input.0.to_string(); assert_eq!( - parse_comma_separared( - &MessageStream::new(unsafe { str.as_bytes_mut() }), - ) - .unwrap(), + parse_comma_separared(&MessageStream::new(unsafe { str.as_bytes_mut() }),).unwrap(), input.1 ); } diff --git a/src/parsers/fields/mod.rs b/src/parsers/fields/mod.rs index 6646a8e..13550b1 100644 --- a/src/parsers/fields/mod.rs +++ b/src/parsers/fields/mod.rs @@ -96,10 +96,6 @@ impl<'x> MessageField<'x> for MessageHeader<'x> { append_address_line(&mut self.resent_cc, parse_address(stream)); } - fn set_content_id(&mut self, stream: &MessageStream<'x>) { - self.mime.set_content_id(stream); - } - fn set_resent_message_id(&mut self, stream: &MessageStream<'x>) { append_line_many(&mut self.resent_message_id, parse_id(stream)); } @@ -152,10 +148,6 @@ impl<'x> MessageField<'x> for MessageHeader<'x> { self.from = parse_address(stream); } - fn set_content_transfer_encoding(&mut self, stream: &MessageStream<'x>) { - self.mime.set_content_transfer_encoding(stream); - } - fn set_return_path(&mut self, stream: &MessageStream<'x>) { append_line_many(&mut self.return_path, parse_id(stream)); } @@ -176,10 +168,6 @@ impl<'x> MessageField<'x> for MessageHeader<'x> { self.message_id = parse_id(stream).map(|mut v| v.pop().unwrap()); } - fn set_content_type(&mut self, stream: &MessageStream<'x>) { - self.mime.set_content_type(stream); - } - fn set_list_post(&mut self, stream: &MessageStream<'x>) { self.list_post = parse_address(stream); } @@ -188,18 +176,10 @@ impl<'x> MessageField<'x> for MessageHeader<'x> { self.reply_to = parse_address(stream); } - fn set_content_description(&mut self, stream: &MessageStream<'x>) { - self.mime.set_content_description(stream); - } - fn set_resent_from(&mut self, stream: &MessageStream<'x>) { append_address_line(&mut self.resent_from, parse_address(stream)); } - fn set_content_disposition(&mut self, stream: &MessageStream<'x>) { - self.mime.set_content_disposition(stream); - } - fn set_list_unsubscribe(&mut self, stream: &MessageStream<'x>) { self.list_unsubscribe = parse_address(stream); } @@ -220,24 +200,44 @@ impl<'x> MessageField<'x> for MessageHeader<'x> { } } + fn set_content_id(&mut self, stream: &MessageStream<'x>) { + self.content_id = parse_id(stream).map(|mut v| v.pop().unwrap()); + } + + fn set_content_transfer_encoding(&mut self, stream: &MessageStream<'x>) { + self.content_transfer_encoding = parse_unstructured(stream); + } + + fn set_content_type(&mut self, stream: &MessageStream<'x>) { + self.content_type = self::content_type::parse_content_type(stream); + } + + fn set_content_description(&mut self, stream: &MessageStream<'x>) { + self.content_description = parse_unstructured(stream); + } + + fn set_content_disposition(&mut self, stream: &MessageStream<'x>) { + self.content_disposition = self::content_type::parse_content_type(stream); + } + fn get_content_description(&self) -> Option<&Cow<'x, str>> { - self.mime.content_description.as_ref() + self.content_description.as_ref() } fn get_content_disposition(&self) -> Option<&ContentType<'x>> { - self.mime.content_disposition.as_ref() + self.content_disposition.as_ref() } fn get_content_id(&self) -> Option<&Cow<'x, str>> { - self.mime.content_id.as_ref() + self.content_id.as_ref() } fn get_content_transfer_encoding(&self) -> Option<&Cow<'x, str>> { - self.mime.content_transfer_encoding.as_ref() + self.content_transfer_encoding.as_ref() } fn get_content_type(&self) -> Option<&ContentType<'x>> { - self.mime.content_type.as_ref() + self.content_type.as_ref() } } @@ -270,10 +270,6 @@ impl<'x> MessageField<'x> for MimeHeader<'x> { parse_and_ignore(stream); } - fn set_content_id(&mut self, stream: &MessageStream<'x>) { - self.content_id = parse_id(stream).map(|mut v| v.pop().unwrap()); - } - fn set_resent_message_id(&mut self, stream: &MessageStream<'x>) { parse_and_ignore(stream); } @@ -326,10 +322,6 @@ impl<'x> MessageField<'x> for MimeHeader<'x> { parse_and_ignore(stream); } - fn set_content_transfer_encoding(&mut self, stream: &MessageStream<'x>) { - self.content_transfer_encoding = parse_unstructured(stream); - } - fn set_return_path(&mut self, stream: &MessageStream<'x>) { parse_and_ignore(stream); } @@ -350,10 +342,6 @@ impl<'x> MessageField<'x> for MimeHeader<'x> { parse_and_ignore(stream); } - fn set_content_type(&mut self, stream: &MessageStream<'x>) { - self.content_type = self::content_type::parse_content_type(stream); - } - fn set_list_post(&mut self, stream: &MessageStream<'x>) { parse_and_ignore(stream); } @@ -362,10 +350,6 @@ impl<'x> MessageField<'x> for MimeHeader<'x> { parse_and_ignore(stream); } - fn set_content_description(&mut self, stream: &MessageStream<'x>) { - self.content_description = parse_unstructured(stream); - } - fn set_resent_from(&mut self, stream: &MessageStream<'x>) { parse_and_ignore(stream); } @@ -382,6 +366,22 @@ impl<'x> MessageField<'x> for MimeHeader<'x> { parse_and_ignore(stream); } + fn set_content_id(&mut self, stream: &MessageStream<'x>) { + self.content_id = parse_id(stream).map(|mut v| v.pop().unwrap()); + } + + fn set_content_transfer_encoding(&mut self, stream: &MessageStream<'x>) { + self.content_transfer_encoding = parse_unstructured(stream); + } + + fn set_content_type(&mut self, stream: &MessageStream<'x>) { + self.content_type = self::content_type::parse_content_type(stream); + } + + fn set_content_description(&mut self, stream: &MessageStream<'x>) { + self.content_description = parse_unstructured(stream); + } + fn set_content_disposition(&mut self, stream: &MessageStream<'x>) { self.content_disposition = self::content_type::parse_content_type(stream); } diff --git a/src/parsers/header.rs b/src/parsers/header.rs index 97021ac..65a81df 100644 --- a/src/parsers/header.rs +++ b/src/parsers/header.rs @@ -9,7 +9,6 @@ use super::fields::{ #[derive(PartialEq, Debug, Default, Serialize, Deserialize)] pub struct MessageHeader<'x> { - pub mime: MimeHeader<'x>, #[serde(skip_serializing_if = "Address::is_empty")] #[serde(default)] pub bcc: Address<'x>, @@ -22,6 +21,8 @@ pub struct MessageHeader<'x> { #[serde(skip_serializing_if = "Option::is_none")] #[serde(default)] pub date: Option, + #[serde(skip_serializing_if = "Address::is_empty")] + #[serde(default)] pub from: Address<'x>, #[serde(skip_serializing_if = "Option::is_none")] #[serde(default)] @@ -98,6 +99,21 @@ pub struct MessageHeader<'x> { #[serde(skip_serializing_if = "Address::is_empty")] #[serde(default)] pub to: Address<'x>, + #[serde(skip_serializing_if = "Option::is_none")] + #[serde(default)] + pub content_description: Option>, + #[serde(skip_serializing_if = "Option::is_none")] + #[serde(default)] + pub content_disposition: Option>, + #[serde(skip_serializing_if = "Option::is_none")] + #[serde(default)] + pub content_id: Option>, + #[serde(skip_serializing_if = "Option::is_none")] + #[serde(default)] + pub content_transfer_encoding: Option>, + #[serde(skip_serializing_if = "Option::is_none")] + #[serde(default)] + pub content_type: Option>, #[serde(borrow)] #[serde(skip_serializing_if = "HashMap::is_empty")] #[serde(default)] diff --git a/src/parsers/message.rs b/src/parsers/message.rs index 4e93c9b..36f8963 100644 --- a/src/parsers/message.rs +++ b/src/parsers/message.rs @@ -13,7 +13,7 @@ use super::{ message_stream::MessageStream, }; -#[derive(Debug, Default, Serialize, Deserialize)] +#[derive(Debug, Default, Serialize, Deserialize, PartialEq)] pub struct Message<'x> { #[serde(borrow)] header: MessageHeader<'x>, @@ -27,7 +27,7 @@ pub struct Message<'x> { #[serde(default)] attachments: Vec>, } -#[derive(Debug, Default, Serialize, Deserialize)] +#[derive(Debug, Default, Serialize, Deserialize, PartialEq)] pub struct TextPart<'x> { #[serde(skip_serializing_if = "Option::is_none")] #[serde(default)] @@ -35,15 +35,17 @@ pub struct TextPart<'x> { contents: Cow<'x, str>, } -#[derive(Debug, Default, Serialize, Deserialize)] +#[derive(Debug, Default, Serialize, Deserialize, PartialEq)] pub struct BinaryPart<'x> { #[serde(skip_serializing_if = "Option::is_none")] #[serde(default)] header: Option>, - contents: &'x [u8], + #[serde(with = "serde_bytes")] + #[serde(borrow)] + contents: Cow<'x, [u8]>, } -#[derive(Debug, Serialize, Deserialize)] +#[derive(Debug, Serialize, Deserialize, PartialEq)] pub enum MessageAttachment<'x> { Text(Box>), #[serde(borrow)] @@ -180,40 +182,32 @@ impl<'x> Message<'x> { // Parse headers if !parse_headers(header, &stream) { - // EOF found while parsing headers, abort. - debug_assert!(false, "EOF found while parsing header. Aborting."); break; } state.parts += 1; - let (is_multipart, is_inline, is_text, mime_type) = + let (is_multipart, mut is_inline, mut is_text, mut mime_type) = get_mime_type(header.get_content_type(), &state.mime_type); - /*println!( + println!( "--- New part {:?} parent {:?} at '{:?}'", mime_type, state.mime_type, stream - .get_string(stream.get_pos(), stream.get_pos() + 50, true) + .get_string(stream.get_pos(), stream.get_pos() + 20, true) .unwrap_or_else(|| "NOTHING".into()) - );*/ + ); if is_multipart { if let Some(mime_boundary) = header .get_content_type() .map_or_else(|| None, |f| f.get_attribute("boundary")) { - //println!("Found boundary '{}'", mime_boundary,); + println!("Found boundary '{}'", mime_boundary,); let mime_boundary = ("\n--".to_string() + mime_boundary).into_bytes(); - if stream.seek_bytes(mime_boundary.as_ref()) { - /*println!( - "Seek to '{:?}'", - stream - .get_string(stream.get_pos(), stream.get_pos() + 50, true) - .unwrap_or_else(|| "NOTHING".into()) - );*/ + if stream.seek_next_part(mime_boundary.as_ref()) { let new_state = MessageParserState { in_alternative: state.in_alternative || mime_type == MimeType::MultipartAlernative, @@ -231,8 +225,8 @@ impl<'x> Message<'x> { stream.skip_crlf(); continue; } else { - debug_assert!(false, "MIME boundary seek failed. Aborting."); - break; + mime_type = MimeType::TextOther; + is_text = true; } } } else if mime_type == MimeType::Message { @@ -275,7 +269,7 @@ impl<'x> Message<'x> { .map_or_else(|| &[][..], |b| &b[..]), false, ), - _ => stream.get_bytes_bounded( + _ => stream.get_bytes_to_boundary( state .mime_boundary .as_ref() @@ -283,22 +277,39 @@ impl<'x> Message<'x> { ), }; + // Attempt to recover contents of an invalid message if !success { + //println!("Failed to parse part, reattempting."); if !stream.is_eof() { - let (success, r_is_utf8_safe, r_bytes) = stream.get_bytes_bounded( + // Get raw MIME part + let (success, r_is_utf8_safe, r_bytes) = stream.get_bytes_to_boundary( state .mime_boundary .as_ref() .map_or_else(|| &[][..], |b| &b[..]), ); if !success { - debug_assert!(false, "Failed to parse encoded part. Aborting."); - break; + // If there is MIME boundary, ignore it and get raw message + if !stream.is_eof() && state.mime_boundary.is_some() { + let (_, r_is_utf8_safe, r_bytes) = + stream.get_bytes_to_boundary(&[][..]); + if r_bytes.is_some() { + is_utf8_safe = r_is_utf8_safe; + bytes = r_bytes; + } else { + break; + } + } else { + break; + } + } else { + is_utf8_safe = r_is_utf8_safe; + bytes = r_bytes; } - is_utf8_safe = r_is_utf8_safe; - bytes = r_bytes; - } else { - debug_assert!(false, "Failed to parse encoded part. Aborting."); + mime_type = MimeType::TextOther; + is_inline = false; + is_text = true; + } else if bytes.is_none() { break; } } @@ -335,7 +346,7 @@ impl<'x> Message<'x> { }; let contents = bytes_to_string( - bytes.map_or_else(|| "?".as_bytes(), |v| v), + bytes.map_or_else(|| "\n".as_bytes(), |v| v), header.get_content_type(), is_utf8_safe, ); @@ -372,7 +383,7 @@ impl<'x> Message<'x> { } else { None }, - contents: bytes.map_or_else(|| "?".as_bytes(), |v| v), + contents: bytes.map_or_else(|| "?".as_bytes(), |v| v).into(), }))); }; @@ -397,16 +408,8 @@ impl<'x> Message<'x> { } } - if stream.skip_bytes("--".as_bytes()) { + if stream.skip_multipart_end() { // End of MIME part reached - /*println!( - "Mime part end '{:?}--' next '{:?}'", - std::str::from_utf8(state.mime_boundary.as_ref().unwrap().as_ref()) - .unwrap(), - stream - .get_string(stream.get_pos(), stream.get_pos() + 10, true) - .unwrap_or_else(|| "NOTHING".into()) - );*/ if MimeType::MultipartAlernative == state.mime_type && state.need_html_body @@ -419,7 +422,7 @@ impl<'x> Message<'x> { for part in message.html_body[state.html_parts..].iter() { message.text_body.push(TextPart { header: None, - contents: part.contents.clone(), //Todo make plain text + contents: part.contents.clone(), //TODO make plain text }); } } @@ -443,32 +446,32 @@ impl<'x> Message<'x> { if let Some(ref mime_boundary) = state.mime_boundary { // Ancestor has a MIME boundary, seek it. - if stream.seek_bytes(mime_boundary) { - // Boundary not found, probably a corrupted message, abort. - /*println!( + if stream.seek_next_part(mime_boundary) { + + println!( "Found ancestor MIME boundary '{:?}'", std::str::from_utf8(mime_boundary).unwrap() - );*/ + ); + continue 'inner; - } /*else { - println!( - "Boundary '{:?} not found.", - std::str::from_utf8(mime_boundary).unwrap() - ); - }*/ - } /*else { - // Ancestor does not have a MIME boundary, end parsing. - println!("Ancestor has no MIME boundary, parent found?"); - } */ - } /*else { - // No more ancestors found, finish parsing. - println!("Finish parsing, no ancestors found."); - } */ + } else { + println!( + "Boundary '{:?} not found.", + std::str::from_utf8(mime_boundary).unwrap() + ); + } + } else { + // Ancestor does not have a MIME boundary, end parsing. + println!("Ancestor has no MIME boundary, parent found?"); + } + } else { + // No more ancestors found, finish parsing. + println!("Finish parsing, no ancestors found."); + } break 'outer; } else { stream.skip_crlf(); // Headers of next part expected next, break inner look. - //println!("Expecting headers of next part."); break 'inner; } } @@ -486,72 +489,83 @@ mod tests { use crate::parsers::message::Message; - /*#[test] - fn body_parse() { - let mut samples_dir = PathBuf::from(env!("CARGO_MANIFEST_DIR")); - samples_dir.push("test/dovecot"); - let mut got_sign = false; - let mut count = 0; - - for path in fs::read_dir(samples_dir.to_str().unwrap()).unwrap() { - let mut path = path.unwrap().path(); - if path.as_path().to_str().unwrap().contains(".yaml") { - continue; - } - //if !path.as_path().to_str().unwrap().contains("m576") { - // continue; - //} - println!("Parsing {}", path.to_str().unwrap()); - let mut input = fs::read(path.as_path()).unwrap(); - if String::from_utf8_lossy(&input).contains("application/pgp-signature") { - if !got_sign { - got_sign = true; - } else { - continue; - } - } - - let input2 = input.clone(); - - let message = Message::parse(&mut input); - - if message.text_body.len() + message.html_body.len() + message.attachments.len() > 1 { - fs::write( - format!("/vagrant/Code/stalwart/test/final/list_{:03}.eml", count), - &input2, - ) - .unwrap(); - //assert!(path.set_extension("yaml")); - fs::write( - format!("/vagrant/Code/stalwart/test/final/list_{:03}.yaml", count), - serde_yaml::to_string(&message).unwrap(), - ) - .unwrap(); - //fs::write(path, serde_yaml::to_string(&message).unwrap()).unwrap(); - count += 1; - } - } - }*/ - #[test] fn body_parse() { - let mut samples_dir = PathBuf::from(env!("CARGO_MANIFEST_DIR")); - samples_dir.push("test/messages"); + const SEPARATOR: &[u8] = "\n---- EXPECTED STRUCTURE ----\n".as_bytes(); - for path in fs::read_dir(samples_dir.to_str().unwrap()).unwrap() { - let mut path = path.unwrap().path(); - if path.as_path().to_str().unwrap().contains(".yaml") { - continue; + for test_suite in ["rfc", "legacy", "malformed"] { + let mut test_dir = PathBuf::from(env!("CARGO_MANIFEST_DIR")); + test_dir.push("tests"); + test_dir.push(test_suite); + + for file_name in fs::read_dir(test_dir).unwrap() { + let mut input = fs::read(file_name.as_ref().unwrap().path()).unwrap(); + let mut pos = 0; + for sep_pos in 0..input.len() { + if input[sep_pos..sep_pos + SEPARATOR.len()].eq(SEPARATOR) { + pos = sep_pos; + break; + } + } + assert!(pos > 0, "Failed to find separator."); + let input = input.split_at_mut(pos); + assert_eq!( + Message::parse(input.0), + serde_json::from_slice::(&input.1[SEPARATOR.len()..]).unwrap(), + "Test failed for {}", + file_name.unwrap().path().display() + ); } - //if !path.as_path().to_str().unwrap().contains("m576") { - // continue; - //} - println!("Parsing {}", path.to_str().unwrap()); - let mut input = fs::read(path.as_path()).unwrap(); - let message = Message::parse(&mut input); + } + } - assert!(path.set_extension("yaml")); - fs::write(path, serde_yaml::to_string(&message).unwrap()).unwrap(); + #[test] + fn generate_test_samples() { + const SEPARATOR: &[u8] = "\n---- EXPECTED STRUCTURE ----\n".as_bytes(); + + for test_suite in ["rfc" /*"legacy","malformed"*/] { + let mut test_dir = PathBuf::from(env!("CARGO_MANIFEST_DIR")); + test_dir.push("tests"); + test_dir.push(test_suite); + + for file_name in fs::read_dir(test_dir).unwrap() { + if !file_name + .as_ref() + .unwrap() + .path() + .to_str() + .unwrap() + .contains("007") + { + continue; + } + + let mut input = fs::read(file_name.as_ref().unwrap().path()).unwrap(); + let mut pos = 0; + for sep_pos in 0..input.len() { + if input[sep_pos..sep_pos + SEPARATOR.len()].eq(SEPARATOR) { + pos = sep_pos; + break; + } + } + assert!(pos > 0, "Failed to find separator."); + let input = input.split_at_mut(pos); + + println!( + "{}", + serde_yaml::to_string(&Message::parse(input.0)).unwrap() + ); + + /*let mut output = Vec::new(); + output.extend_from_slice(input.0); + output.extend_from_slice(SEPARATOR); + output.extend_from_slice( + serde_json::to_string_pretty(&Message::parse(input.0)) + .unwrap_or_else(|_| "".to_string()) + .as_bytes(), + ); + fs::write(file_name.as_ref().unwrap().path(), &output).unwrap();*/ + } } } } diff --git a/src/parsers/message_stream.rs b/src/parsers/message_stream.rs index 6d72e91..d3e64d3 100644 --- a/src/parsers/message_stream.rs +++ b/src/parsers/message_stream.rs @@ -85,8 +85,8 @@ impl<'x> MessageStream<'x> { } } - pub fn seek_bytes(&self, bytes: &[u8]) -> bool { - if !bytes.is_empty() { + pub fn seek_next_part(&self, boundary: &[u8]) -> bool { + if !boundary.is_empty() { unsafe { let cur_pos = &mut *self.pos.get(); let data = &mut *self.data.get(); @@ -96,16 +96,16 @@ impl<'x> MessageStream<'x> { for ch in (*data)[*cur_pos..].iter() { pos += 1; - if ch == bytes.get_unchecked(match_count) { + if ch == boundary.get_unchecked(match_count) { match_count += 1; - if match_count == bytes.len() { + if match_count == boundary.len() { *cur_pos = pos; return true; } else { continue; } } else if match_count > 0 { - if ch == bytes.get_unchecked(0) { + if ch == boundary.get_unchecked(0) { match_count = 1; continue; } else { @@ -119,7 +119,7 @@ impl<'x> MessageStream<'x> { false } - pub fn get_bytes_bounded(&self, boundary: &[u8]) -> (bool, bool, Option<&'x [u8]>) { + pub fn get_bytes_to_boundary(&self, boundary: &[u8]) -> (bool, bool, Option<&'x [u8]>) { unsafe { let data = &mut *self.data.get(); @@ -141,20 +141,24 @@ impl<'x> MessageStream<'x> { if ch == boundary.get_unchecked(match_count) { match_count += 1; if match_count == boundary.len() { - let match_pos = pos - match_count; - *stream_pos = pos; - return ( - true, - is_utf8_safe, - if start_pos < match_pos { - (*data).get(start_pos..match_pos) - } else { - None - }, - ); - } else { - continue; + if self.is_boundary_end(pos) { + let match_pos = pos - match_count; + *stream_pos = pos; + println!("Got '{:?}'", std::str::from_utf8((*data).get(start_pos..match_pos).unwrap()).unwrap()); + return ( + true, + is_utf8_safe, + if start_pos < match_pos { + (*data).get(start_pos..match_pos) + } else { + None + }, + ); + } else { + match_count = 0; + } } + continue; } else if match_count > 0 { if ch == boundary.get_unchecked(0) { match_count = 1; @@ -175,6 +179,7 @@ impl<'x> MessageStream<'x> { } } + #[inline(always)] pub fn skip_crlf(&self) { unsafe { let cur_pos = &mut *self.pos.get(); @@ -183,7 +188,7 @@ impl<'x> MessageStream<'x> { for ch in (*data)[*cur_pos..].iter() { match ch { - b'\r' => pos += 1, + b'\r' | b' ' | b'\t' => pos += 1, b'\n' => { *cur_pos = pos + 1; break; @@ -194,12 +199,13 @@ impl<'x> MessageStream<'x> { } } + #[inline(always)] pub fn skip_byte(&self, ch: &u8) -> bool { unsafe { let pos = &mut *self.pos.get(); let data = &mut *self.data.get(); - if *pos < (*data).len() && (*data).get_unchecked(*pos) == ch { + if (*data).get(*pos) == Some(ch) { *pos += 1; true } else { @@ -208,17 +214,41 @@ impl<'x> MessageStream<'x> { } } - pub fn skip_bytes(&self, chs: &[u8]) -> bool { + #[inline(always)] + pub fn is_boundary_end(&self, pos: usize) -> bool { + unsafe { + let data = &mut *self.data.get(); + match (*data).get(pos) { + Some(b'\n') => true, + Some(b'-') if (*data).get(pos + 1) == Some(&b'-') => true, + Some(b'\r') if (*data).get(pos + 1) == Some(&b'\n') => true, + Some(b' ') | Some(b'\t') => true, + None => true, + _ => false, + } + } + } + + pub fn skip_multipart_end(&self) -> bool { unsafe { let pos = &mut *self.pos.get(); - let data = &mut *self.data.get(); - let to = *pos + chs.len(); - match (*data).get(*pos..to) { - Some(bytes) if bytes == chs => { - *pos = to; - true - } + match (*self.data.get()).get(*pos..*pos + 2) { + Some(b"--") => match (*self.data.get()).get(*pos + 2) { + Some(b'\n') => { + *pos += 3; + true + } + Some(b'\r') if (*self.data.get()).get(*pos + 3) == Some(&b'\n') => { + *pos += 4; + true + } + None | Some(b' ') | Some(b'\t') => { + *pos += 2; + true + } + _ => false, + }, _ => false, } } diff --git a/src/parsers/mime.js b/src/parsers/mime.js deleted file mode 100644 index d864f2b..0000000 --- a/src/parsers/mime.js +++ /dev/null @@ -1,90 +0,0 @@ -function isInlineMediaType(type) { - return type.startsWith('image/') || - type.startsWith('audio/') || - type.startsWith('video/'); -} - -function parseStructure(parts, multipartType, inAlternative, - htmlBody, textBody, attachments) { - - // For multipartType == alternative - let textLength = textBody ? textBody.length : -1; - let htmlLength = htmlBody ? htmlBody.length : -1; - - for (let i = 0; i < parts.length; i += 1) { - let part = parts[i]; - let isMultipart = part.type.startsWith('multipart/'); - // Is this a body part rather than an attachment - let isInline = part.disposition != "attachment" && - // Must be one of the allowed body types - (part.type == "text/plain" || - part.type == "text/html" || - isInlineMediaType(part.type)) && - // If multipart/related, only the first part can be inline - // If a text part with a filename, and not the first item - // in the multipart, assume it is an attachment - (i === 0 || - (multipartType != "related" && - (isInlineMediaType(part.type) || !part.name))); - - if (isMultipart) { - let subMultiType = part.type.split('/')[1]; - parseStructure(part.subParts, subMultiType, - inAlternative || (subMultiType == 'alternative'), - htmlBody, textBody, attachments); - } else if (isInline) { - if (multipartType == 'alternative') { - switch (part.type) { - case 'text/plain': - textBody.push(part); - break; - case 'text/html': - htmlBody.push(part); - break; - default: - attachments.push(part); - break; - } - continue; - } else if (inAlternative) { - if (part.type == 'text/plain') { - htmlBody = null; - } - if (part.type == 'text/html') { - textBody = null; - } - } - if (textBody) { - textBody.push(part); - } - if (htmlBody) { - htmlBody.push(part); - } - if ((!textBody || !htmlBody) && - isInlineMediaType(part.type)) { - attachments.push(part); - } - } else { - attachments.push(part); - } - } - - if (multipartType == 'alternative' && textBody && htmlBody) { - // Found HTML part only - if (textLength == textBody.length && - htmlLength != htmlBody.length) { - for (let i = htmlLength; i < htmlBody.length; i += 1) { - textBody.push(htmlBody[i]); - } - } - // Found plaintext part only - if (htmlLength == htmlBody.length && - textLength != textBody.length) { - for (let i = textLength; i < textBody.length; i += 1) { - htmlBody.push(textBody[i]); - } - } - } -} - - diff --git a/tests/legacy/000.txt b/tests/legacy/000.txt new file mode 100644 index 0000000..4f1f2d2 --- /dev/null +++ b/tests/legacy/000.txt @@ -0,0 +1,1567 @@ +From: "Doug Sauder" +To: "Joe Blow" +Subject: Test message from Microsoft Outlook 00 +Date: Wed, 17 May 2000 19:35:05 -0400 +Message-ID: +MIME-Version: 1.0 +Content-Type: image/png; + name="redball.png" +Content-Transfer-Encoding: base64 +Content-Disposition: attachment; + filename="redball.png" +X-Priority: 3 (Normal) +X-MSMail-Priority: Normal +X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) +Importance: Normal +X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAABAAALAAAVAAAa +AAAXAAARAAAKAAADAAAcAAAyAABEAABNAABIAAA9AAAjAAAWAAAmAABhAAB7AACGAACHAAB9AAB0 +AABgAAA5AAAUAAAGAAAnAABLAABvAACQAAClAAC7AAC/AACrAAChAACMAABzAABbAAAuAAAIAABM +AAB3AACZAAC0GRnKODjVPT3bKSndBQW4AACoAAB5AAAxAAAYAAAEAABFAACaAAC7JCTRYWHfhITm +f3/mVlbqHx/SAAC5AACjAABdAABCAAAoAAAJAABnAAC6Dw/QVFTek5PlrKzpmZntZWXvJSXXAADB +AACxAACcAABtAABTAAA2AAAbAAAFAABKAACBAADLICDdZ2fonJzrpqbtiorvUVHvFBTRAADDAAC2 +AAB4AABeAABAAAAiAABXAACSAADCAADaGxvoVVXseHjveHjvV1fvJibhAADOAAC3AACnAACVAABH +AAArAAAPAACdAADFAADhBQXrKCjvPDzvNTXvGxvjAADQAADJAAC1AACXAACEAABsAABPAAASAAAC +AABiAADpAADvAgLnAADYAADLAAC6AACwAABwAAATAAAkAABYAADIAADTAADNAACzAACDAABuAAAe +AAB+AADAAACkAACNAAB/AABpAABQAAAwAACRAACpAAC8AACqAACbAABlAABJAAAqAAAOAAA0AACs +AACvAACtAACmAACJAAB6AABrAABaAAA+AAApAABqAACCAACfAACeAACWAACPAAB8AAAZAAAHAABV +AACOAACKAAA4AAAQAAA/AAByAACAAABcAAA3AAAsAABmAABDAABWAAAgAAAzAAA8AAA6AAAfAAAM +AAAdAAANAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAD8LtlFAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAu +MT1evmgAAAIISURBVHicY2CAg/8QwIABmJhZWFnZ2Dk4MaU5uLh5eHn5+LkFBDlQJf8zC/EIi4iK +iUtI8koJScsgyf5nlpWTV1BUUlZRVVPX4NFk1UJIyghp6+jq6RsYGhmbKJgK85mZW8Dk/rNaSlhZ +29ja2Ts4Ojkr6Li4urFDNf53N/Ow8vTy9vH18w8IDAoWDQkNC4+ASP5ni4wKio6JjYtPSExKTnFW +SE1LF4A69n9GZlZ2Tm5efkFhUXFySWlZlEd5RSVY7j+TkGRVdU1tXX1DY1Ozcktpa1t7h2YnOAj+ +d7l1tyo79vT29SdNSJ44SbFVdHIo9xSIHNPUaWqTpifNSJrZnK00S0U1a/acUG5piNz/uXLzVJ2q +m6dXz584S2WB1cJFi5cshZr539xVftnyFKUVTi2TVjqvyhJLXb1m7TqoHPt6F/HW0g0bN63crGqV +tWXrtu07BJihcsw71+zanRW8Z89eq337RQ/Ip60xO3gIElX/LbikDm8T36KwbNmRo7O3zpHkPSZw +HBqL//8flz1x2OOkyKJTi7aqbzutfUZI2gIuF8F2lr/D5dw2+fZdwpl8YVOlI+CJ4/9/joOyYed5 +QzMvhGqnm2V0WiClm///D0lfXHtJ6vLlK9w7rx7vQk5SQJbFtSms1y9evXid7QZacgOxmSxktNzd +tSwwU+J/VICaCPFIYU3XAJhIOtjf5sfyAAAAJXRFWHRDb21tZW50AGNsaXAyZ2lmIHYuMC42IGJ5 +IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg== + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 17, + "hour": 19, + "minute": 35, + "second": 5, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "doug@example.com" + } + }, + "message_id": "NDBBIAKOPKHFGPLCODIGKEKECHAA.doug@example.com", + "mime_version": "1.0", + "subject": "Test message from Microsoft Outlook 00", + "to": { + "Address": { + "name": "Joe Blow", + "address": "jblow@example.com" + } + }, + "content_disposition": { + "c_type": "attachment", + "attributes": { + "filename": "redball.png" + } + }, + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "redball.png" + } + }, + "others": { + "Importance": [ + "Normal" + ], + "X-MimeOLE": [ + "Produced By Microsoft MimeOLE V5.00.2314.1300" + ], + "X-MSMail-Priority": [ + "Normal" + ], + "X-Priority": [ + "3 (Normal)" + ], + "X-Mailer": [ + "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" + ] + } + }, + "attachments": [ + { + "File": { + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 0, + 1, + 0, + 0, + 11, + 0, + 0, + 21, + 0, + 0, + 26, + 0, + 0, + 23, + 0, + 0, + 17, + 0, + 0, + 10, + 0, + 0, + 3, + 0, + 0, + 28, + 0, + 0, + 50, + 0, + 0, + 68, + 0, + 0, + 77, + 0, + 0, + 72, + 0, + 0, + 61, + 0, + 0, + 35, + 0, + 0, + 22, + 0, + 0, + 38, + 0, + 0, + 97, + 0, + 0, + 123, + 0, + 0, + 134, + 0, + 0, + 135, + 0, + 0, + 125, + 0, + 0, + 116, + 0, + 0, + 96, + 0, + 0, + 57, + 0, + 0, + 20, + 0, + 0, + 6, + 0, + 0, + 39, + 0, + 0, + 75, + 0, + 0, + 111, + 0, + 0, + 144, + 0, + 0, + 165, + 0, + 0, + 187, + 0, + 0, + 191, + 0, + 0, + 171, + 0, + 0, + 161, + 0, + 0, + 140, + 0, + 0, + 115, + 0, + 0, + 91, + 0, + 0, + 46, + 0, + 0, + 8, + 0, + 0, + 76, + 0, + 0, + 119, + 0, + 0, + 153, + 0, + 0, + 180, + 25, + 25, + 202, + 56, + 56, + 213, + 61, + 61, + 219, + 41, + 41, + 221, + 5, + 5, + 184, + 0, + 0, + 168, + 0, + 0, + 121, + 0, + 0, + 49, + 0, + 0, + 24, + 0, + 0, + 4, + 0, + 0, + 69, + 0, + 0, + 154, + 0, + 0, + 187, + 36, + 36, + 209, + 97, + 97, + 223, + 132, + 132, + 230, + 127, + 127, + 230, + 86, + 86, + 234, + 31, + 31, + 210, + 0, + 0, + 185, + 0, + 0, + 163, + 0, + 0, + 93, + 0, + 0, + 66, + 0, + 0, + 40, + 0, + 0, + 9, + 0, + 0, + 103, + 0, + 0, + 186, + 15, + 15, + 208, + 84, + 84, + 222, + 147, + 147, + 229, + 172, + 172, + 233, + 153, + 153, + 237, + 101, + 101, + 239, + 37, + 37, + 215, + 0, + 0, + 193, + 0, + 0, + 177, + 0, + 0, + 156, + 0, + 0, + 109, + 0, + 0, + 83, + 0, + 0, + 54, + 0, + 0, + 27, + 0, + 0, + 5, + 0, + 0, + 74, + 0, + 0, + 129, + 0, + 0, + 203, + 32, + 32, + 221, + 103, + 103, + 232, + 156, + 156, + 235, + 166, + 166, + 237, + 138, + 138, + 239, + 81, + 81, + 239, + 20, + 20, + 209, + 0, + 0, + 195, + 0, + 0, + 182, + 0, + 0, + 120, + 0, + 0, + 94, + 0, + 0, + 64, + 0, + 0, + 34, + 0, + 0, + 87, + 0, + 0, + 146, + 0, + 0, + 194, + 0, + 0, + 218, + 27, + 27, + 232, + 85, + 85, + 236, + 120, + 120, + 239, + 120, + 120, + 239, + 87, + 87, + 239, + 38, + 38, + 225, + 0, + 0, + 206, + 0, + 0, + 183, + 0, + 0, + 167, + 0, + 0, + 149, + 0, + 0, + 71, + 0, + 0, + 43, + 0, + 0, + 15, + 0, + 0, + 157, + 0, + 0, + 197, + 0, + 0, + 225, + 5, + 5, + 235, + 40, + 40, + 239, + 60, + 60, + 239, + 53, + 53, + 239, + 27, + 27, + 227, + 0, + 0, + 208, + 0, + 0, + 201, + 0, + 0, + 181, + 0, + 0, + 151, + 0, + 0, + 132, + 0, + 0, + 108, + 0, + 0, + 79, + 0, + 0, + 18, + 0, + 0, + 2, + 0, + 0, + 98, + 0, + 0, + 233, + 0, + 0, + 239, + 2, + 2, + 231, + 0, + 0, + 216, + 0, + 0, + 203, + 0, + 0, + 186, + 0, + 0, + 176, + 0, + 0, + 112, + 0, + 0, + 19, + 0, + 0, + 36, + 0, + 0, + 88, + 0, + 0, + 200, + 0, + 0, + 211, + 0, + 0, + 205, + 0, + 0, + 179, + 0, + 0, + 131, + 0, + 0, + 110, + 0, + 0, + 30, + 0, + 0, + 126, + 0, + 0, + 192, + 0, + 0, + 164, + 0, + 0, + 141, + 0, + 0, + 127, + 0, + 0, + 105, + 0, + 0, + 80, + 0, + 0, + 48, + 0, + 0, + 145, + 0, + 0, + 169, + 0, + 0, + 188, + 0, + 0, + 170, + 0, + 0, + 155, + 0, + 0, + 101, + 0, + 0, + 73, + 0, + 0, + 42, + 0, + 0, + 14, + 0, + 0, + 52, + 0, + 0, + 172, + 0, + 0, + 175, + 0, + 0, + 173, + 0, + 0, + 166, + 0, + 0, + 137, + 0, + 0, + 122, + 0, + 0, + 107, + 0, + 0, + 90, + 0, + 0, + 62, + 0, + 0, + 41, + 0, + 0, + 106, + 0, + 0, + 130, + 0, + 0, + 159, + 0, + 0, + 158, + 0, + 0, + 150, + 0, + 0, + 143, + 0, + 0, + 124, + 0, + 0, + 25, + 0, + 0, + 7, + 0, + 0, + 85, + 0, + 0, + 142, + 0, + 0, + 138, + 0, + 0, + 56, + 0, + 0, + 16, + 0, + 0, + 63, + 0, + 0, + 114, + 0, + 0, + 128, + 0, + 0, + 92, + 0, + 0, + 55, + 0, + 0, + 44, + 0, + 0, + 102, + 0, + 0, + 67, + 0, + 0, + 86, + 0, + 0, + 32, + 0, + 0, + 51, + 0, + 0, + 60, + 0, + 0, + 58, + 0, + 0, + 31, + 0, + 0, + 12, + 0, + 0, + 29, + 0, + 0, + 13, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 252, + 46, + 217, + 69, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 2, + 8, + 73, + 68, + 65, + 84, + 120, + 156, + 99, + 96, + 128, + 131, + 255, + 16, + 192, + 128, + 1, + 152, + 152, + 89, + 88, + 89, + 217, + 216, + 57, + 56, + 49, + 165, + 57, + 184, + 184, + 121, + 120, + 121, + 249, + 248, + 185, + 5, + 4, + 57, + 80, + 37, + 255, + 51, + 11, + 241, + 8, + 139, + 136, + 138, + 137, + 75, + 72, + 242, + 74, + 9, + 73, + 203, + 32, + 201, + 254, + 103, + 150, + 149, + 147, + 87, + 80, + 84, + 82, + 86, + 81, + 85, + 83, + 215, + 224, + 209, + 100, + 213, + 66, + 72, + 202, + 8, + 105, + 235, + 232, + 234, + 233, + 27, + 24, + 26, + 25, + 155, + 40, + 152, + 10, + 243, + 153, + 153, + 91, + 192, + 228, + 254, + 179, + 90, + 74, + 88, + 89, + 219, + 216, + 218, + 217, + 59, + 56, + 58, + 57, + 43, + 232, + 184, + 184, + 186, + 177, + 67, + 53, + 254, + 119, + 55, + 243, + 176, + 242, + 244, + 242, + 246, + 241, + 245, + 243, + 15, + 8, + 12, + 10, + 22, + 13, + 9, + 13, + 11, + 143, + 128, + 72, + 254, + 103, + 139, + 140, + 10, + 138, + 142, + 137, + 141, + 139, + 79, + 72, + 76, + 74, + 78, + 113, + 86, + 72, + 77, + 75, + 23, + 128, + 58, + 246, + 127, + 70, + 102, + 86, + 118, + 78, + 110, + 94, + 126, + 65, + 97, + 81, + 113, + 114, + 73, + 105, + 89, + 148, + 71, + 121, + 69, + 37, + 88, + 238, + 63, + 147, + 144, + 100, + 85, + 117, + 77, + 109, + 93, + 125, + 67, + 99, + 83, + 179, + 114, + 75, + 105, + 107, + 91, + 123, + 135, + 102, + 39, + 56, + 8, + 254, + 119, + 185, + 117, + 183, + 42, + 59, + 246, + 244, + 246, + 245, + 39, + 77, + 72, + 158, + 56, + 73, + 177, + 85, + 116, + 114, + 40, + 247, + 20, + 136, + 28, + 211, + 212, + 105, + 106, + 147, + 166, + 39, + 205, + 72, + 154, + 217, + 156, + 173, + 52, + 75, + 69, + 53, + 107, + 246, + 156, + 80, + 110, + 105, + 136, + 220, + 255, + 185, + 114, + 243, + 84, + 157, + 170, + 155, + 167, + 87, + 207, + 159, + 56, + 75, + 101, + 129, + 213, + 194, + 69, + 139, + 151, + 44, + 133, + 154, + 249, + 223, + 220, + 85, + 126, + 217, + 242, + 20, + 165, + 21, + 78, + 45, + 147, + 86, + 58, + 175, + 202, + 18, + 75, + 93, + 189, + 102, + 237, + 58, + 168, + 28, + 251, + 122, + 23, + 241, + 214, + 210, + 13, + 27, + 55, + 173, + 220, + 172, + 106, + 149, + 181, + 101, + 235, + 182, + 237, + 59, + 4, + 152, + 161, + 114, + 204, + 59, + 215, + 236, + 218, + 157, + 21, + 188, + 103, + 207, + 94, + 171, + 125, + 251, + 69, + 15, + 200, + 167, + 173, + 49, + 59, + 120, + 8, + 18, + 85, + 255, + 45, + 184, + 164, + 14, + 111, + 19, + 223, + 162, + 176, + 108, + 217, + 145, + 163, + 179, + 183, + 206, + 145, + 228, + 61, + 38, + 112, + 28, + 26, + 139, + 255, + 255, + 31, + 151, + 61, + 113, + 216, + 227, + 164, + 200, + 162, + 83, + 139, + 182, + 170, + 111, + 59, + 173, + 125, + 70, + 72, + 218, + 2, + 46, + 23, + 193, + 118, + 150, + 191, + 195, + 229, + 220, + 54, + 249, + 246, + 93, + 194, + 153, + 124, + 97, + 83, + 165, + 35, + 224, + 137, + 227, + 255, + 127, + 142, + 131, + 178, + 97, + 231, + 121, + 67, + 51, + 47, + 132, + 106, + 167, + 155, + 101, + 116, + 90, + 32, + 165, + 155, + 255, + 255, + 15, + 73, + 95, + 92, + 123, + 73, + 234, + 242, + 229, + 43, + 220, + 59, + 175, + 30, + 239, + 66, + 78, + 82, + 64, + 150, + 197, + 181, + 41, + 172, + 215, + 47, + 94, + 189, + 120, + 157, + 237, + 6, + 90, + 114, + 3, + 177, + 153, + 44, + 100, + 180, + 220, + 221, + 181, + 44, + 48, + 83, + 226, + 127, + 84, + 128, + 154, + 8, + 241, + 72, + 97, + 77, + 215, + 0, + 152, + 72, + 58, + 216, + 223, + 230, + 199, + 242, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + } + ] +} \ No newline at end of file diff --git a/tests/legacy/001.txt b/tests/legacy/001.txt new file mode 100644 index 0000000..852fa94 --- /dev/null +++ b/tests/legacy/001.txt @@ -0,0 +1,102 @@ +From: "Doug Sauder" +To: "Joe Blow" , + =?utf-7?B?SitBUHctcmdlbiBTY2htK0FQdy1yZ2Vu?= +Subject: =?utf-7?Q?Die_Hasen_und_die_Fr+APY-sche_=28Microsoft_Outlook_00=29?= +Date: Wed, 17 May 2000 19:18:39 -0400 +Message-ID: +MIME-Version: 1.0 +Content-Type: text/plain; + charset="utf-7" +Content-Transfer-Encoding: quoted-printable +X-Priority: 3 (Normal) +X-MSMail-Priority: Normal +X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) +Importance: Normal +X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 + +Die Hasen und die Fr+APY-sche + +Die Hasen klagten einst +APw-ber ihre mi+AN8-liche Lage+ADs- +ACI-wir = +leben+ACI-, sprach ein Redner, +ACI-in steter Furcht vor Menschen und = +Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere+ACE- = +Unsere stete Angst ist +AOQ-rger als der Tod selbst. Auf, la+AN8-t uns = +ein f+APw-r allemal sterben.+ACI-=20 + +In einem nahen Teich wollten sie sich nun ers+AOQ-ufen+ADs- sie eilten = +ihm zu+ADs- allein das au+AN8-erordentliche Get+APY-se und ihre = +wunderbare Gestalt erschreckte eine Menge Fr+APY-sche, die am Ufer = +sa+AN8-en, so sehr, da+AN8- sie aufs schnellste untertauchten.=20 + ++ACI-Halt+ACI-, rief nun eben dieser Sprecher, +ACI-wir wollen das = +Ers+AOQ-ufen noch ein wenig aufschieben, denn auch uns f+APw-rchten, wie = +ihr seht, einige Tiere, welche also wohl noch ungl+APw-cklicher sein = +m+APw-ssen als wir.+ACI-=20 + + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 17, + "hour": 19, + "minute": 18, + "second": 39, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "doug@example.com" + } + }, + "message_id": "NDBBIAKOPKHFGPLCODIGMEKCCHAA.doug@example.com", + "mime_version": "1.0", + "subject": "Die Hasen und die Fr+APY-sche (Microsoft Outlook 00)", + "to": { + "AddressList": [ + { + "name": "Joe Blow", + "address": "jblow@example.com" + }, + { + "name": "J+APw-rgen Schm+APw-rgen", + "address": "schmuergen@example.com" + } + ] + }, + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "utf-7" + } + }, + "others": { + "X-Priority": [ + "3 (Normal)" + ], + "X-MSMail-Priority": [ + "Normal" + ], + "Importance": [ + "Normal" + ], + "X-Mailer": [ + "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" + ], + "X-MimeOLE": [ + "Produced By Microsoft MimeOLE V5.00.2314.1300" + ] + } + }, + "text_body": [ + { + "contents": "Die Hasen und die Fr+APY-sche\n\nDie Hasen klagten einst +APw-ber ihre mi+AN8-liche Lage+ADs- +ACI-wir leben+ACI-, sprach ein Redner, +ACI-in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere+ACE- Unsere stete Angst ist +AOQ-rger als der Tod selbst. Auf, la+AN8-t uns ein f+APw-r allemal sterben.+ACI- \n\nIn einem nahen Teich wollten sie sich nun ers+AOQ-ufen+ADs- sie eilten ihm zu+ADs- allein das au+AN8-erordentliche Get+APY-se und ihre wunderbare Gestalt erschreckte eine Menge Fr+APY-sche, die am Ufer sa+AN8-en, so sehr, da+AN8- sie aufs schnellste untertauchten. \n\n+ACI-Halt+ACI-, rief nun eben dieser Sprecher, +ACI-wir wollen das Ers+AOQ-ufen noch ein wenig aufschieben, denn auch uns f+APw-rchten, wie ihr seht, einige Tiere, welche also wohl noch ungl+APw-cklicher sein m+APw-ssen als wir.+ACI- \n\n" + } + ] +} \ No newline at end of file diff --git a/tests/legacy/002.txt b/tests/legacy/002.txt new file mode 100644 index 0000000..5e9f9b8 --- /dev/null +++ b/tests/legacy/002.txt @@ -0,0 +1,92 @@ +Message-Id: <4.2.0.58.20000519003052.00a89c40@pop.example.com> +X-Sender: dwsauder@pop.example.com (Unverified) +X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 +X-Priority: 2 (High) +Date: Fri, 19 May 2000 00:31:00 -0400 +To: Heinz =?iso-8859-1?Q?M=FCller?= +From: Doug Sauder +Subject: =?iso-8859-1?Q?Die_Hasen_und_die_Fr=F6sche?= +Mime-Version: 1.0 +Content-Type: text/html; charset="iso-8859-1" +Content-Transfer-Encoding: quoted-printable + + +Die Hasen und = +die +Fr=F6sche
+
+
Die Hasen klagten einst =FCber +ihre mi=DFliche Lage; "wir leben", sprach ein Redner, "in +steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, +ja fast aller Raubtiere! Unsere stete Angst ist =E4rger als der Tod selbst. +Auf, la=DFt uns ein f=FCr allemal sterben."
+
+In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu; +allein das au=DFerordentliche Get=F6se und ihre wunderbare Gestalt +erschreckte eine Menge Fr=F6sche, die am Ufer sa=DFen, so sehr, da=DF sie au= +fs +schnellste untertauchten.
+
+"Halt", rief nun eben dieser Sprecher, "wir wollen das +Ers=E4ufen noch ein wenig aufschieben, denn auch uns f=FCrchten, wie ihr +seht, einige Tiere, welche also wohl noch ungl=FCcklicher sein m=FCssen als +wir."
+
+
+ + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 19, + "hour": 0, + "minute": 31, + "second": 0, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "dwsauder@example.com" + } + }, + "message_id": "4.2.0.58.20000519003052.00a89c40@pop.example.com", + "mime_version": "1.0", + "subject": "Die Hasen und die Frösche", + "to": { + "Address": { + "name": "Heinz Müller", + "address": "mueller@example.com" + } + }, + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "html", + "attributes": { + "charset": "iso-8859-1" + } + }, + "others": { + "X-Mailer": [ + "QUALCOMM Windows Eudora Pro Version 4.2.0.58" + ], + "X-Priority": [ + "2 (High)" + ], + "X-Sender": [ + "dwsauder@pop.example.com (Unverified)" + ] + } + }, + "html_body": [ + { + "contents": "\nDie Hasen und die\nFrösche
\n
\n
Die Hasen klagten einst über\nihre mißliche Lage; "wir leben", sprach ein Redner, "in\nsteter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler,\nja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst.\nAuf, laßt uns ein für allemal sterben."
\n
\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu;\nallein das außerordentliche Getöse und ihre wunderbare Gestalt\nerschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs\nschnellste untertauchten.
\n
\n"Halt", rief nun eben dieser Sprecher, "wir wollen das\nErsäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr\nseht, einige Tiere, welche also wohl noch unglücklicher sein müssen als\nwir."
\n
\n
\n\n" + } + ] +} \ No newline at end of file diff --git a/tests/legacy/003.txt b/tests/legacy/003.txt new file mode 100644 index 0000000..2ae81e3 --- /dev/null +++ b/tests/legacy/003.txt @@ -0,0 +1,143 @@ +Message-Id: <4.2.0.58.20000519002557.00a88870@pop.example.com> +X-Sender: dwsauder@pop.example.com (Unverified) +X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 +X-Priority: 2 (High) +Date: Fri, 19 May 2000 00:29:55 -0400 +To: Heinz =?iso-8859-1?Q?M=FCller?= +From: Doug Sauder +Subject: =?iso-8859-1?Q?Die_Hasen_und_die_Fr=F6sche?= +Mime-Version: 1.0 +Content-Type: multipart/alternative; + boundary="=====================_714967308==_.ALT" + +--=====================_714967308==_.ALT +Content-Type: text/plain; charset="iso-8859-1" +Content-Transfer-Encoding: quoted-printable + +Die Hasen und die Fr=F6sche + +Die Hasen klagten einst =FCber ihre mi=DFliche Lage; "wir leben", sprach ein= + Redner, "in steter Furcht vor Menschen und Tieren, eine Beute der Hunde,= + der Adler, ja fast aller Raubtiere! Unsere stete Angst ist =E4rger als der= + Tod selbst. Auf, la=DFt uns ein f=FCr allemal sterben."=20 + +In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu;= + allein das au=DFerordentliche Get=F6se und ihre wunderbare Gestalt= + erschreckte eine Menge Fr=F6sche, die am Ufer sa=DFen, so sehr, da=DF sie= + aufs schnellste untertauchten.=20 + +"Halt", rief nun eben dieser Sprecher, "wir wollen das Ers=E4ufen noch ein= + wenig aufschieben, denn auch uns f=FCrchten, wie ihr seht, einige Tiere,= + welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."=20 + + +--=====================_714967308==_.ALT +Content-Type: text/html; charset="iso-8859-1" +Content-Transfer-Encoding: quoted-printable + + +Die Hasen und = +die +Fr=F6sche
+
+
Die Hasen klagten einst =FCber +ihre mi=DFliche Lage; "wir leben", sprach ein Redner, "in +steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, +ja fast aller Raubtiere! Unsere stete Angst ist =E4rger als der Tod selbst. +Auf, la=DFt uns ein f=FCr allemal sterben."
+
+In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu; +allein das au=DFerordentliche Get=F6se und ihre wunderbare Gestalt +erschreckte eine Menge Fr=F6sche, die am Ufer sa=DFen, so sehr, da=DF sie au= +fs +schnellste untertauchten.
+
+"Halt", rief nun eben dieser Sprecher, "wir wollen das +Ers=E4ufen noch ein wenig aufschieben, denn auch uns f=FCrchten, wie ihr +seht, einige Tiere, welche also wohl noch ungl=FCcklicher sein m=FCssen als +wir."
+
+
+ +--=====================_714967308==_.ALT-- + + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 19, + "hour": 0, + "minute": 29, + "second": 55, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "dwsauder@example.com" + } + }, + "message_id": "4.2.0.58.20000519002557.00a88870@pop.example.com", + "mime_version": "1.0", + "subject": "Die Hasen und die Frösche", + "to": { + "Address": { + "name": "Heinz Müller", + "address": "mueller@example.com" + } + }, + "content_type": { + "c_type": "multipart", + "c_subtype": "alternative", + "attributes": { + "boundary": "=====================_714967308==_.ALT" + } + }, + "others": { + "X-Sender": [ + "dwsauder@pop.example.com (Unverified)" + ], + "X-Mailer": [ + "QUALCOMM Windows Eudora Pro Version 4.2.0.58" + ], + "X-Priority": [ + "2 (High)" + ] + } + }, + "html_body": [ + { + "header": { + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "html", + "attributes": { + "charset": "iso-8859-1" + } + } + }, + "contents": "\nDie Hasen und die\nFrösche
\n
\n
Die Hasen klagten einst über\nihre mißliche Lage; "wir leben", sprach ein Redner, "in\nsteter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler,\nja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst.\nAuf, laßt uns ein für allemal sterben."
\n
\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu;\nallein das außerordentliche Getöse und ihre wunderbare Gestalt\nerschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs\nschnellste untertauchten.
\n
\n"Halt", rief nun eben dieser Sprecher, "wir wollen das\nErsäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr\nseht, einige Tiere, welche also wohl noch unglücklicher sein müssen als\nwir."
\n
\n
\n" + } + ], + "text_body": [ + { + "header": { + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "iso-8859-1" + } + } + }, + "contents": "Die Hasen und die Frösche\n\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst. Auf, laßt uns ein für allemal sterben.\" \n\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; allein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste untertauchten. \n\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, welche also wohl noch unglücklicher sein müssen als wir.\" \n\n" + } + ] +} \ No newline at end of file diff --git a/tests/legacy/004.txt b/tests/legacy/004.txt new file mode 100644 index 0000000..fd07716 --- /dev/null +++ b/tests/legacy/004.txt @@ -0,0 +1,73 @@ +Message-Id: <4.2.0.58.20000519011207.00a8cd70@pop.example.com> +X-Sender: dwsauder@pop.example.com (Unverified) +X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 +X-Priority: 5 (Lowest) +Date: Fri, 19 May 2000 01:13:19 -0400 +To: Joe Blow +From: Doug Sauder +Subject: The Hare and the Tortoise +Mime-Version: 1.0 +Content-Type: text/plain; charset="us-ascii" + + +The Hare and the Tortoise + +A HARE one day ridiculed the short feet and slow pace of the Tortoise, who replied, laughing: "Though you be swift as the wind, I will beat you in a race." The Hare, believing her assertion to be simply impossible, assented to the proposal; and they agreed that the Fox should choose the course and fix the goal. On the day appointed for the race the two started together. The Tortoise never for a moment stopped, but went on with a slow but steady pace straight to the end of the course. The Hare, lying down by the wayside, fell fast asleep. At last waking up, and moving as fast as he could, he saw the Tortoise had reached the goal, and was comfortably dozing after her fatigue. + +Slow but steady wins the race. + + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 19, + "hour": 1, + "minute": 13, + "second": 19, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "dwsauder@example.com" + } + }, + "message_id": "4.2.0.58.20000519011207.00a8cd70@pop.example.com", + "mime_version": "1.0", + "subject": "The Hare and the Tortoise", + "to": { + "Address": { + "name": "Joe Blow", + "address": "blow@example.com" + } + }, + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "us-ascii" + } + }, + "others": { + "X-Mailer": [ + "QUALCOMM Windows Eudora Pro Version 4.2.0.58" + ], + "X-Sender": [ + "dwsauder@pop.example.com (Unverified)" + ], + "X-Priority": [ + "5 (Lowest)" + ] + } + }, + "text_body": [ + { + "contents": "\r\nThe Hare and the Tortoise \r\n \r\nA HARE one day ridiculed the short feet and slow pace of the Tortoise, who replied, laughing: \"Though you be swift as the wind, I will beat you in a race.\" The Hare, believing her assertion to be simply impossible, assented to the proposal; and they agreed that the Fox should choose the course and fix the goal. On the day appointed for the race the two started together. The Tortoise never for a moment stopped, but went on with a slow but steady pace straight to the end of the course. The Hare, lying down by the wayside, fell fast asleep. At last waking up, and moving as fast as he could, he saw the Tortoise had reached the goal, and was comfortably dozing after her fatigue. \r\n \r\nSlow but steady wins the race. \r\n\r\n" + } + ] +} \ No newline at end of file diff --git a/tests/legacy/005.txt b/tests/legacy/005.txt new file mode 100644 index 0000000..d4df32b --- /dev/null +++ b/tests/legacy/005.txt @@ -0,0 +1,94 @@ +From: "Doug Sauder" +To: =?utf-7?Q?Heinz_M+APw-ller?= +Subject: =?utf-7?Q?Die_Hasen_und_die_Fr+APY-sche_=28Microsoft_Outlook_00=29?= +Date: Wed, 17 May 2000 19:20:24 -0400 +Message-ID: +MIME-Version: 1.0 +Content-Type: text/plain; + charset="utf-7" +Content-Transfer-Encoding: quoted-printable +X-Priority: 3 (Normal) +X-MSMail-Priority: Normal +X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) +Importance: Normal +X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 + +Die Hasen und die Fr+APY-sche + +Die Hasen klagten einst +APw-ber ihre mi+AN8-liche Lage+ADs- +ACI-wir = +leben+ACI-, sprach ein Redner, +ACI-in steter Furcht vor Menschen und = +Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere+ACE- = +Unsere stete Angst ist +AOQ-rger als der Tod selbst. Auf, la+AN8-t uns = +ein f+APw-r allemal sterben.+ACI-=20 + +In einem nahen Teich wollten sie sich nun ers+AOQ-ufen+ADs- sie eilten = +ihm zu+ADs- allein das au+AN8-erordentliche Get+APY-se und ihre = +wunderbare Gestalt erschreckte eine Menge Fr+APY-sche, die am Ufer = +sa+AN8-en, so sehr, da+AN8- sie aufs schnellste untertauchten.=20 + ++ACI-Halt+ACI-, rief nun eben dieser Sprecher, +ACI-wir wollen das = +Ers+AOQ-ufen noch ein wenig aufschieben, denn auch uns f+APw-rchten, wie = +ihr seht, einige Tiere, welche also wohl noch ungl+APw-cklicher sein = +m+APw-ssen als wir.+ACI-=20 + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 17, + "hour": 19, + "minute": 20, + "second": 24, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "doug@example.com" + } + }, + "message_id": "NDBBIAKOPKHFGPLCODIGCEKDCHAA.doug@example.com", + "mime_version": "1.0", + "subject": "Die Hasen und die Fr+APY-sche (Microsoft Outlook 00)", + "to": { + "Address": { + "name": "Heinz M+APw-ller", + "address": "mueller@example.com" + } + }, + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "utf-7" + } + }, + "others": { + "Importance": [ + "Normal" + ], + "X-MSMail-Priority": [ + "Normal" + ], + "X-MimeOLE": [ + "Produced By Microsoft MimeOLE V5.00.2314.1300" + ], + "X-Mailer": [ + "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" + ], + "X-Priority": [ + "3 (Normal)" + ] + } + }, + "text_body": [ + { + "contents": "Die Hasen und die Fr+APY-sche\n\nDie Hasen klagten einst +APw-ber ihre mi+AN8-liche Lage+ADs- +ACI-wir leben+ACI-, sprach ein Redner, +ACI-in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere+ACE- Unsere stete Angst ist +AOQ-rger als der Tod selbst. Auf, la+AN8-t uns ein f+APw-r allemal sterben.+ACI- \n\nIn einem nahen Teich wollten sie sich nun ers+AOQ-ufen+ADs- sie eilten ihm zu+ADs- allein das au+AN8-erordentliche Get+APY-se und ihre wunderbare Gestalt erschreckte eine Menge Fr+APY-sche, die am Ufer sa+AN8-en, so sehr, da+AN8- sie aufs schnellste untertauchten. \n\n+ACI-Halt+ACI-, rief nun eben dieser Sprecher, +ACI-wir wollen das Ers+AOQ-ufen noch ein wenig aufschieben, denn auch uns f+APw-rchten, wie ihr seht, einige Tiere, welche also wohl noch ungl+APw-cklicher sein m+APw-ssen als wir.+ACI- \n" + } + ] +} \ No newline at end of file diff --git a/tests/legacy/006.txt b/tests/legacy/006.txt new file mode 100644 index 0000000..cebdd6c --- /dev/null +++ b/tests/legacy/006.txt @@ -0,0 +1,2963 @@ +From: "Doug Sauder" +To: "Joe Blow" +Subject: Test message from Microsoft Outlook 00 +Date: Wed, 17 May 2000 19:36:13 -0400 +Message-ID: +MIME-Version: 1.0 +Content-Type: multipart/mixed; + boundary="----=_NextPart_000_0004_01BFC037.28F2FA90" +X-Priority: 3 (Normal) +X-MSMail-Priority: Normal +X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) +Importance: Normal +X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 + +This is a multi-part message in MIME format. + +------=_NextPart_000_0004_01BFC037.28F2FA90 +Content-Type: image/png; + name="blueball.png" +Content-Transfer-Encoding: base64 +Content-Disposition: attachment; + filename="blueball.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAgAABAAABgAAAAA +CCkAEEIAEEoACDEAEFIIIXMIKXsIKYQIIWsAGFoACDkIIWMQOZwYQqUYQq0YQrUQOaUQMZQAGFIQ +MYwpUrU5Y8Y5Y84pWs4YSs4YQs4YQr1Ca8Z7nNacvd6Mtd5jlOcxa94hUt4YStYYQsYQMaUAACHO +5+/n7++cxu9ShO8pWucQOa1Ke86tzt6lzu9ajO8QMZxahNat1ufO7++Mve9Ke+8YOaUYSsaMvee1 +5++Uve8AAClajOdzpe9rnO8IKYwxY+8pWu8IIXsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAADBMg1VAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAu +MT1evmgAAAGISURBVHicddJtV5swGAbgEk6AJhBSk4bMCUynBSLaqovbrG/bfPn/vyh70lbssceb +L5xznTsh5BmNhgQoRChwo50EOIohUYLDj4zHhKYQkrEoQdvock4ne0IKMVUpKZLQDeqSTIsv+18P +yqqWUw2IBsRM7307PPp+fDJrWtnpLDJvewYxnewfnvanZ+fzpmwXijC8KbqEa3Fx2ff91Y95U9XC +UpaDeQwiMpHXP/v+1++bWVPWQoGFawtjury9vru/f/C1Vi7ezT0WWpQHf/7+u/G71aLThK/MjRxm +T6KdzZ9fGk9yatMsTgZLl3XVgFRAC6spj/13enssqJVtWVa3NdBSacL8+VZmYqKmdd1CSYoOiMOS +GwtzlqqlFFIuOqv0a1ZEZrUkWICLLFW266y1KvWE1zV/iDAH1EopnVLCiygZCIomH3NCKX0lnI+B +1iuuzCGTxwXjnDO4d7NpbX42YJJHkBwmAm2TxwAZg40J3+Xtbv1rgOAZwG0NxW62p+lT+Yi747sD +/wEUVMzYmWkOvwAAACV0RVh0Q29tbWVudABjbGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZz +O7wAAAAASUVORK5CYII= + +------=_NextPart_000_0004_01BFC037.28F2FA90 +Content-Type: image/png; + name="redball.png" +Content-Transfer-Encoding: base64 +Content-Disposition: attachment; + filename="redball.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAABAAALAAAVAAAa +AAAXAAARAAAKAAADAAAcAAAyAABEAABNAABIAAA9AAAjAAAWAAAmAABhAAB7AACGAACHAAB9AAB0 +AABgAAA5AAAUAAAGAAAnAABLAABvAACQAAClAAC7AAC/AACrAAChAACMAABzAABbAAAuAAAIAABM +AAB3AACZAAC0GRnKODjVPT3bKSndBQW4AACoAAB5AAAxAAAYAAAEAABFAACaAAC7JCTRYWHfhITm +f3/mVlbqHx/SAAC5AACjAABdAABCAAAoAAAJAABnAAC6Dw/QVFTek5PlrKzpmZntZWXvJSXXAADB +AACxAACcAABtAABTAAA2AAAbAAAFAABKAACBAADLICDdZ2fonJzrpqbtiorvUVHvFBTRAADDAAC2 +AAB4AABeAABAAAAiAABXAACSAADCAADaGxvoVVXseHjveHjvV1fvJibhAADOAAC3AACnAACVAABH +AAArAAAPAACdAADFAADhBQXrKCjvPDzvNTXvGxvjAADQAADJAAC1AACXAACEAABsAABPAAASAAAC +AABiAADpAADvAgLnAADYAADLAAC6AACwAABwAAATAAAkAABYAADIAADTAADNAACzAACDAABuAAAe +AAB+AADAAACkAACNAAB/AABpAABQAAAwAACRAACpAAC8AACqAACbAABlAABJAAAqAAAOAAA0AACs +AACvAACtAACmAACJAAB6AABrAABaAAA+AAApAABqAACCAACfAACeAACWAACPAAB8AAAZAAAHAABV +AACOAACKAAA4AAAQAAA/AAByAACAAABcAAA3AAAsAABmAABDAABWAAAgAAAzAAA8AAA6AAAfAAAM +AAAdAAANAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAD8LtlFAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAu +MT1evmgAAAIISURBVHicY2CAg/8QwIABmJhZWFnZ2Dk4MaU5uLh5eHn5+LkFBDlQJf8zC/EIi4iK +iUtI8koJScsgyf5nlpWTV1BUUlZRVVPX4NFk1UJIyghp6+jq6RsYGhmbKJgK85mZW8Dk/rNaSlhZ +29ja2Ts4Ojkr6Li4urFDNf53N/Ow8vTy9vH18w8IDAoWDQkNC4+ASP5ni4wKio6JjYtPSExKTnFW +SE1LF4A69n9GZlZ2Tm5efkFhUXFySWlZlEd5RSVY7j+TkGRVdU1tXX1DY1Ozcktpa1t7h2YnOAj+ +d7l1tyo79vT29SdNSJ44SbFVdHIo9xSIHNPUaWqTpifNSJrZnK00S0U1a/acUG5piNz/uXLzVJ2q +m6dXz584S2WB1cJFi5cshZr539xVftnyFKUVTi2TVjqvyhJLXb1m7TqoHPt6F/HW0g0bN63crGqV +tWXrtu07BJihcsw71+zanRW8Z89eq337RQ/Ip60xO3gIElX/LbikDm8T36KwbNmRo7O3zpHkPSZw +HBqL//8flz1x2OOkyKJTi7aqbzutfUZI2gIuF8F2lr/D5dw2+fZdwpl8YVOlI+CJ4/9/joOyYed5 +QzMvhGqnm2V0WiClm///D0lfXHtJ6vLlK9w7rx7vQk5SQJbFtSms1y9evXid7QZacgOxmSxktNzd +tSwwU+J/VICaCPFIYU3XAJhIOtjf5sfyAAAAJXRFWHRDb21tZW50AGNsaXAyZ2lmIHYuMC42IGJ5 +IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg== + +------=_NextPart_000_0004_01BFC037.28F2FA90-- + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 17, + "hour": 19, + "minute": 36, + "second": 13, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "doug@example.com" + } + }, + "message_id": "NDBBIAKOPKHFGPLCODIGOEKECHAA.doug@example.com", + "mime_version": "1.0", + "subject": "Test message from Microsoft Outlook 00", + "to": { + "Address": { + "name": "Joe Blow", + "address": "jblow@example.com" + } + }, + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "----=_NextPart_000_0004_01BFC037.28F2FA90" + } + }, + "others": { + "X-Mailer": [ + "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" + ], + "X-Priority": [ + "3 (Normal)" + ], + "Importance": [ + "Normal" + ], + "X-MSMail-Priority": [ + "Normal" + ], + "X-MimeOLE": [ + "Produced By Microsoft MimeOLE V5.00.2314.1300" + ] + } + }, + "attachments": [ + { + "File": { + "header": { + "content_disposition": { + "c_type": "attachment", + "attributes": { + "filename": "blueball.png" + } + }, + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "blueball.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 8, + 0, + 0, + 16, + 0, + 0, + 24, + 0, + 0, + 0, + 0, + 8, + 41, + 0, + 16, + 66, + 0, + 16, + 74, + 0, + 8, + 49, + 0, + 16, + 82, + 8, + 33, + 115, + 8, + 41, + 123, + 8, + 41, + 132, + 8, + 33, + 107, + 0, + 24, + 90, + 0, + 8, + 57, + 8, + 33, + 99, + 16, + 57, + 156, + 24, + 66, + 165, + 24, + 66, + 173, + 24, + 66, + 181, + 16, + 57, + 165, + 16, + 49, + 148, + 0, + 24, + 82, + 16, + 49, + 140, + 41, + 82, + 181, + 57, + 99, + 198, + 57, + 99, + 206, + 41, + 90, + 206, + 24, + 74, + 206, + 24, + 66, + 206, + 24, + 66, + 189, + 66, + 107, + 198, + 123, + 156, + 214, + 156, + 189, + 222, + 140, + 181, + 222, + 99, + 148, + 231, + 49, + 107, + 222, + 33, + 82, + 222, + 24, + 74, + 214, + 24, + 66, + 198, + 16, + 49, + 165, + 0, + 0, + 33, + 206, + 231, + 239, + 231, + 239, + 239, + 156, + 198, + 239, + 82, + 132, + 239, + 41, + 90, + 231, + 16, + 57, + 173, + 74, + 123, + 206, + 173, + 206, + 222, + 165, + 206, + 239, + 90, + 140, + 239, + 16, + 49, + 156, + 90, + 132, + 214, + 173, + 214, + 231, + 206, + 239, + 239, + 140, + 189, + 239, + 74, + 123, + 239, + 24, + 57, + 165, + 24, + 74, + 198, + 140, + 189, + 231, + 181, + 231, + 239, + 148, + 189, + 239, + 0, + 0, + 41, + 90, + 140, + 231, + 115, + 165, + 239, + 107, + 156, + 239, + 8, + 41, + 140, + 49, + 99, + 239, + 41, + 90, + 239, + 8, + 33, + 123, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 193, + 50, + 13, + 85, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 1, + 136, + 73, + 68, + 65, + 84, + 120, + 156, + 117, + 210, + 109, + 87, + 155, + 48, + 24, + 6, + 224, + 18, + 78, + 128, + 38, + 16, + 82, + 147, + 134, + 204, + 9, + 76, + 167, + 5, + 34, + 218, + 170, + 139, + 219, + 172, + 111, + 219, + 124, + 249, + 255, + 191, + 40, + 123, + 210, + 86, + 236, + 177, + 199, + 155, + 47, + 156, + 115, + 157, + 59, + 33, + 228, + 25, + 141, + 134, + 4, + 40, + 68, + 40, + 112, + 163, + 157, + 4, + 56, + 138, + 33, + 81, + 130, + 195, + 143, + 140, + 199, + 132, + 166, + 16, + 146, + 177, + 40, + 65, + 219, + 232, + 114, + 78, + 39, + 123, + 66, + 10, + 49, + 85, + 41, + 41, + 146, + 208, + 13, + 234, + 146, + 76, + 139, + 47, + 251, + 95, + 15, + 202, + 170, + 150, + 83, + 13, + 136, + 6, + 196, + 76, + 239, + 125, + 59, + 60, + 250, + 126, + 124, + 50, + 107, + 90, + 217, + 233, + 44, + 50, + 111, + 123, + 6, + 49, + 157, + 236, + 31, + 158, + 246, + 167, + 103, + 231, + 243, + 166, + 108, + 23, + 138, + 48, + 188, + 41, + 186, + 132, + 107, + 113, + 113, + 217, + 247, + 253, + 213, + 143, + 121, + 83, + 213, + 194, + 82, + 150, + 131, + 121, + 12, + 34, + 50, + 145, + 215, + 63, + 251, + 254, + 215, + 239, + 155, + 89, + 83, + 214, + 66, + 129, + 133, + 107, + 11, + 99, + 186, + 188, + 189, + 190, + 187, + 191, + 127, + 240, + 181, + 86, + 46, + 222, + 205, + 61, + 22, + 90, + 148, + 7, + 127, + 254, + 254, + 187, + 241, + 187, + 213, + 162, + 211, + 132, + 175, + 204, + 141, + 28, + 102, + 79, + 162, + 157, + 205, + 159, + 95, + 26, + 79, + 114, + 106, + 211, + 44, + 78, + 6, + 75, + 151, + 117, + 213, + 128, + 84, + 64, + 11, + 171, + 41, + 143, + 253, + 119, + 122, + 123, + 44, + 168, + 149, + 109, + 89, + 86, + 183, + 53, + 208, + 82, + 105, + 194, + 252, + 249, + 86, + 102, + 98, + 162, + 166, + 117, + 221, + 66, + 73, + 138, + 14, + 136, + 195, + 146, + 27, + 11, + 115, + 150, + 170, + 165, + 20, + 82, + 46, + 58, + 171, + 244, + 107, + 86, + 68, + 102, + 181, + 36, + 88, + 128, + 139, + 44, + 85, + 182, + 235, + 172, + 181, + 42, + 245, + 132, + 215, + 53, + 127, + 136, + 48, + 7, + 212, + 74, + 41, + 157, + 82, + 194, + 139, + 40, + 25, + 8, + 138, + 38, + 31, + 115, + 66, + 41, + 125, + 37, + 156, + 143, + 129, + 214, + 43, + 174, + 204, + 33, + 147, + 199, + 5, + 227, + 156, + 51, + 184, + 119, + 179, + 105, + 109, + 126, + 54, + 96, + 146, + 71, + 144, + 28, + 38, + 2, + 109, + 147, + 199, + 0, + 25, + 131, + 141, + 9, + 223, + 229, + 237, + 110, + 253, + 107, + 128, + 224, + 25, + 192, + 109, + 13, + 197, + 110, + 182, + 167, + 233, + 83, + 249, + 136, + 187, + 227, + 187, + 3, + 255, + 1, + 20, + 84, + 204, + 216, + 153, + 105, + 14, + 191, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + }, + { + "File": { + "header": { + "content_disposition": { + "c_type": "attachment", + "attributes": { + "filename": "redball.png" + } + }, + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "redball.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 0, + 1, + 0, + 0, + 11, + 0, + 0, + 21, + 0, + 0, + 26, + 0, + 0, + 23, + 0, + 0, + 17, + 0, + 0, + 10, + 0, + 0, + 3, + 0, + 0, + 28, + 0, + 0, + 50, + 0, + 0, + 68, + 0, + 0, + 77, + 0, + 0, + 72, + 0, + 0, + 61, + 0, + 0, + 35, + 0, + 0, + 22, + 0, + 0, + 38, + 0, + 0, + 97, + 0, + 0, + 123, + 0, + 0, + 134, + 0, + 0, + 135, + 0, + 0, + 125, + 0, + 0, + 116, + 0, + 0, + 96, + 0, + 0, + 57, + 0, + 0, + 20, + 0, + 0, + 6, + 0, + 0, + 39, + 0, + 0, + 75, + 0, + 0, + 111, + 0, + 0, + 144, + 0, + 0, + 165, + 0, + 0, + 187, + 0, + 0, + 191, + 0, + 0, + 171, + 0, + 0, + 161, + 0, + 0, + 140, + 0, + 0, + 115, + 0, + 0, + 91, + 0, + 0, + 46, + 0, + 0, + 8, + 0, + 0, + 76, + 0, + 0, + 119, + 0, + 0, + 153, + 0, + 0, + 180, + 25, + 25, + 202, + 56, + 56, + 213, + 61, + 61, + 219, + 41, + 41, + 221, + 5, + 5, + 184, + 0, + 0, + 168, + 0, + 0, + 121, + 0, + 0, + 49, + 0, + 0, + 24, + 0, + 0, + 4, + 0, + 0, + 69, + 0, + 0, + 154, + 0, + 0, + 187, + 36, + 36, + 209, + 97, + 97, + 223, + 132, + 132, + 230, + 127, + 127, + 230, + 86, + 86, + 234, + 31, + 31, + 210, + 0, + 0, + 185, + 0, + 0, + 163, + 0, + 0, + 93, + 0, + 0, + 66, + 0, + 0, + 40, + 0, + 0, + 9, + 0, + 0, + 103, + 0, + 0, + 186, + 15, + 15, + 208, + 84, + 84, + 222, + 147, + 147, + 229, + 172, + 172, + 233, + 153, + 153, + 237, + 101, + 101, + 239, + 37, + 37, + 215, + 0, + 0, + 193, + 0, + 0, + 177, + 0, + 0, + 156, + 0, + 0, + 109, + 0, + 0, + 83, + 0, + 0, + 54, + 0, + 0, + 27, + 0, + 0, + 5, + 0, + 0, + 74, + 0, + 0, + 129, + 0, + 0, + 203, + 32, + 32, + 221, + 103, + 103, + 232, + 156, + 156, + 235, + 166, + 166, + 237, + 138, + 138, + 239, + 81, + 81, + 239, + 20, + 20, + 209, + 0, + 0, + 195, + 0, + 0, + 182, + 0, + 0, + 120, + 0, + 0, + 94, + 0, + 0, + 64, + 0, + 0, + 34, + 0, + 0, + 87, + 0, + 0, + 146, + 0, + 0, + 194, + 0, + 0, + 218, + 27, + 27, + 232, + 85, + 85, + 236, + 120, + 120, + 239, + 120, + 120, + 239, + 87, + 87, + 239, + 38, + 38, + 225, + 0, + 0, + 206, + 0, + 0, + 183, + 0, + 0, + 167, + 0, + 0, + 149, + 0, + 0, + 71, + 0, + 0, + 43, + 0, + 0, + 15, + 0, + 0, + 157, + 0, + 0, + 197, + 0, + 0, + 225, + 5, + 5, + 235, + 40, + 40, + 239, + 60, + 60, + 239, + 53, + 53, + 239, + 27, + 27, + 227, + 0, + 0, + 208, + 0, + 0, + 201, + 0, + 0, + 181, + 0, + 0, + 151, + 0, + 0, + 132, + 0, + 0, + 108, + 0, + 0, + 79, + 0, + 0, + 18, + 0, + 0, + 2, + 0, + 0, + 98, + 0, + 0, + 233, + 0, + 0, + 239, + 2, + 2, + 231, + 0, + 0, + 216, + 0, + 0, + 203, + 0, + 0, + 186, + 0, + 0, + 176, + 0, + 0, + 112, + 0, + 0, + 19, + 0, + 0, + 36, + 0, + 0, + 88, + 0, + 0, + 200, + 0, + 0, + 211, + 0, + 0, + 205, + 0, + 0, + 179, + 0, + 0, + 131, + 0, + 0, + 110, + 0, + 0, + 30, + 0, + 0, + 126, + 0, + 0, + 192, + 0, + 0, + 164, + 0, + 0, + 141, + 0, + 0, + 127, + 0, + 0, + 105, + 0, + 0, + 80, + 0, + 0, + 48, + 0, + 0, + 145, + 0, + 0, + 169, + 0, + 0, + 188, + 0, + 0, + 170, + 0, + 0, + 155, + 0, + 0, + 101, + 0, + 0, + 73, + 0, + 0, + 42, + 0, + 0, + 14, + 0, + 0, + 52, + 0, + 0, + 172, + 0, + 0, + 175, + 0, + 0, + 173, + 0, + 0, + 166, + 0, + 0, + 137, + 0, + 0, + 122, + 0, + 0, + 107, + 0, + 0, + 90, + 0, + 0, + 62, + 0, + 0, + 41, + 0, + 0, + 106, + 0, + 0, + 130, + 0, + 0, + 159, + 0, + 0, + 158, + 0, + 0, + 150, + 0, + 0, + 143, + 0, + 0, + 124, + 0, + 0, + 25, + 0, + 0, + 7, + 0, + 0, + 85, + 0, + 0, + 142, + 0, + 0, + 138, + 0, + 0, + 56, + 0, + 0, + 16, + 0, + 0, + 63, + 0, + 0, + 114, + 0, + 0, + 128, + 0, + 0, + 92, + 0, + 0, + 55, + 0, + 0, + 44, + 0, + 0, + 102, + 0, + 0, + 67, + 0, + 0, + 86, + 0, + 0, + 32, + 0, + 0, + 51, + 0, + 0, + 60, + 0, + 0, + 58, + 0, + 0, + 31, + 0, + 0, + 12, + 0, + 0, + 29, + 0, + 0, + 13, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 252, + 46, + 217, + 69, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 2, + 8, + 73, + 68, + 65, + 84, + 120, + 156, + 99, + 96, + 128, + 131, + 255, + 16, + 192, + 128, + 1, + 152, + 152, + 89, + 88, + 89, + 217, + 216, + 57, + 56, + 49, + 165, + 57, + 184, + 184, + 121, + 120, + 121, + 249, + 248, + 185, + 5, + 4, + 57, + 80, + 37, + 255, + 51, + 11, + 241, + 8, + 139, + 136, + 138, + 137, + 75, + 72, + 242, + 74, + 9, + 73, + 203, + 32, + 201, + 254, + 103, + 150, + 149, + 147, + 87, + 80, + 84, + 82, + 86, + 81, + 85, + 83, + 215, + 224, + 209, + 100, + 213, + 66, + 72, + 202, + 8, + 105, + 235, + 232, + 234, + 233, + 27, + 24, + 26, + 25, + 155, + 40, + 152, + 10, + 243, + 153, + 153, + 91, + 192, + 228, + 254, + 179, + 90, + 74, + 88, + 89, + 219, + 216, + 218, + 217, + 59, + 56, + 58, + 57, + 43, + 232, + 184, + 184, + 186, + 177, + 67, + 53, + 254, + 119, + 55, + 243, + 176, + 242, + 244, + 242, + 246, + 241, + 245, + 243, + 15, + 8, + 12, + 10, + 22, + 13, + 9, + 13, + 11, + 143, + 128, + 72, + 254, + 103, + 139, + 140, + 10, + 138, + 142, + 137, + 141, + 139, + 79, + 72, + 76, + 74, + 78, + 113, + 86, + 72, + 77, + 75, + 23, + 128, + 58, + 246, + 127, + 70, + 102, + 86, + 118, + 78, + 110, + 94, + 126, + 65, + 97, + 81, + 113, + 114, + 73, + 105, + 89, + 148, + 71, + 121, + 69, + 37, + 88, + 238, + 63, + 147, + 144, + 100, + 85, + 117, + 77, + 109, + 93, + 125, + 67, + 99, + 83, + 179, + 114, + 75, + 105, + 107, + 91, + 123, + 135, + 102, + 39, + 56, + 8, + 254, + 119, + 185, + 117, + 183, + 42, + 59, + 246, + 244, + 246, + 245, + 39, + 77, + 72, + 158, + 56, + 73, + 177, + 85, + 116, + 114, + 40, + 247, + 20, + 136, + 28, + 211, + 212, + 105, + 106, + 147, + 166, + 39, + 205, + 72, + 154, + 217, + 156, + 173, + 52, + 75, + 69, + 53, + 107, + 246, + 156, + 80, + 110, + 105, + 136, + 220, + 255, + 185, + 114, + 243, + 84, + 157, + 170, + 155, + 167, + 87, + 207, + 159, + 56, + 75, + 101, + 129, + 213, + 194, + 69, + 139, + 151, + 44, + 133, + 154, + 249, + 223, + 220, + 85, + 126, + 217, + 242, + 20, + 165, + 21, + 78, + 45, + 147, + 86, + 58, + 175, + 202, + 18, + 75, + 93, + 189, + 102, + 237, + 58, + 168, + 28, + 251, + 122, + 23, + 241, + 214, + 210, + 13, + 27, + 55, + 173, + 220, + 172, + 106, + 149, + 181, + 101, + 235, + 182, + 237, + 59, + 4, + 152, + 161, + 114, + 204, + 59, + 215, + 236, + 218, + 157, + 21, + 188, + 103, + 207, + 94, + 171, + 125, + 251, + 69, + 15, + 200, + 167, + 173, + 49, + 59, + 120, + 8, + 18, + 85, + 255, + 45, + 184, + 164, + 14, + 111, + 19, + 223, + 162, + 176, + 108, + 217, + 145, + 163, + 179, + 183, + 206, + 145, + 228, + 61, + 38, + 112, + 28, + 26, + 139, + 255, + 255, + 31, + 151, + 61, + 113, + 216, + 227, + 164, + 200, + 162, + 83, + 139, + 182, + 170, + 111, + 59, + 173, + 125, + 70, + 72, + 218, + 2, + 46, + 23, + 193, + 118, + 150, + 191, + 195, + 229, + 220, + 54, + 249, + 246, + 93, + 194, + 153, + 124, + 97, + 83, + 165, + 35, + 224, + 137, + 227, + 255, + 127, + 142, + 131, + 178, + 97, + 231, + 121, + 67, + 51, + 47, + 132, + 106, + 167, + 155, + 101, + 116, + 90, + 32, + 165, + 155, + 255, + 255, + 15, + 73, + 95, + 92, + 123, + 73, + 234, + 242, + 229, + 43, + 220, + 59, + 175, + 30, + 239, + 66, + 78, + 82, + 64, + 150, + 197, + 181, + 41, + 172, + 215, + 47, + 94, + 189, + 120, + 157, + 237, + 6, + 90, + 114, + 3, + 177, + 153, + 44, + 100, + 180, + 220, + 221, + 181, + 44, + 48, + 83, + 226, + 127, + 84, + 128, + 154, + 8, + 241, + 72, + 97, + 77, + 215, + 0, + 152, + 72, + 58, + 216, + 223, + 230, + 199, + 242, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + } + ] +} \ No newline at end of file diff --git a/tests/legacy/007.txt b/tests/legacy/007.txt new file mode 100644 index 0000000..e91dc48 --- /dev/null +++ b/tests/legacy/007.txt @@ -0,0 +1,93 @@ +From: "Doug Sauder" +To: =?iso-8859-1?B?SvxyZ2VuIFNjaG38cmdlbg==?= +Subject: =?iso-8859-1?Q?Die_Hasen_und_die_Fr=F6sche_=28Microsoft_Outlook_00=29?= +Date: Wed, 17 May 2000 19:15:35 -0400 +Message-ID: +MIME-Version: 1.0 +Content-Type: text/plain; + charset="iso-8859-1" +Content-Transfer-Encoding: quoted-printable +X-Priority: 3 (Normal) +X-MSMail-Priority: Normal +X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) +Importance: Normal +X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 + +Die Hasen und die Fr=F6sche + +Die Hasen klagten einst =FCber ihre mi=DFliche Lage; "wir leben", sprach = +ein Redner, "in steter Furcht vor Menschen und Tieren, eine Beute der = +Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist = +=E4rger als der Tod selbst. Auf, la=DFt uns ein f=FCr allemal sterben."=20 + +In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu; = +allein das au=DFerordentliche Get=F6se und ihre wunderbare Gestalt = +erschreckte eine Menge Fr=F6sche, die am Ufer sa=DFen, so sehr, da=DF = +sie aufs schnellste untertauchten.=20 + +"Halt", rief nun eben dieser Sprecher, "wir wollen das Ers=E4ufen noch = +ein wenig aufschieben, denn auch uns f=FCrchten, wie ihr seht, einige = +Tiere, welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."=20 + + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 17, + "hour": 19, + "minute": 15, + "second": 35, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "doug@example.com" + } + }, + "message_id": "NDBBIAKOPKHFGPLCODIGIEKCCHAA.doug@example.com", + "mime_version": "1.0", + "subject": "Die Hasen und die Frösche (Microsoft Outlook 00)", + "to": { + "Address": { + "name": "Jürgen Schmürgen", + "address": "schmuergen@example.com" + } + }, + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "iso-8859-1" + } + }, + "others": { + "X-Priority": [ + "3 (Normal)" + ], + "X-Mailer": [ + "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" + ], + "X-MSMail-Priority": [ + "Normal" + ], + "Importance": [ + "Normal" + ], + "X-MimeOLE": [ + "Produced By Microsoft MimeOLE V5.00.2314.1300" + ] + } + }, + "text_body": [ + { + "contents": "Die Hasen und die Frösche\n\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst. Auf, laßt uns ein für allemal sterben.\" \n\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; allein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste untertauchten. \n\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, welche also wohl noch unglücklicher sein müssen als wir.\" \n\n" + } + ] +} \ No newline at end of file diff --git a/tests/legacy/008.txt b/tests/legacy/008.txt new file mode 100644 index 0000000..f945758 --- /dev/null +++ b/tests/legacy/008.txt @@ -0,0 +1,4350 @@ +From: "Doug Sauder" +To: =?iso-8859-1?Q?Heinz_M=FCller?= +Subject: Test message from Microsoft Outlook 00 +Date: Wed, 17 May 2000 19:32:47 -0400 +Message-ID: +MIME-Version: 1.0 +Content-Type: multipart/mixed; + boundary="----=_NextPart_000_0002_01BFC036.AE309650" +X-Priority: 3 (Normal) +X-MSMail-Priority: Normal +X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) +Importance: Normal +X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 + +This is a multi-part message in MIME format. + +------=_NextPart_000_0002_01BFC036.AE309650 +Content-Type: text/plain; + charset="iso-8859-1" +Content-Transfer-Encoding: quoted-printable + + +The Hare and the Tortoise=20 +=20 +A HARE one day ridiculed the short feet and slow pace of the Tortoise, = +who replied, laughing: "Though you be swift as the wind, I will beat = +you in a race." The Hare, believing her assertion to be simply = +impossible, assented to the proposal; and they agreed that the Fox = +should choose the course and fix the goal. On the day appointed for the = +race the two started together. The Tortoise never for a moment stopped, = +but went on with a slow but steady pace straight to the end of the = +course. The Hare, lying down by the wayside, fell fast asleep. At last = +waking up, and moving as fast as he could, he saw the Tortoise had = +reached the goal, and was comfortably dozing after her fatigue. =20 +=20 +Slow but steady wins the race. =20 + +------=_NextPart_000_0002_01BFC036.AE309650 +Content-Type: image/png; + name="blueball.png" +Content-Transfer-Encoding: base64 +Content-Disposition: attachment; + filename="blueball.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAgAABAAABgAAAAA +CCkAEEIAEEoACDEAEFIIIXMIKXsIKYQIIWsAGFoACDkIIWMQOZwYQqUYQq0YQrUQOaUQMZQAGFIQ +MYwpUrU5Y8Y5Y84pWs4YSs4YQs4YQr1Ca8Z7nNacvd6Mtd5jlOcxa94hUt4YStYYQsYQMaUAACHO +5+/n7++cxu9ShO8pWucQOa1Ke86tzt6lzu9ajO8QMZxahNat1ufO7++Mve9Ke+8YOaUYSsaMvee1 +5++Uve8AAClajOdzpe9rnO8IKYwxY+8pWu8IIXsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAADBMg1VAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAu +MT1evmgAAAGISURBVHicddJtV5swGAbgEk6AJhBSk4bMCUynBSLaqovbrG/bfPn/vyh70lbssceb +L5xznTsh5BmNhgQoRChwo50EOIohUYLDj4zHhKYQkrEoQdvock4ne0IKMVUpKZLQDeqSTIsv+18P +yqqWUw2IBsRM7307PPp+fDJrWtnpLDJvewYxnewfnvanZ+fzpmwXijC8KbqEa3Fx2ff91Y95U9XC +UpaDeQwiMpHXP/v+1++bWVPWQoGFawtjury9vru/f/C1Vi7ezT0WWpQHf/7+u/G71aLThK/MjRxm +T6KdzZ9fGk9yatMsTgZLl3XVgFRAC6spj/13enssqJVtWVa3NdBSacL8+VZmYqKmdd1CSYoOiMOS +GwtzlqqlFFIuOqv0a1ZEZrUkWICLLFW266y1KvWE1zV/iDAH1EopnVLCiygZCIomH3NCKX0lnI+B +1iuuzCGTxwXjnDO4d7NpbX42YJJHkBwmAm2TxwAZg40J3+Xtbv1rgOAZwG0NxW62p+lT+Yi747sD +/wEUVMzYmWkOvwAAACV0RVh0Q29tbWVudABjbGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZz +O7wAAAAASUVORK5CYII= + +------=_NextPart_000_0002_01BFC036.AE309650 +Content-Type: image/png; + name="greenball.png" +Content-Transfer-Encoding: base64 +Content-Disposition: attachment; + filename="greenball.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAAAEAAAGAAAIQAA +CAAAMQAAQgAAUgAAWgAASgAIYwAIcwAIewAQjAAIawAAOQAAYwAQlAAQnAAhpQAQpQAhrQBCvRhj +xjFjxjlSxiEpzgAYvQAQrQAYrQAhvQCU1mOt1nuE1lJK3hgh1gAYxgAYtQAAKQBCzhDO55Te563G +55SU52NS5yEh3gAYzgBS3iGc52vW75y974yE71JC7xCt73ul3nNa7ykh5wAY1gAx5wBS7yFr7zlK +7xgp5wAp7wAx7wAIhAAQtQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAp1fnZAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAu +MT1evmgAAAFtSURBVHicddJtV8IgFAdwD2zIgMEE1+NcqdsoK+m5tCyz7/+ZiLmHsyzvq53zO/cy ++N9ery1bVe9PWQA9z4MQ+H8Yoj7GASZ95IHfaBGmLOSchyIgyOu22mgQSjUcDuNYcoGjLiLK1cHh +0fHJaTKKOcMItgYxT89OzsfjyTTLC8UF0c2ZNmKquJhczq6ub+YmSVUYRF59GeDastu7+9nD41Nm +kiJ2jc2J3kAWZ9Pr55fH18XSmRuKUTXUaqHy7O19tfr4NFle/w3YDrWRUIlZrL/W86XJkyJVG9Ea +EjIx2XyZmZJGioeUaL+2AY8TY8omR6nkLKhu70zjUKVJXsp3quS2DVSJWNh3zzJKCyexI0ZxBP3a +fE0ElyqOlZJyw8r3BE2SFiJCyxA434SCkg65RhdeQBljQtCg39LWrA90RDDG1EWrYUO23hMANUKR +Rl61E529cR++D2G5LK002dr/qrcfu9u0V3bxn/XdhR/NYeeN0ggsLAAAACV0RVh0Q29tbWVudABj +bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII= + +------=_NextPart_000_0002_01BFC036.AE309650 +Content-Type: image/png; + name="redball.png" +Content-Transfer-Encoding: base64 +Content-Disposition: attachment; + filename="redball.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAABAAALAAAVAAAa +AAAXAAARAAAKAAADAAAcAAAyAABEAABNAABIAAA9AAAjAAAWAAAmAABhAAB7AACGAACHAAB9AAB0 +AABgAAA5AAAUAAAGAAAnAABLAABvAACQAAClAAC7AAC/AACrAAChAACMAABzAABbAAAuAAAIAABM +AAB3AACZAAC0GRnKODjVPT3bKSndBQW4AACoAAB5AAAxAAAYAAAEAABFAACaAAC7JCTRYWHfhITm +f3/mVlbqHx/SAAC5AACjAABdAABCAAAoAAAJAABnAAC6Dw/QVFTek5PlrKzpmZntZWXvJSXXAADB +AACxAACcAABtAABTAAA2AAAbAAAFAABKAACBAADLICDdZ2fonJzrpqbtiorvUVHvFBTRAADDAAC2 +AAB4AABeAABAAAAiAABXAACSAADCAADaGxvoVVXseHjveHjvV1fvJibhAADOAAC3AACnAACVAABH +AAArAAAPAACdAADFAADhBQXrKCjvPDzvNTXvGxvjAADQAADJAAC1AACXAACEAABsAABPAAASAAAC +AABiAADpAADvAgLnAADYAADLAAC6AACwAABwAAATAAAkAABYAADIAADTAADNAACzAACDAABuAAAe +AAB+AADAAACkAACNAAB/AABpAABQAAAwAACRAACpAAC8AACqAACbAABlAABJAAAqAAAOAAA0AACs +AACvAACtAACmAACJAAB6AABrAABaAAA+AAApAABqAACCAACfAACeAACWAACPAAB8AAAZAAAHAABV +AACOAACKAAA4AAAQAAA/AAByAACAAABcAAA3AAAsAABmAABDAABWAAAgAAAzAAA8AAA6AAAfAAAM +AAAdAAANAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAD8LtlFAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAu +MT1evmgAAAIISURBVHicY2CAg/8QwIABmJhZWFnZ2Dk4MaU5uLh5eHn5+LkFBDlQJf8zC/EIi4iK +iUtI8koJScsgyf5nlpWTV1BUUlZRVVPX4NFk1UJIyghp6+jq6RsYGhmbKJgK85mZW8Dk/rNaSlhZ +29ja2Ts4Ojkr6Li4urFDNf53N/Ow8vTy9vH18w8IDAoWDQkNC4+ASP5ni4wKio6JjYtPSExKTnFW +SE1LF4A69n9GZlZ2Tm5efkFhUXFySWlZlEd5RSVY7j+TkGRVdU1tXX1DY1Ozcktpa1t7h2YnOAj+ +d7l1tyo79vT29SdNSJ44SbFVdHIo9xSIHNPUaWqTpifNSJrZnK00S0U1a/acUG5piNz/uXLzVJ2q +m6dXz584S2WB1cJFi5cshZr539xVftnyFKUVTi2TVjqvyhJLXb1m7TqoHPt6F/HW0g0bN63crGqV +tWXrtu07BJihcsw71+zanRW8Z89eq337RQ/Ip60xO3gIElX/LbikDm8T36KwbNmRo7O3zpHkPSZw +HBqL//8flz1x2OOkyKJTi7aqbzutfUZI2gIuF8F2lr/D5dw2+fZdwpl8YVOlI+CJ4/9/joOyYed5 +QzMvhGqnm2V0WiClm///D0lfXHtJ6vLlK9w7rx7vQk5SQJbFtSms1y9evXid7QZacgOxmSxktNzd +tSwwU+J/VICaCPFIYU3XAJhIOtjf5sfyAAAAJXRFWHRDb21tZW50AGNsaXAyZ2lmIHYuMC42IGJ5 +IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg== + +------=_NextPart_000_0002_01BFC036.AE309650-- + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 17, + "hour": 19, + "minute": 32, + "second": 47, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "doug@example.com" + } + }, + "message_id": "NDBBIAKOPKHFGPLCODIGGEKECHAA.doug@example.com", + "mime_version": "1.0", + "subject": "Test message from Microsoft Outlook 00", + "to": { + "Address": { + "name": "Heinz Müller", + "address": "mueller@example.com" + } + }, + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "----=_NextPart_000_0002_01BFC036.AE309650" + } + }, + "others": { + "X-Priority": [ + "3 (Normal)" + ], + "X-MimeOLE": [ + "Produced By Microsoft MimeOLE V5.00.2314.1300" + ], + "X-MSMail-Priority": [ + "Normal" + ], + "Importance": [ + "Normal" + ], + "X-Mailer": [ + "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" + ] + } + }, + "text_body": [ + { + "header": { + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "iso-8859-1" + } + } + }, + "contents": "\nThe Hare and the Tortoise \n \nA HARE one day ridiculed the short feet and slow pace of the Tortoise, who replied, laughing: \"Though you be swift as the wind, I will beat you in a race.\" The Hare, believing her assertion to be simply impossible, assented to the proposal; and they agreed that the Fox should choose the course and fix the goal. On the day appointed for the race the two started together. The Tortoise never for a moment stopped, but went on with a slow but steady pace straight to the end of the course. The Hare, lying down by the wayside, fell fast asleep. At last waking up, and moving as fast as he could, he saw the Tortoise had reached the goal, and was comfortably dozing after her fatigue. \n \nSlow but steady wins the race. \n" + } + ], + "attachments": [ + { + "File": { + "header": { + "content_disposition": { + "c_type": "attachment", + "attributes": { + "filename": "blueball.png" + } + }, + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "blueball.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 8, + 0, + 0, + 16, + 0, + 0, + 24, + 0, + 0, + 0, + 0, + 8, + 41, + 0, + 16, + 66, + 0, + 16, + 74, + 0, + 8, + 49, + 0, + 16, + 82, + 8, + 33, + 115, + 8, + 41, + 123, + 8, + 41, + 132, + 8, + 33, + 107, + 0, + 24, + 90, + 0, + 8, + 57, + 8, + 33, + 99, + 16, + 57, + 156, + 24, + 66, + 165, + 24, + 66, + 173, + 24, + 66, + 181, + 16, + 57, + 165, + 16, + 49, + 148, + 0, + 24, + 82, + 16, + 49, + 140, + 41, + 82, + 181, + 57, + 99, + 198, + 57, + 99, + 206, + 41, + 90, + 206, + 24, + 74, + 206, + 24, + 66, + 206, + 24, + 66, + 189, + 66, + 107, + 198, + 123, + 156, + 214, + 156, + 189, + 222, + 140, + 181, + 222, + 99, + 148, + 231, + 49, + 107, + 222, + 33, + 82, + 222, + 24, + 74, + 214, + 24, + 66, + 198, + 16, + 49, + 165, + 0, + 0, + 33, + 206, + 231, + 239, + 231, + 239, + 239, + 156, + 198, + 239, + 82, + 132, + 239, + 41, + 90, + 231, + 16, + 57, + 173, + 74, + 123, + 206, + 173, + 206, + 222, + 165, + 206, + 239, + 90, + 140, + 239, + 16, + 49, + 156, + 90, + 132, + 214, + 173, + 214, + 231, + 206, + 239, + 239, + 140, + 189, + 239, + 74, + 123, + 239, + 24, + 57, + 165, + 24, + 74, + 198, + 140, + 189, + 231, + 181, + 231, + 239, + 148, + 189, + 239, + 0, + 0, + 41, + 90, + 140, + 231, + 115, + 165, + 239, + 107, + 156, + 239, + 8, + 41, + 140, + 49, + 99, + 239, + 41, + 90, + 239, + 8, + 33, + 123, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 193, + 50, + 13, + 85, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 1, + 136, + 73, + 68, + 65, + 84, + 120, + 156, + 117, + 210, + 109, + 87, + 155, + 48, + 24, + 6, + 224, + 18, + 78, + 128, + 38, + 16, + 82, + 147, + 134, + 204, + 9, + 76, + 167, + 5, + 34, + 218, + 170, + 139, + 219, + 172, + 111, + 219, + 124, + 249, + 255, + 191, + 40, + 123, + 210, + 86, + 236, + 177, + 199, + 155, + 47, + 156, + 115, + 157, + 59, + 33, + 228, + 25, + 141, + 134, + 4, + 40, + 68, + 40, + 112, + 163, + 157, + 4, + 56, + 138, + 33, + 81, + 130, + 195, + 143, + 140, + 199, + 132, + 166, + 16, + 146, + 177, + 40, + 65, + 219, + 232, + 114, + 78, + 39, + 123, + 66, + 10, + 49, + 85, + 41, + 41, + 146, + 208, + 13, + 234, + 146, + 76, + 139, + 47, + 251, + 95, + 15, + 202, + 170, + 150, + 83, + 13, + 136, + 6, + 196, + 76, + 239, + 125, + 59, + 60, + 250, + 126, + 124, + 50, + 107, + 90, + 217, + 233, + 44, + 50, + 111, + 123, + 6, + 49, + 157, + 236, + 31, + 158, + 246, + 167, + 103, + 231, + 243, + 166, + 108, + 23, + 138, + 48, + 188, + 41, + 186, + 132, + 107, + 113, + 113, + 217, + 247, + 253, + 213, + 143, + 121, + 83, + 213, + 194, + 82, + 150, + 131, + 121, + 12, + 34, + 50, + 145, + 215, + 63, + 251, + 254, + 215, + 239, + 155, + 89, + 83, + 214, + 66, + 129, + 133, + 107, + 11, + 99, + 186, + 188, + 189, + 190, + 187, + 191, + 127, + 240, + 181, + 86, + 46, + 222, + 205, + 61, + 22, + 90, + 148, + 7, + 127, + 254, + 254, + 187, + 241, + 187, + 213, + 162, + 211, + 132, + 175, + 204, + 141, + 28, + 102, + 79, + 162, + 157, + 205, + 159, + 95, + 26, + 79, + 114, + 106, + 211, + 44, + 78, + 6, + 75, + 151, + 117, + 213, + 128, + 84, + 64, + 11, + 171, + 41, + 143, + 253, + 119, + 122, + 123, + 44, + 168, + 149, + 109, + 89, + 86, + 183, + 53, + 208, + 82, + 105, + 194, + 252, + 249, + 86, + 102, + 98, + 162, + 166, + 117, + 221, + 66, + 73, + 138, + 14, + 136, + 195, + 146, + 27, + 11, + 115, + 150, + 170, + 165, + 20, + 82, + 46, + 58, + 171, + 244, + 107, + 86, + 68, + 102, + 181, + 36, + 88, + 128, + 139, + 44, + 85, + 182, + 235, + 172, + 181, + 42, + 245, + 132, + 215, + 53, + 127, + 136, + 48, + 7, + 212, + 74, + 41, + 157, + 82, + 194, + 139, + 40, + 25, + 8, + 138, + 38, + 31, + 115, + 66, + 41, + 125, + 37, + 156, + 143, + 129, + 214, + 43, + 174, + 204, + 33, + 147, + 199, + 5, + 227, + 156, + 51, + 184, + 119, + 179, + 105, + 109, + 126, + 54, + 96, + 146, + 71, + 144, + 28, + 38, + 2, + 109, + 147, + 199, + 0, + 25, + 131, + 141, + 9, + 223, + 229, + 237, + 110, + 253, + 107, + 128, + 224, + 25, + 192, + 109, + 13, + 197, + 110, + 182, + 167, + 233, + 83, + 249, + 136, + 187, + 227, + 187, + 3, + 255, + 1, + 20, + 84, + 204, + 216, + 153, + 105, + 14, + 191, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + }, + { + "File": { + "header": { + "content_disposition": { + "c_type": "attachment", + "attributes": { + "filename": "greenball.png" + } + }, + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "greenball.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 0, + 0, + 16, + 0, + 0, + 24, + 0, + 0, + 33, + 0, + 0, + 8, + 0, + 0, + 49, + 0, + 0, + 66, + 0, + 0, + 82, + 0, + 0, + 90, + 0, + 0, + 74, + 0, + 8, + 99, + 0, + 8, + 115, + 0, + 8, + 123, + 0, + 16, + 140, + 0, + 8, + 107, + 0, + 0, + 57, + 0, + 0, + 99, + 0, + 16, + 148, + 0, + 16, + 156, + 0, + 33, + 165, + 0, + 16, + 165, + 0, + 33, + 173, + 0, + 66, + 189, + 24, + 99, + 198, + 49, + 99, + 198, + 57, + 82, + 198, + 33, + 41, + 206, + 0, + 24, + 189, + 0, + 16, + 173, + 0, + 24, + 173, + 0, + 33, + 189, + 0, + 148, + 214, + 99, + 173, + 214, + 123, + 132, + 214, + 82, + 74, + 222, + 24, + 33, + 214, + 0, + 24, + 198, + 0, + 24, + 181, + 0, + 0, + 41, + 0, + 66, + 206, + 16, + 206, + 231, + 148, + 222, + 231, + 173, + 198, + 231, + 148, + 148, + 231, + 99, + 82, + 231, + 33, + 33, + 222, + 0, + 24, + 206, + 0, + 82, + 222, + 33, + 156, + 231, + 107, + 214, + 239, + 156, + 189, + 239, + 140, + 132, + 239, + 82, + 66, + 239, + 16, + 173, + 239, + 123, + 165, + 222, + 115, + 90, + 239, + 41, + 33, + 231, + 0, + 24, + 214, + 0, + 49, + 231, + 0, + 82, + 239, + 33, + 107, + 239, + 57, + 74, + 239, + 24, + 41, + 231, + 0, + 41, + 239, + 0, + 49, + 239, + 0, + 8, + 132, + 0, + 16, + 181, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 41, + 213, + 249, + 217, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 1, + 109, + 73, + 68, + 65, + 84, + 120, + 156, + 117, + 210, + 109, + 87, + 194, + 32, + 20, + 7, + 112, + 15, + 108, + 200, + 128, + 193, + 4, + 215, + 227, + 92, + 169, + 219, + 40, + 43, + 233, + 185, + 180, + 44, + 179, + 239, + 255, + 153, + 136, + 185, + 135, + 179, + 44, + 239, + 171, + 157, + 243, + 59, + 247, + 50, + 248, + 223, + 94, + 175, + 45, + 91, + 85, + 239, + 79, + 89, + 0, + 61, + 207, + 131, + 16, + 248, + 127, + 24, + 162, + 62, + 198, + 1, + 38, + 125, + 228, + 129, + 223, + 104, + 17, + 166, + 44, + 228, + 156, + 135, + 34, + 32, + 200, + 235, + 182, + 218, + 104, + 16, + 74, + 53, + 28, + 14, + 227, + 88, + 114, + 129, + 163, + 46, + 34, + 202, + 213, + 193, + 225, + 209, + 241, + 201, + 105, + 50, + 138, + 57, + 195, + 8, + 182, + 6, + 49, + 79, + 207, + 78, + 206, + 199, + 227, + 201, + 52, + 203, + 11, + 197, + 5, + 209, + 205, + 153, + 54, + 98, + 170, + 184, + 152, + 92, + 206, + 174, + 174, + 111, + 230, + 38, + 73, + 85, + 24, + 68, + 94, + 125, + 25, + 224, + 218, + 178, + 219, + 187, + 251, + 217, + 195, + 227, + 83, + 102, + 146, + 34, + 118, + 141, + 205, + 137, + 222, + 64, + 22, + 103, + 211, + 235, + 231, + 151, + 199, + 215, + 197, + 210, + 153, + 27, + 138, + 81, + 53, + 212, + 106, + 161, + 242, + 236, + 237, + 125, + 181, + 250, + 248, + 52, + 89, + 94, + 255, + 13, + 216, + 14, + 181, + 145, + 80, + 137, + 89, + 172, + 191, + 214, + 243, + 165, + 201, + 147, + 34, + 85, + 27, + 209, + 26, + 18, + 50, + 49, + 217, + 124, + 153, + 153, + 146, + 70, + 138, + 135, + 148, + 104, + 191, + 182, + 1, + 143, + 19, + 99, + 202, + 38, + 71, + 169, + 228, + 44, + 168, + 110, + 239, + 76, + 227, + 80, + 165, + 73, + 94, + 202, + 119, + 170, + 228, + 182, + 13, + 84, + 137, + 88, + 216, + 119, + 207, + 50, + 74, + 11, + 39, + 177, + 35, + 70, + 113, + 4, + 253, + 218, + 124, + 77, + 4, + 151, + 42, + 142, + 149, + 146, + 114, + 195, + 202, + 247, + 4, + 77, + 146, + 22, + 34, + 66, + 203, + 16, + 56, + 223, + 132, + 130, + 146, + 14, + 185, + 70, + 23, + 94, + 64, + 25, + 99, + 66, + 208, + 160, + 223, + 210, + 214, + 172, + 15, + 116, + 68, + 48, + 198, + 212, + 69, + 171, + 97, + 67, + 182, + 222, + 19, + 0, + 53, + 66, + 145, + 70, + 94, + 181, + 19, + 157, + 189, + 113, + 31, + 190, + 15, + 97, + 185, + 44, + 173, + 52, + 217, + 218, + 255, + 170, + 183, + 31, + 187, + 219, + 180, + 87, + 118, + 241, + 159, + 245, + 221, + 133, + 31, + 205, + 97, + 231, + 141, + 210, + 8, + 44, + 44, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + }, + { + "File": { + "header": { + "content_disposition": { + "c_type": "attachment", + "attributes": { + "filename": "redball.png" + } + }, + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "redball.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 0, + 1, + 0, + 0, + 11, + 0, + 0, + 21, + 0, + 0, + 26, + 0, + 0, + 23, + 0, + 0, + 17, + 0, + 0, + 10, + 0, + 0, + 3, + 0, + 0, + 28, + 0, + 0, + 50, + 0, + 0, + 68, + 0, + 0, + 77, + 0, + 0, + 72, + 0, + 0, + 61, + 0, + 0, + 35, + 0, + 0, + 22, + 0, + 0, + 38, + 0, + 0, + 97, + 0, + 0, + 123, + 0, + 0, + 134, + 0, + 0, + 135, + 0, + 0, + 125, + 0, + 0, + 116, + 0, + 0, + 96, + 0, + 0, + 57, + 0, + 0, + 20, + 0, + 0, + 6, + 0, + 0, + 39, + 0, + 0, + 75, + 0, + 0, + 111, + 0, + 0, + 144, + 0, + 0, + 165, + 0, + 0, + 187, + 0, + 0, + 191, + 0, + 0, + 171, + 0, + 0, + 161, + 0, + 0, + 140, + 0, + 0, + 115, + 0, + 0, + 91, + 0, + 0, + 46, + 0, + 0, + 8, + 0, + 0, + 76, + 0, + 0, + 119, + 0, + 0, + 153, + 0, + 0, + 180, + 25, + 25, + 202, + 56, + 56, + 213, + 61, + 61, + 219, + 41, + 41, + 221, + 5, + 5, + 184, + 0, + 0, + 168, + 0, + 0, + 121, + 0, + 0, + 49, + 0, + 0, + 24, + 0, + 0, + 4, + 0, + 0, + 69, + 0, + 0, + 154, + 0, + 0, + 187, + 36, + 36, + 209, + 97, + 97, + 223, + 132, + 132, + 230, + 127, + 127, + 230, + 86, + 86, + 234, + 31, + 31, + 210, + 0, + 0, + 185, + 0, + 0, + 163, + 0, + 0, + 93, + 0, + 0, + 66, + 0, + 0, + 40, + 0, + 0, + 9, + 0, + 0, + 103, + 0, + 0, + 186, + 15, + 15, + 208, + 84, + 84, + 222, + 147, + 147, + 229, + 172, + 172, + 233, + 153, + 153, + 237, + 101, + 101, + 239, + 37, + 37, + 215, + 0, + 0, + 193, + 0, + 0, + 177, + 0, + 0, + 156, + 0, + 0, + 109, + 0, + 0, + 83, + 0, + 0, + 54, + 0, + 0, + 27, + 0, + 0, + 5, + 0, + 0, + 74, + 0, + 0, + 129, + 0, + 0, + 203, + 32, + 32, + 221, + 103, + 103, + 232, + 156, + 156, + 235, + 166, + 166, + 237, + 138, + 138, + 239, + 81, + 81, + 239, + 20, + 20, + 209, + 0, + 0, + 195, + 0, + 0, + 182, + 0, + 0, + 120, + 0, + 0, + 94, + 0, + 0, + 64, + 0, + 0, + 34, + 0, + 0, + 87, + 0, + 0, + 146, + 0, + 0, + 194, + 0, + 0, + 218, + 27, + 27, + 232, + 85, + 85, + 236, + 120, + 120, + 239, + 120, + 120, + 239, + 87, + 87, + 239, + 38, + 38, + 225, + 0, + 0, + 206, + 0, + 0, + 183, + 0, + 0, + 167, + 0, + 0, + 149, + 0, + 0, + 71, + 0, + 0, + 43, + 0, + 0, + 15, + 0, + 0, + 157, + 0, + 0, + 197, + 0, + 0, + 225, + 5, + 5, + 235, + 40, + 40, + 239, + 60, + 60, + 239, + 53, + 53, + 239, + 27, + 27, + 227, + 0, + 0, + 208, + 0, + 0, + 201, + 0, + 0, + 181, + 0, + 0, + 151, + 0, + 0, + 132, + 0, + 0, + 108, + 0, + 0, + 79, + 0, + 0, + 18, + 0, + 0, + 2, + 0, + 0, + 98, + 0, + 0, + 233, + 0, + 0, + 239, + 2, + 2, + 231, + 0, + 0, + 216, + 0, + 0, + 203, + 0, + 0, + 186, + 0, + 0, + 176, + 0, + 0, + 112, + 0, + 0, + 19, + 0, + 0, + 36, + 0, + 0, + 88, + 0, + 0, + 200, + 0, + 0, + 211, + 0, + 0, + 205, + 0, + 0, + 179, + 0, + 0, + 131, + 0, + 0, + 110, + 0, + 0, + 30, + 0, + 0, + 126, + 0, + 0, + 192, + 0, + 0, + 164, + 0, + 0, + 141, + 0, + 0, + 127, + 0, + 0, + 105, + 0, + 0, + 80, + 0, + 0, + 48, + 0, + 0, + 145, + 0, + 0, + 169, + 0, + 0, + 188, + 0, + 0, + 170, + 0, + 0, + 155, + 0, + 0, + 101, + 0, + 0, + 73, + 0, + 0, + 42, + 0, + 0, + 14, + 0, + 0, + 52, + 0, + 0, + 172, + 0, + 0, + 175, + 0, + 0, + 173, + 0, + 0, + 166, + 0, + 0, + 137, + 0, + 0, + 122, + 0, + 0, + 107, + 0, + 0, + 90, + 0, + 0, + 62, + 0, + 0, + 41, + 0, + 0, + 106, + 0, + 0, + 130, + 0, + 0, + 159, + 0, + 0, + 158, + 0, + 0, + 150, + 0, + 0, + 143, + 0, + 0, + 124, + 0, + 0, + 25, + 0, + 0, + 7, + 0, + 0, + 85, + 0, + 0, + 142, + 0, + 0, + 138, + 0, + 0, + 56, + 0, + 0, + 16, + 0, + 0, + 63, + 0, + 0, + 114, + 0, + 0, + 128, + 0, + 0, + 92, + 0, + 0, + 55, + 0, + 0, + 44, + 0, + 0, + 102, + 0, + 0, + 67, + 0, + 0, + 86, + 0, + 0, + 32, + 0, + 0, + 51, + 0, + 0, + 60, + 0, + 0, + 58, + 0, + 0, + 31, + 0, + 0, + 12, + 0, + 0, + 29, + 0, + 0, + 13, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 252, + 46, + 217, + 69, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 2, + 8, + 73, + 68, + 65, + 84, + 120, + 156, + 99, + 96, + 128, + 131, + 255, + 16, + 192, + 128, + 1, + 152, + 152, + 89, + 88, + 89, + 217, + 216, + 57, + 56, + 49, + 165, + 57, + 184, + 184, + 121, + 120, + 121, + 249, + 248, + 185, + 5, + 4, + 57, + 80, + 37, + 255, + 51, + 11, + 241, + 8, + 139, + 136, + 138, + 137, + 75, + 72, + 242, + 74, + 9, + 73, + 203, + 32, + 201, + 254, + 103, + 150, + 149, + 147, + 87, + 80, + 84, + 82, + 86, + 81, + 85, + 83, + 215, + 224, + 209, + 100, + 213, + 66, + 72, + 202, + 8, + 105, + 235, + 232, + 234, + 233, + 27, + 24, + 26, + 25, + 155, + 40, + 152, + 10, + 243, + 153, + 153, + 91, + 192, + 228, + 254, + 179, + 90, + 74, + 88, + 89, + 219, + 216, + 218, + 217, + 59, + 56, + 58, + 57, + 43, + 232, + 184, + 184, + 186, + 177, + 67, + 53, + 254, + 119, + 55, + 243, + 176, + 242, + 244, + 242, + 246, + 241, + 245, + 243, + 15, + 8, + 12, + 10, + 22, + 13, + 9, + 13, + 11, + 143, + 128, + 72, + 254, + 103, + 139, + 140, + 10, + 138, + 142, + 137, + 141, + 139, + 79, + 72, + 76, + 74, + 78, + 113, + 86, + 72, + 77, + 75, + 23, + 128, + 58, + 246, + 127, + 70, + 102, + 86, + 118, + 78, + 110, + 94, + 126, + 65, + 97, + 81, + 113, + 114, + 73, + 105, + 89, + 148, + 71, + 121, + 69, + 37, + 88, + 238, + 63, + 147, + 144, + 100, + 85, + 117, + 77, + 109, + 93, + 125, + 67, + 99, + 83, + 179, + 114, + 75, + 105, + 107, + 91, + 123, + 135, + 102, + 39, + 56, + 8, + 254, + 119, + 185, + 117, + 183, + 42, + 59, + 246, + 244, + 246, + 245, + 39, + 77, + 72, + 158, + 56, + 73, + 177, + 85, + 116, + 114, + 40, + 247, + 20, + 136, + 28, + 211, + 212, + 105, + 106, + 147, + 166, + 39, + 205, + 72, + 154, + 217, + 156, + 173, + 52, + 75, + 69, + 53, + 107, + 246, + 156, + 80, + 110, + 105, + 136, + 220, + 255, + 185, + 114, + 243, + 84, + 157, + 170, + 155, + 167, + 87, + 207, + 159, + 56, + 75, + 101, + 129, + 213, + 194, + 69, + 139, + 151, + 44, + 133, + 154, + 249, + 223, + 220, + 85, + 126, + 217, + 242, + 20, + 165, + 21, + 78, + 45, + 147, + 86, + 58, + 175, + 202, + 18, + 75, + 93, + 189, + 102, + 237, + 58, + 168, + 28, + 251, + 122, + 23, + 241, + 214, + 210, + 13, + 27, + 55, + 173, + 220, + 172, + 106, + 149, + 181, + 101, + 235, + 182, + 237, + 59, + 4, + 152, + 161, + 114, + 204, + 59, + 215, + 236, + 218, + 157, + 21, + 188, + 103, + 207, + 94, + 171, + 125, + 251, + 69, + 15, + 200, + 167, + 173, + 49, + 59, + 120, + 8, + 18, + 85, + 255, + 45, + 184, + 164, + 14, + 111, + 19, + 223, + 162, + 176, + 108, + 217, + 145, + 163, + 179, + 183, + 206, + 145, + 228, + 61, + 38, + 112, + 28, + 26, + 139, + 255, + 255, + 31, + 151, + 61, + 113, + 216, + 227, + 164, + 200, + 162, + 83, + 139, + 182, + 170, + 111, + 59, + 173, + 125, + 70, + 72, + 218, + 2, + 46, + 23, + 193, + 118, + 150, + 191, + 195, + 229, + 220, + 54, + 249, + 246, + 93, + 194, + 153, + 124, + 97, + 83, + 165, + 35, + 224, + 137, + 227, + 255, + 127, + 142, + 131, + 178, + 97, + 231, + 121, + 67, + 51, + 47, + 132, + 106, + 167, + 155, + 101, + 116, + 90, + 32, + 165, + 155, + 255, + 255, + 15, + 73, + 95, + 92, + 123, + 73, + 234, + 242, + 229, + 43, + 220, + 59, + 175, + 30, + 239, + 66, + 78, + 82, + 64, + 150, + 197, + 181, + 41, + 172, + 215, + 47, + 94, + 189, + 120, + 157, + 237, + 6, + 90, + 114, + 3, + 177, + 153, + 44, + 100, + 180, + 220, + 221, + 181, + 44, + 48, + 83, + 226, + 127, + 84, + 128, + 154, + 8, + 241, + 72, + 97, + 77, + 215, + 0, + 152, + 72, + 58, + 216, + 223, + 230, + 199, + 242, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + } + ] +} \ No newline at end of file diff --git a/tests/legacy/009.txt b/tests/legacy/009.txt new file mode 100644 index 0000000..297655e --- /dev/null +++ b/tests/legacy/009.txt @@ -0,0 +1,96 @@ +Message-Id: <4.2.0.58.20000519010441.00a8d140@pop.example.com> +X-Sender: dwsauder@pop.example.com (Unverified) +Disposition-Notification-To: +X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 +X-Priority: 1 (Highest) +Date: Fri, 19 May 2000 01:06:18 -0400 +To: =?iso-8859-1?Q?Jürgen?= =?iso-8859-1?Q?_Schmürgen?= + +From: Doug Sauder +Subject: =?iso-8859-1?Q?Die_Hasen_und_die_Frösche?= +Mime-Version: 1.0 +Content-Type: text/plain; charset="iso-8859-1"; format=flowed +Content-Transfer-Encoding: quoted-printable + +Die Hasen und die Fr=F6sche + +Die Hasen klagten einst =FCber ihre mi=DFliche Lage; "wir leben", sprach ein= +=20 +Redner, "in steter Furcht vor Menschen und Tieren, eine Beute der Hunde,=20 +der Adler, ja fast aller Raubtiere! Unsere stete Angst ist =E4rger als der= +=20 +Tod selbst. Auf, la=DFt uns ein f=FCr allemal sterben." + +In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu;=20 +allein das au=DFerordentliche Get=F6se und ihre wunderbare Gestalt= + erschreckte=20 +eine Menge Fr=F6sche, die am Ufer sa=DFen, so sehr, da=DF sie aufs= + schnellste=20 +untertauchten. + +"Halt", rief nun eben dieser Sprecher, "wir wollen das Ers=E4ufen noch ein= +=20 +wenig aufschieben, denn auch uns f=FCrchten, wie ihr seht, einige Tiere,=20 +welche also wohl noch ungl=FCcklicher sein m=FCssen als wir." + + + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 19, + "hour": 1, + "minute": 6, + "second": 18, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "dwsauder@example.com" + } + }, + "message_id": "4.2.0.58.20000519010441.00a8d140@pop.example.com", + "mime_version": "1.0", + "subject": "Die Hasen und die Frösche", + "to": { + "Address": { + "name": "Jürgen Schmürgen", + "address": "jschmuergen@example.com" + } + }, + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "iso-8859-1", + "format": "flowed" + } + }, + "others": { + "X-Sender": [ + "dwsauder@pop.example.com (Unverified)" + ], + "X-Mailer": [ + "QUALCOMM Windows Eudora Pro Version 4.2.0.58" + ], + "X-Priority": [ + "1 (Highest)" + ], + "Disposition-Notification-To": [ + "" + ] + } + }, + "text_body": [ + { + "contents": "Die Hasen und die Frösche\n\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein \nRedner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, \nder Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der \nTod selbst. Auf, laßt uns ein für allemal sterben.\"\n\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; \nallein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte \neine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste \nuntertauchten.\n\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein \nwenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, \nwelche also wohl noch unglücklicher sein müssen als wir.\"\n\n\n" + } + ] +} \ No newline at end of file diff --git a/tests/legacy/010.txt b/tests/legacy/010.txt new file mode 100644 index 0000000..613e9b8 --- /dev/null +++ b/tests/legacy/010.txt @@ -0,0 +1,77 @@ +Message-Id: <4.2.0.58.20000519010842.00a8c7f0@pop.example.com> +X-Sender: dwsauder@pop.example.com (Unverified) +X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 +X-Priority: 1 (Highest) +Date: Fri, 19 May 2000 01:10:27 -0400 +To: Heinz Müller +From: Doug Sauder +Subject: Die Hasen und die Frösche +Mime-Version: 1.0 +Content-Type: text/plain; charset="iso-8859-1" +Content-Transfer-Encoding: 8bit + +Die Hasen und die Frösche + +Die Hasen klagten einst über ihre mißliche Lage; "wir leben", sprach ein Redner, "in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst. Auf, laßt uns ein für allemal sterben." + +In einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; allein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste untertauchten. + +"Halt", rief nun eben dieser Sprecher, "wir wollen das Ersäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, welche also wohl noch unglücklicher sein müssen als wir." + + + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 19, + "hour": 1, + "minute": 10, + "second": 27, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "dwsauder@example.com" + } + }, + "message_id": "4.2.0.58.20000519010842.00a8c7f0@pop.example.com", + "mime_version": "1.0", + "subject": "Die Hasen und die Fr�sche", + "to": { + "Address": { + "name": "Heinz M�ller", + "address": "mueller@example.com" + } + }, + "content_transfer_encoding": "8bit", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "iso-8859-1" + } + }, + "others": { + "X-Sender": [ + "dwsauder@pop.example.com (Unverified)" + ], + "X-Mailer": [ + "QUALCOMM Windows Eudora Pro Version 4.2.0.58" + ], + "X-Priority": [ + "1 (Highest)" + ] + } + }, + "text_body": [ + { + "contents": "Die Hasen und die Frösche\r\n\r\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst. Auf, laßt uns ein für allemal sterben.\" \r\n\r\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; allein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste untertauchten. \r\n\r\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, welche also wohl noch unglücklicher sein müssen als wir.\" \r\n\r\n\r\n" + } + ] +} \ No newline at end of file diff --git a/tests/legacy/011.txt b/tests/legacy/011.txt new file mode 100644 index 0000000..0f0abd4 --- /dev/null +++ b/tests/legacy/011.txt @@ -0,0 +1,82 @@ +Message-Id: <4.2.0.58.20000519001217.00a85b60@pop.example.com> +X-Sender: dwsauder@pop.example.com (Unverified) +X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 +Date: Fri, 19 May 2000 00:17:39 -0400 +To: =?iso-8859-1?Q?J=FCrgen?= =?iso-8859-1?Q?_Schm=FCrgen?= + +From: Doug Sauder +Subject: =?iso-8859-1?Q?Die_Hasen_und_die_Fr=F6sche?= +Mime-Version: 1.0 +Content-Type: text/plain; charset="iso-8859-1" +Content-Transfer-Encoding: quoted-printable + +Die Hasen und die Fr=F6sche + +Die Hasen klagten einst =FCber ihre mi=DFliche Lage; "wir leben", sprach ein= + Redner, "in steter Furcht vor Menschen und Tieren, eine Beute der Hunde,= + der Adler, ja fast aller Raubtiere! Unsere stete Angst ist =E4rger als der= + Tod selbst. Auf, la=DFt uns ein f=FCr allemal sterben."=20 + +In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu;= + allein das au=DFerordentliche Get=F6se und ihre wunderbare Gestalt= + erschreckte eine Menge Fr=F6sche, die am Ufer sa=DFen, so sehr, da=DF sie= + aufs schnellste untertauchten.=20 + +"Halt", rief nun eben dieser Sprecher, "wir wollen das Ers=E4ufen noch ein= + wenig aufschieben, denn auch uns f=FCrchten, wie ihr seht, einige Tiere,= + welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."=20 + + + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 19, + "hour": 0, + "minute": 17, + "second": 39, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "dwsauder@example.com" + } + }, + "message_id": "4.2.0.58.20000519001217.00a85b60@pop.example.com", + "mime_version": "1.0", + "subject": "Die Hasen und die Frösche", + "to": { + "Address": { + "name": "Jürgen Schmürgen", + "address": "jschmuergen@example.com" + } + }, + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "iso-8859-1" + } + }, + "others": { + "X-Sender": [ + "dwsauder@pop.example.com (Unverified)" + ], + "X-Mailer": [ + "QUALCOMM Windows Eudora Pro Version 4.2.0.58" + ] + } + }, + "text_body": [ + { + "contents": "Die Hasen und die Frösche\n\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst. Auf, laßt uns ein für allemal sterben.\" \n\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; allein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste untertauchten. \n\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, welche also wohl noch unglücklicher sein müssen als wir.\" \n\n\n" + } + ] +} \ No newline at end of file diff --git a/tests/legacy/012.txt b/tests/legacy/012.txt new file mode 100644 index 0000000..e484540 --- /dev/null +++ b/tests/legacy/012.txt @@ -0,0 +1,92 @@ +From: "Doug Sauder" +To: =?Windows-1252?Q?Heinz_M=FCller?= +Subject: =?Windows-1252?Q?Die_Hasen_und_die_Fr=F6sche_=28Microsoft_Outlook_00=29?= +Date: Wed, 17 May 2000 19:30:20 -0400 +Message-ID: +MIME-Version: 1.0 +Content-Type: text/plain; + charset="Windows-1252" +Content-Transfer-Encoding: quoted-printable +X-Priority: 3 (Normal) +X-MSMail-Priority: Normal +X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) +Importance: Normal +X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 + +Die Hasen und die Fr=F6sche + +Die Hasen klagten einst =FCber ihre mi=DFliche Lage; "wir leben", sprach = +ein Redner, "in steter Furcht vor Menschen und Tieren, eine Beute der = +Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist = +=E4rger als der Tod selbst. Auf, la=DFt uns ein f=FCr allemal sterben."=20 + +In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu; = +allein das au=DFerordentliche Get=F6se und ihre wunderbare Gestalt = +erschreckte eine Menge Fr=F6sche, die am Ufer sa=DFen, so sehr, da=DF = +sie aufs schnellste untertauchten.=20 + +"Halt", rief nun eben dieser Sprecher, "wir wollen das Ers=E4ufen noch = +ein wenig aufschieben, denn auch uns f=FCrchten, wie ihr seht, einige = +Tiere, welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."=20 + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 17, + "hour": 19, + "minute": 30, + "second": 20, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "doug@example.com" + } + }, + "message_id": "NDBBIAKOPKHFGPLCODIGCEKECHAA.doug@example.com", + "mime_version": "1.0", + "subject": "Die Hasen und die Frösche (Microsoft Outlook 00)", + "to": { + "Address": { + "name": "Heinz Müller", + "address": "mueller@example.com" + } + }, + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "Windows-1252" + } + }, + "others": { + "X-MimeOLE": [ + "Produced By Microsoft MimeOLE V5.00.2314.1300" + ], + "X-MSMail-Priority": [ + "Normal" + ], + "X-Priority": [ + "3 (Normal)" + ], + "Importance": [ + "Normal" + ], + "X-Mailer": [ + "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" + ] + } + }, + "text_body": [ + { + "contents": "Die Hasen und die Frösche\n\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst. Auf, laßt uns ein für allemal sterben.\" \n\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; allein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste untertauchten. \n\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, welche also wohl noch unglücklicher sein müssen als wir.\" \n" + } + ] +} \ No newline at end of file diff --git a/tests/legacy/013.txt b/tests/legacy/013.txt new file mode 100644 index 0000000..2ab2bca --- /dev/null +++ b/tests/legacy/013.txt @@ -0,0 +1,93 @@ +From: "Doug Sauder" +To: =?iso-8859-1?B?SvxyZ2VuIFNjaG38cmdlbg==?= +Subject: =?iso-8859-1?Q?Die_Hasen_und_die_Fr=F6sche_=28Microsoft_Outlook_00=29?= +Date: Wed, 17 May 2000 19:13:51 -0400 +Message-ID: +MIME-Version: 1.0 +Content-Type: text/plain; + charset="iso-8859-1" +Content-Transfer-Encoding: 8bit +X-Priority: 3 (Normal) +X-MSMail-Priority: Normal +X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) +Importance: Normal +X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 + +Die Hasen und die Frösche + +Die Hasen klagten einst über ihre mißliche Lage; "wir leben", sprach ein +Redner, "in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der +Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod +selbst. Auf, laßt uns ein für allemal sterben." + +In einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; +allein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte +eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste +untertauchten. + +"Halt", rief nun eben dieser Sprecher, "wir wollen das Ersäufen noch ein +wenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, +welche also wohl noch unglücklicher sein müssen als wir." + + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 17, + "hour": 19, + "minute": 13, + "second": 51, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "doug@example.com" + } + }, + "message_id": "NDBBIAKOPKHFGPLCODIGEEKCCHAA.doug@example.com", + "mime_version": "1.0", + "subject": "Die Hasen und die Frösche (Microsoft Outlook 00)", + "to": { + "Address": { + "name": "Jürgen Schmürgen", + "address": "schmuergen@example.com" + } + }, + "content_transfer_encoding": "8bit", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "iso-8859-1" + } + }, + "others": { + "X-Mailer": [ + "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" + ], + "X-MSMail-Priority": [ + "Normal" + ], + "X-Priority": [ + "3 (Normal)" + ], + "Importance": [ + "Normal" + ], + "X-MimeOLE": [ + "Produced By Microsoft MimeOLE V5.00.2314.1300" + ] + } + }, + "text_body": [ + { + "contents": "Die Hasen und die Frösche\r\n\r\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein\r\nRedner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der\r\nAdler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod\r\nselbst. Auf, laßt uns ein für allemal sterben.\"\r\n\r\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu;\r\nallein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte\r\neine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste\r\nuntertauchten.\r\n\r\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein\r\nwenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere,\r\nwelche also wohl noch unglücklicher sein müssen als wir.\"\r\n\r\n" + } + ] +} \ No newline at end of file diff --git a/tests/legacy/014.txt b/tests/legacy/014.txt new file mode 100644 index 0000000..408de8f --- /dev/null +++ b/tests/legacy/014.txt @@ -0,0 +1,158 @@ +From: "Doug Sauder" +To: "Joe Blow" +Subject: Test message from Microsoft Outlook 00 +Date: Wed, 17 May 2000 19:38:28 -0400 +Message-ID: +MIME-Version: 1.0 +Content-Type: multipart/alternative; + boundary="----=_NextPart_000_0005_01BFC037.799BEF60" +X-Priority: 3 (Normal) +X-MSMail-Priority: Normal +X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) +Importance: Normal +X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 + +This is a multi-part message in MIME format. + +------=_NextPart_000_0005_01BFC037.799BEF60 +Content-Type: text/plain; + charset="iso-8859-1" +Content-Transfer-Encoding: quoted-printable + + +The Hare and the Tortoise=20 +=20 +A HARE one day ridiculed the short feet and slow pace of the Tortoise, = +who replied, laughing: "Though you be swift as the wind, I will beat = +you in a race." The Hare, believing her assertion to be simply = +impossible, assented to the proposal; and they agreed that the Fox = +should choose the course and fix the goal. On the day appointed for the = +race the two started together. The Tortoise never for a moment stopped, = +but went on with a slow but steady pace straight to the end of the = +course. The Hare, lying down by the wayside, fell fast asleep. At last = +waking up, and moving as fast as he could, he saw the Tortoise had = +reached the goal, and was comfortably dozing after her fatigue. =20 +=20 +Slow but steady wins the race. =20 + + +------=_NextPart_000_0005_01BFC037.799BEF60 +Content-Type: text/html; + charset="iso-8859-1" +Content-Transfer-Encoding: quoted-printable + + + + + + +

The Hare and the Tortoise = +
 
A HARE=20 +one day ridiculed the short feet and slow pace of the Tortoise, who = +replied,=20 +laughing:  "Though you be swift as the wind, I will beat you in a=20 +race."  The Hare, believing her assertion to be simply impossible, = +assented=20 +to the proposal; and they agreed that the Fox should choose the course = +and fix=20 +the goal.  On the day appointed for the race the two started=20 +together.  The Tortoise never for a moment stopped, but went on = +with a slow=20 +but steady pace straight to the end of the course.  The Hare, lying = +down by=20 +the wayside, fell fast asleep.  At last waking up, and moving as = +fast as he=20 +could, he saw the Tortoise had reached the goal, and was comfortably = +dozing=20 +after her fatigue. 
 
Slow but steady wins the = +race. =20 +
+ +------=_NextPart_000_0005_01BFC037.799BEF60-- + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 17, + "hour": 19, + "minute": 38, + "second": 28, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "doug@example.com" + } + }, + "message_id": "NDBBIAKOPKHFGPLCODIGCEKFCHAA.doug@example.com", + "mime_version": "1.0", + "subject": "Test message from Microsoft Outlook 00", + "to": { + "Address": { + "name": "Joe Blow", + "address": "jblow@example.com" + } + }, + "content_type": { + "c_type": "multipart", + "c_subtype": "alternative", + "attributes": { + "boundary": "----=_NextPart_000_0005_01BFC037.799BEF60" + } + }, + "others": { + "X-Priority": [ + "3 (Normal)" + ], + "X-MSMail-Priority": [ + "Normal" + ], + "X-MimeOLE": [ + "Produced By Microsoft MimeOLE V5.00.2314.1300" + ], + "Importance": [ + "Normal" + ], + "X-Mailer": [ + "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" + ] + } + }, + "html_body": [ + { + "header": { + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "html", + "attributes": { + "charset": "iso-8859-1" + } + } + }, + "contents": "\n\n\n\n\n

The Hare and the Tortoise
 
A HARE \none day ridiculed the short feet and slow pace of the Tortoise, who replied, \nlaughing:  \"Though you be swift as the wind, I will beat you in a \nrace.\"  The Hare, believing her assertion to be simply impossible, assented \nto the proposal; and they agreed that the Fox should choose the course and fix \nthe goal.  On the day appointed for the race the two started \ntogether.  The Tortoise never for a moment stopped, but went on with a slow \nbut steady pace straight to the end of the course.  The Hare, lying down by \nthe wayside, fell fast asleep.  At last waking up, and moving as fast as he \ncould, he saw the Tortoise had reached the goal, and was comfortably dozing \nafter her fatigue. 
 
Slow but steady wins the race.  \n
\n" + } + ], + "text_body": [ + { + "header": { + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "iso-8859-1" + } + } + }, + "contents": "\nThe Hare and the Tortoise \n \nA HARE one day ridiculed the short feet and slow pace of the Tortoise, who replied, laughing: \"Though you be swift as the wind, I will beat you in a race.\" The Hare, believing her assertion to be simply impossible, assented to the proposal; and they agreed that the Fox should choose the course and fix the goal. On the day appointed for the race the two started together. The Tortoise never for a moment stopped, but went on with a slow but steady pace straight to the end of the course. The Hare, lying down by the wayside, fell fast asleep. At last waking up, and moving as fast as he could, he saw the Tortoise had reached the goal, and was comfortably dozing after her fatigue. \n \nSlow but steady wins the race. \n\n" + } + ] +} \ No newline at end of file diff --git a/tests/legacy/015.txt b/tests/legacy/015.txt new file mode 100644 index 0000000..e8726f9 --- /dev/null +++ b/tests/legacy/015.txt @@ -0,0 +1,5771 @@ +Message-Id: <4.2.0.58.20000519003556.00a918e0@pop.example.com> +X-Sender: dwsauder@pop.example.com (Unverified) +X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 +X-Priority: 2 (High) +Date: Fri, 19 May 2000 00:36:58 -0400 +To: Heinz =?iso-8859-1?Q?Müller?= +From: Doug Sauder +Subject: =?iso-8859-1?Q?Die_Hasen_und_die_Frösche?= +Mime-Version: 1.0 +Content-Type: multipart/mixed; + boundary="=====================_715392540==_" + +--=====================_715392540==_ +Content-Type: multipart/related; + type="multipart/alternative"; + boundary="=====================_715392540==_.REL" + +--=====================_715392540==_.REL +Content-Type: multipart/alternative; + boundary="=====================_715392550==_.ALT" + +--=====================_715392550==_.ALT +Content-Type: text/plain; charset="iso-8859-1" +Content-Transfer-Encoding: quoted-printable + +Die Hasen und die Fr=F6sche + +Die Hasen klagten einst =FCber ihre mi=DFliche Lage; "wir leben", sprach ein= + Redner, "in steter Furcht vor Menschen und Tieren, eine Beute der Hunde,= + der Adler, ja fast aller Raubtiere! Unsere stete Angst ist =E4rger als der= + Tod selbst. Auf, la=DFt uns ein f=FCr allemal sterben."=20 + +In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu;= + allein das au=DFerordentliche Get=F6se und ihre wunderbare Gestalt= + erschreckte eine Menge Fr=F6sche, die am Ufer sa=DFen, so sehr, da=DF sie= + aufs schnellste untertauchten.=20 + +"Halt", rief nun eben dieser Sprecher, "wir wollen das Ers=E4ufen noch ein= + wenig aufschieben, denn auch uns f=FCrchten, wie ihr seht, einige Tiere,= + welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."=20 + +2aa3ed95.png2aa3edd1.png +--=====================_715392550==_.ALT +Content-Type: text/html; charset="iso-8859-1" +Content-Transfer-Encoding: quoted-printable + + +Die Hasen und = +die +Fr=F6sche
+
+
Die Hasen klagten einst =FCber +ihre mi=DFliche Lage; "wir leben", sprach ein Redner, "in +steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, +ja fast aller Raubtiere! Unsere stete Angst ist =E4rger als der Tod selbst. +Auf, la=DFt uns ein f=FCr allemal sterben."
+
+In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu; +allein das au=DFerordentliche Get=F6se und ihre wunderbare Gestalt +erschreckte eine Menge Fr=F6sche, die am Ufer sa=DFen, so sehr, da=DF sie au= +fs +schnellste untertauchten.
+
+"Halt", rief nun eben dieser Sprecher, "wir wollen das +Ers=E4ufen noch ein wenig aufschieben, denn auch uns f=FCrchten, wie ihr +seht, einige Tiere, welche also wohl noch ungl=FCcklicher sein m=FCssen als +wir."
+
+
3D"2aa3ed95.png" + +--=====================_715392550==_.ALT-- + +--=====================_715392540==_.REL +Content-Type: image/png; name="2aa3ed95.png" +Content-ID: <4.2.0.58.20000519003556.00a918e0@pop.example.com.2> +Content-Transfer-Encoding: base64 +Content-Disposition: inline; filename="2aa3ed95.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAgAABAAABgAAAAA +CCkAEEIAEEoACDEAEFIIIXMIKXsIKYQIIWsAGFoACDkIIWMQOZwYQqUYQq0YQrUQOaUQMZQAGFIQ +MYwpUrU5Y8Y5Y84pWs4YSs4YQs4YQr1Ca8Z7nNacvd6Mtd5jlOcxa94hUt4YStYYQsYQMaUAACHO +5+/n7++cxu9ShO8pWucQOa1Ke86tzt6lzu9ajO8QMZxahNat1ufO7++Mve9Ke+8YOaUYSsaMvee1 +5++Uve8AAClajOdzpe9rnO8IKYwxY+8pWu8IIXsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAADBMg1VAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAu +MT1evmgAAAGISURBVHicddJtV5swGAbgEk6AJhBSk4bMCUynBSLaqovbrG/bfPn/vyh70lbssceb +L5xznTsh5BmNhgQoRChwo50EOIohUYLDj4zHhKYQkrEoQdvock4ne0IKMVUpKZLQDeqSTIsv+18P +yqqWUw2IBsRM7307PPp+fDJrWtnpLDJvewYxnewfnvanZ+fzpmwXijC8KbqEa3Fx2ff91Y95U9XC +UpaDeQwiMpHXP/v+1++bWVPWQoGFawtjury9vru/f/C1Vi7ezT0WWpQHf/7+u/G71aLThK/MjRxm +T6KdzZ9fGk9yatMsTgZLl3XVgFRAC6spj/13enssqJVtWVa3NdBSacL8+VZmYqKmdd1CSYoOiMOS +GwtzlqqlFFIuOqv0a1ZEZrUkWICLLFW266y1KvWE1zV/iDAH1EopnVLCiygZCIomH3NCKX0lnI+B +1iuuzCGTxwXjnDO4d7NpbX42YJJHkBwmAm2TxwAZg40J3+Xtbv1rgOAZwG0NxW62p+lT+Yi747sD +/wEUVMzYmWkOvwAAACV0RVh0Q29tbWVudABjbGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZz +O7wAAAAASUVORK5CYII= +--=====================_715392540==_.REL +Content-Type: image/png; name="2aa3edd1.png" +Content-ID: <4.2.0.58.20000519003556.00a918e0@pop.example.com.3> +Content-Transfer-Encoding: base64 +Content-Disposition: inline; filename="2aa3edd1.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAABAAALAAAVAAAa +AAAXAAARAAAKAAADAAAcAAAyAABEAABNAABIAAA9AAAjAAAWAAAmAABhAAB7AACGAACHAAB9AAB0 +AABgAAA5AAAUAAAGAAAnAABLAABvAACQAAClAAC7AAC/AACrAAChAACMAABzAABbAAAuAAAIAABM +AAB3AACZAAC0GRnKODjVPT3bKSndBQW4AACoAAB5AAAxAAAYAAAEAABFAACaAAC7JCTRYWHfhITm +f3/mVlbqHx/SAAC5AACjAABdAABCAAAoAAAJAABnAAC6Dw/QVFTek5PlrKzpmZntZWXvJSXXAADB +AACxAACcAABtAABTAAA2AAAbAAAFAABKAACBAADLICDdZ2fonJzrpqbtiorvUVHvFBTRAADDAAC2 +AAB4AABeAABAAAAiAABXAACSAADCAADaGxvoVVXseHjveHjvV1fvJibhAADOAAC3AACnAACVAABH +AAArAAAPAACdAADFAADhBQXrKCjvPDzvNTXvGxvjAADQAADJAAC1AACXAACEAABsAABPAAASAAAC +AABiAADpAADvAgLnAADYAADLAAC6AACwAABwAAATAAAkAABYAADIAADTAADNAACzAACDAABuAAAe +AAB+AADAAACkAACNAAB/AABpAABQAAAwAACRAACpAAC8AACqAACbAABlAABJAAAqAAAOAAA0AACs +AACvAACtAACmAACJAAB6AABrAABaAAA+AAApAABqAACCAACfAACeAACWAACPAAB8AAAZAAAHAABV +AACOAACKAAA4AAAQAAA/AAByAACAAABcAAA3AAAsAABmAABDAABWAAAgAAAzAAA8AAA6AAAfAAAM +AAAdAAANAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAD8LtlFAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAu +MT1evmgAAAIISURBVHicY2CAg/8QwIABmJhZWFnZ2Dk4MaU5uLh5eHn5+LkFBDlQJf8zC/EIi4iK +iUtI8koJScsgyf5nlpWTV1BUUlZRVVPX4NFk1UJIyghp6+jq6RsYGhmbKJgK85mZW8Dk/rNaSlhZ +29ja2Ts4Ojkr6Li4urFDNf53N/Ow8vTy9vH18w8IDAoWDQkNC4+ASP5ni4wKio6JjYtPSExKTnFW +SE1LF4A69n9GZlZ2Tm5efkFhUXFySWlZlEd5RSVY7j+TkGRVdU1tXX1DY1Ozcktpa1t7h2YnOAj+ +d7l1tyo79vT29SdNSJ44SbFVdHIo9xSIHNPUaWqTpifNSJrZnK00S0U1a/acUG5piNz/uXLzVJ2q +m6dXz584S2WB1cJFi5cshZr539xVftnyFKUVTi2TVjqvyhJLXb1m7TqoHPt6F/HW0g0bN63crGqV +tWXrtu07BJihcsw71+zanRW8Z89eq337RQ/Ip60xO3gIElX/LbikDm8T36KwbNmRo7O3zpHkPSZw +HBqL//8flz1x2OOkyKJTi7aqbzutfUZI2gIuF8F2lr/D5dw2+fZdwpl8YVOlI+CJ4/9/joOyYed5 +QzMvhGqnm2V0WiClm///D0lfXHtJ6vLlK9w7rx7vQk5SQJbFtSms1y9evXid7QZacgOxmSxktNzd +tSwwU+J/VICaCPFIYU3XAJhIOtjf5sfyAAAAJXRFWHRDb21tZW50AGNsaXAyZ2lmIHYuMC42IGJ5 +IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg== +--=====================_715392540==_.REL-- + +--=====================_715392540==_ +Content-Type: image/png; name="blueball.png" +Content-Transfer-Encoding: base64 +Content-Disposition: attachment; filename="blueball.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAgAABAAABgAAAAA +CCkAEEIAEEoACDEAEFIIIXMIKXsIKYQIIWsAGFoACDkIIWMQOZwYQqUYQq0YQrUQOaUQMZQAGFIQ +MYwpUrU5Y8Y5Y84pWs4YSs4YQs4YQr1Ca8Z7nNacvd6Mtd5jlOcxa94hUt4YStYYQsYQMaUAACHO +5+/n7++cxu9ShO8pWucQOa1Ke86tzt6lzu9ajO8QMZxahNat1ufO7++Mve9Ke+8YOaUYSsaMvee1 +5++Uve8AAClajOdzpe9rnO8IKYwxY+8pWu8IIXsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAADBMg1VAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAu +MT1evmgAAAGISURBVHicddJtV5swGAbgEk6AJhBSk4bMCUynBSLaqovbrG/bfPn/vyh70lbssceb +L5xznTsh5BmNhgQoRChwo50EOIohUYLDj4zHhKYQkrEoQdvock4ne0IKMVUpKZLQDeqSTIsv+18P +yqqWUw2IBsRM7307PPp+fDJrWtnpLDJvewYxnewfnvanZ+fzpmwXijC8KbqEa3Fx2ff91Y95U9XC +UpaDeQwiMpHXP/v+1++bWVPWQoGFawtjury9vru/f/C1Vi7ezT0WWpQHf/7+u/G71aLThK/MjRxm +T6KdzZ9fGk9yatMsTgZLl3XVgFRAC6spj/13enssqJVtWVa3NdBSacL8+VZmYqKmdd1CSYoOiMOS +GwtzlqqlFFIuOqv0a1ZEZrUkWICLLFW266y1KvWE1zV/iDAH1EopnVLCiygZCIomH3NCKX0lnI+B +1iuuzCGTxwXjnDO4d7NpbX42YJJHkBwmAm2TxwAZg40J3+Xtbv1rgOAZwG0NxW62p+lT+Yi747sD +/wEUVMzYmWkOvwAAACV0RVh0Q29tbWVudABjbGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZz +O7wAAAAASUVORK5CYII= +--=====================_715392540==_ +Content-Type: image/png; name="greenball.png" +Content-Transfer-Encoding: base64 +Content-Disposition: attachment; filename="greenball.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAAAEAAAGAAAIQAA +CAAAMQAAQgAAUgAAWgAASgAIYwAIcwAIewAQjAAIawAAOQAAYwAQlAAQnAAhpQAQpQAhrQBCvRhj +xjFjxjlSxiEpzgAYvQAQrQAYrQAhvQCU1mOt1nuE1lJK3hgh1gAYxgAYtQAAKQBCzhDO55Te563G +55SU52NS5yEh3gAYzgBS3iGc52vW75y974yE71JC7xCt73ul3nNa7ykh5wAY1gAx5wBS7yFr7zlK +7xgp5wAp7wAx7wAIhAAQtQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAp1fnZAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAu +MT1evmgAAAFtSURBVHicddJtV8IgFAdwD2zIgMEE1+NcqdsoK+m5tCyz7/+ZiLmHsyzvq53zO/cy ++N9ery1bVe9PWQA9z4MQ+H8Yoj7GASZ95IHfaBGmLOSchyIgyOu22mgQSjUcDuNYcoGjLiLK1cHh +0fHJaTKKOcMItgYxT89OzsfjyTTLC8UF0c2ZNmKquJhczq6ub+YmSVUYRF59GeDastu7+9nD41Nm +kiJ2jc2J3kAWZ9Pr55fH18XSmRuKUTXUaqHy7O19tfr4NFle/w3YDrWRUIlZrL/W86XJkyJVG9Ea +EjIx2XyZmZJGioeUaL+2AY8TY8omR6nkLKhu70zjUKVJXsp3quS2DVSJWNh3zzJKCyexI0ZxBP3a +fE0ElyqOlZJyw8r3BE2SFiJCyxA434SCkg65RhdeQBljQtCg39LWrA90RDDG1EWrYUO23hMANUKR +Rl61E529cR++D2G5LK002dr/qrcfu9u0V3bxn/XdhR/NYeeN0ggsLAAAACV0RVh0Q29tbWVudABj +bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII= +--=====================_715392540==_-- + + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 19, + "hour": 0, + "minute": 36, + "second": 58, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "dwsauder@example.com" + } + }, + "message_id": "4.2.0.58.20000519003556.00a918e0@pop.example.com", + "mime_version": "1.0", + "subject": "Die Hasen und die Frösche", + "to": { + "Address": { + "name": "Heinz Müller", + "address": "mueller@example.com" + } + }, + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "=====================_715392540==_" + } + }, + "others": { + "X-Sender": [ + "dwsauder@pop.example.com (Unverified)" + ], + "X-Mailer": [ + "QUALCOMM Windows Eudora Pro Version 4.2.0.58" + ], + "X-Priority": [ + "2 (High)" + ] + } + }, + "html_body": [ + { + "header": { + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "html", + "attributes": { + "charset": "iso-8859-1" + } + } + }, + "contents": "\nDie Hasen und die\nFrösche
\n
\n
Die Hasen klagten einst über\nihre mißliche Lage; "wir leben", sprach ein Redner, "in\nsteter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler,\nja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst.\nAuf, laßt uns ein für allemal sterben."
\n
\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu;\nallein das außerordentliche Getöse und ihre wunderbare Gestalt\nerschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs\nschnellste untertauchten.
\n
\n"Halt", rief nun eben dieser Sprecher, "wir wollen das\nErsäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr\nseht, einige Tiere, welche also wohl noch unglücklicher sein müssen als\nwir."
\n
\n
\"2aa3ed95.png\"\"2aa3edd1.png\"\n" + } + ], + "text_body": [ + { + "header": { + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "iso-8859-1" + } + } + }, + "contents": "Die Hasen und die Frösche\n\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst. Auf, laßt uns ein für allemal sterben.\" \n\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; allein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste untertauchten. \n\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, welche also wohl noch unglücklicher sein müssen als wir.\" \n\n2aa3ed95.png2aa3edd1.png" + } + ], + "attachments": [ + { + "File": { + "header": { + "content_disposition": { + "c_type": "inline", + "attributes": { + "filename": "2aa3ed95.png" + } + }, + "content_id": "4.2.0.58.20000519003556.00a918e0@pop.example.com.2", + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "2aa3ed95.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 8, + 0, + 0, + 16, + 0, + 0, + 24, + 0, + 0, + 0, + 0, + 8, + 41, + 0, + 16, + 66, + 0, + 16, + 74, + 0, + 8, + 49, + 0, + 16, + 82, + 8, + 33, + 115, + 8, + 41, + 123, + 8, + 41, + 132, + 8, + 33, + 107, + 0, + 24, + 90, + 0, + 8, + 57, + 8, + 33, + 99, + 16, + 57, + 156, + 24, + 66, + 165, + 24, + 66, + 173, + 24, + 66, + 181, + 16, + 57, + 165, + 16, + 49, + 148, + 0, + 24, + 82, + 16, + 49, + 140, + 41, + 82, + 181, + 57, + 99, + 198, + 57, + 99, + 206, + 41, + 90, + 206, + 24, + 74, + 206, + 24, + 66, + 206, + 24, + 66, + 189, + 66, + 107, + 198, + 123, + 156, + 214, + 156, + 189, + 222, + 140, + 181, + 222, + 99, + 148, + 231, + 49, + 107, + 222, + 33, + 82, + 222, + 24, + 74, + 214, + 24, + 66, + 198, + 16, + 49, + 165, + 0, + 0, + 33, + 206, + 231, + 239, + 231, + 239, + 239, + 156, + 198, + 239, + 82, + 132, + 239, + 41, + 90, + 231, + 16, + 57, + 173, + 74, + 123, + 206, + 173, + 206, + 222, + 165, + 206, + 239, + 90, + 140, + 239, + 16, + 49, + 156, + 90, + 132, + 214, + 173, + 214, + 231, + 206, + 239, + 239, + 140, + 189, + 239, + 74, + 123, + 239, + 24, + 57, + 165, + 24, + 74, + 198, + 140, + 189, + 231, + 181, + 231, + 239, + 148, + 189, + 239, + 0, + 0, + 41, + 90, + 140, + 231, + 115, + 165, + 239, + 107, + 156, + 239, + 8, + 41, + 140, + 49, + 99, + 239, + 41, + 90, + 239, + 8, + 33, + 123, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 193, + 50, + 13, + 85, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 1, + 136, + 73, + 68, + 65, + 84, + 120, + 156, + 117, + 210, + 109, + 87, + 155, + 48, + 24, + 6, + 224, + 18, + 78, + 128, + 38, + 16, + 82, + 147, + 134, + 204, + 9, + 76, + 167, + 5, + 34, + 218, + 170, + 139, + 219, + 172, + 111, + 219, + 124, + 249, + 255, + 191, + 40, + 123, + 210, + 86, + 236, + 177, + 199, + 155, + 47, + 156, + 115, + 157, + 59, + 33, + 228, + 25, + 141, + 134, + 4, + 40, + 68, + 40, + 112, + 163, + 157, + 4, + 56, + 138, + 33, + 81, + 130, + 195, + 143, + 140, + 199, + 132, + 166, + 16, + 146, + 177, + 40, + 65, + 219, + 232, + 114, + 78, + 39, + 123, + 66, + 10, + 49, + 85, + 41, + 41, + 146, + 208, + 13, + 234, + 146, + 76, + 139, + 47, + 251, + 95, + 15, + 202, + 170, + 150, + 83, + 13, + 136, + 6, + 196, + 76, + 239, + 125, + 59, + 60, + 250, + 126, + 124, + 50, + 107, + 90, + 217, + 233, + 44, + 50, + 111, + 123, + 6, + 49, + 157, + 236, + 31, + 158, + 246, + 167, + 103, + 231, + 243, + 166, + 108, + 23, + 138, + 48, + 188, + 41, + 186, + 132, + 107, + 113, + 113, + 217, + 247, + 253, + 213, + 143, + 121, + 83, + 213, + 194, + 82, + 150, + 131, + 121, + 12, + 34, + 50, + 145, + 215, + 63, + 251, + 254, + 215, + 239, + 155, + 89, + 83, + 214, + 66, + 129, + 133, + 107, + 11, + 99, + 186, + 188, + 189, + 190, + 187, + 191, + 127, + 240, + 181, + 86, + 46, + 222, + 205, + 61, + 22, + 90, + 148, + 7, + 127, + 254, + 254, + 187, + 241, + 187, + 213, + 162, + 211, + 132, + 175, + 204, + 141, + 28, + 102, + 79, + 162, + 157, + 205, + 159, + 95, + 26, + 79, + 114, + 106, + 211, + 44, + 78, + 6, + 75, + 151, + 117, + 213, + 128, + 84, + 64, + 11, + 171, + 41, + 143, + 253, + 119, + 122, + 123, + 44, + 168, + 149, + 109, + 89, + 86, + 183, + 53, + 208, + 82, + 105, + 194, + 252, + 249, + 86, + 102, + 98, + 162, + 166, + 117, + 221, + 66, + 73, + 138, + 14, + 136, + 195, + 146, + 27, + 11, + 115, + 150, + 170, + 165, + 20, + 82, + 46, + 58, + 171, + 244, + 107, + 86, + 68, + 102, + 181, + 36, + 88, + 128, + 139, + 44, + 85, + 182, + 235, + 172, + 181, + 42, + 245, + 132, + 215, + 53, + 127, + 136, + 48, + 7, + 212, + 74, + 41, + 157, + 82, + 194, + 139, + 40, + 25, + 8, + 138, + 38, + 31, + 115, + 66, + 41, + 125, + 37, + 156, + 143, + 129, + 214, + 43, + 174, + 204, + 33, + 147, + 199, + 5, + 227, + 156, + 51, + 184, + 119, + 179, + 105, + 109, + 126, + 54, + 96, + 146, + 71, + 144, + 28, + 38, + 2, + 109, + 147, + 199, + 0, + 25, + 131, + 141, + 9, + 223, + 229, + 237, + 110, + 253, + 107, + 128, + 224, + 25, + 192, + 109, + 13, + 197, + 110, + 182, + 167, + 233, + 83, + 249, + 136, + 187, + 227, + 187, + 3, + 255, + 1, + 20, + 84, + 204, + 216, + 153, + 105, + 14, + 191, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + }, + { + "File": { + "header": { + "content_disposition": { + "c_type": "inline", + "attributes": { + "filename": "2aa3edd1.png" + } + }, + "content_id": "4.2.0.58.20000519003556.00a918e0@pop.example.com.3", + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "2aa3edd1.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 0, + 1, + 0, + 0, + 11, + 0, + 0, + 21, + 0, + 0, + 26, + 0, + 0, + 23, + 0, + 0, + 17, + 0, + 0, + 10, + 0, + 0, + 3, + 0, + 0, + 28, + 0, + 0, + 50, + 0, + 0, + 68, + 0, + 0, + 77, + 0, + 0, + 72, + 0, + 0, + 61, + 0, + 0, + 35, + 0, + 0, + 22, + 0, + 0, + 38, + 0, + 0, + 97, + 0, + 0, + 123, + 0, + 0, + 134, + 0, + 0, + 135, + 0, + 0, + 125, + 0, + 0, + 116, + 0, + 0, + 96, + 0, + 0, + 57, + 0, + 0, + 20, + 0, + 0, + 6, + 0, + 0, + 39, + 0, + 0, + 75, + 0, + 0, + 111, + 0, + 0, + 144, + 0, + 0, + 165, + 0, + 0, + 187, + 0, + 0, + 191, + 0, + 0, + 171, + 0, + 0, + 161, + 0, + 0, + 140, + 0, + 0, + 115, + 0, + 0, + 91, + 0, + 0, + 46, + 0, + 0, + 8, + 0, + 0, + 76, + 0, + 0, + 119, + 0, + 0, + 153, + 0, + 0, + 180, + 25, + 25, + 202, + 56, + 56, + 213, + 61, + 61, + 219, + 41, + 41, + 221, + 5, + 5, + 184, + 0, + 0, + 168, + 0, + 0, + 121, + 0, + 0, + 49, + 0, + 0, + 24, + 0, + 0, + 4, + 0, + 0, + 69, + 0, + 0, + 154, + 0, + 0, + 187, + 36, + 36, + 209, + 97, + 97, + 223, + 132, + 132, + 230, + 127, + 127, + 230, + 86, + 86, + 234, + 31, + 31, + 210, + 0, + 0, + 185, + 0, + 0, + 163, + 0, + 0, + 93, + 0, + 0, + 66, + 0, + 0, + 40, + 0, + 0, + 9, + 0, + 0, + 103, + 0, + 0, + 186, + 15, + 15, + 208, + 84, + 84, + 222, + 147, + 147, + 229, + 172, + 172, + 233, + 153, + 153, + 237, + 101, + 101, + 239, + 37, + 37, + 215, + 0, + 0, + 193, + 0, + 0, + 177, + 0, + 0, + 156, + 0, + 0, + 109, + 0, + 0, + 83, + 0, + 0, + 54, + 0, + 0, + 27, + 0, + 0, + 5, + 0, + 0, + 74, + 0, + 0, + 129, + 0, + 0, + 203, + 32, + 32, + 221, + 103, + 103, + 232, + 156, + 156, + 235, + 166, + 166, + 237, + 138, + 138, + 239, + 81, + 81, + 239, + 20, + 20, + 209, + 0, + 0, + 195, + 0, + 0, + 182, + 0, + 0, + 120, + 0, + 0, + 94, + 0, + 0, + 64, + 0, + 0, + 34, + 0, + 0, + 87, + 0, + 0, + 146, + 0, + 0, + 194, + 0, + 0, + 218, + 27, + 27, + 232, + 85, + 85, + 236, + 120, + 120, + 239, + 120, + 120, + 239, + 87, + 87, + 239, + 38, + 38, + 225, + 0, + 0, + 206, + 0, + 0, + 183, + 0, + 0, + 167, + 0, + 0, + 149, + 0, + 0, + 71, + 0, + 0, + 43, + 0, + 0, + 15, + 0, + 0, + 157, + 0, + 0, + 197, + 0, + 0, + 225, + 5, + 5, + 235, + 40, + 40, + 239, + 60, + 60, + 239, + 53, + 53, + 239, + 27, + 27, + 227, + 0, + 0, + 208, + 0, + 0, + 201, + 0, + 0, + 181, + 0, + 0, + 151, + 0, + 0, + 132, + 0, + 0, + 108, + 0, + 0, + 79, + 0, + 0, + 18, + 0, + 0, + 2, + 0, + 0, + 98, + 0, + 0, + 233, + 0, + 0, + 239, + 2, + 2, + 231, + 0, + 0, + 216, + 0, + 0, + 203, + 0, + 0, + 186, + 0, + 0, + 176, + 0, + 0, + 112, + 0, + 0, + 19, + 0, + 0, + 36, + 0, + 0, + 88, + 0, + 0, + 200, + 0, + 0, + 211, + 0, + 0, + 205, + 0, + 0, + 179, + 0, + 0, + 131, + 0, + 0, + 110, + 0, + 0, + 30, + 0, + 0, + 126, + 0, + 0, + 192, + 0, + 0, + 164, + 0, + 0, + 141, + 0, + 0, + 127, + 0, + 0, + 105, + 0, + 0, + 80, + 0, + 0, + 48, + 0, + 0, + 145, + 0, + 0, + 169, + 0, + 0, + 188, + 0, + 0, + 170, + 0, + 0, + 155, + 0, + 0, + 101, + 0, + 0, + 73, + 0, + 0, + 42, + 0, + 0, + 14, + 0, + 0, + 52, + 0, + 0, + 172, + 0, + 0, + 175, + 0, + 0, + 173, + 0, + 0, + 166, + 0, + 0, + 137, + 0, + 0, + 122, + 0, + 0, + 107, + 0, + 0, + 90, + 0, + 0, + 62, + 0, + 0, + 41, + 0, + 0, + 106, + 0, + 0, + 130, + 0, + 0, + 159, + 0, + 0, + 158, + 0, + 0, + 150, + 0, + 0, + 143, + 0, + 0, + 124, + 0, + 0, + 25, + 0, + 0, + 7, + 0, + 0, + 85, + 0, + 0, + 142, + 0, + 0, + 138, + 0, + 0, + 56, + 0, + 0, + 16, + 0, + 0, + 63, + 0, + 0, + 114, + 0, + 0, + 128, + 0, + 0, + 92, + 0, + 0, + 55, + 0, + 0, + 44, + 0, + 0, + 102, + 0, + 0, + 67, + 0, + 0, + 86, + 0, + 0, + 32, + 0, + 0, + 51, + 0, + 0, + 60, + 0, + 0, + 58, + 0, + 0, + 31, + 0, + 0, + 12, + 0, + 0, + 29, + 0, + 0, + 13, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 252, + 46, + 217, + 69, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 2, + 8, + 73, + 68, + 65, + 84, + 120, + 156, + 99, + 96, + 128, + 131, + 255, + 16, + 192, + 128, + 1, + 152, + 152, + 89, + 88, + 89, + 217, + 216, + 57, + 56, + 49, + 165, + 57, + 184, + 184, + 121, + 120, + 121, + 249, + 248, + 185, + 5, + 4, + 57, + 80, + 37, + 255, + 51, + 11, + 241, + 8, + 139, + 136, + 138, + 137, + 75, + 72, + 242, + 74, + 9, + 73, + 203, + 32, + 201, + 254, + 103, + 150, + 149, + 147, + 87, + 80, + 84, + 82, + 86, + 81, + 85, + 83, + 215, + 224, + 209, + 100, + 213, + 66, + 72, + 202, + 8, + 105, + 235, + 232, + 234, + 233, + 27, + 24, + 26, + 25, + 155, + 40, + 152, + 10, + 243, + 153, + 153, + 91, + 192, + 228, + 254, + 179, + 90, + 74, + 88, + 89, + 219, + 216, + 218, + 217, + 59, + 56, + 58, + 57, + 43, + 232, + 184, + 184, + 186, + 177, + 67, + 53, + 254, + 119, + 55, + 243, + 176, + 242, + 244, + 242, + 246, + 241, + 245, + 243, + 15, + 8, + 12, + 10, + 22, + 13, + 9, + 13, + 11, + 143, + 128, + 72, + 254, + 103, + 139, + 140, + 10, + 138, + 142, + 137, + 141, + 139, + 79, + 72, + 76, + 74, + 78, + 113, + 86, + 72, + 77, + 75, + 23, + 128, + 58, + 246, + 127, + 70, + 102, + 86, + 118, + 78, + 110, + 94, + 126, + 65, + 97, + 81, + 113, + 114, + 73, + 105, + 89, + 148, + 71, + 121, + 69, + 37, + 88, + 238, + 63, + 147, + 144, + 100, + 85, + 117, + 77, + 109, + 93, + 125, + 67, + 99, + 83, + 179, + 114, + 75, + 105, + 107, + 91, + 123, + 135, + 102, + 39, + 56, + 8, + 254, + 119, + 185, + 117, + 183, + 42, + 59, + 246, + 244, + 246, + 245, + 39, + 77, + 72, + 158, + 56, + 73, + 177, + 85, + 116, + 114, + 40, + 247, + 20, + 136, + 28, + 211, + 212, + 105, + 106, + 147, + 166, + 39, + 205, + 72, + 154, + 217, + 156, + 173, + 52, + 75, + 69, + 53, + 107, + 246, + 156, + 80, + 110, + 105, + 136, + 220, + 255, + 185, + 114, + 243, + 84, + 157, + 170, + 155, + 167, + 87, + 207, + 159, + 56, + 75, + 101, + 129, + 213, + 194, + 69, + 139, + 151, + 44, + 133, + 154, + 249, + 223, + 220, + 85, + 126, + 217, + 242, + 20, + 165, + 21, + 78, + 45, + 147, + 86, + 58, + 175, + 202, + 18, + 75, + 93, + 189, + 102, + 237, + 58, + 168, + 28, + 251, + 122, + 23, + 241, + 214, + 210, + 13, + 27, + 55, + 173, + 220, + 172, + 106, + 149, + 181, + 101, + 235, + 182, + 237, + 59, + 4, + 152, + 161, + 114, + 204, + 59, + 215, + 236, + 218, + 157, + 21, + 188, + 103, + 207, + 94, + 171, + 125, + 251, + 69, + 15, + 200, + 167, + 173, + 49, + 59, + 120, + 8, + 18, + 85, + 255, + 45, + 184, + 164, + 14, + 111, + 19, + 223, + 162, + 176, + 108, + 217, + 145, + 163, + 179, + 183, + 206, + 145, + 228, + 61, + 38, + 112, + 28, + 26, + 139, + 255, + 255, + 31, + 151, + 61, + 113, + 216, + 227, + 164, + 200, + 162, + 83, + 139, + 182, + 170, + 111, + 59, + 173, + 125, + 70, + 72, + 218, + 2, + 46, + 23, + 193, + 118, + 150, + 191, + 195, + 229, + 220, + 54, + 249, + 246, + 93, + 194, + 153, + 124, + 97, + 83, + 165, + 35, + 224, + 137, + 227, + 255, + 127, + 142, + 131, + 178, + 97, + 231, + 121, + 67, + 51, + 47, + 132, + 106, + 167, + 155, + 101, + 116, + 90, + 32, + 165, + 155, + 255, + 255, + 15, + 73, + 95, + 92, + 123, + 73, + 234, + 242, + 229, + 43, + 220, + 59, + 175, + 30, + 239, + 66, + 78, + 82, + 64, + 150, + 197, + 181, + 41, + 172, + 215, + 47, + 94, + 189, + 120, + 157, + 237, + 6, + 90, + 114, + 3, + 177, + 153, + 44, + 100, + 180, + 220, + 221, + 181, + 44, + 48, + 83, + 226, + 127, + 84, + 128, + 154, + 8, + 241, + 72, + 97, + 77, + 215, + 0, + 152, + 72, + 58, + 216, + 223, + 230, + 199, + 242, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + }, + { + "File": { + "header": { + "content_disposition": { + "c_type": "attachment", + "attributes": { + "filename": "blueball.png" + } + }, + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "blueball.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 8, + 0, + 0, + 16, + 0, + 0, + 24, + 0, + 0, + 0, + 0, + 8, + 41, + 0, + 16, + 66, + 0, + 16, + 74, + 0, + 8, + 49, + 0, + 16, + 82, + 8, + 33, + 115, + 8, + 41, + 123, + 8, + 41, + 132, + 8, + 33, + 107, + 0, + 24, + 90, + 0, + 8, + 57, + 8, + 33, + 99, + 16, + 57, + 156, + 24, + 66, + 165, + 24, + 66, + 173, + 24, + 66, + 181, + 16, + 57, + 165, + 16, + 49, + 148, + 0, + 24, + 82, + 16, + 49, + 140, + 41, + 82, + 181, + 57, + 99, + 198, + 57, + 99, + 206, + 41, + 90, + 206, + 24, + 74, + 206, + 24, + 66, + 206, + 24, + 66, + 189, + 66, + 107, + 198, + 123, + 156, + 214, + 156, + 189, + 222, + 140, + 181, + 222, + 99, + 148, + 231, + 49, + 107, + 222, + 33, + 82, + 222, + 24, + 74, + 214, + 24, + 66, + 198, + 16, + 49, + 165, + 0, + 0, + 33, + 206, + 231, + 239, + 231, + 239, + 239, + 156, + 198, + 239, + 82, + 132, + 239, + 41, + 90, + 231, + 16, + 57, + 173, + 74, + 123, + 206, + 173, + 206, + 222, + 165, + 206, + 239, + 90, + 140, + 239, + 16, + 49, + 156, + 90, + 132, + 214, + 173, + 214, + 231, + 206, + 239, + 239, + 140, + 189, + 239, + 74, + 123, + 239, + 24, + 57, + 165, + 24, + 74, + 198, + 140, + 189, + 231, + 181, + 231, + 239, + 148, + 189, + 239, + 0, + 0, + 41, + 90, + 140, + 231, + 115, + 165, + 239, + 107, + 156, + 239, + 8, + 41, + 140, + 49, + 99, + 239, + 41, + 90, + 239, + 8, + 33, + 123, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 193, + 50, + 13, + 85, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 1, + 136, + 73, + 68, + 65, + 84, + 120, + 156, + 117, + 210, + 109, + 87, + 155, + 48, + 24, + 6, + 224, + 18, + 78, + 128, + 38, + 16, + 82, + 147, + 134, + 204, + 9, + 76, + 167, + 5, + 34, + 218, + 170, + 139, + 219, + 172, + 111, + 219, + 124, + 249, + 255, + 191, + 40, + 123, + 210, + 86, + 236, + 177, + 199, + 155, + 47, + 156, + 115, + 157, + 59, + 33, + 228, + 25, + 141, + 134, + 4, + 40, + 68, + 40, + 112, + 163, + 157, + 4, + 56, + 138, + 33, + 81, + 130, + 195, + 143, + 140, + 199, + 132, + 166, + 16, + 146, + 177, + 40, + 65, + 219, + 232, + 114, + 78, + 39, + 123, + 66, + 10, + 49, + 85, + 41, + 41, + 146, + 208, + 13, + 234, + 146, + 76, + 139, + 47, + 251, + 95, + 15, + 202, + 170, + 150, + 83, + 13, + 136, + 6, + 196, + 76, + 239, + 125, + 59, + 60, + 250, + 126, + 124, + 50, + 107, + 90, + 217, + 233, + 44, + 50, + 111, + 123, + 6, + 49, + 157, + 236, + 31, + 158, + 246, + 167, + 103, + 231, + 243, + 166, + 108, + 23, + 138, + 48, + 188, + 41, + 186, + 132, + 107, + 113, + 113, + 217, + 247, + 253, + 213, + 143, + 121, + 83, + 213, + 194, + 82, + 150, + 131, + 121, + 12, + 34, + 50, + 145, + 215, + 63, + 251, + 254, + 215, + 239, + 155, + 89, + 83, + 214, + 66, + 129, + 133, + 107, + 11, + 99, + 186, + 188, + 189, + 190, + 187, + 191, + 127, + 240, + 181, + 86, + 46, + 222, + 205, + 61, + 22, + 90, + 148, + 7, + 127, + 254, + 254, + 187, + 241, + 187, + 213, + 162, + 211, + 132, + 175, + 204, + 141, + 28, + 102, + 79, + 162, + 157, + 205, + 159, + 95, + 26, + 79, + 114, + 106, + 211, + 44, + 78, + 6, + 75, + 151, + 117, + 213, + 128, + 84, + 64, + 11, + 171, + 41, + 143, + 253, + 119, + 122, + 123, + 44, + 168, + 149, + 109, + 89, + 86, + 183, + 53, + 208, + 82, + 105, + 194, + 252, + 249, + 86, + 102, + 98, + 162, + 166, + 117, + 221, + 66, + 73, + 138, + 14, + 136, + 195, + 146, + 27, + 11, + 115, + 150, + 170, + 165, + 20, + 82, + 46, + 58, + 171, + 244, + 107, + 86, + 68, + 102, + 181, + 36, + 88, + 128, + 139, + 44, + 85, + 182, + 235, + 172, + 181, + 42, + 245, + 132, + 215, + 53, + 127, + 136, + 48, + 7, + 212, + 74, + 41, + 157, + 82, + 194, + 139, + 40, + 25, + 8, + 138, + 38, + 31, + 115, + 66, + 41, + 125, + 37, + 156, + 143, + 129, + 214, + 43, + 174, + 204, + 33, + 147, + 199, + 5, + 227, + 156, + 51, + 184, + 119, + 179, + 105, + 109, + 126, + 54, + 96, + 146, + 71, + 144, + 28, + 38, + 2, + 109, + 147, + 199, + 0, + 25, + 131, + 141, + 9, + 223, + 229, + 237, + 110, + 253, + 107, + 128, + 224, + 25, + 192, + 109, + 13, + 197, + 110, + 182, + 167, + 233, + 83, + 249, + 136, + 187, + 227, + 187, + 3, + 255, + 1, + 20, + 84, + 204, + 216, + 153, + 105, + 14, + 191, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + }, + { + "File": { + "header": { + "content_disposition": { + "c_type": "attachment", + "attributes": { + "filename": "greenball.png" + } + }, + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "greenball.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 0, + 0, + 16, + 0, + 0, + 24, + 0, + 0, + 33, + 0, + 0, + 8, + 0, + 0, + 49, + 0, + 0, + 66, + 0, + 0, + 82, + 0, + 0, + 90, + 0, + 0, + 74, + 0, + 8, + 99, + 0, + 8, + 115, + 0, + 8, + 123, + 0, + 16, + 140, + 0, + 8, + 107, + 0, + 0, + 57, + 0, + 0, + 99, + 0, + 16, + 148, + 0, + 16, + 156, + 0, + 33, + 165, + 0, + 16, + 165, + 0, + 33, + 173, + 0, + 66, + 189, + 24, + 99, + 198, + 49, + 99, + 198, + 57, + 82, + 198, + 33, + 41, + 206, + 0, + 24, + 189, + 0, + 16, + 173, + 0, + 24, + 173, + 0, + 33, + 189, + 0, + 148, + 214, + 99, + 173, + 214, + 123, + 132, + 214, + 82, + 74, + 222, + 24, + 33, + 214, + 0, + 24, + 198, + 0, + 24, + 181, + 0, + 0, + 41, + 0, + 66, + 206, + 16, + 206, + 231, + 148, + 222, + 231, + 173, + 198, + 231, + 148, + 148, + 231, + 99, + 82, + 231, + 33, + 33, + 222, + 0, + 24, + 206, + 0, + 82, + 222, + 33, + 156, + 231, + 107, + 214, + 239, + 156, + 189, + 239, + 140, + 132, + 239, + 82, + 66, + 239, + 16, + 173, + 239, + 123, + 165, + 222, + 115, + 90, + 239, + 41, + 33, + 231, + 0, + 24, + 214, + 0, + 49, + 231, + 0, + 82, + 239, + 33, + 107, + 239, + 57, + 74, + 239, + 24, + 41, + 231, + 0, + 41, + 239, + 0, + 49, + 239, + 0, + 8, + 132, + 0, + 16, + 181, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 41, + 213, + 249, + 217, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 1, + 109, + 73, + 68, + 65, + 84, + 120, + 156, + 117, + 210, + 109, + 87, + 194, + 32, + 20, + 7, + 112, + 15, + 108, + 200, + 128, + 193, + 4, + 215, + 227, + 92, + 169, + 219, + 40, + 43, + 233, + 185, + 180, + 44, + 179, + 239, + 255, + 153, + 136, + 185, + 135, + 179, + 44, + 239, + 171, + 157, + 243, + 59, + 247, + 50, + 248, + 223, + 94, + 175, + 45, + 91, + 85, + 239, + 79, + 89, + 0, + 61, + 207, + 131, + 16, + 248, + 127, + 24, + 162, + 62, + 198, + 1, + 38, + 125, + 228, + 129, + 223, + 104, + 17, + 166, + 44, + 228, + 156, + 135, + 34, + 32, + 200, + 235, + 182, + 218, + 104, + 16, + 74, + 53, + 28, + 14, + 227, + 88, + 114, + 129, + 163, + 46, + 34, + 202, + 213, + 193, + 225, + 209, + 241, + 201, + 105, + 50, + 138, + 57, + 195, + 8, + 182, + 6, + 49, + 79, + 207, + 78, + 206, + 199, + 227, + 201, + 52, + 203, + 11, + 197, + 5, + 209, + 205, + 153, + 54, + 98, + 170, + 184, + 152, + 92, + 206, + 174, + 174, + 111, + 230, + 38, + 73, + 85, + 24, + 68, + 94, + 125, + 25, + 224, + 218, + 178, + 219, + 187, + 251, + 217, + 195, + 227, + 83, + 102, + 146, + 34, + 118, + 141, + 205, + 137, + 222, + 64, + 22, + 103, + 211, + 235, + 231, + 151, + 199, + 215, + 197, + 210, + 153, + 27, + 138, + 81, + 53, + 212, + 106, + 161, + 242, + 236, + 237, + 125, + 181, + 250, + 248, + 52, + 89, + 94, + 255, + 13, + 216, + 14, + 181, + 145, + 80, + 137, + 89, + 172, + 191, + 214, + 243, + 165, + 201, + 147, + 34, + 85, + 27, + 209, + 26, + 18, + 50, + 49, + 217, + 124, + 153, + 153, + 146, + 70, + 138, + 135, + 148, + 104, + 191, + 182, + 1, + 143, + 19, + 99, + 202, + 38, + 71, + 169, + 228, + 44, + 168, + 110, + 239, + 76, + 227, + 80, + 165, + 73, + 94, + 202, + 119, + 170, + 228, + 182, + 13, + 84, + 137, + 88, + 216, + 119, + 207, + 50, + 74, + 11, + 39, + 177, + 35, + 70, + 113, + 4, + 253, + 218, + 124, + 77, + 4, + 151, + 42, + 142, + 149, + 146, + 114, + 195, + 202, + 247, + 4, + 77, + 146, + 22, + 34, + 66, + 203, + 16, + 56, + 223, + 132, + 130, + 146, + 14, + 185, + 70, + 23, + 94, + 64, + 25, + 99, + 66, + 208, + 160, + 223, + 210, + 214, + 172, + 15, + 116, + 68, + 48, + 198, + 212, + 69, + 171, + 97, + 67, + 182, + 222, + 19, + 0, + 53, + 66, + 145, + 70, + 94, + 181, + 19, + 157, + 189, + 113, + 31, + 190, + 15, + 97, + 185, + 44, + 173, + 52, + 217, + 218, + 255, + 170, + 183, + 31, + 187, + 219, + 180, + 87, + 118, + 241, + 159, + 245, + 221, + 133, + 31, + 205, + 97, + 231, + 141, + 210, + 8, + 44, + 44, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + } + ] +} \ No newline at end of file diff --git a/tests/legacy/016.txt b/tests/legacy/016.txt new file mode 100644 index 0000000..310f10f --- /dev/null +++ b/tests/legacy/016.txt @@ -0,0 +1,3263 @@ +Message-Id: <4.2.0.58.20000519005150.00a85230@pop.example.com> +X-Sender: dwsauder@pop.example.com (Unverified) +X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 +Date: Fri, 19 May 2000 00:53:25 -0400 +To: =?iso-8859-1?Q?Jürgen?= =?iso-8859-1?Q?_Schmürgen?= + +From: Doug Sauder +Subject: =?iso-8859-1?Q?Die_Hasen_und_die_Frösche?= +Mime-Version: 1.0 +Content-Type: multipart/mixed; + boundary="=====================_716373961==_" + +--=====================_716373961==_ +Content-Type: text/plain; charset="iso-8859-1" +Content-Transfer-Encoding: quoted-printable + +Die Hasen und die Fr=F6sche + +Die Hasen klagten einst =FCber ihre mi=DFliche Lage; "wir leben", sprach ein= + Redner, "in steter Furcht vor Menschen und Tieren, eine Beute der Hunde,= + der Adler, ja fast aller Raubtiere! Unsere stete Angst ist =E4rger als der= + Tod selbst. Auf, la=DFt uns ein f=FCr allemal sterben."=20 + +In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu;= + allein das au=DFerordentliche Get=F6se und ihre wunderbare Gestalt= + erschreckte eine Menge Fr=F6sche, die am Ufer sa=DFen, so sehr, da=DF sie= + aufs schnellste untertauchten.=20 + +"Halt", rief nun eben dieser Sprecher, "wir wollen das Ers=E4ufen noch ein= + wenig aufschieben, denn auch uns f=FCrchten, wie ihr seht, einige Tiere,= + welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."=20 + + +--=====================_716373961==_ +Content-Type: application/mac-binhex40; name="blueball.png" +Content-Disposition: attachment; filename="blueball.png" + + +(This file must be converted with BinHex 4.0) +:$'*XG@9LB@aX,R"ZC`"#58j"E@4[F`!!!!!&,3!!!!"'dSP36NF0#KS+!!!!$8P +)4&)!!!!E!!!!'`J$!!!!ZJS%C`!!!`"36&4&rrrr!!!)!!!3!!!B!!!!!!JT!"" +#!""+!!Ja!""5##&c##Pl##Q%##&V!"KD!!Jj##&M%$QF'%+P'%+Y'%+e%$QP%$' +8!"K5%$'-+9+e1@2'1@21+9V1'%V1'%,1'%+p3Q['Hjc@R,hHM,AHBj6R-@[H)9, +H'%V@'%,'%$'P!!!KcZI[jqr[R-E[8S6[+9VR%$QY5R[1VFlHTFl[@Sc[%$'F@S6 +@VGERcZr[M,h[5R[['$QP'%V'M,hRYHI[P,h[!!!T@ScRFkA[Djc[##Q--@2[+9V +[##&l!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!`6)093!!!!&d8Nj6!%$Qf'B!!!! +@G%9BG&0[CR4hBA*P!'GTCM*`EQFJ-Li`,M%pAVjS!!!"L%P%394iR(A5E9HE-"J +'i"*1J#B38T1'c!P-T`8LfUU,fka[fhcjrlmSHp*@l,((QbqFFjdl)H3CMBB%+%3 +SF+1G"$L+)9'#`iq-ai5Q%*+a+%(Ek(*1*hY##M&9+5Q5d!hUNNb,,rYI$mUUPP- +0L!E%61pp1cckIR`bDeVCk5`bEhX'-ChX(jlfTfIRmkCX&iS`[#QkK'YaFGRhrG@ +2H929`P+@JhN-)M+4ecrlrYI[QeP6eN+"K@X,BlUm[Ekl[hr`Y9BZhXdp&PU8"hr +qrV[aZp@Ldi5[c)dFCNqLRFfIAaT2FQV6,%i'5jGeeB"83!ZV+BrpGhTl,+L9E9P +@YcA38QR#r2P@CQ+LTRAG3NQ+$SM$NKX,FjDUT445,MUVp'Y@4'De*&L!Lba9YZZ +XY5VeK0FeIiJ`"p4++Ce5`SXS'3L+*Kpc3LPp*Cb2JGBVVX`KNmF&ij`cZ(HcD@e +q0Q#54j!!(#B#EC2(!"Q$M3RIjHeZr@Z!i"R!E3h&EVDRk92jL,[MZ`2r!448c0L +CD3kr!!!!*A4&@(4$EfeYC@jd!'0XDA!bCfPQ)(BZ-#if)'*j)&PfCA-J8'PRG@9 +d0R-l[!!!!!"*48j%VN*JJYqd!!!!: + +--=====================_716373961==_ +Content-Type: application/mac-binhex40; name="HasenundFrösche.txt" +Content-Disposition: attachment; filename="HasenundFrösche.txt" + + +(This file must be converted with BinHex 4.0) +:%dKKFf9ZG@jN4R,fFf0SC5jdH(3!9%9B9(4dH(3!!!!!!Z-!!!!!4Pj%D@8J5'& +cC@iJG@jN)'4TC5"'F[CcBfKP$3e%D@8J5'&cC@iJDfaKCh4PEL"PD@jcG#$mBQ9 +b)'PSFQ8JE@RIE'PMD'8J6'&RC6XJ)RGTFL"XC@*PEL)X)(0`FQ&MD#"PD@iJ8Q9 +NEQ9b,#!LD@iJFh4PG'9b)%CeFQ0SG#"fEh)J6@9ZFf0SC@iJG@jN)&4TCA*PEL` +JC@PZC5"#CA9dC5"NCA)J5(9ZC'8X)'4PFL""C'aPFL`JDQ%JCQ&cG#"KE'aPFL" +5BA9LG'PPFQ8K)&9ZFf9bC5"cG'9dC5""EQGcG#"TFh3Jj(*RCA)JB@ac)'4PFL" +8Ef3JFf9XBR0d,L""G@BX)'aKhh3JG@jc)'9TEL"Qr()JB@aXC@eKE#"cG'9bBQ9 +Z,L)J$3e*EL"PD@jPE5"ZB@KPEL"8C@PMD#"hEfaXG'9Z)(0TC5"cD@0S)'jeEL" +PFR2NG@CPEMXJFfPP)'9TE(4PEL"TD'dJHR8l)'&XE'9TEL"NBA-JBAAICA*[FQ4 +PER4XD@0SC5"(CA6fFf8JG@jN)'PSFQ8JGh9ZC'9bBQ&bC5"(CA0dB@ad)'9bFf0 +SFQ9MDh4P)'9TEQ8J6@9ZCf8J4R,fFf0SC5`JC'PP)'&Y)&9QCA)JFf(IC@iX)(0 +[)(0PD()X)'4Khb"cD@8JBA9QFb"cBfKZC@aXFh4P)(9ZG'9bG'&eBfKdC@iZ)!d +0)NKKE(3L,#"bD@9Q)'jeEL"PBQ9Z)'4TCA0PFL"6F(*PBfKPFL`J)RGTFL"hEfa +XC@iJC'&c)%9bFq4eCQ9Z)'j[BfJJC@PZ)(GPEQPR)'&eCR0MD'PPBQ9Z,#"NC@j +Z)'&eBfJJG@jc)'EmFQ0SG'9Z,#"hD@8JD@Kb)(0PD(3X)'9TEQPRC5"8D@9bC5` +JGf9XBfKP)'&XFfmJGfpSE#"ZEf0S)(9ZCfcmBfYXD@0SCA)JFf9TEL"Yr(0cC@i +JB@ac)(GTFLiL)!d09'8!!!: + +--=====================_716373961==_-- + + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 19, + "hour": 0, + "minute": 53, + "second": 25, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "dwsauder@example.com" + } + }, + "message_id": "4.2.0.58.20000519005150.00a85230@pop.example.com", + "mime_version": "1.0", + "subject": "Die Hasen und die Frösche", + "to": { + "Address": { + "name": "Jürgen Schmürgen", + "address": "jschmuergen@example.com" + } + }, + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "=====================_716373961==_" + } + }, + "others": { + "X-Sender": [ + "dwsauder@pop.example.com (Unverified)" + ], + "X-Mailer": [ + "QUALCOMM Windows Eudora Pro Version 4.2.0.58" + ] + } + }, + "text_body": [ + { + "header": { + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "iso-8859-1" + } + } + }, + "contents": "Die Hasen und die Frösche\n\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst. Auf, laßt uns ein für allemal sterben.\" \n\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; allein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste untertauchten. \n\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, welche also wohl noch unglücklicher sein müssen als wir.\" \n\n" + } + ], + "attachments": [ + { + "File": { + "header": { + "content_disposition": { + "c_type": "attachment", + "attributes": { + "filename": "blueball.png" + } + }, + "content_type": { + "c_type": "application", + "c_subtype": "mac-binhex40", + "attributes": { + "name": "blueball.png" + } + } + }, + "contents": [ + 13, + 10, + 40, + 84, + 104, + 105, + 115, + 32, + 102, + 105, + 108, + 101, + 32, + 109, + 117, + 115, + 116, + 32, + 98, + 101, + 32, + 99, + 111, + 110, + 118, + 101, + 114, + 116, + 101, + 100, + 32, + 119, + 105, + 116, + 104, + 32, + 66, + 105, + 110, + 72, + 101, + 120, + 32, + 52, + 46, + 48, + 41, + 13, + 10, + 58, + 36, + 39, + 42, + 88, + 71, + 64, + 57, + 76, + 66, + 64, + 97, + 88, + 44, + 82, + 34, + 90, + 67, + 96, + 34, + 35, + 53, + 56, + 106, + 34, + 69, + 64, + 52, + 91, + 70, + 96, + 33, + 33, + 33, + 33, + 33, + 38, + 44, + 51, + 33, + 33, + 33, + 33, + 34, + 39, + 100, + 83, + 80, + 51, + 54, + 78, + 70, + 48, + 35, + 75, + 83, + 43, + 33, + 33, + 33, + 33, + 36, + 56, + 80, + 13, + 10, + 41, + 52, + 38, + 41, + 33, + 33, + 33, + 33, + 69, + 33, + 33, + 33, + 33, + 39, + 96, + 74, + 36, + 33, + 33, + 33, + 33, + 90, + 74, + 83, + 37, + 67, + 96, + 33, + 33, + 33, + 96, + 34, + 51, + 54, + 38, + 52, + 38, + 114, + 114, + 114, + 114, + 33, + 33, + 33, + 41, + 33, + 33, + 33, + 51, + 33, + 33, + 33, + 66, + 33, + 33, + 33, + 33, + 33, + 33, + 74, + 84, + 33, + 34, + 34, + 13, + 10, + 35, + 33, + 34, + 34, + 43, + 33, + 33, + 74, + 97, + 33, + 34, + 34, + 53, + 35, + 35, + 38, + 99, + 35, + 35, + 80, + 108, + 35, + 35, + 81, + 37, + 35, + 35, + 38, + 86, + 33, + 34, + 75, + 68, + 33, + 33, + 74, + 106, + 35, + 35, + 38, + 77, + 37, + 36, + 81, + 70, + 39, + 37, + 43, + 80, + 39, + 37, + 43, + 89, + 39, + 37, + 43, + 101, + 37, + 36, + 81, + 80, + 37, + 36, + 39, + 13, + 10, + 56, + 33, + 34, + 75, + 53, + 37, + 36, + 39, + 45, + 43, + 57, + 43, + 101, + 49, + 64, + 50, + 39, + 49, + 64, + 50, + 49, + 43, + 57, + 86, + 49, + 39, + 37, + 86, + 49, + 39, + 37, + 44, + 49, + 39, + 37, + 43, + 112, + 51, + 81, + 91, + 39, + 72, + 106, + 99, + 64, + 82, + 44, + 104, + 72, + 77, + 44, + 65, + 72, + 66, + 106, + 54, + 82, + 45, + 64, + 91, + 72, + 41, + 57, + 44, + 13, + 10, + 72, + 39, + 37, + 86, + 64, + 39, + 37, + 44, + 39, + 37, + 36, + 39, + 80, + 33, + 33, + 33, + 75, + 99, + 90, + 73, + 91, + 106, + 113, + 114, + 91, + 82, + 45, + 69, + 91, + 56, + 83, + 54, + 91, + 43, + 57, + 86, + 82, + 37, + 36, + 81, + 89, + 53, + 82, + 91, + 49, + 86, + 70, + 108, + 72, + 84, + 70, + 108, + 91, + 64, + 83, + 99, + 91, + 37, + 36, + 39, + 70, + 64, + 83, + 54, + 13, + 10, + 64, + 86, + 71, + 69, + 82, + 99, + 90, + 114, + 91, + 77, + 44, + 104, + 91, + 53, + 82, + 91, + 91, + 39, + 36, + 81, + 80, + 39, + 37, + 86, + 39, + 77, + 44, + 104, + 82, + 89, + 72, + 73, + 91, + 80, + 44, + 104, + 91, + 33, + 33, + 33, + 84, + 64, + 83, + 99, + 82, + 70, + 107, + 65, + 91, + 68, + 106, + 99, + 91, + 35, + 35, + 81, + 45, + 45, + 64, + 50, + 91, + 43, + 57, + 86, + 13, + 10, + 91, + 35, + 35, + 38, + 108, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 13, + 10, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 13, + 10, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 13, + 10, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 13, + 10, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 13, + 10, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 13, + 10, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 13, + 10, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 13, + 10, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 13, + 10, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 13, + 10, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 13, + 10, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 33, + 96, + 54, + 41, + 48, + 57, + 51, + 33, + 33, + 33, + 33, + 38, + 100, + 56, + 78, + 106, + 54, + 33, + 37, + 36, + 81, + 102, + 39, + 66, + 33, + 33, + 33, + 33, + 13, + 10, + 64, + 71, + 37, + 57, + 66, + 71, + 38, + 48, + 91, + 67, + 82, + 52, + 104, + 66, + 65, + 42, + 80, + 33, + 39, + 71, + 84, + 67, + 77, + 42, + 96, + 69, + 81, + 70, + 74, + 45, + 76, + 105, + 96, + 44, + 77, + 37, + 112, + 65, + 86, + 106, + 83, + 33, + 33, + 33, + 34, + 76, + 37, + 80, + 37, + 51, + 57, + 52, + 105, + 82, + 40, + 65, + 53, + 69, + 57, + 72, + 69, + 45, + 34, + 74, + 13, + 10, + 39, + 105, + 34, + 42, + 49, + 74, + 35, + 66, + 51, + 56, + 84, + 49, + 39, + 99, + 33, + 80, + 45, + 84, + 96, + 56, + 76, + 102, + 85, + 85, + 44, + 102, + 107, + 97, + 91, + 102, + 104, + 99, + 106, + 114, + 108, + 109, + 83, + 72, + 112, + 42, + 64, + 108, + 44, + 40, + 40, + 81, + 98, + 113, + 70, + 70, + 106, + 100, + 108, + 41, + 72, + 51, + 67, + 77, + 66, + 66, + 37, + 43, + 37, + 51, + 13, + 10, + 83, + 70, + 43, + 49, + 71, + 34, + 36, + 76, + 43, + 41, + 57, + 39, + 35, + 96, + 105, + 113, + 45, + 97, + 105, + 53, + 81, + 37, + 42, + 43, + 97, + 43, + 37, + 40, + 69, + 107, + 40, + 42, + 49, + 42, + 104, + 89, + 35, + 35, + 77, + 38, + 57, + 43, + 53, + 81, + 53, + 100, + 33, + 104, + 85, + 78, + 78, + 98, + 44, + 44, + 114, + 89, + 73, + 36, + 109, + 85, + 85, + 80, + 80, + 45, + 13, + 10, + 48, + 76, + 33, + 69, + 37, + 54, + 49, + 112, + 112, + 49, + 99, + 99, + 107, + 73, + 82, + 96, + 98, + 68, + 101, + 86, + 67, + 107, + 53, + 96, + 98, + 69, + 104, + 88, + 39, + 45, + 67, + 104, + 88, + 40, + 106, + 108, + 102, + 84, + 102, + 73, + 82, + 109, + 107, + 67, + 88, + 38, + 105, + 83, + 96, + 91, + 35, + 81, + 107, + 75, + 39, + 89, + 97, + 70, + 71, + 82, + 104, + 114, + 71, + 64, + 13, + 10, + 50, + 72, + 57, + 50, + 57, + 96, + 80, + 43, + 64, + 74, + 104, + 78, + 45, + 41, + 77, + 43, + 52, + 101, + 99, + 114, + 108, + 114, + 89, + 73, + 91, + 81, + 101, + 80, + 54, + 101, + 78, + 43, + 34, + 75, + 64, + 88, + 44, + 66, + 108, + 85, + 109, + 91, + 69, + 107, + 108, + 91, + 104, + 114, + 96, + 89, + 57, + 66, + 90, + 104, + 88, + 100, + 112, + 38, + 80, + 85, + 56, + 34, + 104, + 114, + 13, + 10, + 113, + 114, + 86, + 91, + 97, + 90, + 112, + 64, + 76, + 100, + 105, + 53, + 91, + 99, + 41, + 100, + 70, + 67, + 78, + 113, + 76, + 82, + 70, + 102, + 73, + 65, + 97, + 84, + 50, + 70, + 81, + 86, + 54, + 44, + 37, + 105, + 39, + 53, + 106, + 71, + 101, + 101, + 66, + 34, + 56, + 51, + 33, + 90, + 86, + 43, + 66, + 114, + 112, + 71, + 104, + 84, + 108, + 44, + 43, + 76, + 57, + 69, + 57, + 80, + 13, + 10, + 64, + 89, + 99, + 65, + 51, + 56, + 81, + 82, + 35, + 114, + 50, + 80, + 64, + 67, + 81, + 43, + 76, + 84, + 82, + 65, + 71, + 51, + 78, + 81, + 43, + 36, + 83, + 77, + 36, + 78, + 75, + 88, + 44, + 70, + 106, + 68, + 85, + 84, + 52, + 52, + 53, + 44, + 77, + 85, + 86, + 112, + 39, + 89, + 64, + 52, + 39, + 68, + 101, + 42, + 38, + 76, + 33, + 76, + 98, + 97, + 57, + 89, + 90, + 90, + 13, + 10, + 88, + 89, + 53, + 86, + 101, + 75, + 48, + 70, + 101, + 73, + 105, + 74, + 96, + 34, + 112, + 52, + 43, + 43, + 67, + 101, + 53, + 96, + 83, + 88, + 83, + 39, + 51, + 76, + 43, + 42, + 75, + 112, + 99, + 51, + 76, + 80, + 112, + 42, + 67, + 98, + 50, + 74, + 71, + 66, + 86, + 86, + 88, + 96, + 75, + 78, + 109, + 70, + 38, + 105, + 106, + 96, + 99, + 90, + 40, + 72, + 99, + 68, + 64, + 101, + 13, + 10, + 113, + 48, + 81, + 35, + 53, + 52, + 106, + 33, + 33, + 40, + 35, + 66, + 35, + 69, + 67, + 50, + 40, + 33, + 34, + 81, + 36, + 77, + 51, + 82, + 73, + 106, + 72, + 101, + 90, + 114, + 64, + 90, + 33, + 105, + 34, + 82, + 33, + 69, + 51, + 104, + 38, + 69, + 86, + 68, + 82, + 107, + 57, + 50, + 106, + 76, + 44, + 91, + 77, + 90, + 96, + 50, + 114, + 33, + 52, + 52, + 56, + 99, + 48, + 76, + 13, + 10, + 67, + 68, + 51, + 107, + 114, + 33, + 33, + 33, + 33, + 42, + 65, + 52, + 38, + 64, + 40, + 52, + 36, + 69, + 102, + 101, + 89, + 67, + 64, + 106, + 100, + 33, + 39, + 48, + 88, + 68, + 65, + 33, + 98, + 67, + 102, + 80, + 81, + 41, + 40, + 66, + 90, + 45, + 35, + 105, + 102, + 41, + 39, + 42, + 106, + 41, + 38, + 80, + 102, + 67, + 65, + 45, + 74, + 56, + 39, + 80, + 82, + 71, + 64, + 57, + 13, + 10, + 100, + 48, + 82, + 45, + 108, + 91, + 33, + 33, + 33, + 33, + 33, + 34, + 42, + 52, + 56, + 106, + 37, + 86, + 78, + 42, + 74, + 74, + 89, + 113, + 100, + 33, + 33, + 33, + 33, + 58, + 13, + 10, + 13 + ] + } + }, + { + "File": { + "header": { + "content_disposition": { + "c_type": "attachment", + "attributes": { + "filename": "HasenundFr�sche.txt" + } + }, + "content_type": { + "c_type": "application", + "c_subtype": "mac-binhex40", + "attributes": { + "name": "HasenundFr�sche.txt" + } + } + }, + "contents": [ + 13, + 10, + 40, + 84, + 104, + 105, + 115, + 32, + 102, + 105, + 108, + 101, + 32, + 109, + 117, + 115, + 116, + 32, + 98, + 101, + 32, + 99, + 111, + 110, + 118, + 101, + 114, + 116, + 101, + 100, + 32, + 119, + 105, + 116, + 104, + 32, + 66, + 105, + 110, + 72, + 101, + 120, + 32, + 52, + 46, + 48, + 41, + 13, + 10, + 58, + 37, + 100, + 75, + 75, + 70, + 102, + 57, + 90, + 71, + 64, + 106, + 78, + 52, + 82, + 44, + 102, + 70, + 102, + 48, + 83, + 67, + 53, + 106, + 100, + 72, + 40, + 51, + 33, + 57, + 37, + 57, + 66, + 57, + 40, + 52, + 100, + 72, + 40, + 51, + 33, + 33, + 33, + 33, + 33, + 33, + 90, + 45, + 33, + 33, + 33, + 33, + 33, + 52, + 80, + 106, + 37, + 68, + 64, + 56, + 74, + 53, + 39, + 38, + 13, + 10, + 99, + 67, + 64, + 105, + 74, + 71, + 64, + 106, + 78, + 41, + 39, + 52, + 84, + 67, + 53, + 34, + 39, + 70, + 91, + 67, + 99, + 66, + 102, + 75, + 80, + 36, + 51, + 101, + 37, + 68, + 64, + 56, + 74, + 53, + 39, + 38, + 99, + 67, + 64, + 105, + 74, + 68, + 102, + 97, + 75, + 67, + 104, + 52, + 80, + 69, + 76, + 34, + 80, + 68, + 64, + 106, + 99, + 71, + 35, + 36, + 109, + 66, + 81, + 57, + 13, + 10, + 98, + 41, + 39, + 80, + 83, + 70, + 81, + 56, + 74, + 69, + 64, + 82, + 73, + 69, + 39, + 80, + 77, + 68, + 39, + 56, + 74, + 54, + 39, + 38, + 82, + 67, + 54, + 88, + 74, + 41, + 82, + 71, + 84, + 70, + 76, + 34, + 88, + 67, + 64, + 42, + 80, + 69, + 76, + 41, + 88, + 41, + 40, + 48, + 96, + 70, + 81, + 38, + 77, + 68, + 35, + 34, + 80, + 68, + 64, + 105, + 74, + 56, + 81, + 57, + 13, + 10, + 78, + 69, + 81, + 57, + 98, + 44, + 35, + 33, + 76, + 68, + 64, + 105, + 74, + 70, + 104, + 52, + 80, + 71, + 39, + 57, + 98, + 41, + 37, + 67, + 101, + 70, + 81, + 48, + 83, + 71, + 35, + 34, + 102, + 69, + 104, + 41, + 74, + 54, + 64, + 57, + 90, + 70, + 102, + 48, + 83, + 67, + 64, + 105, + 74, + 71, + 64, + 106, + 78, + 41, + 38, + 52, + 84, + 67, + 65, + 42, + 80, + 69, + 76, + 96, + 13, + 10, + 74, + 67, + 64, + 80, + 90, + 67, + 53, + 34, + 35, + 67, + 65, + 57, + 100, + 67, + 53, + 34, + 78, + 67, + 65, + 41, + 74, + 53, + 40, + 57, + 90, + 67, + 39, + 56, + 88, + 41, + 39, + 52, + 80, + 70, + 76, + 34, + 34, + 67, + 39, + 97, + 80, + 70, + 76, + 96, + 74, + 68, + 81, + 37, + 74, + 67, + 81, + 38, + 99, + 71, + 35, + 34, + 75, + 69, + 39, + 97, + 80, + 70, + 76, + 34, + 13, + 10, + 53, + 66, + 65, + 57, + 76, + 71, + 39, + 80, + 80, + 70, + 81, + 56, + 75, + 41, + 38, + 57, + 90, + 70, + 102, + 57, + 98, + 67, + 53, + 34, + 99, + 71, + 39, + 57, + 100, + 67, + 53, + 34, + 34, + 69, + 81, + 71, + 99, + 71, + 35, + 34, + 84, + 70, + 104, + 51, + 74, + 106, + 40, + 42, + 82, + 67, + 65, + 41, + 74, + 66, + 64, + 97, + 99, + 41, + 39, + 52, + 80, + 70, + 76, + 34, + 13, + 10, + 56, + 69, + 102, + 51, + 74, + 70, + 102, + 57, + 88, + 66, + 82, + 48, + 100, + 44, + 76, + 34, + 34, + 71, + 64, + 66, + 88, + 41, + 39, + 97, + 75, + 104, + 104, + 51, + 74, + 71, + 64, + 106, + 99, + 41, + 39, + 57, + 84, + 69, + 76, + 34, + 81, + 114, + 40, + 41, + 74, + 66, + 64, + 97, + 88, + 67, + 64, + 101, + 75, + 69, + 35, + 34, + 99, + 71, + 39, + 57, + 98, + 66, + 81, + 57, + 13, + 10, + 90, + 44, + 76, + 41, + 74, + 36, + 51, + 101, + 42, + 69, + 76, + 34, + 80, + 68, + 64, + 106, + 80, + 69, + 53, + 34, + 90, + 66, + 64, + 75, + 80, + 69, + 76, + 34, + 56, + 67, + 64, + 80, + 77, + 68, + 35, + 34, + 104, + 69, + 102, + 97, + 88, + 71, + 39, + 57, + 90, + 41, + 40, + 48, + 84, + 67, + 53, + 34, + 99, + 68, + 64, + 48, + 83, + 41, + 39, + 106, + 101, + 69, + 76, + 34, + 13, + 10, + 80, + 70, + 82, + 50, + 78, + 71, + 64, + 67, + 80, + 69, + 77, + 88, + 74, + 70, + 102, + 80, + 80, + 41, + 39, + 57, + 84, + 69, + 40, + 52, + 80, + 69, + 76, + 34, + 84, + 68, + 39, + 100, + 74, + 72, + 82, + 56, + 108, + 41, + 39, + 38, + 88, + 69, + 39, + 57, + 84, + 69, + 76, + 34, + 78, + 66, + 65, + 45, + 74, + 66, + 65, + 65, + 73, + 67, + 65, + 42, + 91, + 70, + 81, + 52, + 13, + 10, + 80, + 69, + 82, + 52, + 88, + 68, + 64, + 48, + 83, + 67, + 53, + 34, + 40, + 67, + 65, + 54, + 102, + 70, + 102, + 56, + 74, + 71, + 64, + 106, + 78, + 41, + 39, + 80, + 83, + 70, + 81, + 56, + 74, + 71, + 104, + 57, + 90, + 67, + 39, + 57, + 98, + 66, + 81, + 38, + 98, + 67, + 53, + 34, + 40, + 67, + 65, + 48, + 100, + 66, + 64, + 97, + 100, + 41, + 39, + 57, + 98, + 70, + 102, + 48, + 13, + 10, + 83, + 70, + 81, + 57, + 77, + 68, + 104, + 52, + 80, + 41, + 39, + 57, + 84, + 69, + 81, + 56, + 74, + 54, + 64, + 57, + 90, + 67, + 102, + 56, + 74, + 52, + 82, + 44, + 102, + 70, + 102, + 48, + 83, + 67, + 53, + 96, + 74, + 67, + 39, + 80, + 80, + 41, + 39, + 38, + 89, + 41, + 38, + 57, + 81, + 67, + 65, + 41, + 74, + 70, + 102, + 40, + 73, + 67, + 64, + 105, + 88, + 41, + 40, + 48, + 13, + 10, + 91, + 41, + 40, + 48, + 80, + 68, + 40, + 41, + 88, + 41, + 39, + 52, + 75, + 104, + 98, + 34, + 99, + 68, + 64, + 56, + 74, + 66, + 65, + 57, + 81, + 70, + 98, + 34, + 99, + 66, + 102, + 75, + 90, + 67, + 64, + 97, + 88, + 70, + 104, + 52, + 80, + 41, + 40, + 57, + 90, + 71, + 39, + 57, + 98, + 71, + 39, + 38, + 101, + 66, + 102, + 75, + 100, + 67, + 64, + 105, + 90, + 41, + 33, + 100, + 13, + 10, + 48, + 41, + 78, + 75, + 75, + 69, + 40, + 51, + 76, + 44, + 35, + 34, + 98, + 68, + 64, + 57, + 81, + 41, + 39, + 106, + 101, + 69, + 76, + 34, + 80, + 66, + 81, + 57, + 90, + 41, + 39, + 52, + 84, + 67, + 65, + 48, + 80, + 70, + 76, + 34, + 54, + 70, + 40, + 42, + 80, + 66, + 102, + 75, + 80, + 70, + 76, + 96, + 74, + 41, + 82, + 71, + 84, + 70, + 76, + 34, + 104, + 69, + 102, + 97, + 13, + 10, + 88, + 67, + 64, + 105, + 74, + 67, + 39, + 38, + 99, + 41, + 37, + 57, + 98, + 70, + 113, + 52, + 101, + 67, + 81, + 57, + 90, + 41, + 39, + 106, + 91, + 66, + 102, + 74, + 74, + 67, + 64, + 80, + 90, + 41, + 40, + 71, + 80, + 69, + 81, + 80, + 82, + 41, + 39, + 38, + 101, + 67, + 82, + 48, + 77, + 68, + 39, + 80, + 80, + 66, + 81, + 57, + 90, + 44, + 35, + 34, + 78, + 67, + 64, + 106, + 13, + 10, + 90, + 41, + 39, + 38, + 101, + 66, + 102, + 74, + 74, + 71, + 64, + 106, + 99, + 41, + 39, + 69, + 109, + 70, + 81, + 48, + 83, + 71, + 39, + 57, + 90, + 44, + 35, + 34, + 104, + 68, + 64, + 56, + 74, + 68, + 64, + 75, + 98, + 41, + 40, + 48, + 80, + 68, + 40, + 51, + 88, + 41, + 39, + 57, + 84, + 69, + 81, + 80, + 82, + 67, + 53, + 34, + 56, + 68, + 64, + 57, + 98, + 67, + 53, + 96, + 13, + 10, + 74, + 71, + 102, + 57, + 88, + 66, + 102, + 75, + 80, + 41, + 39, + 38, + 88, + 70, + 102, + 109, + 74, + 71, + 102, + 112, + 83, + 69, + 35, + 34, + 90, + 69, + 102, + 48, + 83, + 41, + 40, + 57, + 90, + 67, + 102, + 99, + 109, + 66, + 102, + 89, + 88, + 68, + 64, + 48, + 83, + 67, + 65, + 41, + 74, + 70, + 102, + 57, + 84, + 69, + 76, + 34, + 89, + 114, + 40, + 48, + 99, + 67, + 64, + 105, + 13, + 10, + 74, + 66, + 64, + 97, + 99, + 41, + 40, + 71, + 84, + 70, + 76, + 105, + 76, + 41, + 33, + 100, + 48, + 57, + 39, + 56, + 33, + 33, + 33, + 58, + 13, + 10, + 13 + ] + } + } + ] +} \ No newline at end of file diff --git a/tests/legacy/017.txt b/tests/legacy/017.txt new file mode 100644 index 0000000..acb4b62 --- /dev/null +++ b/tests/legacy/017.txt @@ -0,0 +1,3957 @@ +Message-Id: <4.2.0.58.20000519004755.00a86100@pop.example.com> +X-Sender: dwsauder@pop.example.com (Unverified) +X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 +Date: Fri, 19 May 2000 00:50:08 -0400 +To: Jürgen Schmürgen +From: Doug Sauder +Subject: The Hare and the Tortoise +Mime-Version: 1.0 +Content-Type: multipart/mixed; + boundary="=====================_716177458==_" + +--=====================_716177458==_ +Content-Type: text/plain; charset="us-ascii" + + +The Hare and the Tortoise + +A HARE one day ridiculed the short feet and slow pace of the Tortoise, who replied, laughing: "Though you be swift as the wind, I will beat you in a race." The Hare, believing her assertion to be simply impossible, assented to the proposal; and they agreed that the Fox should choose the course and fix the goal. On the day appointed for the race the two started together. The Tortoise never for a moment stopped, but went on with a slow but steady pace straight to the end of the course. The Hare, lying down by the wayside, fell fast asleep. At last waking up, and moving as fast as he could, he saw the Tortoise had reached the goal, and was comfortably dozing after her fatigue. + +Slow but steady wins the race. + +--=====================_716177458==_ +Content-Type: image/png; name="greenball.png" +Content-Transfer-Encoding: x-uuencode +Content-Disposition: attachment; filename="greenball.png" + + +begin 600 greenball.png +MB5!.1PT*&@H````-24A$4@```!L````;"`,```"Z"@1G```#`%!,5$7___\` +M````$```&```(0``"```,0``0@``4@``6@``2@`(8P`(P`0C``(:P`` +M.0``8P`0E``0G``AI0`0I0`AK0!"O1ACQC%CQCE2QB$IS@`8O0`0K0`8K0`A +MO0"4UF.MUGN$UE)*WA@AU@`8Q@`8M0``*0!"SA#.YY3>YZW&YY24YV-2YR$A +MW@`8S@!2WB&KRU;5>]/60`]SX,0^'\8HC[&`29]Y('?:!&F+.2< +MAR(@R.NVVF@02C4<#N-8#:LMN[^]G#XU-FDB)VC_PW8#K614(E9K+_6\Z7)DR)5 +M&]$:$C(QV7R9F9)&BH>4:+^V`8\38\HF1ZGD+*AN[TSC4*5)7LIWJN2V#52) +M6-AWSS)*"R>Q(T9Q!/W:?$T$ERJ.E9)RP\KW!$V2%B)"RQ`XWX2"D@ZY1A=> +M0!EC0M"@W]+6K`]T1##&U$6K84.VWA,`-4*11EZU$YV]<1^^#V&Y+*TTV=K_ +MJK>-T@@L+````"5T15AT0V]M;65N=`!C;&EP,F=I +F9B!V+C`N-B!B>2!9=F5S(%!I9W5E=#9S.[P`````245.1*Y"8((` +` +end + +--=====================_716177458==_ +Content-Type: image/png; name="blueball.png" +Content-Transfer-Encoding: x-uuencode +Content-Disposition: attachment; filename="blueball.png" + + +begin 600 blueball.png +MB5!.1PT*&@H````-24A$4@```!L````;"`,```"Z"@1G```#`%!,5$7___\` +M``@``!```!@`````""D`$$(`$$H`"#$`$%(((7,(*7L(*80((6L`&%H`"#D( +M(6,0.9P80J480JT80K40.:40,90`&%(0,8PI4K4Y8\8Y8\XI6LX82LX80LX8 +M0KU":\9[G-:\ZMSMZESN]:C.\0,9Q:A-:MUN?.[^^,O>]*>^\8.:482L:, +MO>>UY^^4O>\``"E:C.=SI>]KG.\(*8PQ8^\I6N\((7L````````````````` +M```````````````````````````````````````````````````````````` +M```````````````````````````````````````````````````````````` +M```````````````````````````````````````````````````````````` +M```````````````````````````````````````````````````````````` +M```````````````````````````````````````````````````````````` +M```````````````````````````````````````````````````````````` +M```````````````````````````````````````````````````````````` +M```````````````````````````````````````````````````````````` +M```````````````````````````````````````````````````````````` +M```````````````````````````````````````````````````````````` +M```````````````````````````````````````````````````````````` +M``````````````````````````````````````````````````````````#! +M,@U5`````7123E,`0.;89@```!9T15AT4V]F='=AOF@```&(241!5'B<==)M5YLP&`;@$DZ`)A!2DX;,"4RG!2+:JHO;K&_; +M?/G_ORA[TE;LL<>;+YQSG3LAY!F-A@0H1"APHYT$.(HA48+#CXS'A*80DK$H +M0=OHT(*,54I*9+0#>J23(LO^U\/RJJ64PV(!L1,[WT[//I^?#)K6MGI +M+#)O>P8QG>P?GO:G9^?SIFP7BC"\*;J$:W%QV??]U8]Y4]7"4I:#>0PB,I'7 +M/_O^U^^;65/60H&%:PMCNKR]OKN_?_"U5B[>S3T66I0'?_[^N_&[U:+3A*_, +MC1QF3Z*=S9]?&D]R:M,L3@9+EW75@%1`"ZLIC_UW>GLLJ)5M65:W-=!2:<+\ +M^59F8J*F==U"28H.B,.2&PMSEJJE%%(N.JOT:U9$9K4D6("++%6VZZRU*O6$ +MUS5_B#`'U$HIG5+"BR@9"(HF'W-"*7TEG(^!UBNNS"&3QP7CG#.X=[-I;7XV +M8))'D!PF`FV3QP`9@XT)W^7M;OUK@.`9P&T-Q6ZVI^E3^8B[X[L#_P$45,S8 +MF6D.OP```"5T15AT0V]M;65N=`!C;&EP,F=I9B!V+C`N-B!B>2!9=F5S(%!I +49W5E=#9S.[P`````245.1*Y"8((` +` +end + +--=====================_716177458==_-- + + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 19, + "hour": 0, + "minute": 50, + "second": 8, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "dwsauder@example.com" + } + }, + "message_id": "4.2.0.58.20000519004755.00a86100@pop.example.com", + "mime_version": "1.0", + "subject": "The Hare and the Tortoise", + "to": { + "Address": { + "name": "J�rgen Schm�rgen", + "address": "jschmuergen@example.com" + } + }, + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "=====================_716177458==_" + } + }, + "others": { + "X-Sender": [ + "dwsauder@pop.example.com (Unverified)" + ], + "X-Mailer": [ + "QUALCOMM Windows Eudora Pro Version 4.2.0.58" + ] + } + }, + "text_body": [ + { + "header": { + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "us-ascii" + } + } + }, + "contents": "\r\nThe Hare and the Tortoise \r\n \r\nA HARE one day ridiculed the short feet and slow pace of the Tortoise, who replied, laughing: \"Though you be swift as the wind, I will beat you in a race.\" The Hare, believing her assertion to be simply impossible, assented to the proposal; and they agreed that the Fox should choose the course and fix the goal. On the day appointed for the race the two started together. The Tortoise never for a moment stopped, but went on with a slow but steady pace straight to the end of the course. The Hare, lying down by the wayside, fell fast asleep. At last waking up, and moving as fast as he could, he saw the Tortoise had reached the goal, and was comfortably dozing after her fatigue. \r\n \r\nSlow but steady wins the race. \r\n\r" + } + ], + "attachments": [ + { + "File": { + "header": { + "content_disposition": { + "c_type": "attachment", + "attributes": { + "filename": "greenball.png" + } + }, + "content_transfer_encoding": "x-uuencode", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "greenball.png" + } + } + }, + "contents": [ + 13, + 10, + 98, + 101, + 103, + 105, + 110, + 32, + 54, + 48, + 48, + 32, + 103, + 114, + 101, + 101, + 110, + 98, + 97, + 108, + 108, + 46, + 112, + 110, + 103, + 13, + 10, + 77, + 66, + 53, + 33, + 46, + 49, + 80, + 84, + 42, + 38, + 64, + 72, + 96, + 96, + 96, + 96, + 45, + 50, + 52, + 65, + 36, + 52, + 64, + 96, + 96, + 96, + 33, + 76, + 96, + 96, + 96, + 96, + 59, + 34, + 96, + 44, + 96, + 96, + 96, + 34, + 90, + 34, + 64, + 49, + 71, + 96, + 96, + 96, + 35, + 96, + 37, + 33, + 44, + 53, + 36, + 55, + 95, + 95, + 95, + 92, + 96, + 13, + 10, + 77, + 96, + 96, + 96, + 96, + 36, + 96, + 96, + 96, + 38, + 96, + 96, + 96, + 40, + 48, + 96, + 96, + 34, + 96, + 96, + 96, + 44, + 48, + 96, + 96, + 48, + 64, + 96, + 96, + 52, + 64, + 96, + 96, + 54, + 64, + 96, + 96, + 50, + 64, + 96, + 40, + 56, + 80, + 96, + 40, + 60, + 80, + 96, + 40, + 62, + 80, + 96, + 48, + 67, + 96, + 96, + 40, + 58, + 80, + 96, + 96, + 13, + 10, + 77, + 46, + 48, + 96, + 96, + 56, + 80, + 96, + 48, + 69, + 96, + 96, + 48, + 71, + 96, + 96, + 65, + 73, + 48, + 96, + 48, + 73, + 48, + 96, + 65, + 75, + 48, + 33, + 34, + 79, + 49, + 65, + 67, + 81, + 67, + 37, + 67, + 81, + 67, + 69, + 50, + 81, + 66, + 36, + 73, + 83, + 64, + 96, + 56, + 79, + 48, + 96, + 48, + 75, + 48, + 96, + 56, + 75, + 48, + 96, + 65, + 13, + 10, + 77, + 79, + 48, + 34, + 52, + 85, + 70, + 46, + 77, + 85, + 71, + 78, + 36, + 85, + 69, + 41, + 42, + 87, + 65, + 64, + 65, + 85, + 64, + 96, + 56, + 81, + 64, + 96, + 56, + 77, + 48, + 96, + 96, + 42, + 48, + 33, + 34, + 83, + 65, + 35, + 46, + 89, + 89, + 51, + 62, + 89, + 90, + 87, + 38, + 89, + 89, + 50, + 52, + 89, + 86, + 45, + 50, + 89, + 82, + 36, + 65, + 13, + 10, + 77, + 87, + 64, + 96, + 56, + 83, + 64, + 33, + 50, + 87, + 66, + 38, + 60, + 89, + 86, + 79, + 54, + 91, + 89, + 82, + 93, + 91, + 88, + 82, + 36, + 91, + 85, + 41, + 34, + 91, + 81, + 34, + 77, + 91, + 87, + 78, + 69, + 87, + 71, + 45, + 58, + 91, + 82, + 68, + 65, + 89, + 80, + 96, + 56, + 85, + 64, + 96, + 81, + 89, + 80, + 33, + 50, + 91, + 82, + 37, + 75, + 13, + 10, + 77, + 91, + 83, + 69, + 42, + 91, + 81, + 64, + 73, + 89, + 80, + 96, + 73, + 91, + 80, + 96, + 81, + 91, + 80, + 96, + 40, + 65, + 96, + 96, + 48, + 77, + 48, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 13, + 10, + 77, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 13, + 10, + 77, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 13, + 10, + 77, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 13, + 10, + 77, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 13, + 10, + 77, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 13, + 10, + 77, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 13, + 10, + 77, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 13, + 10, + 77, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 13, + 10, + 77, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 13, + 10, + 77, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 13, + 10, + 77, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 13, + 10, + 77, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 73, + 13, + 10, + 77, + 85, + 63, + 71, + 57, + 96, + 96, + 96, + 96, + 96, + 55, + 49, + 50, + 51, + 69, + 44, + 96, + 48, + 46, + 59, + 56, + 57, + 64, + 96, + 96, + 96, + 33, + 57, + 84, + 49, + 53, + 65, + 84, + 52, + 86, + 93, + 70, + 61, + 39, + 61, + 65, + 60, + 70, + 52, + 96, + 57, + 86, + 69, + 70, + 44, + 71, + 33, + 78, + 57, + 82, + 96, + 82, + 43, + 67, + 96, + 78, + 13, + 10, + 77, + 44, + 51, + 85, + 62, + 79, + 70, + 64, + 96, + 96, + 96, + 37, + 77, + 50, + 52, + 49, + 33, + 53, + 39, + 66, + 60, + 61, + 61, + 41, + 77, + 53, + 92, + 40, + 64, + 37, + 96, + 61, + 80, + 35, + 86, + 83, + 40, + 64, + 44, + 36, + 36, + 85, + 94, + 45, + 60, + 74, + 61, + 76, + 72, + 42, + 94, + 70, + 89, + 77, + 34, + 82, + 83, + 91, + 95, + 94, + 57, + 13, + 10, + 77, + 66, + 43, + 70, + 39, + 76, + 82, + 83, + 79, + 74, + 89, + 87, + 83, + 46, + 95, + 60, + 82, + 94, + 45, + 93, + 62, + 75, + 82, + 85, + 59, + 53, + 62, + 93, + 47, + 54, + 48, + 96, + 93, + 83, + 88, + 44, + 48, + 94, + 39, + 92, + 56, + 72, + 67, + 91, + 38, + 96, + 50, + 57, + 93, + 89, + 40, + 39, + 63, + 58, + 33, + 38, + 70, + 43, + 46, + 50, + 60, + 13, + 10, + 77, + 65, + 82, + 40, + 64, + 82, + 46, + 78, + 86, + 86, + 70, + 64, + 48, + 50, + 67, + 52, + 60, + 35, + 78, + 45, + 56, + 60, + 72, + 38, + 67, + 43, + 66, + 43, + 42, + 85, + 60, + 39, + 65, + 84, + 63, + 39, + 41, + 58, + 51, + 42, + 42, + 46, + 60, + 44, + 40, + 77, + 64, + 56, + 81, + 51, + 92, + 93, + 46, + 83, + 76, + 63, + 67, + 82, + 51, + 51, + 43, + 13, + 10, + 77, + 34, + 92, + 52, + 37, + 84, + 60, + 86, + 57, + 45, + 70, + 42, + 74, + 78, + 41, + 65, + 60, + 83, + 74, + 90, + 78, + 59, + 94, + 56, + 70, + 50, + 53, + 52, + 56, + 49, + 37, + 89, + 93, + 38, + 62, + 35, + 58, + 76, + 77, + 78, + 91, + 94, + 93, + 71, + 35, + 88, + 85, + 45, + 70, + 68, + 66, + 41, + 86, + 67, + 60, + 86, + 41, + 87, + 68, + 96, + 54, + 13, + 10, + 77, + 57, + 93, + 47, + 75, + 89, + 89, + 63, + 39, + 85, + 92, + 55, + 50, + 70, + 49, + 78, + 42, + 52, + 51, + 55, + 52, + 58, + 74, + 39, + 82, + 91, + 46, + 85, + 93, + 77, + 63, + 75, + 88, + 45, + 37, + 69, + 62, + 95, + 80, + 87, + 56, + 35, + 75, + 54, + 49, + 52, + 40, + 69, + 57, + 75, + 43, + 95, + 54, + 92, + 90, + 55, + 41, + 68, + 82, + 41, + 53, + 13, + 10, + 77, + 38, + 93, + 36, + 58, + 36, + 67, + 40, + 81, + 86, + 55, + 82, + 57, + 70, + 57, + 41, + 38, + 66, + 72, + 62, + 52, + 58, + 43, + 94, + 86, + 96, + 56, + 92, + 51, + 56, + 92, + 72, + 70, + 49, + 90, + 71, + 68, + 43, + 42, + 65, + 78, + 91, + 84, + 83, + 67, + 52, + 42, + 53, + 41, + 55, + 76, + 73, + 87, + 74, + 78, + 50, + 86, + 35, + 53, + 50, + 41, + 13, + 10, + 77, + 54, + 45, + 65, + 87, + 83, + 83, + 41, + 42, + 34, + 82, + 62, + 81, + 40, + 84, + 57, + 81, + 33, + 47, + 87, + 58, + 63, + 36, + 84, + 36, + 69, + 82, + 74, + 46, + 69, + 57, + 41, + 82, + 80, + 92, + 75, + 87, + 33, + 36, + 86, + 50, + 37, + 66, + 41, + 34, + 82, + 81, + 96, + 88, + 87, + 88, + 50, + 34, + 68, + 64, + 90, + 89, + 49, + 65, + 61, + 62, + 13, + 10, + 77, + 48, + 33, + 69, + 67, + 48, + 77, + 34, + 64, + 87, + 93, + 43, + 54, + 75, + 96, + 93, + 84, + 49, + 35, + 35, + 38, + 85, + 36, + 54, + 75, + 56, + 52, + 46, + 86, + 87, + 65, + 44, + 96, + 45, + 52, + 42, + 49, + 49, + 69, + 90, + 85, + 36, + 89, + 86, + 93, + 60, + 49, + 94, + 94, + 35, + 86, + 38, + 89, + 43, + 42, + 84, + 84, + 86, + 61, + 75, + 95, + 13, + 10, + 77, + 74, + 75, + 60, + 63, + 78, + 93, + 78, + 84, + 53, + 87, + 59, + 81, + 71, + 95, + 55, + 61, + 65, + 49, + 95, + 45, + 56, + 62, + 62, + 45, + 84, + 64, + 64, + 76, + 43, + 96, + 96, + 96, + 96, + 34, + 53, + 84, + 49, + 53, + 65, + 84, + 48, + 86, + 93, + 77, + 59, + 54, + 53, + 78, + 61, + 96, + 33, + 67, + 59, + 38, + 69, + 80, + 44, + 70, + 61, + 73, + 13, + 10, + 70, + 57, + 66, + 33, + 86, + 43, + 67, + 96, + 78, + 45, + 66, + 33, + 66, + 62, + 50, + 33, + 57, + 61, + 70, + 53, + 83, + 40, + 37, + 33, + 73, + 57, + 87, + 53, + 69, + 61, + 35, + 57, + 83, + 46, + 91, + 80, + 96, + 96, + 96, + 96, + 96, + 50, + 52, + 53, + 46, + 49, + 42, + 89, + 34, + 56, + 40, + 40, + 96, + 13, + 10, + 96, + 13, + 10, + 101, + 110, + 100, + 13, + 10, + 13 + ] + } + }, + { + "File": { + "header": { + "content_disposition": { + "c_type": "attachment", + "attributes": { + "filename": "blueball.png" + } + }, + "content_transfer_encoding": "x-uuencode", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "blueball.png" + } + } + }, + "contents": [ + 13, + 10, + 98, + 101, + 103, + 105, + 110, + 32, + 54, + 48, + 48, + 32, + 98, + 108, + 117, + 101, + 98, + 97, + 108, + 108, + 46, + 112, + 110, + 103, + 13, + 10, + 77, + 66, + 53, + 33, + 46, + 49, + 80, + 84, + 42, + 38, + 64, + 72, + 96, + 96, + 96, + 96, + 45, + 50, + 52, + 65, + 36, + 52, + 64, + 96, + 96, + 96, + 33, + 76, + 96, + 96, + 96, + 96, + 59, + 34, + 96, + 44, + 96, + 96, + 96, + 34, + 90, + 34, + 64, + 49, + 71, + 96, + 96, + 96, + 35, + 96, + 37, + 33, + 44, + 53, + 36, + 55, + 95, + 95, + 95, + 92, + 96, + 13, + 10, + 77, + 96, + 96, + 64, + 96, + 96, + 33, + 96, + 96, + 96, + 33, + 64, + 96, + 96, + 96, + 96, + 96, + 34, + 34, + 68, + 96, + 36, + 36, + 40, + 96, + 36, + 36, + 72, + 96, + 34, + 35, + 36, + 96, + 36, + 37, + 40, + 40, + 40, + 55, + 44, + 40, + 42, + 55, + 76, + 40, + 42, + 56, + 48, + 40, + 40, + 54, + 76, + 96, + 38, + 37, + 72, + 96, + 34, + 35, + 68, + 40, + 13, + 10, + 77, + 40, + 54, + 44, + 48, + 46, + 57, + 80, + 56, + 48, + 74, + 52, + 56, + 48, + 74, + 84, + 56, + 48, + 75, + 52, + 48, + 46, + 58, + 52, + 48, + 44, + 57, + 48, + 96, + 38, + 37, + 40, + 48, + 44, + 56, + 80, + 73, + 52, + 75, + 52, + 89, + 56, + 92, + 56, + 89, + 56, + 92, + 88, + 73, + 54, + 76, + 88, + 56, + 50, + 76, + 88, + 56, + 48, + 76, + 88, + 56, + 13, + 10, + 77, + 48, + 75, + 85, + 34, + 58, + 92, + 57, + 91, + 71, + 45, + 58, + 60, + 79, + 61, + 90, + 44, + 77, + 61, + 89, + 67, + 69, + 46, + 60, + 81, + 58, + 93, + 88, + 65, + 52, + 77, + 88, + 56, + 50, + 77, + 56, + 56, + 48, + 76, + 56, + 48, + 44, + 58, + 52, + 96, + 96, + 34, + 39, + 46, + 89, + 94, + 95, + 71, + 91, + 94, + 94, + 60, + 81, + 78, + 93, + 50, + 13, + 10, + 77, + 65, + 46, + 92, + 73, + 54, + 78, + 60, + 48, + 46, + 58, + 85, + 42, + 62, + 92, + 90, + 77, + 83, + 77, + 90, + 69, + 83, + 78, + 93, + 58, + 67, + 46, + 92, + 48, + 44, + 57, + 81, + 58, + 65, + 45, + 58, + 77, + 85, + 78, + 63, + 46, + 91, + 94, + 94, + 44, + 79, + 62, + 93, + 42, + 62, + 94, + 92, + 56, + 46, + 58, + 52, + 56, + 50, + 76, + 58, + 44, + 13, + 10, + 77, + 79, + 62, + 62, + 85, + 89, + 94, + 94, + 52, + 79, + 62, + 92, + 96, + 96, + 34, + 69, + 58, + 67, + 46, + 61, + 83, + 73, + 62, + 93, + 75, + 71, + 46, + 92, + 40, + 42, + 56, + 80, + 81, + 56, + 94, + 92, + 73, + 54, + 78, + 92, + 40, + 40, + 55, + 76, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 13, + 10, + 77, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 13, + 10, + 77, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 13, + 10, + 77, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 13, + 10, + 77, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 13, + 10, + 77, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 13, + 10, + 77, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 13, + 10, + 77, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 13, + 10, + 77, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 13, + 10, + 77, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 13, + 10, + 77, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 13, + 10, + 77, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 13, + 10, + 77, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 96, + 35, + 33, + 13, + 10, + 77, + 44, + 64, + 85, + 53, + 96, + 96, + 96, + 96, + 96, + 55, + 49, + 50, + 51, + 69, + 44, + 96, + 48, + 46, + 59, + 56, + 57, + 64, + 96, + 96, + 96, + 33, + 57, + 84, + 49, + 53, + 65, + 84, + 52, + 86, + 93, + 70, + 61, + 39, + 61, + 65, + 60, + 70, + 52, + 96, + 57, + 86, + 69, + 70, + 44, + 71, + 33, + 78, + 57, + 82, + 96, + 82, + 43, + 67, + 96, + 78, + 13, + 10, + 77, + 44, + 51, + 85, + 62, + 79, + 70, + 64, + 96, + 96, + 96, + 38, + 40, + 50, + 52, + 49, + 33, + 53, + 39, + 66, + 60, + 61, + 61, + 41, + 77, + 53, + 89, + 76, + 80, + 38, + 96, + 59, + 64, + 36, + 68, + 90, + 96, + 41, + 65, + 33, + 50, + 68, + 88, + 59, + 44, + 34, + 52, + 82, + 71, + 33, + 50, + 43, + 58, + 74, + 72, + 79, + 59, + 75, + 38, + 95, + 59, + 13, + 10, + 77, + 63, + 47, + 71, + 95, + 79, + 82, + 65, + 91, + 84, + 69, + 59, + 76, + 76, + 60, + 62, + 59, + 43, + 89, + 81, + 83, + 71, + 51, + 76, + 65, + 89, + 33, + 70, + 45, + 65, + 64, + 48, + 72, + 49, + 34, + 65, + 80, + 72, + 89, + 84, + 36, + 46, + 40, + 72, + 65, + 52, + 56, + 43, + 35, + 67, + 88, + 83, + 39, + 65, + 42, + 56, + 48, + 68, + 75, + 36, + 72, + 13, + 10, + 77, + 48, + 61, + 79, + 72, + 60, + 68, + 88, + 71, + 62, + 84, + 40, + 42, + 44, + 53, + 52, + 73, + 42, + 57, + 43, + 48, + 35, + 62, + 74, + 50, + 51, + 40, + 76, + 79, + 94, + 85, + 92, + 47, + 82, + 74, + 74, + 54, + 52, + 80, + 86, + 40, + 33, + 76, + 49, + 44, + 91, + 87, + 84, + 91, + 47, + 47, + 73, + 94, + 63, + 35, + 41, + 75, + 54, + 77, + 71, + 73, + 13, + 10, + 77, + 43, + 35, + 41, + 79, + 62, + 80, + 56, + 81, + 71, + 62, + 80, + 63, + 71, + 79, + 58, + 71, + 57, + 94, + 63, + 83, + 73, + 70, + 80, + 55, + 66, + 67, + 34, + 92, + 42, + 59, + 74, + 36, + 58, + 87, + 37, + 81, + 86, + 63, + 63, + 93, + 85, + 56, + 93, + 89, + 52, + 93, + 55, + 34, + 52, + 73, + 58, + 35, + 62, + 48, + 80, + 66, + 44, + 73, + 39, + 55, + 13, + 10, + 77, + 47, + 95, + 79, + 94, + 85, + 94, + 94, + 59, + 54, + 53, + 47, + 54, + 48, + 72, + 38, + 37, + 58, + 80, + 77, + 67, + 78, + 75, + 82, + 93, + 79, + 75, + 78, + 95, + 63, + 95, + 34, + 85, + 53, + 66, + 91, + 62, + 83, + 51, + 84, + 54, + 54, + 73, + 48, + 39, + 63, + 95, + 91, + 94, + 78, + 95, + 38, + 91, + 85, + 58, + 43, + 51, + 65, + 42, + 95, + 44, + 13, + 10, + 77, + 67, + 49, + 81, + 70, + 51, + 90, + 42, + 61, + 83, + 57, + 93, + 63, + 38, + 68, + 93, + 82, + 58, + 77, + 44, + 76, + 51, + 64, + 57, + 43, + 69, + 87, + 55, + 53, + 64, + 37, + 49, + 96, + 34, + 90, + 76, + 73, + 67, + 95, + 85, + 87, + 62, + 71, + 76, + 76, + 74, + 41, + 53, + 77, + 54, + 53, + 58, + 87, + 45, + 61, + 33, + 50, + 58, + 60, + 43, + 92, + 13, + 10, + 77, + 94, + 53, + 57, + 70, + 56, + 74, + 42, + 70, + 61, + 61, + 85, + 34, + 50, + 56, + 72, + 46, + 66, + 44, + 46, + 50, + 38, + 80, + 77, + 83, + 69, + 74, + 74, + 69, + 37, + 37, + 40, + 78, + 46, + 74, + 79, + 84, + 58, + 85, + 57, + 36, + 57, + 75, + 52, + 68, + 54, + 40, + 34, + 43, + 43, + 37, + 54, + 86, + 90, + 90, + 82, + 85, + 42, + 79, + 54, + 36, + 13, + 10, + 77, + 85, + 83, + 53, + 95, + 66, + 35, + 96, + 39, + 85, + 36, + 72, + 73, + 71, + 53, + 43, + 34, + 66, + 82, + 64, + 57, + 34, + 40, + 72, + 70, + 39, + 87, + 45, + 34, + 42, + 55, + 84, + 69, + 71, + 40, + 94, + 33, + 85, + 66, + 78, + 78, + 83, + 34, + 38, + 51, + 81, + 80, + 55, + 67, + 71, + 35, + 46, + 88, + 61, + 91, + 45, + 73, + 59, + 55, + 88, + 86, + 13, + 10, + 77, + 56, + 41, + 41, + 39, + 68, + 33, + 80, + 70, + 96, + 70, + 86, + 51, + 81, + 80, + 96, + 57, + 64, + 88, + 84, + 41, + 87, + 94, + 55, + 77, + 59, + 79, + 85, + 75, + 64, + 46, + 96, + 57, + 80, + 38, + 84, + 45, + 81, + 54, + 90, + 86, + 73, + 94, + 69, + 51, + 94, + 56, + 66, + 91, + 88, + 91, + 76, + 35, + 95, + 80, + 36, + 52, + 53, + 44, + 83, + 56, + 13, + 10, + 77, + 70, + 54, + 68, + 46, + 79, + 80, + 96, + 96, + 96, + 34, + 53, + 84, + 49, + 53, + 65, + 84, + 48, + 86, + 93, + 77, + 59, + 54, + 53, + 78, + 61, + 96, + 33, + 67, + 59, + 38, + 69, + 80, + 44, + 70, + 61, + 73, + 57, + 66, + 33, + 86, + 43, + 67, + 96, + 78, + 45, + 66, + 33, + 66, + 62, + 50, + 33, + 57, + 61, + 70, + 53, + 83, + 40, + 37, + 33, + 73, + 13, + 10, + 52, + 57, + 87, + 53, + 69, + 61, + 35, + 57, + 83, + 46, + 91, + 80, + 96, + 96, + 96, + 96, + 96, + 50, + 52, + 53, + 46, + 49, + 42, + 89, + 34, + 56, + 40, + 40, + 96, + 13, + 10, + 96, + 13, + 10, + 101, + 110, + 100, + 13, + 10, + 13 + ] + } + } + ] +} \ No newline at end of file diff --git a/tests/legacy/018.txt b/tests/legacy/018.txt new file mode 100644 index 0000000..728bb9a --- /dev/null +++ b/tests/legacy/018.txt @@ -0,0 +1,3045 @@ +Message-Id: <4.2.0.58.20000519003143.00a8d550@pop.example.com> +X-Sender: dwsauder@pop.example.com (Unverified) +X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 +X-Priority: 2 (High) +Date: Fri, 19 May 2000 00:33:01 -0400 +To: Heinz =?iso-8859-1?Q?Müller?= +From: Doug Sauder +Subject: =?iso-8859-1?Q?Die_Hasen_und_die_Frösche?= +Mime-Version: 1.0 +Content-Type: multipart/related; + type="multipart/alternative"; + boundary="=====================_715157131==_.REL" + +--=====================_715157131==_.REL +Content-Type: multipart/alternative; + boundary="=====================_715157141==_.ALT" + +--=====================_715157141==_.ALT +Content-Type: text/plain; charset="iso-8859-1" +Content-Transfer-Encoding: quoted-printable + +blueball.png + +Die Hasen und die Fr=F6sche + +Die Hasen klagten einst =FCber ihre mi=DFliche Lage; "wir leben", sprach ein= + Redner, "in steter Furcht vor Menschen und Tieren, eine Beute der Hunde,= + der Adler, ja fast aller Raubtiere! Unsere stete Angst ist =E4rger als der= + Tod selbst. Auf, la=DFt uns ein f=FCr allemal sterben."=20 + +In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu;= + allein das au=DFerordentliche Get=F6se und ihre wunderbare Gestalt= + erschreckte eine Menge Fr=F6sche, die am Ufer sa=DFen, so sehr, da=DF sie= + aufs schnellste untertauchten.=20 + +"Halt", rief nun eben dieser Sprecher, "wir wollen das Ers=E4ufen noch ein= + wenig aufschieben, denn auch uns f=FCrchten, wie ihr seht, einige Tiere,= + welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."=20 + +redball.png +--=====================_715157141==_.ALT +Content-Type: text/html; charset="iso-8859-1" +Content-Transfer-Encoding: quoted-printable + + +3D"blueball.png"
+
+Die Hasen und = +die +Fr=F6sche
+
+
Die Hasen klagten einst =FCber +ihre mi=DFliche Lage; "wir leben", sprach ein Redner, "in +steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, +ja fast aller Raubtiere! Unsere stete Angst ist =E4rger als der Tod selbst. +Auf, la=DFt uns ein f=FCr allemal sterben."
+
+In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu; +allein das au=DFerordentliche Get=F6se und ihre wunderbare Gestalt +erschreckte eine Menge Fr=F6sche, die am Ufer sa=DFen, so sehr, da=DF sie au= +fs +schnellste untertauchten.
+
+"Halt", rief nun eben dieser Sprecher, "wir wollen das +Ers=E4ufen noch ein wenig aufschieben, denn auch uns f=FCrchten, wie ihr +seht, einige Tiere, welche also wohl noch ungl=FCcklicher sein m=FCssen als +wir."
+
+3D"redball.png"
+ +--=====================_715157141==_.ALT-- + +--=====================_715157131==_.REL +Content-Type: image/png; name="blueball.png" +Content-ID: <4.2.0.58.20000519003143.00a8d550@pop.example.com.0> +Content-Transfer-Encoding: base64 +Content-Disposition: inline; filename="blueball.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAgAABAAABgAAAAA +CCkAEEIAEEoACDEAEFIIIXMIKXsIKYQIIWsAGFoACDkIIWMQOZwYQqUYQq0YQrUQOaUQMZQAGFIQ +MYwpUrU5Y8Y5Y84pWs4YSs4YQs4YQr1Ca8Z7nNacvd6Mtd5jlOcxa94hUt4YStYYQsYQMaUAACHO +5+/n7++cxu9ShO8pWucQOa1Ke86tzt6lzu9ajO8QMZxahNat1ufO7++Mve9Ke+8YOaUYSsaMvee1 +5++Uve8AAClajOdzpe9rnO8IKYwxY+8pWu8IIXsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAADBMg1VAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAu +MT1evmgAAAGISURBVHicddJtV5swGAbgEk6AJhBSk4bMCUynBSLaqovbrG/bfPn/vyh70lbssceb +L5xznTsh5BmNhgQoRChwo50EOIohUYLDj4zHhKYQkrEoQdvock4ne0IKMVUpKZLQDeqSTIsv+18P +yqqWUw2IBsRM7307PPp+fDJrWtnpLDJvewYxnewfnvanZ+fzpmwXijC8KbqEa3Fx2ff91Y95U9XC +UpaDeQwiMpHXP/v+1++bWVPWQoGFawtjury9vru/f/C1Vi7ezT0WWpQHf/7+u/G71aLThK/MjRxm +T6KdzZ9fGk9yatMsTgZLl3XVgFRAC6spj/13enssqJVtWVa3NdBSacL8+VZmYqKmdd1CSYoOiMOS +GwtzlqqlFFIuOqv0a1ZEZrUkWICLLFW266y1KvWE1zV/iDAH1EopnVLCiygZCIomH3NCKX0lnI+B +1iuuzCGTxwXjnDO4d7NpbX42YJJHkBwmAm2TxwAZg40J3+Xtbv1rgOAZwG0NxW62p+lT+Yi747sD +/wEUVMzYmWkOvwAAACV0RVh0Q29tbWVudABjbGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZz +O7wAAAAASUVORK5CYII= +--=====================_715157131==_.REL +Content-Type: image/png; name="redball.png" +Content-ID: <4.2.0.58.20000519003143.00a8d550@pop.example.com.1> +Content-Transfer-Encoding: base64 +Content-Disposition: inline; filename="redball.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAABAAALAAAVAAAa +AAAXAAARAAAKAAADAAAcAAAyAABEAABNAABIAAA9AAAjAAAWAAAmAABhAAB7AACGAACHAAB9AAB0 +AABgAAA5AAAUAAAGAAAnAABLAABvAACQAAClAAC7AAC/AACrAAChAACMAABzAABbAAAuAAAIAABM +AAB3AACZAAC0GRnKODjVPT3bKSndBQW4AACoAAB5AAAxAAAYAAAEAABFAACaAAC7JCTRYWHfhITm +f3/mVlbqHx/SAAC5AACjAABdAABCAAAoAAAJAABnAAC6Dw/QVFTek5PlrKzpmZntZWXvJSXXAADB +AACxAACcAABtAABTAAA2AAAbAAAFAABKAACBAADLICDdZ2fonJzrpqbtiorvUVHvFBTRAADDAAC2 +AAB4AABeAABAAAAiAABXAACSAADCAADaGxvoVVXseHjveHjvV1fvJibhAADOAAC3AACnAACVAABH +AAArAAAPAACdAADFAADhBQXrKCjvPDzvNTXvGxvjAADQAADJAAC1AACXAACEAABsAABPAAASAAAC +AABiAADpAADvAgLnAADYAADLAAC6AACwAABwAAATAAAkAABYAADIAADTAADNAACzAACDAABuAAAe +AAB+AADAAACkAACNAAB/AABpAABQAAAwAACRAACpAAC8AACqAACbAABlAABJAAAqAAAOAAA0AACs +AACvAACtAACmAACJAAB6AABrAABaAAA+AAApAABqAACCAACfAACeAACWAACPAAB8AAAZAAAHAABV +AACOAACKAAA4AAAQAAA/AAByAACAAABcAAA3AAAsAABmAABDAABWAAAgAAAzAAA8AAA6AAAfAAAM +AAAdAAANAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAD8LtlFAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAu +MT1evmgAAAIISURBVHicY2CAg/8QwIABmJhZWFnZ2Dk4MaU5uLh5eHn5+LkFBDlQJf8zC/EIi4iK +iUtI8koJScsgyf5nlpWTV1BUUlZRVVPX4NFk1UJIyghp6+jq6RsYGhmbKJgK85mZW8Dk/rNaSlhZ +29ja2Ts4Ojkr6Li4urFDNf53N/Ow8vTy9vH18w8IDAoWDQkNC4+ASP5ni4wKio6JjYtPSExKTnFW +SE1LF4A69n9GZlZ2Tm5efkFhUXFySWlZlEd5RSVY7j+TkGRVdU1tXX1DY1Ozcktpa1t7h2YnOAj+ +d7l1tyo79vT29SdNSJ44SbFVdHIo9xSIHNPUaWqTpifNSJrZnK00S0U1a/acUG5piNz/uXLzVJ2q +m6dXz584S2WB1cJFi5cshZr539xVftnyFKUVTi2TVjqvyhJLXb1m7TqoHPt6F/HW0g0bN63crGqV +tWXrtu07BJihcsw71+zanRW8Z89eq337RQ/Ip60xO3gIElX/LbikDm8T36KwbNmRo7O3zpHkPSZw +HBqL//8flz1x2OOkyKJTi7aqbzutfUZI2gIuF8F2lr/D5dw2+fZdwpl8YVOlI+CJ4/9/joOyYed5 +QzMvhGqnm2V0WiClm///D0lfXHtJ6vLlK9w7rx7vQk5SQJbFtSms1y9evXid7QZacgOxmSxktNzd +tSwwU+J/VICaCPFIYU3XAJhIOtjf5sfyAAAAJXRFWHRDb21tZW50AGNsaXAyZ2lmIHYuMC42IGJ5 +IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg== +--=====================_715157131==_.REL-- + + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 19, + "hour": 0, + "minute": 33, + "second": 1, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "dwsauder@example.com" + } + }, + "message_id": "4.2.0.58.20000519003143.00a8d550@pop.example.com", + "mime_version": "1.0", + "subject": "Die Hasen und die Frösche", + "to": { + "Address": { + "name": "Heinz Müller", + "address": "mueller@example.com" + } + }, + "content_type": { + "c_type": "multipart", + "c_subtype": "related", + "attributes": { + "type": "multipart/alternative", + "boundary": "=====================_715157131==_.REL" + } + }, + "others": { + "X-Mailer": [ + "QUALCOMM Windows Eudora Pro Version 4.2.0.58" + ], + "X-Sender": [ + "dwsauder@pop.example.com (Unverified)" + ], + "X-Priority": [ + "2 (High)" + ] + } + }, + "html_body": [ + { + "header": { + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "html", + "attributes": { + "charset": "iso-8859-1" + } + } + }, + "contents": "\n\"blueball.png\"
\n
\nDie Hasen und die\nFrösche
\n
\n
Die Hasen klagten einst über\nihre mißliche Lage; "wir leben", sprach ein Redner, "in\nsteter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler,\nja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst.\nAuf, laßt uns ein für allemal sterben."
\n
\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu;\nallein das außerordentliche Getöse und ihre wunderbare Gestalt\nerschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs\nschnellste untertauchten.
\n
\n"Halt", rief nun eben dieser Sprecher, "wir wollen das\nErsäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr\nseht, einige Tiere, welche also wohl noch unglücklicher sein müssen als\nwir."
\n
\n\"redball.png\"
\n" + } + ], + "text_body": [ + { + "header": { + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "iso-8859-1" + } + } + }, + "contents": "blueball.png\n\nDie Hasen und die Frösche\n\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst. Auf, laßt uns ein für allemal sterben.\" \n\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; allein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste untertauchten. \n\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, welche also wohl noch unglücklicher sein müssen als wir.\" \n\nredball.png" + } + ], + "attachments": [ + { + "File": { + "header": { + "content_disposition": { + "c_type": "inline", + "attributes": { + "filename": "blueball.png" + } + }, + "content_id": "4.2.0.58.20000519003143.00a8d550@pop.example.com.0", + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "blueball.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 8, + 0, + 0, + 16, + 0, + 0, + 24, + 0, + 0, + 0, + 0, + 8, + 41, + 0, + 16, + 66, + 0, + 16, + 74, + 0, + 8, + 49, + 0, + 16, + 82, + 8, + 33, + 115, + 8, + 41, + 123, + 8, + 41, + 132, + 8, + 33, + 107, + 0, + 24, + 90, + 0, + 8, + 57, + 8, + 33, + 99, + 16, + 57, + 156, + 24, + 66, + 165, + 24, + 66, + 173, + 24, + 66, + 181, + 16, + 57, + 165, + 16, + 49, + 148, + 0, + 24, + 82, + 16, + 49, + 140, + 41, + 82, + 181, + 57, + 99, + 198, + 57, + 99, + 206, + 41, + 90, + 206, + 24, + 74, + 206, + 24, + 66, + 206, + 24, + 66, + 189, + 66, + 107, + 198, + 123, + 156, + 214, + 156, + 189, + 222, + 140, + 181, + 222, + 99, + 148, + 231, + 49, + 107, + 222, + 33, + 82, + 222, + 24, + 74, + 214, + 24, + 66, + 198, + 16, + 49, + 165, + 0, + 0, + 33, + 206, + 231, + 239, + 231, + 239, + 239, + 156, + 198, + 239, + 82, + 132, + 239, + 41, + 90, + 231, + 16, + 57, + 173, + 74, + 123, + 206, + 173, + 206, + 222, + 165, + 206, + 239, + 90, + 140, + 239, + 16, + 49, + 156, + 90, + 132, + 214, + 173, + 214, + 231, + 206, + 239, + 239, + 140, + 189, + 239, + 74, + 123, + 239, + 24, + 57, + 165, + 24, + 74, + 198, + 140, + 189, + 231, + 181, + 231, + 239, + 148, + 189, + 239, + 0, + 0, + 41, + 90, + 140, + 231, + 115, + 165, + 239, + 107, + 156, + 239, + 8, + 41, + 140, + 49, + 99, + 239, + 41, + 90, + 239, + 8, + 33, + 123, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 193, + 50, + 13, + 85, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 1, + 136, + 73, + 68, + 65, + 84, + 120, + 156, + 117, + 210, + 109, + 87, + 155, + 48, + 24, + 6, + 224, + 18, + 78, + 128, + 38, + 16, + 82, + 147, + 134, + 204, + 9, + 76, + 167, + 5, + 34, + 218, + 170, + 139, + 219, + 172, + 111, + 219, + 124, + 249, + 255, + 191, + 40, + 123, + 210, + 86, + 236, + 177, + 199, + 155, + 47, + 156, + 115, + 157, + 59, + 33, + 228, + 25, + 141, + 134, + 4, + 40, + 68, + 40, + 112, + 163, + 157, + 4, + 56, + 138, + 33, + 81, + 130, + 195, + 143, + 140, + 199, + 132, + 166, + 16, + 146, + 177, + 40, + 65, + 219, + 232, + 114, + 78, + 39, + 123, + 66, + 10, + 49, + 85, + 41, + 41, + 146, + 208, + 13, + 234, + 146, + 76, + 139, + 47, + 251, + 95, + 15, + 202, + 170, + 150, + 83, + 13, + 136, + 6, + 196, + 76, + 239, + 125, + 59, + 60, + 250, + 126, + 124, + 50, + 107, + 90, + 217, + 233, + 44, + 50, + 111, + 123, + 6, + 49, + 157, + 236, + 31, + 158, + 246, + 167, + 103, + 231, + 243, + 166, + 108, + 23, + 138, + 48, + 188, + 41, + 186, + 132, + 107, + 113, + 113, + 217, + 247, + 253, + 213, + 143, + 121, + 83, + 213, + 194, + 82, + 150, + 131, + 121, + 12, + 34, + 50, + 145, + 215, + 63, + 251, + 254, + 215, + 239, + 155, + 89, + 83, + 214, + 66, + 129, + 133, + 107, + 11, + 99, + 186, + 188, + 189, + 190, + 187, + 191, + 127, + 240, + 181, + 86, + 46, + 222, + 205, + 61, + 22, + 90, + 148, + 7, + 127, + 254, + 254, + 187, + 241, + 187, + 213, + 162, + 211, + 132, + 175, + 204, + 141, + 28, + 102, + 79, + 162, + 157, + 205, + 159, + 95, + 26, + 79, + 114, + 106, + 211, + 44, + 78, + 6, + 75, + 151, + 117, + 213, + 128, + 84, + 64, + 11, + 171, + 41, + 143, + 253, + 119, + 122, + 123, + 44, + 168, + 149, + 109, + 89, + 86, + 183, + 53, + 208, + 82, + 105, + 194, + 252, + 249, + 86, + 102, + 98, + 162, + 166, + 117, + 221, + 66, + 73, + 138, + 14, + 136, + 195, + 146, + 27, + 11, + 115, + 150, + 170, + 165, + 20, + 82, + 46, + 58, + 171, + 244, + 107, + 86, + 68, + 102, + 181, + 36, + 88, + 128, + 139, + 44, + 85, + 182, + 235, + 172, + 181, + 42, + 245, + 132, + 215, + 53, + 127, + 136, + 48, + 7, + 212, + 74, + 41, + 157, + 82, + 194, + 139, + 40, + 25, + 8, + 138, + 38, + 31, + 115, + 66, + 41, + 125, + 37, + 156, + 143, + 129, + 214, + 43, + 174, + 204, + 33, + 147, + 199, + 5, + 227, + 156, + 51, + 184, + 119, + 179, + 105, + 109, + 126, + 54, + 96, + 146, + 71, + 144, + 28, + 38, + 2, + 109, + 147, + 199, + 0, + 25, + 131, + 141, + 9, + 223, + 229, + 237, + 110, + 253, + 107, + 128, + 224, + 25, + 192, + 109, + 13, + 197, + 110, + 182, + 167, + 233, + 83, + 249, + 136, + 187, + 227, + 187, + 3, + 255, + 1, + 20, + 84, + 204, + 216, + 153, + 105, + 14, + 191, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + }, + { + "File": { + "header": { + "content_disposition": { + "c_type": "inline", + "attributes": { + "filename": "redball.png" + } + }, + "content_id": "4.2.0.58.20000519003143.00a8d550@pop.example.com.1", + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "redball.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 0, + 1, + 0, + 0, + 11, + 0, + 0, + 21, + 0, + 0, + 26, + 0, + 0, + 23, + 0, + 0, + 17, + 0, + 0, + 10, + 0, + 0, + 3, + 0, + 0, + 28, + 0, + 0, + 50, + 0, + 0, + 68, + 0, + 0, + 77, + 0, + 0, + 72, + 0, + 0, + 61, + 0, + 0, + 35, + 0, + 0, + 22, + 0, + 0, + 38, + 0, + 0, + 97, + 0, + 0, + 123, + 0, + 0, + 134, + 0, + 0, + 135, + 0, + 0, + 125, + 0, + 0, + 116, + 0, + 0, + 96, + 0, + 0, + 57, + 0, + 0, + 20, + 0, + 0, + 6, + 0, + 0, + 39, + 0, + 0, + 75, + 0, + 0, + 111, + 0, + 0, + 144, + 0, + 0, + 165, + 0, + 0, + 187, + 0, + 0, + 191, + 0, + 0, + 171, + 0, + 0, + 161, + 0, + 0, + 140, + 0, + 0, + 115, + 0, + 0, + 91, + 0, + 0, + 46, + 0, + 0, + 8, + 0, + 0, + 76, + 0, + 0, + 119, + 0, + 0, + 153, + 0, + 0, + 180, + 25, + 25, + 202, + 56, + 56, + 213, + 61, + 61, + 219, + 41, + 41, + 221, + 5, + 5, + 184, + 0, + 0, + 168, + 0, + 0, + 121, + 0, + 0, + 49, + 0, + 0, + 24, + 0, + 0, + 4, + 0, + 0, + 69, + 0, + 0, + 154, + 0, + 0, + 187, + 36, + 36, + 209, + 97, + 97, + 223, + 132, + 132, + 230, + 127, + 127, + 230, + 86, + 86, + 234, + 31, + 31, + 210, + 0, + 0, + 185, + 0, + 0, + 163, + 0, + 0, + 93, + 0, + 0, + 66, + 0, + 0, + 40, + 0, + 0, + 9, + 0, + 0, + 103, + 0, + 0, + 186, + 15, + 15, + 208, + 84, + 84, + 222, + 147, + 147, + 229, + 172, + 172, + 233, + 153, + 153, + 237, + 101, + 101, + 239, + 37, + 37, + 215, + 0, + 0, + 193, + 0, + 0, + 177, + 0, + 0, + 156, + 0, + 0, + 109, + 0, + 0, + 83, + 0, + 0, + 54, + 0, + 0, + 27, + 0, + 0, + 5, + 0, + 0, + 74, + 0, + 0, + 129, + 0, + 0, + 203, + 32, + 32, + 221, + 103, + 103, + 232, + 156, + 156, + 235, + 166, + 166, + 237, + 138, + 138, + 239, + 81, + 81, + 239, + 20, + 20, + 209, + 0, + 0, + 195, + 0, + 0, + 182, + 0, + 0, + 120, + 0, + 0, + 94, + 0, + 0, + 64, + 0, + 0, + 34, + 0, + 0, + 87, + 0, + 0, + 146, + 0, + 0, + 194, + 0, + 0, + 218, + 27, + 27, + 232, + 85, + 85, + 236, + 120, + 120, + 239, + 120, + 120, + 239, + 87, + 87, + 239, + 38, + 38, + 225, + 0, + 0, + 206, + 0, + 0, + 183, + 0, + 0, + 167, + 0, + 0, + 149, + 0, + 0, + 71, + 0, + 0, + 43, + 0, + 0, + 15, + 0, + 0, + 157, + 0, + 0, + 197, + 0, + 0, + 225, + 5, + 5, + 235, + 40, + 40, + 239, + 60, + 60, + 239, + 53, + 53, + 239, + 27, + 27, + 227, + 0, + 0, + 208, + 0, + 0, + 201, + 0, + 0, + 181, + 0, + 0, + 151, + 0, + 0, + 132, + 0, + 0, + 108, + 0, + 0, + 79, + 0, + 0, + 18, + 0, + 0, + 2, + 0, + 0, + 98, + 0, + 0, + 233, + 0, + 0, + 239, + 2, + 2, + 231, + 0, + 0, + 216, + 0, + 0, + 203, + 0, + 0, + 186, + 0, + 0, + 176, + 0, + 0, + 112, + 0, + 0, + 19, + 0, + 0, + 36, + 0, + 0, + 88, + 0, + 0, + 200, + 0, + 0, + 211, + 0, + 0, + 205, + 0, + 0, + 179, + 0, + 0, + 131, + 0, + 0, + 110, + 0, + 0, + 30, + 0, + 0, + 126, + 0, + 0, + 192, + 0, + 0, + 164, + 0, + 0, + 141, + 0, + 0, + 127, + 0, + 0, + 105, + 0, + 0, + 80, + 0, + 0, + 48, + 0, + 0, + 145, + 0, + 0, + 169, + 0, + 0, + 188, + 0, + 0, + 170, + 0, + 0, + 155, + 0, + 0, + 101, + 0, + 0, + 73, + 0, + 0, + 42, + 0, + 0, + 14, + 0, + 0, + 52, + 0, + 0, + 172, + 0, + 0, + 175, + 0, + 0, + 173, + 0, + 0, + 166, + 0, + 0, + 137, + 0, + 0, + 122, + 0, + 0, + 107, + 0, + 0, + 90, + 0, + 0, + 62, + 0, + 0, + 41, + 0, + 0, + 106, + 0, + 0, + 130, + 0, + 0, + 159, + 0, + 0, + 158, + 0, + 0, + 150, + 0, + 0, + 143, + 0, + 0, + 124, + 0, + 0, + 25, + 0, + 0, + 7, + 0, + 0, + 85, + 0, + 0, + 142, + 0, + 0, + 138, + 0, + 0, + 56, + 0, + 0, + 16, + 0, + 0, + 63, + 0, + 0, + 114, + 0, + 0, + 128, + 0, + 0, + 92, + 0, + 0, + 55, + 0, + 0, + 44, + 0, + 0, + 102, + 0, + 0, + 67, + 0, + 0, + 86, + 0, + 0, + 32, + 0, + 0, + 51, + 0, + 0, + 60, + 0, + 0, + 58, + 0, + 0, + 31, + 0, + 0, + 12, + 0, + 0, + 29, + 0, + 0, + 13, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 252, + 46, + 217, + 69, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 2, + 8, + 73, + 68, + 65, + 84, + 120, + 156, + 99, + 96, + 128, + 131, + 255, + 16, + 192, + 128, + 1, + 152, + 152, + 89, + 88, + 89, + 217, + 216, + 57, + 56, + 49, + 165, + 57, + 184, + 184, + 121, + 120, + 121, + 249, + 248, + 185, + 5, + 4, + 57, + 80, + 37, + 255, + 51, + 11, + 241, + 8, + 139, + 136, + 138, + 137, + 75, + 72, + 242, + 74, + 9, + 73, + 203, + 32, + 201, + 254, + 103, + 150, + 149, + 147, + 87, + 80, + 84, + 82, + 86, + 81, + 85, + 83, + 215, + 224, + 209, + 100, + 213, + 66, + 72, + 202, + 8, + 105, + 235, + 232, + 234, + 233, + 27, + 24, + 26, + 25, + 155, + 40, + 152, + 10, + 243, + 153, + 153, + 91, + 192, + 228, + 254, + 179, + 90, + 74, + 88, + 89, + 219, + 216, + 218, + 217, + 59, + 56, + 58, + 57, + 43, + 232, + 184, + 184, + 186, + 177, + 67, + 53, + 254, + 119, + 55, + 243, + 176, + 242, + 244, + 242, + 246, + 241, + 245, + 243, + 15, + 8, + 12, + 10, + 22, + 13, + 9, + 13, + 11, + 143, + 128, + 72, + 254, + 103, + 139, + 140, + 10, + 138, + 142, + 137, + 141, + 139, + 79, + 72, + 76, + 74, + 78, + 113, + 86, + 72, + 77, + 75, + 23, + 128, + 58, + 246, + 127, + 70, + 102, + 86, + 118, + 78, + 110, + 94, + 126, + 65, + 97, + 81, + 113, + 114, + 73, + 105, + 89, + 148, + 71, + 121, + 69, + 37, + 88, + 238, + 63, + 147, + 144, + 100, + 85, + 117, + 77, + 109, + 93, + 125, + 67, + 99, + 83, + 179, + 114, + 75, + 105, + 107, + 91, + 123, + 135, + 102, + 39, + 56, + 8, + 254, + 119, + 185, + 117, + 183, + 42, + 59, + 246, + 244, + 246, + 245, + 39, + 77, + 72, + 158, + 56, + 73, + 177, + 85, + 116, + 114, + 40, + 247, + 20, + 136, + 28, + 211, + 212, + 105, + 106, + 147, + 166, + 39, + 205, + 72, + 154, + 217, + 156, + 173, + 52, + 75, + 69, + 53, + 107, + 246, + 156, + 80, + 110, + 105, + 136, + 220, + 255, + 185, + 114, + 243, + 84, + 157, + 170, + 155, + 167, + 87, + 207, + 159, + 56, + 75, + 101, + 129, + 213, + 194, + 69, + 139, + 151, + 44, + 133, + 154, + 249, + 223, + 220, + 85, + 126, + 217, + 242, + 20, + 165, + 21, + 78, + 45, + 147, + 86, + 58, + 175, + 202, + 18, + 75, + 93, + 189, + 102, + 237, + 58, + 168, + 28, + 251, + 122, + 23, + 241, + 214, + 210, + 13, + 27, + 55, + 173, + 220, + 172, + 106, + 149, + 181, + 101, + 235, + 182, + 237, + 59, + 4, + 152, + 161, + 114, + 204, + 59, + 215, + 236, + 218, + 157, + 21, + 188, + 103, + 207, + 94, + 171, + 125, + 251, + 69, + 15, + 200, + 167, + 173, + 49, + 59, + 120, + 8, + 18, + 85, + 255, + 45, + 184, + 164, + 14, + 111, + 19, + 223, + 162, + 176, + 108, + 217, + 145, + 163, + 179, + 183, + 206, + 145, + 228, + 61, + 38, + 112, + 28, + 26, + 139, + 255, + 255, + 31, + 151, + 61, + 113, + 216, + 227, + 164, + 200, + 162, + 83, + 139, + 182, + 170, + 111, + 59, + 173, + 125, + 70, + 72, + 218, + 2, + 46, + 23, + 193, + 118, + 150, + 191, + 195, + 229, + 220, + 54, + 249, + 246, + 93, + 194, + 153, + 124, + 97, + 83, + 165, + 35, + 224, + 137, + 227, + 255, + 127, + 142, + 131, + 178, + 97, + 231, + 121, + 67, + 51, + 47, + 132, + 106, + 167, + 155, + 101, + 116, + 90, + 32, + 165, + 155, + 255, + 255, + 15, + 73, + 95, + 92, + 123, + 73, + 234, + 242, + 229, + 43, + 220, + 59, + 175, + 30, + 239, + 66, + 78, + 82, + 64, + 150, + 197, + 181, + 41, + 172, + 215, + 47, + 94, + 189, + 120, + 157, + 237, + 6, + 90, + 114, + 3, + 177, + 153, + 44, + 100, + 180, + 220, + 221, + 181, + 44, + 48, + 83, + 226, + 127, + 84, + 128, + 154, + 8, + 241, + 72, + 97, + 77, + 215, + 0, + 152, + 72, + 58, + 216, + 223, + 230, + 199, + 242, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + } + ] +} \ No newline at end of file diff --git a/tests/legacy/019.txt b/tests/legacy/019.txt new file mode 100644 index 0000000..ae1592b --- /dev/null +++ b/tests/legacy/019.txt @@ -0,0 +1,3027 @@ +From: "Doug Sauder" +To: "Joe Blow" +Subject: Test message from Microsoft Outlook 00 +Date: Wed, 17 May 2000 19:42:10 -0400 +Message-ID: +MIME-Version: 1.0 +Content-Type: multipart/mixed; + boundary="----=_NextPart_000_0008_01BFC037.FDD8EE90" +X-Priority: 3 (Normal) +X-MSMail-Priority: Normal +X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) +Importance: Normal +X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 + +This is a multi-part message in MIME format. + +------=_NextPart_000_0008_01BFC037.FDD8EE90 +Content-Type: multipart/alternative; + boundary="----=_NextPart_001_0009_01BFC037.FDD8EE90" + + +------=_NextPart_001_0009_01BFC037.FDD8EE90 +Content-Type: text/plain; + charset="iso-8859-1" +Content-Transfer-Encoding: quoted-printable + + +The Hare and the Tortoise=20 +=20 +A HARE one day ridiculed the short feet and slow pace of the Tortoise, = +who replied, laughing: "Though you be swift as the wind, I will beat = +you in a race." The Hare, believing her assertion to be simply = +impossible, assented to the proposal; and they agreed that the Fox = +should choose the course and fix the goal. On the day appointed for the = +race the two started together. The Tortoise never for a moment stopped, = +but went on with a slow but steady pace straight to the end of the = +course. The Hare, lying down by the wayside, fell fast asleep. At last = +waking up, and moving as fast as he could, he saw the Tortoise had = +reached the goal, and was comfortably dozing after her fatigue. =20 +=20 +Slow but steady wins the race. =20 + + +------=_NextPart_001_0009_01BFC037.FDD8EE90 +Content-Type: text/html; + charset="iso-8859-1" +Content-Transfer-Encoding: quoted-printable + + + + + + +

The Hare and the Tortoise = +
 
A HARE=20 +one day ridiculed the short feet and slow pace of the Tortoise, who = +replied,=20 +laughing:  "Though you be swift as the wind, I will beat you in a=20 +race."  The Hare, believing her assertion to be simply impossible, = +assented=20 +to the proposal; and they agreed that the Fox should choose the course = +and fix=20 +the goal.  On the day appointed for the race the two started=20 +together.  The Tortoise never for a moment stopped, but went on = +with a slow=20 +but steady pace straight to the end of the course.  The Hare, lying = +down by=20 +the wayside, fell fast asleep.  At last waking up, and moving as = +fast as he=20 +could, he saw the Tortoise had reached the goal, and was comfortably = +dozing=20 +after her fatigue. 
 
Slow but steady wins the = +race. =20 +
+ +------=_NextPart_001_0009_01BFC037.FDD8EE90-- + +------=_NextPart_000_0008_01BFC037.FDD8EE90 +Content-Type: image/png; + name="greenball.png" +Content-Transfer-Encoding: base64 +Content-Disposition: attachment; + filename="greenball.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAAAEAAAGAAAIQAA +CAAAMQAAQgAAUgAAWgAASgAIYwAIcwAIewAQjAAIawAAOQAAYwAQlAAQnAAhpQAQpQAhrQBCvRhj +xjFjxjlSxiEpzgAYvQAQrQAYrQAhvQCU1mOt1nuE1lJK3hgh1gAYxgAYtQAAKQBCzhDO55Te563G +55SU52NS5yEh3gAYzgBS3iGc52vW75y974yE71JC7xCt73ul3nNa7ykh5wAY1gAx5wBS7yFr7zlK +7xgp5wAp7wAx7wAIhAAQtQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAp1fnZAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAu +MT1evmgAAAFtSURBVHicddJtV8IgFAdwD2zIgMEE1+NcqdsoK+m5tCyz7/+ZiLmHsyzvq53zO/cy ++N9ery1bVe9PWQA9z4MQ+H8Yoj7GASZ95IHfaBGmLOSchyIgyOu22mgQSjUcDuNYcoGjLiLK1cHh +0fHJaTKKOcMItgYxT89OzsfjyTTLC8UF0c2ZNmKquJhczq6ub+YmSVUYRF59GeDastu7+9nD41Nm +kiJ2jc2J3kAWZ9Pr55fH18XSmRuKUTXUaqHy7O19tfr4NFle/w3YDrWRUIlZrL/W86XJkyJVG9Ea +EjIx2XyZmZJGioeUaL+2AY8TY8omR6nkLKhu70zjUKVJXsp3quS2DVSJWNh3zzJKCyexI0ZxBP3a +fE0ElyqOlZJyw8r3BE2SFiJCyxA434SCkg65RhdeQBljQtCg39LWrA90RDDG1EWrYUO23hMANUKR +Rl61E529cR++D2G5LK002dr/qrcfu9u0V3bxn/XdhR/NYeeN0ggsLAAAACV0RVh0Q29tbWVudABj +bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII= + +------=_NextPart_000_0008_01BFC037.FDD8EE90 +Content-Type: image/png; + name="redball.png" +Content-Transfer-Encoding: base64 +Content-Disposition: attachment; + filename="redball.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAABAAALAAAVAAAa +AAAXAAARAAAKAAADAAAcAAAyAABEAABNAABIAAA9AAAjAAAWAAAmAABhAAB7AACGAACHAAB9AAB0 +AABgAAA5AAAUAAAGAAAnAABLAABvAACQAAClAAC7AAC/AACrAAChAACMAABzAABbAAAuAAAIAABM +AAB3AACZAAC0GRnKODjVPT3bKSndBQW4AACoAAB5AAAxAAAYAAAEAABFAACaAAC7JCTRYWHfhITm +f3/mVlbqHx/SAAC5AACjAABdAABCAAAoAAAJAABnAAC6Dw/QVFTek5PlrKzpmZntZWXvJSXXAADB +AACxAACcAABtAABTAAA2AAAbAAAFAABKAACBAADLICDdZ2fonJzrpqbtiorvUVHvFBTRAADDAAC2 +AAB4AABeAABAAAAiAABXAACSAADCAADaGxvoVVXseHjveHjvV1fvJibhAADOAAC3AACnAACVAABH +AAArAAAPAACdAADFAADhBQXrKCjvPDzvNTXvGxvjAADQAADJAAC1AACXAACEAABsAABPAAASAAAC +AABiAADpAADvAgLnAADYAADLAAC6AACwAABwAAATAAAkAABYAADIAADTAADNAACzAACDAABuAAAe +AAB+AADAAACkAACNAAB/AABpAABQAAAwAACRAACpAAC8AACqAACbAABlAABJAAAqAAAOAAA0AACs +AACvAACtAACmAACJAAB6AABrAABaAAA+AAApAABqAACCAACfAACeAACWAACPAAB8AAAZAAAHAABV +AACOAACKAAA4AAAQAAA/AAByAACAAABcAAA3AAAsAABmAABDAABWAAAgAAAzAAA8AAA6AAAfAAAM +AAAdAAANAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAD8LtlFAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAu +MT1evmgAAAIISURBVHicY2CAg/8QwIABmJhZWFnZ2Dk4MaU5uLh5eHn5+LkFBDlQJf8zC/EIi4iK +iUtI8koJScsgyf5nlpWTV1BUUlZRVVPX4NFk1UJIyghp6+jq6RsYGhmbKJgK85mZW8Dk/rNaSlhZ +29ja2Ts4Ojkr6Li4urFDNf53N/Ow8vTy9vH18w8IDAoWDQkNC4+ASP5ni4wKio6JjYtPSExKTnFW +SE1LF4A69n9GZlZ2Tm5efkFhUXFySWlZlEd5RSVY7j+TkGRVdU1tXX1DY1Ozcktpa1t7h2YnOAj+ +d7l1tyo79vT29SdNSJ44SbFVdHIo9xSIHNPUaWqTpifNSJrZnK00S0U1a/acUG5piNz/uXLzVJ2q +m6dXz584S2WB1cJFi5cshZr539xVftnyFKUVTi2TVjqvyhJLXb1m7TqoHPt6F/HW0g0bN63crGqV +tWXrtu07BJihcsw71+zanRW8Z89eq337RQ/Ip60xO3gIElX/LbikDm8T36KwbNmRo7O3zpHkPSZw +HBqL//8flz1x2OOkyKJTi7aqbzutfUZI2gIuF8F2lr/D5dw2+fZdwpl8YVOlI+CJ4/9/joOyYed5 +QzMvhGqnm2V0WiClm///D0lfXHtJ6vLlK9w7rx7vQk5SQJbFtSms1y9evXid7QZacgOxmSxktNzd +tSwwU+J/VICaCPFIYU3XAJhIOtjf5sfyAAAAJXRFWHRDb21tZW50AGNsaXAyZ2lmIHYuMC42IGJ5 +IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg== + +------=_NextPart_000_0008_01BFC037.FDD8EE90-- + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 17, + "hour": 19, + "minute": 42, + "second": 10, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "doug@example.com" + } + }, + "message_id": "NDBBIAKOPKHFGPLCODIGGEKFCHAA.doug@example.com", + "mime_version": "1.0", + "subject": "Test message from Microsoft Outlook 00", + "to": { + "Address": { + "name": "Joe Blow", + "address": "jblow@example.com" + } + }, + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "----=_NextPart_000_0008_01BFC037.FDD8EE90" + } + }, + "others": { + "X-Mailer": [ + "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" + ], + "X-MSMail-Priority": [ + "Normal" + ], + "X-Priority": [ + "3 (Normal)" + ], + "Importance": [ + "Normal" + ], + "X-MimeOLE": [ + "Produced By Microsoft MimeOLE V5.00.2314.1300" + ] + } + }, + "html_body": [ + { + "header": { + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "html", + "attributes": { + "charset": "iso-8859-1" + } + } + }, + "contents": "\n\n\n\n\n

The Hare and the Tortoise
 
A HARE \none day ridiculed the short feet and slow pace of the Tortoise, who replied, \nlaughing:  \"Though you be swift as the wind, I will beat you in a \nrace.\"  The Hare, believing her assertion to be simply impossible, assented \nto the proposal; and they agreed that the Fox should choose the course and fix \nthe goal.  On the day appointed for the race the two started \ntogether.  The Tortoise never for a moment stopped, but went on with a slow \nbut steady pace straight to the end of the course.  The Hare, lying down by \nthe wayside, fell fast asleep.  At last waking up, and moving as fast as he \ncould, he saw the Tortoise had reached the goal, and was comfortably dozing \nafter her fatigue. 
 
Slow but steady wins the race.  \n
\n" + } + ], + "text_body": [ + { + "header": { + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "iso-8859-1" + } + } + }, + "contents": "\nThe Hare and the Tortoise \n \nA HARE one day ridiculed the short feet and slow pace of the Tortoise, who replied, laughing: \"Though you be swift as the wind, I will beat you in a race.\" The Hare, believing her assertion to be simply impossible, assented to the proposal; and they agreed that the Fox should choose the course and fix the goal. On the day appointed for the race the two started together. The Tortoise never for a moment stopped, but went on with a slow but steady pace straight to the end of the course. The Hare, lying down by the wayside, fell fast asleep. At last waking up, and moving as fast as he could, he saw the Tortoise had reached the goal, and was comfortably dozing after her fatigue. \n \nSlow but steady wins the race. \n\n" + } + ], + "attachments": [ + { + "File": { + "header": { + "content_disposition": { + "c_type": "attachment", + "attributes": { + "filename": "greenball.png" + } + }, + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "greenball.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 0, + 0, + 16, + 0, + 0, + 24, + 0, + 0, + 33, + 0, + 0, + 8, + 0, + 0, + 49, + 0, + 0, + 66, + 0, + 0, + 82, + 0, + 0, + 90, + 0, + 0, + 74, + 0, + 8, + 99, + 0, + 8, + 115, + 0, + 8, + 123, + 0, + 16, + 140, + 0, + 8, + 107, + 0, + 0, + 57, + 0, + 0, + 99, + 0, + 16, + 148, + 0, + 16, + 156, + 0, + 33, + 165, + 0, + 16, + 165, + 0, + 33, + 173, + 0, + 66, + 189, + 24, + 99, + 198, + 49, + 99, + 198, + 57, + 82, + 198, + 33, + 41, + 206, + 0, + 24, + 189, + 0, + 16, + 173, + 0, + 24, + 173, + 0, + 33, + 189, + 0, + 148, + 214, + 99, + 173, + 214, + 123, + 132, + 214, + 82, + 74, + 222, + 24, + 33, + 214, + 0, + 24, + 198, + 0, + 24, + 181, + 0, + 0, + 41, + 0, + 66, + 206, + 16, + 206, + 231, + 148, + 222, + 231, + 173, + 198, + 231, + 148, + 148, + 231, + 99, + 82, + 231, + 33, + 33, + 222, + 0, + 24, + 206, + 0, + 82, + 222, + 33, + 156, + 231, + 107, + 214, + 239, + 156, + 189, + 239, + 140, + 132, + 239, + 82, + 66, + 239, + 16, + 173, + 239, + 123, + 165, + 222, + 115, + 90, + 239, + 41, + 33, + 231, + 0, + 24, + 214, + 0, + 49, + 231, + 0, + 82, + 239, + 33, + 107, + 239, + 57, + 74, + 239, + 24, + 41, + 231, + 0, + 41, + 239, + 0, + 49, + 239, + 0, + 8, + 132, + 0, + 16, + 181, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 41, + 213, + 249, + 217, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 1, + 109, + 73, + 68, + 65, + 84, + 120, + 156, + 117, + 210, + 109, + 87, + 194, + 32, + 20, + 7, + 112, + 15, + 108, + 200, + 128, + 193, + 4, + 215, + 227, + 92, + 169, + 219, + 40, + 43, + 233, + 185, + 180, + 44, + 179, + 239, + 255, + 153, + 136, + 185, + 135, + 179, + 44, + 239, + 171, + 157, + 243, + 59, + 247, + 50, + 248, + 223, + 94, + 175, + 45, + 91, + 85, + 239, + 79, + 89, + 0, + 61, + 207, + 131, + 16, + 248, + 127, + 24, + 162, + 62, + 198, + 1, + 38, + 125, + 228, + 129, + 223, + 104, + 17, + 166, + 44, + 228, + 156, + 135, + 34, + 32, + 200, + 235, + 182, + 218, + 104, + 16, + 74, + 53, + 28, + 14, + 227, + 88, + 114, + 129, + 163, + 46, + 34, + 202, + 213, + 193, + 225, + 209, + 241, + 201, + 105, + 50, + 138, + 57, + 195, + 8, + 182, + 6, + 49, + 79, + 207, + 78, + 206, + 199, + 227, + 201, + 52, + 203, + 11, + 197, + 5, + 209, + 205, + 153, + 54, + 98, + 170, + 184, + 152, + 92, + 206, + 174, + 174, + 111, + 230, + 38, + 73, + 85, + 24, + 68, + 94, + 125, + 25, + 224, + 218, + 178, + 219, + 187, + 251, + 217, + 195, + 227, + 83, + 102, + 146, + 34, + 118, + 141, + 205, + 137, + 222, + 64, + 22, + 103, + 211, + 235, + 231, + 151, + 199, + 215, + 197, + 210, + 153, + 27, + 138, + 81, + 53, + 212, + 106, + 161, + 242, + 236, + 237, + 125, + 181, + 250, + 248, + 52, + 89, + 94, + 255, + 13, + 216, + 14, + 181, + 145, + 80, + 137, + 89, + 172, + 191, + 214, + 243, + 165, + 201, + 147, + 34, + 85, + 27, + 209, + 26, + 18, + 50, + 49, + 217, + 124, + 153, + 153, + 146, + 70, + 138, + 135, + 148, + 104, + 191, + 182, + 1, + 143, + 19, + 99, + 202, + 38, + 71, + 169, + 228, + 44, + 168, + 110, + 239, + 76, + 227, + 80, + 165, + 73, + 94, + 202, + 119, + 170, + 228, + 182, + 13, + 84, + 137, + 88, + 216, + 119, + 207, + 50, + 74, + 11, + 39, + 177, + 35, + 70, + 113, + 4, + 253, + 218, + 124, + 77, + 4, + 151, + 42, + 142, + 149, + 146, + 114, + 195, + 202, + 247, + 4, + 77, + 146, + 22, + 34, + 66, + 203, + 16, + 56, + 223, + 132, + 130, + 146, + 14, + 185, + 70, + 23, + 94, + 64, + 25, + 99, + 66, + 208, + 160, + 223, + 210, + 214, + 172, + 15, + 116, + 68, + 48, + 198, + 212, + 69, + 171, + 97, + 67, + 182, + 222, + 19, + 0, + 53, + 66, + 145, + 70, + 94, + 181, + 19, + 157, + 189, + 113, + 31, + 190, + 15, + 97, + 185, + 44, + 173, + 52, + 217, + 218, + 255, + 170, + 183, + 31, + 187, + 219, + 180, + 87, + 118, + 241, + 159, + 245, + 221, + 133, + 31, + 205, + 97, + 231, + 141, + 210, + 8, + 44, + 44, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + }, + { + "File": { + "header": { + "content_disposition": { + "c_type": "attachment", + "attributes": { + "filename": "redball.png" + } + }, + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "redball.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 0, + 1, + 0, + 0, + 11, + 0, + 0, + 21, + 0, + 0, + 26, + 0, + 0, + 23, + 0, + 0, + 17, + 0, + 0, + 10, + 0, + 0, + 3, + 0, + 0, + 28, + 0, + 0, + 50, + 0, + 0, + 68, + 0, + 0, + 77, + 0, + 0, + 72, + 0, + 0, + 61, + 0, + 0, + 35, + 0, + 0, + 22, + 0, + 0, + 38, + 0, + 0, + 97, + 0, + 0, + 123, + 0, + 0, + 134, + 0, + 0, + 135, + 0, + 0, + 125, + 0, + 0, + 116, + 0, + 0, + 96, + 0, + 0, + 57, + 0, + 0, + 20, + 0, + 0, + 6, + 0, + 0, + 39, + 0, + 0, + 75, + 0, + 0, + 111, + 0, + 0, + 144, + 0, + 0, + 165, + 0, + 0, + 187, + 0, + 0, + 191, + 0, + 0, + 171, + 0, + 0, + 161, + 0, + 0, + 140, + 0, + 0, + 115, + 0, + 0, + 91, + 0, + 0, + 46, + 0, + 0, + 8, + 0, + 0, + 76, + 0, + 0, + 119, + 0, + 0, + 153, + 0, + 0, + 180, + 25, + 25, + 202, + 56, + 56, + 213, + 61, + 61, + 219, + 41, + 41, + 221, + 5, + 5, + 184, + 0, + 0, + 168, + 0, + 0, + 121, + 0, + 0, + 49, + 0, + 0, + 24, + 0, + 0, + 4, + 0, + 0, + 69, + 0, + 0, + 154, + 0, + 0, + 187, + 36, + 36, + 209, + 97, + 97, + 223, + 132, + 132, + 230, + 127, + 127, + 230, + 86, + 86, + 234, + 31, + 31, + 210, + 0, + 0, + 185, + 0, + 0, + 163, + 0, + 0, + 93, + 0, + 0, + 66, + 0, + 0, + 40, + 0, + 0, + 9, + 0, + 0, + 103, + 0, + 0, + 186, + 15, + 15, + 208, + 84, + 84, + 222, + 147, + 147, + 229, + 172, + 172, + 233, + 153, + 153, + 237, + 101, + 101, + 239, + 37, + 37, + 215, + 0, + 0, + 193, + 0, + 0, + 177, + 0, + 0, + 156, + 0, + 0, + 109, + 0, + 0, + 83, + 0, + 0, + 54, + 0, + 0, + 27, + 0, + 0, + 5, + 0, + 0, + 74, + 0, + 0, + 129, + 0, + 0, + 203, + 32, + 32, + 221, + 103, + 103, + 232, + 156, + 156, + 235, + 166, + 166, + 237, + 138, + 138, + 239, + 81, + 81, + 239, + 20, + 20, + 209, + 0, + 0, + 195, + 0, + 0, + 182, + 0, + 0, + 120, + 0, + 0, + 94, + 0, + 0, + 64, + 0, + 0, + 34, + 0, + 0, + 87, + 0, + 0, + 146, + 0, + 0, + 194, + 0, + 0, + 218, + 27, + 27, + 232, + 85, + 85, + 236, + 120, + 120, + 239, + 120, + 120, + 239, + 87, + 87, + 239, + 38, + 38, + 225, + 0, + 0, + 206, + 0, + 0, + 183, + 0, + 0, + 167, + 0, + 0, + 149, + 0, + 0, + 71, + 0, + 0, + 43, + 0, + 0, + 15, + 0, + 0, + 157, + 0, + 0, + 197, + 0, + 0, + 225, + 5, + 5, + 235, + 40, + 40, + 239, + 60, + 60, + 239, + 53, + 53, + 239, + 27, + 27, + 227, + 0, + 0, + 208, + 0, + 0, + 201, + 0, + 0, + 181, + 0, + 0, + 151, + 0, + 0, + 132, + 0, + 0, + 108, + 0, + 0, + 79, + 0, + 0, + 18, + 0, + 0, + 2, + 0, + 0, + 98, + 0, + 0, + 233, + 0, + 0, + 239, + 2, + 2, + 231, + 0, + 0, + 216, + 0, + 0, + 203, + 0, + 0, + 186, + 0, + 0, + 176, + 0, + 0, + 112, + 0, + 0, + 19, + 0, + 0, + 36, + 0, + 0, + 88, + 0, + 0, + 200, + 0, + 0, + 211, + 0, + 0, + 205, + 0, + 0, + 179, + 0, + 0, + 131, + 0, + 0, + 110, + 0, + 0, + 30, + 0, + 0, + 126, + 0, + 0, + 192, + 0, + 0, + 164, + 0, + 0, + 141, + 0, + 0, + 127, + 0, + 0, + 105, + 0, + 0, + 80, + 0, + 0, + 48, + 0, + 0, + 145, + 0, + 0, + 169, + 0, + 0, + 188, + 0, + 0, + 170, + 0, + 0, + 155, + 0, + 0, + 101, + 0, + 0, + 73, + 0, + 0, + 42, + 0, + 0, + 14, + 0, + 0, + 52, + 0, + 0, + 172, + 0, + 0, + 175, + 0, + 0, + 173, + 0, + 0, + 166, + 0, + 0, + 137, + 0, + 0, + 122, + 0, + 0, + 107, + 0, + 0, + 90, + 0, + 0, + 62, + 0, + 0, + 41, + 0, + 0, + 106, + 0, + 0, + 130, + 0, + 0, + 159, + 0, + 0, + 158, + 0, + 0, + 150, + 0, + 0, + 143, + 0, + 0, + 124, + 0, + 0, + 25, + 0, + 0, + 7, + 0, + 0, + 85, + 0, + 0, + 142, + 0, + 0, + 138, + 0, + 0, + 56, + 0, + 0, + 16, + 0, + 0, + 63, + 0, + 0, + 114, + 0, + 0, + 128, + 0, + 0, + 92, + 0, + 0, + 55, + 0, + 0, + 44, + 0, + 0, + 102, + 0, + 0, + 67, + 0, + 0, + 86, + 0, + 0, + 32, + 0, + 0, + 51, + 0, + 0, + 60, + 0, + 0, + 58, + 0, + 0, + 31, + 0, + 0, + 12, + 0, + 0, + 29, + 0, + 0, + 13, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 252, + 46, + 217, + 69, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 2, + 8, + 73, + 68, + 65, + 84, + 120, + 156, + 99, + 96, + 128, + 131, + 255, + 16, + 192, + 128, + 1, + 152, + 152, + 89, + 88, + 89, + 217, + 216, + 57, + 56, + 49, + 165, + 57, + 184, + 184, + 121, + 120, + 121, + 249, + 248, + 185, + 5, + 4, + 57, + 80, + 37, + 255, + 51, + 11, + 241, + 8, + 139, + 136, + 138, + 137, + 75, + 72, + 242, + 74, + 9, + 73, + 203, + 32, + 201, + 254, + 103, + 150, + 149, + 147, + 87, + 80, + 84, + 82, + 86, + 81, + 85, + 83, + 215, + 224, + 209, + 100, + 213, + 66, + 72, + 202, + 8, + 105, + 235, + 232, + 234, + 233, + 27, + 24, + 26, + 25, + 155, + 40, + 152, + 10, + 243, + 153, + 153, + 91, + 192, + 228, + 254, + 179, + 90, + 74, + 88, + 89, + 219, + 216, + 218, + 217, + 59, + 56, + 58, + 57, + 43, + 232, + 184, + 184, + 186, + 177, + 67, + 53, + 254, + 119, + 55, + 243, + 176, + 242, + 244, + 242, + 246, + 241, + 245, + 243, + 15, + 8, + 12, + 10, + 22, + 13, + 9, + 13, + 11, + 143, + 128, + 72, + 254, + 103, + 139, + 140, + 10, + 138, + 142, + 137, + 141, + 139, + 79, + 72, + 76, + 74, + 78, + 113, + 86, + 72, + 77, + 75, + 23, + 128, + 58, + 246, + 127, + 70, + 102, + 86, + 118, + 78, + 110, + 94, + 126, + 65, + 97, + 81, + 113, + 114, + 73, + 105, + 89, + 148, + 71, + 121, + 69, + 37, + 88, + 238, + 63, + 147, + 144, + 100, + 85, + 117, + 77, + 109, + 93, + 125, + 67, + 99, + 83, + 179, + 114, + 75, + 105, + 107, + 91, + 123, + 135, + 102, + 39, + 56, + 8, + 254, + 119, + 185, + 117, + 183, + 42, + 59, + 246, + 244, + 246, + 245, + 39, + 77, + 72, + 158, + 56, + 73, + 177, + 85, + 116, + 114, + 40, + 247, + 20, + 136, + 28, + 211, + 212, + 105, + 106, + 147, + 166, + 39, + 205, + 72, + 154, + 217, + 156, + 173, + 52, + 75, + 69, + 53, + 107, + 246, + 156, + 80, + 110, + 105, + 136, + 220, + 255, + 185, + 114, + 243, + 84, + 157, + 170, + 155, + 167, + 87, + 207, + 159, + 56, + 75, + 101, + 129, + 213, + 194, + 69, + 139, + 151, + 44, + 133, + 154, + 249, + 223, + 220, + 85, + 126, + 217, + 242, + 20, + 165, + 21, + 78, + 45, + 147, + 86, + 58, + 175, + 202, + 18, + 75, + 93, + 189, + 102, + 237, + 58, + 168, + 28, + 251, + 122, + 23, + 241, + 214, + 210, + 13, + 27, + 55, + 173, + 220, + 172, + 106, + 149, + 181, + 101, + 235, + 182, + 237, + 59, + 4, + 152, + 161, + 114, + 204, + 59, + 215, + 236, + 218, + 157, + 21, + 188, + 103, + 207, + 94, + 171, + 125, + 251, + 69, + 15, + 200, + 167, + 173, + 49, + 59, + 120, + 8, + 18, + 85, + 255, + 45, + 184, + 164, + 14, + 111, + 19, + 223, + 162, + 176, + 108, + 217, + 145, + 163, + 179, + 183, + 206, + 145, + 228, + 61, + 38, + 112, + 28, + 26, + 139, + 255, + 255, + 31, + 151, + 61, + 113, + 216, + 227, + 164, + 200, + 162, + 83, + 139, + 182, + 170, + 111, + 59, + 173, + 125, + 70, + 72, + 218, + 2, + 46, + 23, + 193, + 118, + 150, + 191, + 195, + 229, + 220, + 54, + 249, + 246, + 93, + 194, + 153, + 124, + 97, + 83, + 165, + 35, + 224, + 137, + 227, + 255, + 127, + 142, + 131, + 178, + 97, + 231, + 121, + 67, + 51, + 47, + 132, + 106, + 167, + 155, + 101, + 116, + 90, + 32, + 165, + 155, + 255, + 255, + 15, + 73, + 95, + 92, + 123, + 73, + 234, + 242, + 229, + 43, + 220, + 59, + 175, + 30, + 239, + 66, + 78, + 82, + 64, + 150, + 197, + 181, + 41, + 172, + 215, + 47, + 94, + 189, + 120, + 157, + 237, + 6, + 90, + 114, + 3, + 177, + 153, + 44, + 100, + 180, + 220, + 221, + 181, + 44, + 48, + 83, + 226, + 127, + 84, + 128, + 154, + 8, + 241, + 72, + 97, + 77, + 215, + 0, + 152, + 72, + 58, + 216, + 223, + 230, + 199, + 242, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + } + ] +} \ No newline at end of file diff --git a/tests/legacy/020.txt b/tests/legacy/020.txt new file mode 100644 index 0000000..0b9d3d1 --- /dev/null +++ b/tests/legacy/020.txt @@ -0,0 +1,93 @@ +From: "Doug Sauder" +To: "Jürgen Schmürgen" +Subject: Die Hasen und die Frösche (Microsoft Outlook 00) +Date: Wed, 17 May 2000 19:08:29 -0400 +Message-ID: +MIME-Version: 1.0 +Content-Type: text/plain; + charset="iso-8859-1" +Content-Transfer-Encoding: 8bit +X-Priority: 3 (Normal) +X-MSMail-Priority: Normal +X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) +Importance: Normal +X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 + +Die Hasen und die Frösche + +Die Hasen klagten einst über ihre mißliche Lage; "wir leben", sprach ein +Redner, "in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der +Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod +selbst. Auf, laßt uns ein für allemal sterben." + +In einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; +allein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte +eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste +untertauchten. + +"Halt", rief nun eben dieser Sprecher, "wir wollen das Ersäufen noch ein +wenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, +welche also wohl noch unglücklicher sein müssen als wir." + + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 17, + "hour": 19, + "minute": 8, + "second": 29, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "doug@example.com" + } + }, + "message_id": "NDBBIAKOPKHFGPLCODIGIEKBCHAA.doug@example.com", + "mime_version": "1.0", + "subject": "Die Hasen und die Fr�sche (Microsoft Outlook 00)", + "to": { + "Address": { + "name": "J�rgen Schm�rgen", + "address": "schmuergen@example.com" + } + }, + "content_transfer_encoding": "8bit", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "iso-8859-1" + } + }, + "others": { + "Importance": [ + "Normal" + ], + "X-Priority": [ + "3 (Normal)" + ], + "X-MSMail-Priority": [ + "Normal" + ], + "X-Mailer": [ + "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" + ], + "X-MimeOLE": [ + "Produced By Microsoft MimeOLE V5.00.2314.1300" + ] + } + }, + "text_body": [ + { + "contents": "Die Hasen und die Frösche\r\n\r\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein\r\nRedner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der\r\nAdler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod\r\nselbst. Auf, laßt uns ein für allemal sterben.\"\r\n\r\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu;\r\nallein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte\r\neine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste\r\nuntertauchten.\r\n\r\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein\r\nwenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere,\r\nwelche also wohl noch unglücklicher sein müssen als wir.\"\r\n\r\n" + } + ] +} \ No newline at end of file diff --git a/tests/legacy/021.txt b/tests/legacy/021.txt new file mode 100644 index 0000000..187aee8 --- /dev/null +++ b/tests/legacy/021.txt @@ -0,0 +1,4413 @@ +From: "Doug Sauder" +To: "Joe Blow" +Subject: Test message from Microsoft Outlook 00 +Date: Wed, 17 May 2000 19:47:24 -0400 +Message-ID: +MIME-Version: 1.0 +Content-Type: multipart/mixed; + boundary="----=_NextPart_000_0010_01BFC038.B91BC650" +X-Priority: 3 (Normal) +X-MSMail-Priority: Normal +X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) +Importance: Normal +X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 + +This is a multi-part message in MIME format. + +------=_NextPart_000_0010_01BFC038.B91BC650 +Content-Type: multipart/related; + boundary="----=_NextPart_001_0011_01BFC038.B91BC650" + + +------=_NextPart_001_0011_01BFC038.B91BC650 +Content-Type: multipart/alternative; + boundary="----=_NextPart_002_0012_01BFC038.B91BC650" + + +------=_NextPart_002_0012_01BFC038.B91BC650 +Content-Type: text/plain; + charset="iso-8859-1" +Content-Transfer-Encoding: quoted-printable + + + +The Hare and the Tortoise=20 +=20 +A HARE one day ridiculed the short feet and slow pace of the Tortoise, = +who replied, laughing: "Though you be swift as the wind, I will beat = +you in a race." The Hare, believing her assertion to be simply = +impossible, assented to the proposal; and they agreed that the Fox = +should choose the course and fix the goal. On the day appointed for the = +race the two started together. The Tortoise never for a moment stopped, = +but went on with a slow but steady pace straight to the end of the = +course. The Hare, lying down by the wayside, fell fast asleep. At last = +waking up, and moving as fast as he could, he saw the Tortoise had = +reached the goal, and was comfortably dozing after her fatigue. =20 +=20 +Slow but steady wins the race. =20 + + + +------=_NextPart_002_0012_01BFC038.B91BC650 +Content-Type: text/html; + charset="iso-8859-1" +Content-Transfer-Encoding: quoted-printable + + + + + + +
3D"blue
+

The Hare and the Tortoise = +
 
A HARE=20 +one day ridiculed the short feet and slow pace of the Tortoise, who = +replied,=20 +laughing:  "Though you be swift as the wind, I will beat you in a=20 +race."  The Hare, believing her assertion to be simply impossible, = +assented=20 +to the proposal; and they agreed that the Fox should choose the course = +and fix=20 +the goal.  On the day appointed for the race the two started=20 +together.  The Tortoise never for a moment stopped, but went on = +with a slow=20 +but steady pace straight to the end of the course.  The Hare, lying = +down by=20 +the wayside, fell fast asleep.  At last waking up, and moving as = +fast as he=20 +could, he saw the Tortoise had reached the goal, and was comfortably = +dozing=20 +after her fatigue. 
 
Slow but steady wins the = +race. =20 +
+

 
+ +------=_NextPart_002_0012_01BFC038.B91BC650-- + +------=_NextPart_001_0011_01BFC038.B91BC650 +Content-Type: image/png; + name="blueball.png" +Content-Transfer-Encoding: base64 +Content-ID: <938014623@17052000-0f9b> + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAgAABAAABgAAAAA +CCkAEEIAEEoACDEAEFIIIXMIKXsIKYQIIWsAGFoACDkIIWMQOZwYQqUYQq0YQrUQOaUQMZQAGFIQ +MYwpUrU5Y8Y5Y84pWs4YSs4YQs4YQr1Ca8Z7nNacvd6Mtd5jlOcxa94hUt4YStYYQsYQMaUAACHO +5+/n7++cxu9ShO8pWucQOa1Ke86tzt6lzu9ajO8QMZxahNat1ufO7++Mve9Ke+8YOaUYSsaMvee1 +5++Uve8AAClajOdzpe9rnO8IKYwxY+8pWu8IIXsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAADBMg1VAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAu +MT1evmgAAAGISURBVHicddJtV5swGAbgEk6AJhBSk4bMCUynBSLaqovbrG/bfPn/vyh70lbssceb +L5xznTsh5BmNhgQoRChwo50EOIohUYLDj4zHhKYQkrEoQdvock4ne0IKMVUpKZLQDeqSTIsv+18P +yqqWUw2IBsRM7307PPp+fDJrWtnpLDJvewYxnewfnvanZ+fzpmwXijC8KbqEa3Fx2ff91Y95U9XC +UpaDeQwiMpHXP/v+1++bWVPWQoGFawtjury9vru/f/C1Vi7ezT0WWpQHf/7+u/G71aLThK/MjRxm +T6KdzZ9fGk9yatMsTgZLl3XVgFRAC6spj/13enssqJVtWVa3NdBSacL8+VZmYqKmdd1CSYoOiMOS +GwtzlqqlFFIuOqv0a1ZEZrUkWICLLFW266y1KvWE1zV/iDAH1EopnVLCiygZCIomH3NCKX0lnI+B +1iuuzCGTxwXjnDO4d7NpbX42YJJHkBwmAm2TxwAZg40J3+Xtbv1rgOAZwG0NxW62p+lT+Yi747sD +/wEUVMzYmWkOvwAAACV0RVh0Q29tbWVudABjbGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZz +O7wAAAAASUVORK5CYII= + +------=_NextPart_001_0011_01BFC038.B91BC650-- + +------=_NextPart_000_0010_01BFC038.B91BC650 +Content-Type: image/png; + name="greenball.png" +Content-Transfer-Encoding: base64 +Content-Disposition: attachment; + filename="greenball.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAAAEAAAGAAAIQAA +CAAAMQAAQgAAUgAAWgAASgAIYwAIcwAIewAQjAAIawAAOQAAYwAQlAAQnAAhpQAQpQAhrQBCvRhj +xjFjxjlSxiEpzgAYvQAQrQAYrQAhvQCU1mOt1nuE1lJK3hgh1gAYxgAYtQAAKQBCzhDO55Te563G +55SU52NS5yEh3gAYzgBS3iGc52vW75y974yE71JC7xCt73ul3nNa7ykh5wAY1gAx5wBS7yFr7zlK +7xgp5wAp7wAx7wAIhAAQtQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAp1fnZAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAu +MT1evmgAAAFtSURBVHicddJtV8IgFAdwD2zIgMEE1+NcqdsoK+m5tCyz7/+ZiLmHsyzvq53zO/cy ++N9ery1bVe9PWQA9z4MQ+H8Yoj7GASZ95IHfaBGmLOSchyIgyOu22mgQSjUcDuNYcoGjLiLK1cHh +0fHJaTKKOcMItgYxT89OzsfjyTTLC8UF0c2ZNmKquJhczq6ub+YmSVUYRF59GeDastu7+9nD41Nm +kiJ2jc2J3kAWZ9Pr55fH18XSmRuKUTXUaqHy7O19tfr4NFle/w3YDrWRUIlZrL/W86XJkyJVG9Ea +EjIx2XyZmZJGioeUaL+2AY8TY8omR6nkLKhu70zjUKVJXsp3quS2DVSJWNh3zzJKCyexI0ZxBP3a +fE0ElyqOlZJyw8r3BE2SFiJCyxA434SCkg65RhdeQBljQtCg39LWrA90RDDG1EWrYUO23hMANUKR +Rl61E529cR++D2G5LK002dr/qrcfu9u0V3bxn/XdhR/NYeeN0ggsLAAAACV0RVh0Q29tbWVudABj +bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII= + +------=_NextPart_000_0010_01BFC038.B91BC650 +Content-Type: image/png; + name="redball.png" +Content-Transfer-Encoding: base64 +Content-Disposition: attachment; + filename="redball.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAABAAALAAAVAAAa +AAAXAAARAAAKAAADAAAcAAAyAABEAABNAABIAAA9AAAjAAAWAAAmAABhAAB7AACGAACHAAB9AAB0 +AABgAAA5AAAUAAAGAAAnAABLAABvAACQAAClAAC7AAC/AACrAAChAACMAABzAABbAAAuAAAIAABM +AAB3AACZAAC0GRnKODjVPT3bKSndBQW4AACoAAB5AAAxAAAYAAAEAABFAACaAAC7JCTRYWHfhITm +f3/mVlbqHx/SAAC5AACjAABdAABCAAAoAAAJAABnAAC6Dw/QVFTek5PlrKzpmZntZWXvJSXXAADB +AACxAACcAABtAABTAAA2AAAbAAAFAABKAACBAADLICDdZ2fonJzrpqbtiorvUVHvFBTRAADDAAC2 +AAB4AABeAABAAAAiAABXAACSAADCAADaGxvoVVXseHjveHjvV1fvJibhAADOAAC3AACnAACVAABH +AAArAAAPAACdAADFAADhBQXrKCjvPDzvNTXvGxvjAADQAADJAAC1AACXAACEAABsAABPAAASAAAC +AABiAADpAADvAgLnAADYAADLAAC6AACwAABwAAATAAAkAABYAADIAADTAADNAACzAACDAABuAAAe +AAB+AADAAACkAACNAAB/AABpAABQAAAwAACRAACpAAC8AACqAACbAABlAABJAAAqAAAOAAA0AACs +AACvAACtAACmAACJAAB6AABrAABaAAA+AAApAABqAACCAACfAACeAACWAACPAAB8AAAZAAAHAABV +AACOAACKAAA4AAAQAAA/AAByAACAAABcAAA3AAAsAABmAABDAABWAAAgAAAzAAA8AAA6AAAfAAAM +AAAdAAANAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAD8LtlFAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAu +MT1evmgAAAIISURBVHicY2CAg/8QwIABmJhZWFnZ2Dk4MaU5uLh5eHn5+LkFBDlQJf8zC/EIi4iK +iUtI8koJScsgyf5nlpWTV1BUUlZRVVPX4NFk1UJIyghp6+jq6RsYGhmbKJgK85mZW8Dk/rNaSlhZ +29ja2Ts4Ojkr6Li4urFDNf53N/Ow8vTy9vH18w8IDAoWDQkNC4+ASP5ni4wKio6JjYtPSExKTnFW +SE1LF4A69n9GZlZ2Tm5efkFhUXFySWlZlEd5RSVY7j+TkGRVdU1tXX1DY1Ozcktpa1t7h2YnOAj+ +d7l1tyo79vT29SdNSJ44SbFVdHIo9xSIHNPUaWqTpifNSJrZnK00S0U1a/acUG5piNz/uXLzVJ2q +m6dXz584S2WB1cJFi5cshZr539xVftnyFKUVTi2TVjqvyhJLXb1m7TqoHPt6F/HW0g0bN63crGqV +tWXrtu07BJihcsw71+zanRW8Z89eq337RQ/Ip60xO3gIElX/LbikDm8T36KwbNmRo7O3zpHkPSZw +HBqL//8flz1x2OOkyKJTi7aqbzutfUZI2gIuF8F2lr/D5dw2+fZdwpl8YVOlI+CJ4/9/joOyYed5 +QzMvhGqnm2V0WiClm///D0lfXHtJ6vLlK9w7rx7vQk5SQJbFtSms1y9evXid7QZacgOxmSxktNzd +tSwwU+J/VICaCPFIYU3XAJhIOtjf5sfyAAAAJXRFWHRDb21tZW50AGNsaXAyZ2lmIHYuMC42IGJ5 +IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg== + +------=_NextPart_000_0010_01BFC038.B91BC650-- + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 17, + "hour": 19, + "minute": 47, + "second": 24, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "doug@example.com" + } + }, + "message_id": "NDBBIAKOPKHFGPLCODIGOEKFCHAA.doug@example.com", + "mime_version": "1.0", + "subject": "Test message from Microsoft Outlook 00", + "to": { + "Address": { + "name": "Joe Blow", + "address": "jblow@example.com" + } + }, + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "----=_NextPart_000_0010_01BFC038.B91BC650" + } + }, + "others": { + "X-MSMail-Priority": [ + "Normal" + ], + "X-Mailer": [ + "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" + ], + "Importance": [ + "Normal" + ], + "X-Priority": [ + "3 (Normal)" + ], + "X-MimeOLE": [ + "Produced By Microsoft MimeOLE V5.00.2314.1300" + ] + } + }, + "html_body": [ + { + "header": { + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "html", + "attributes": { + "charset": "iso-8859-1" + } + } + }, + "contents": "\n\n\n\n\n
\"blue
\n

The Hare and the Tortoise
 
A HARE \none day ridiculed the short feet and slow pace of the Tortoise, who replied, \nlaughing:  \"Though you be swift as the wind, I will beat you in a \nrace.\"  The Hare, believing her assertion to be simply impossible, assented \nto the proposal; and they agreed that the Fox should choose the course and fix \nthe goal.  On the day appointed for the race the two started \ntogether.  The Tortoise never for a moment stopped, but went on with a slow \nbut steady pace straight to the end of the course.  The Hare, lying down by \nthe wayside, fell fast asleep.  At last waking up, and moving as fast as he \ncould, he saw the Tortoise had reached the goal, and was comfortably dozing \nafter her fatigue. 
 
Slow but steady wins the race.  \n
\n

 
\n" + } + ], + "text_body": [ + { + "header": { + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "iso-8859-1" + } + } + }, + "contents": "\n\nThe Hare and the Tortoise \n \nA HARE one day ridiculed the short feet and slow pace of the Tortoise, who replied, laughing: \"Though you be swift as the wind, I will beat you in a race.\" The Hare, believing her assertion to be simply impossible, assented to the proposal; and they agreed that the Fox should choose the course and fix the goal. On the day appointed for the race the two started together. The Tortoise never for a moment stopped, but went on with a slow but steady pace straight to the end of the course. The Hare, lying down by the wayside, fell fast asleep. At last waking up, and moving as fast as he could, he saw the Tortoise had reached the goal, and was comfortably dozing after her fatigue. \n \nSlow but steady wins the race. \n\n\n" + } + ], + "attachments": [ + { + "File": { + "header": { + "content_id": "938014623@17052000-0f9b", + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "blueball.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 8, + 0, + 0, + 16, + 0, + 0, + 24, + 0, + 0, + 0, + 0, + 8, + 41, + 0, + 16, + 66, + 0, + 16, + 74, + 0, + 8, + 49, + 0, + 16, + 82, + 8, + 33, + 115, + 8, + 41, + 123, + 8, + 41, + 132, + 8, + 33, + 107, + 0, + 24, + 90, + 0, + 8, + 57, + 8, + 33, + 99, + 16, + 57, + 156, + 24, + 66, + 165, + 24, + 66, + 173, + 24, + 66, + 181, + 16, + 57, + 165, + 16, + 49, + 148, + 0, + 24, + 82, + 16, + 49, + 140, + 41, + 82, + 181, + 57, + 99, + 198, + 57, + 99, + 206, + 41, + 90, + 206, + 24, + 74, + 206, + 24, + 66, + 206, + 24, + 66, + 189, + 66, + 107, + 198, + 123, + 156, + 214, + 156, + 189, + 222, + 140, + 181, + 222, + 99, + 148, + 231, + 49, + 107, + 222, + 33, + 82, + 222, + 24, + 74, + 214, + 24, + 66, + 198, + 16, + 49, + 165, + 0, + 0, + 33, + 206, + 231, + 239, + 231, + 239, + 239, + 156, + 198, + 239, + 82, + 132, + 239, + 41, + 90, + 231, + 16, + 57, + 173, + 74, + 123, + 206, + 173, + 206, + 222, + 165, + 206, + 239, + 90, + 140, + 239, + 16, + 49, + 156, + 90, + 132, + 214, + 173, + 214, + 231, + 206, + 239, + 239, + 140, + 189, + 239, + 74, + 123, + 239, + 24, + 57, + 165, + 24, + 74, + 198, + 140, + 189, + 231, + 181, + 231, + 239, + 148, + 189, + 239, + 0, + 0, + 41, + 90, + 140, + 231, + 115, + 165, + 239, + 107, + 156, + 239, + 8, + 41, + 140, + 49, + 99, + 239, + 41, + 90, + 239, + 8, + 33, + 123, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 193, + 50, + 13, + 85, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 1, + 136, + 73, + 68, + 65, + 84, + 120, + 156, + 117, + 210, + 109, + 87, + 155, + 48, + 24, + 6, + 224, + 18, + 78, + 128, + 38, + 16, + 82, + 147, + 134, + 204, + 9, + 76, + 167, + 5, + 34, + 218, + 170, + 139, + 219, + 172, + 111, + 219, + 124, + 249, + 255, + 191, + 40, + 123, + 210, + 86, + 236, + 177, + 199, + 155, + 47, + 156, + 115, + 157, + 59, + 33, + 228, + 25, + 141, + 134, + 4, + 40, + 68, + 40, + 112, + 163, + 157, + 4, + 56, + 138, + 33, + 81, + 130, + 195, + 143, + 140, + 199, + 132, + 166, + 16, + 146, + 177, + 40, + 65, + 219, + 232, + 114, + 78, + 39, + 123, + 66, + 10, + 49, + 85, + 41, + 41, + 146, + 208, + 13, + 234, + 146, + 76, + 139, + 47, + 251, + 95, + 15, + 202, + 170, + 150, + 83, + 13, + 136, + 6, + 196, + 76, + 239, + 125, + 59, + 60, + 250, + 126, + 124, + 50, + 107, + 90, + 217, + 233, + 44, + 50, + 111, + 123, + 6, + 49, + 157, + 236, + 31, + 158, + 246, + 167, + 103, + 231, + 243, + 166, + 108, + 23, + 138, + 48, + 188, + 41, + 186, + 132, + 107, + 113, + 113, + 217, + 247, + 253, + 213, + 143, + 121, + 83, + 213, + 194, + 82, + 150, + 131, + 121, + 12, + 34, + 50, + 145, + 215, + 63, + 251, + 254, + 215, + 239, + 155, + 89, + 83, + 214, + 66, + 129, + 133, + 107, + 11, + 99, + 186, + 188, + 189, + 190, + 187, + 191, + 127, + 240, + 181, + 86, + 46, + 222, + 205, + 61, + 22, + 90, + 148, + 7, + 127, + 254, + 254, + 187, + 241, + 187, + 213, + 162, + 211, + 132, + 175, + 204, + 141, + 28, + 102, + 79, + 162, + 157, + 205, + 159, + 95, + 26, + 79, + 114, + 106, + 211, + 44, + 78, + 6, + 75, + 151, + 117, + 213, + 128, + 84, + 64, + 11, + 171, + 41, + 143, + 253, + 119, + 122, + 123, + 44, + 168, + 149, + 109, + 89, + 86, + 183, + 53, + 208, + 82, + 105, + 194, + 252, + 249, + 86, + 102, + 98, + 162, + 166, + 117, + 221, + 66, + 73, + 138, + 14, + 136, + 195, + 146, + 27, + 11, + 115, + 150, + 170, + 165, + 20, + 82, + 46, + 58, + 171, + 244, + 107, + 86, + 68, + 102, + 181, + 36, + 88, + 128, + 139, + 44, + 85, + 182, + 235, + 172, + 181, + 42, + 245, + 132, + 215, + 53, + 127, + 136, + 48, + 7, + 212, + 74, + 41, + 157, + 82, + 194, + 139, + 40, + 25, + 8, + 138, + 38, + 31, + 115, + 66, + 41, + 125, + 37, + 156, + 143, + 129, + 214, + 43, + 174, + 204, + 33, + 147, + 199, + 5, + 227, + 156, + 51, + 184, + 119, + 179, + 105, + 109, + 126, + 54, + 96, + 146, + 71, + 144, + 28, + 38, + 2, + 109, + 147, + 199, + 0, + 25, + 131, + 141, + 9, + 223, + 229, + 237, + 110, + 253, + 107, + 128, + 224, + 25, + 192, + 109, + 13, + 197, + 110, + 182, + 167, + 233, + 83, + 249, + 136, + 187, + 227, + 187, + 3, + 255, + 1, + 20, + 84, + 204, + 216, + 153, + 105, + 14, + 191, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + }, + { + "File": { + "header": { + "content_disposition": { + "c_type": "attachment", + "attributes": { + "filename": "greenball.png" + } + }, + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "greenball.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 0, + 0, + 16, + 0, + 0, + 24, + 0, + 0, + 33, + 0, + 0, + 8, + 0, + 0, + 49, + 0, + 0, + 66, + 0, + 0, + 82, + 0, + 0, + 90, + 0, + 0, + 74, + 0, + 8, + 99, + 0, + 8, + 115, + 0, + 8, + 123, + 0, + 16, + 140, + 0, + 8, + 107, + 0, + 0, + 57, + 0, + 0, + 99, + 0, + 16, + 148, + 0, + 16, + 156, + 0, + 33, + 165, + 0, + 16, + 165, + 0, + 33, + 173, + 0, + 66, + 189, + 24, + 99, + 198, + 49, + 99, + 198, + 57, + 82, + 198, + 33, + 41, + 206, + 0, + 24, + 189, + 0, + 16, + 173, + 0, + 24, + 173, + 0, + 33, + 189, + 0, + 148, + 214, + 99, + 173, + 214, + 123, + 132, + 214, + 82, + 74, + 222, + 24, + 33, + 214, + 0, + 24, + 198, + 0, + 24, + 181, + 0, + 0, + 41, + 0, + 66, + 206, + 16, + 206, + 231, + 148, + 222, + 231, + 173, + 198, + 231, + 148, + 148, + 231, + 99, + 82, + 231, + 33, + 33, + 222, + 0, + 24, + 206, + 0, + 82, + 222, + 33, + 156, + 231, + 107, + 214, + 239, + 156, + 189, + 239, + 140, + 132, + 239, + 82, + 66, + 239, + 16, + 173, + 239, + 123, + 165, + 222, + 115, + 90, + 239, + 41, + 33, + 231, + 0, + 24, + 214, + 0, + 49, + 231, + 0, + 82, + 239, + 33, + 107, + 239, + 57, + 74, + 239, + 24, + 41, + 231, + 0, + 41, + 239, + 0, + 49, + 239, + 0, + 8, + 132, + 0, + 16, + 181, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 41, + 213, + 249, + 217, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 1, + 109, + 73, + 68, + 65, + 84, + 120, + 156, + 117, + 210, + 109, + 87, + 194, + 32, + 20, + 7, + 112, + 15, + 108, + 200, + 128, + 193, + 4, + 215, + 227, + 92, + 169, + 219, + 40, + 43, + 233, + 185, + 180, + 44, + 179, + 239, + 255, + 153, + 136, + 185, + 135, + 179, + 44, + 239, + 171, + 157, + 243, + 59, + 247, + 50, + 248, + 223, + 94, + 175, + 45, + 91, + 85, + 239, + 79, + 89, + 0, + 61, + 207, + 131, + 16, + 248, + 127, + 24, + 162, + 62, + 198, + 1, + 38, + 125, + 228, + 129, + 223, + 104, + 17, + 166, + 44, + 228, + 156, + 135, + 34, + 32, + 200, + 235, + 182, + 218, + 104, + 16, + 74, + 53, + 28, + 14, + 227, + 88, + 114, + 129, + 163, + 46, + 34, + 202, + 213, + 193, + 225, + 209, + 241, + 201, + 105, + 50, + 138, + 57, + 195, + 8, + 182, + 6, + 49, + 79, + 207, + 78, + 206, + 199, + 227, + 201, + 52, + 203, + 11, + 197, + 5, + 209, + 205, + 153, + 54, + 98, + 170, + 184, + 152, + 92, + 206, + 174, + 174, + 111, + 230, + 38, + 73, + 85, + 24, + 68, + 94, + 125, + 25, + 224, + 218, + 178, + 219, + 187, + 251, + 217, + 195, + 227, + 83, + 102, + 146, + 34, + 118, + 141, + 205, + 137, + 222, + 64, + 22, + 103, + 211, + 235, + 231, + 151, + 199, + 215, + 197, + 210, + 153, + 27, + 138, + 81, + 53, + 212, + 106, + 161, + 242, + 236, + 237, + 125, + 181, + 250, + 248, + 52, + 89, + 94, + 255, + 13, + 216, + 14, + 181, + 145, + 80, + 137, + 89, + 172, + 191, + 214, + 243, + 165, + 201, + 147, + 34, + 85, + 27, + 209, + 26, + 18, + 50, + 49, + 217, + 124, + 153, + 153, + 146, + 70, + 138, + 135, + 148, + 104, + 191, + 182, + 1, + 143, + 19, + 99, + 202, + 38, + 71, + 169, + 228, + 44, + 168, + 110, + 239, + 76, + 227, + 80, + 165, + 73, + 94, + 202, + 119, + 170, + 228, + 182, + 13, + 84, + 137, + 88, + 216, + 119, + 207, + 50, + 74, + 11, + 39, + 177, + 35, + 70, + 113, + 4, + 253, + 218, + 124, + 77, + 4, + 151, + 42, + 142, + 149, + 146, + 114, + 195, + 202, + 247, + 4, + 77, + 146, + 22, + 34, + 66, + 203, + 16, + 56, + 223, + 132, + 130, + 146, + 14, + 185, + 70, + 23, + 94, + 64, + 25, + 99, + 66, + 208, + 160, + 223, + 210, + 214, + 172, + 15, + 116, + 68, + 48, + 198, + 212, + 69, + 171, + 97, + 67, + 182, + 222, + 19, + 0, + 53, + 66, + 145, + 70, + 94, + 181, + 19, + 157, + 189, + 113, + 31, + 190, + 15, + 97, + 185, + 44, + 173, + 52, + 217, + 218, + 255, + 170, + 183, + 31, + 187, + 219, + 180, + 87, + 118, + 241, + 159, + 245, + 221, + 133, + 31, + 205, + 97, + 231, + 141, + 210, + 8, + 44, + 44, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + }, + { + "File": { + "header": { + "content_disposition": { + "c_type": "attachment", + "attributes": { + "filename": "redball.png" + } + }, + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "redball.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 0, + 1, + 0, + 0, + 11, + 0, + 0, + 21, + 0, + 0, + 26, + 0, + 0, + 23, + 0, + 0, + 17, + 0, + 0, + 10, + 0, + 0, + 3, + 0, + 0, + 28, + 0, + 0, + 50, + 0, + 0, + 68, + 0, + 0, + 77, + 0, + 0, + 72, + 0, + 0, + 61, + 0, + 0, + 35, + 0, + 0, + 22, + 0, + 0, + 38, + 0, + 0, + 97, + 0, + 0, + 123, + 0, + 0, + 134, + 0, + 0, + 135, + 0, + 0, + 125, + 0, + 0, + 116, + 0, + 0, + 96, + 0, + 0, + 57, + 0, + 0, + 20, + 0, + 0, + 6, + 0, + 0, + 39, + 0, + 0, + 75, + 0, + 0, + 111, + 0, + 0, + 144, + 0, + 0, + 165, + 0, + 0, + 187, + 0, + 0, + 191, + 0, + 0, + 171, + 0, + 0, + 161, + 0, + 0, + 140, + 0, + 0, + 115, + 0, + 0, + 91, + 0, + 0, + 46, + 0, + 0, + 8, + 0, + 0, + 76, + 0, + 0, + 119, + 0, + 0, + 153, + 0, + 0, + 180, + 25, + 25, + 202, + 56, + 56, + 213, + 61, + 61, + 219, + 41, + 41, + 221, + 5, + 5, + 184, + 0, + 0, + 168, + 0, + 0, + 121, + 0, + 0, + 49, + 0, + 0, + 24, + 0, + 0, + 4, + 0, + 0, + 69, + 0, + 0, + 154, + 0, + 0, + 187, + 36, + 36, + 209, + 97, + 97, + 223, + 132, + 132, + 230, + 127, + 127, + 230, + 86, + 86, + 234, + 31, + 31, + 210, + 0, + 0, + 185, + 0, + 0, + 163, + 0, + 0, + 93, + 0, + 0, + 66, + 0, + 0, + 40, + 0, + 0, + 9, + 0, + 0, + 103, + 0, + 0, + 186, + 15, + 15, + 208, + 84, + 84, + 222, + 147, + 147, + 229, + 172, + 172, + 233, + 153, + 153, + 237, + 101, + 101, + 239, + 37, + 37, + 215, + 0, + 0, + 193, + 0, + 0, + 177, + 0, + 0, + 156, + 0, + 0, + 109, + 0, + 0, + 83, + 0, + 0, + 54, + 0, + 0, + 27, + 0, + 0, + 5, + 0, + 0, + 74, + 0, + 0, + 129, + 0, + 0, + 203, + 32, + 32, + 221, + 103, + 103, + 232, + 156, + 156, + 235, + 166, + 166, + 237, + 138, + 138, + 239, + 81, + 81, + 239, + 20, + 20, + 209, + 0, + 0, + 195, + 0, + 0, + 182, + 0, + 0, + 120, + 0, + 0, + 94, + 0, + 0, + 64, + 0, + 0, + 34, + 0, + 0, + 87, + 0, + 0, + 146, + 0, + 0, + 194, + 0, + 0, + 218, + 27, + 27, + 232, + 85, + 85, + 236, + 120, + 120, + 239, + 120, + 120, + 239, + 87, + 87, + 239, + 38, + 38, + 225, + 0, + 0, + 206, + 0, + 0, + 183, + 0, + 0, + 167, + 0, + 0, + 149, + 0, + 0, + 71, + 0, + 0, + 43, + 0, + 0, + 15, + 0, + 0, + 157, + 0, + 0, + 197, + 0, + 0, + 225, + 5, + 5, + 235, + 40, + 40, + 239, + 60, + 60, + 239, + 53, + 53, + 239, + 27, + 27, + 227, + 0, + 0, + 208, + 0, + 0, + 201, + 0, + 0, + 181, + 0, + 0, + 151, + 0, + 0, + 132, + 0, + 0, + 108, + 0, + 0, + 79, + 0, + 0, + 18, + 0, + 0, + 2, + 0, + 0, + 98, + 0, + 0, + 233, + 0, + 0, + 239, + 2, + 2, + 231, + 0, + 0, + 216, + 0, + 0, + 203, + 0, + 0, + 186, + 0, + 0, + 176, + 0, + 0, + 112, + 0, + 0, + 19, + 0, + 0, + 36, + 0, + 0, + 88, + 0, + 0, + 200, + 0, + 0, + 211, + 0, + 0, + 205, + 0, + 0, + 179, + 0, + 0, + 131, + 0, + 0, + 110, + 0, + 0, + 30, + 0, + 0, + 126, + 0, + 0, + 192, + 0, + 0, + 164, + 0, + 0, + 141, + 0, + 0, + 127, + 0, + 0, + 105, + 0, + 0, + 80, + 0, + 0, + 48, + 0, + 0, + 145, + 0, + 0, + 169, + 0, + 0, + 188, + 0, + 0, + 170, + 0, + 0, + 155, + 0, + 0, + 101, + 0, + 0, + 73, + 0, + 0, + 42, + 0, + 0, + 14, + 0, + 0, + 52, + 0, + 0, + 172, + 0, + 0, + 175, + 0, + 0, + 173, + 0, + 0, + 166, + 0, + 0, + 137, + 0, + 0, + 122, + 0, + 0, + 107, + 0, + 0, + 90, + 0, + 0, + 62, + 0, + 0, + 41, + 0, + 0, + 106, + 0, + 0, + 130, + 0, + 0, + 159, + 0, + 0, + 158, + 0, + 0, + 150, + 0, + 0, + 143, + 0, + 0, + 124, + 0, + 0, + 25, + 0, + 0, + 7, + 0, + 0, + 85, + 0, + 0, + 142, + 0, + 0, + 138, + 0, + 0, + 56, + 0, + 0, + 16, + 0, + 0, + 63, + 0, + 0, + 114, + 0, + 0, + 128, + 0, + 0, + 92, + 0, + 0, + 55, + 0, + 0, + 44, + 0, + 0, + 102, + 0, + 0, + 67, + 0, + 0, + 86, + 0, + 0, + 32, + 0, + 0, + 51, + 0, + 0, + 60, + 0, + 0, + 58, + 0, + 0, + 31, + 0, + 0, + 12, + 0, + 0, + 29, + 0, + 0, + 13, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 252, + 46, + 217, + 69, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 2, + 8, + 73, + 68, + 65, + 84, + 120, + 156, + 99, + 96, + 128, + 131, + 255, + 16, + 192, + 128, + 1, + 152, + 152, + 89, + 88, + 89, + 217, + 216, + 57, + 56, + 49, + 165, + 57, + 184, + 184, + 121, + 120, + 121, + 249, + 248, + 185, + 5, + 4, + 57, + 80, + 37, + 255, + 51, + 11, + 241, + 8, + 139, + 136, + 138, + 137, + 75, + 72, + 242, + 74, + 9, + 73, + 203, + 32, + 201, + 254, + 103, + 150, + 149, + 147, + 87, + 80, + 84, + 82, + 86, + 81, + 85, + 83, + 215, + 224, + 209, + 100, + 213, + 66, + 72, + 202, + 8, + 105, + 235, + 232, + 234, + 233, + 27, + 24, + 26, + 25, + 155, + 40, + 152, + 10, + 243, + 153, + 153, + 91, + 192, + 228, + 254, + 179, + 90, + 74, + 88, + 89, + 219, + 216, + 218, + 217, + 59, + 56, + 58, + 57, + 43, + 232, + 184, + 184, + 186, + 177, + 67, + 53, + 254, + 119, + 55, + 243, + 176, + 242, + 244, + 242, + 246, + 241, + 245, + 243, + 15, + 8, + 12, + 10, + 22, + 13, + 9, + 13, + 11, + 143, + 128, + 72, + 254, + 103, + 139, + 140, + 10, + 138, + 142, + 137, + 141, + 139, + 79, + 72, + 76, + 74, + 78, + 113, + 86, + 72, + 77, + 75, + 23, + 128, + 58, + 246, + 127, + 70, + 102, + 86, + 118, + 78, + 110, + 94, + 126, + 65, + 97, + 81, + 113, + 114, + 73, + 105, + 89, + 148, + 71, + 121, + 69, + 37, + 88, + 238, + 63, + 147, + 144, + 100, + 85, + 117, + 77, + 109, + 93, + 125, + 67, + 99, + 83, + 179, + 114, + 75, + 105, + 107, + 91, + 123, + 135, + 102, + 39, + 56, + 8, + 254, + 119, + 185, + 117, + 183, + 42, + 59, + 246, + 244, + 246, + 245, + 39, + 77, + 72, + 158, + 56, + 73, + 177, + 85, + 116, + 114, + 40, + 247, + 20, + 136, + 28, + 211, + 212, + 105, + 106, + 147, + 166, + 39, + 205, + 72, + 154, + 217, + 156, + 173, + 52, + 75, + 69, + 53, + 107, + 246, + 156, + 80, + 110, + 105, + 136, + 220, + 255, + 185, + 114, + 243, + 84, + 157, + 170, + 155, + 167, + 87, + 207, + 159, + 56, + 75, + 101, + 129, + 213, + 194, + 69, + 139, + 151, + 44, + 133, + 154, + 249, + 223, + 220, + 85, + 126, + 217, + 242, + 20, + 165, + 21, + 78, + 45, + 147, + 86, + 58, + 175, + 202, + 18, + 75, + 93, + 189, + 102, + 237, + 58, + 168, + 28, + 251, + 122, + 23, + 241, + 214, + 210, + 13, + 27, + 55, + 173, + 220, + 172, + 106, + 149, + 181, + 101, + 235, + 182, + 237, + 59, + 4, + 152, + 161, + 114, + 204, + 59, + 215, + 236, + 218, + 157, + 21, + 188, + 103, + 207, + 94, + 171, + 125, + 251, + 69, + 15, + 200, + 167, + 173, + 49, + 59, + 120, + 8, + 18, + 85, + 255, + 45, + 184, + 164, + 14, + 111, + 19, + 223, + 162, + 176, + 108, + 217, + 145, + 163, + 179, + 183, + 206, + 145, + 228, + 61, + 38, + 112, + 28, + 26, + 139, + 255, + 255, + 31, + 151, + 61, + 113, + 216, + 227, + 164, + 200, + 162, + 83, + 139, + 182, + 170, + 111, + 59, + 173, + 125, + 70, + 72, + 218, + 2, + 46, + 23, + 193, + 118, + 150, + 191, + 195, + 229, + 220, + 54, + 249, + 246, + 93, + 194, + 153, + 124, + 97, + 83, + 165, + 35, + 224, + 137, + 227, + 255, + 127, + 142, + 131, + 178, + 97, + 231, + 121, + 67, + 51, + 47, + 132, + 106, + 167, + 155, + 101, + 116, + 90, + 32, + 165, + 155, + 255, + 255, + 15, + 73, + 95, + 92, + 123, + 73, + 234, + 242, + 229, + 43, + 220, + 59, + 175, + 30, + 239, + 66, + 78, + 82, + 64, + 150, + 197, + 181, + 41, + 172, + 215, + 47, + 94, + 189, + 120, + 157, + 237, + 6, + 90, + 114, + 3, + 177, + 153, + 44, + 100, + 180, + 220, + 221, + 181, + 44, + 48, + 83, + 226, + 127, + 84, + 128, + 154, + 8, + 241, + 72, + 97, + 77, + 215, + 0, + 152, + 72, + 58, + 216, + 223, + 230, + 199, + 242, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + } + ] +} \ No newline at end of file diff --git a/tests/legacy/022.txt b/tests/legacy/022.txt new file mode 100644 index 0000000..acb5370 --- /dev/null +++ b/tests/legacy/022.txt @@ -0,0 +1,92 @@ +From: "Doug Sauder" +To: "Jürgen Schmürgen" +Subject: Die Hasen und die Frösche (Microsoft Outlook 00) +Date: Wed, 17 May 2000 19:11:50 -0400 +Message-ID: +MIME-Version: 1.0 +Content-Type: text/plain; + charset="iso-8859-1" +Content-Transfer-Encoding: base64 +X-Priority: 3 (Normal) +X-MSMail-Priority: Normal +X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) +Importance: Normal +X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 + +RGllIEhhc2VuIHVuZCBkaWUgRnL2c2NoZQ0KDQpEaWUgSGFzZW4ga2xhZ3RlbiBlaW5zdCD8YmVy +IGlocmUgbWnfbGljaGUgTGFnZTsgIndpciBsZWJlbiIsIHNwcmFjaCBlaW4gUmVkbmVyLCAiaW4g +c3RldGVyIEZ1cmNodCB2b3IgTWVuc2NoZW4gdW5kIFRpZXJlbiwgZWluZSBCZXV0ZSBkZXIgSHVu +ZGUsIGRlciBBZGxlciwgamEgZmFzdCBhbGxlciBSYXVidGllcmUhIFVuc2VyZSBzdGV0ZSBBbmdz +dCBpc3Qg5HJnZXIgYWxzIGRlciBUb2Qgc2VsYnN0LiBBdWYsIGxh33QgdW5zIGVpbiBm/HIgYWxs +ZW1hbCBzdGVyYmVuLiIgDQoNCkluIGVpbmVtIG5haGVuIFRlaWNoIHdvbGx0ZW4gc2llIHNpY2gg +bnVuIGVyc+R1ZmVuOyBzaWUgZWlsdGVuIGlobSB6dTsgYWxsZWluIGRhcyBhdd9lcm9yZGVudGxp +Y2hlIEdldPZzZSB1bmQgaWhyZSB3dW5kZXJiYXJlIEdlc3RhbHQgZXJzY2hyZWNrdGUgZWluZSBN +ZW5nZSBGcvZzY2hlLCBkaWUgYW0gVWZlciBzYd9lbiwgc28gc2VociwgZGHfIHNpZSBhdWZzIHNj +aG5lbGxzdGUgdW50ZXJ0YXVjaHRlbi4gDQoNCiJIYWx0IiwgcmllZiBudW4gZWJlbiBkaWVzZXIg +U3ByZWNoZXIsICJ3aXIgd29sbGVuIGRhcyBFcnPkdWZlbiBub2NoIGVpbiB3ZW5pZyBhdWZzY2hp +ZWJlbiwgZGVubiBhdWNoIHVucyBm/HJjaHRlbiwgd2llIGlociBzZWh0LCBlaW5pZ2UgVGllcmUs +IHdlbGNoZSBhbHNvIHdvaGwgbm9jaCB1bmds/GNrbGljaGVyIHNlaW4gbfxzc2VuIGFscyB3aXIu +IiANCg== + + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 17, + "hour": 19, + "minute": 11, + "second": 50, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "doug@example.com" + } + }, + "message_id": "NDBBIAKOPKHFGPLCODIGAEKCCHAA.doug@example.com", + "mime_version": "1.0", + "subject": "Die Hasen und die Fr�sche (Microsoft Outlook 00)", + "to": { + "Address": { + "name": "J�rgen Schm�rgen", + "address": "schmuergen@example.com" + } + }, + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "iso-8859-1" + } + }, + "others": { + "X-Priority": [ + "3 (Normal)" + ], + "X-MSMail-Priority": [ + "Normal" + ], + "X-Mailer": [ + "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" + ], + "Importance": [ + "Normal" + ], + "X-MimeOLE": [ + "Produced By Microsoft MimeOLE V5.00.2314.1300" + ] + } + }, + "text_body": [ + { + "contents": "Die Hasen und die Frösche\r\n\r\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst. Auf, laßt uns ein für allemal sterben.\" \r\n\r\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; allein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste untertauchten. \r\n\r\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, welche also wohl noch unglücklicher sein müssen als wir.\" \r\n" + } + ] +} \ No newline at end of file diff --git a/tests/legacy/023.txt b/tests/legacy/023.txt new file mode 100644 index 0000000..e399894 --- /dev/null +++ b/tests/legacy/023.txt @@ -0,0 +1,1560 @@ +Message-Id: <4.2.0.58.20000519005505.00a853a0@pop.example.com> +X-Sender: dwsauder@pop.example.com (Unverified) +X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 +Date: Fri, 19 May 2000 00:56:13 -0400 +To: =?iso-8859-1?Q?Jürgen?= =?iso-8859-1?Q?_Schmürgen?= + +From: Doug Sauder +Subject: =?iso-8859-1?Q?Die_Hasen_und_die_Frösche?= +Mime-Version: 1.0 +Content-Type: multipart/mixed; + boundary="=====================_716541962==_" + +--=====================_716541962==_ +Content-Type: text/plain; charset="iso-8859-1" +Content-Transfer-Encoding: quoted-printable + +Die Hasen und die Fr=F6sche + +Die Hasen klagten einst =FCber ihre mi=DFliche Lage; "wir leben", sprach ein= + Redner, "in steter Furcht vor Menschen und Tieren, eine Beute der Hunde,= + der Adler, ja fast aller Raubtiere! Unsere stete Angst ist =E4rger als der= + Tod selbst. Auf, la=DFt uns ein f=FCr allemal sterben."=20 + +In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu;= + allein das au=DFerordentliche Get=F6se und ihre wunderbare Gestalt= + erschreckte eine Menge Fr=F6sche, die am Ufer sa=DFen, so sehr, da=DF sie= + aufs schnellste untertauchten.=20 + +"Halt", rief nun eben dieser Sprecher, "wir wollen das Ers=E4ufen noch ein= + wenig aufschieben, denn auch uns f=FCrchten, wie ihr seht, einige Tiere,= + welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."=20 + + +--=====================_716541962==_ +Content-Type: image/png; name="blueball.png" +Content-Transfer-Encoding: base64 +Content-Disposition: attachment; filename="blueball.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAgAABAAABgAAAAA +CCkAEEIAEEoACDEAEFIIIXMIKXsIKYQIIWsAGFoACDkIIWMQOZwYQqUYQq0YQrUQOaUQMZQAGFIQ +MYwpUrU5Y8Y5Y84pWs4YSs4YQs4YQr1Ca8Z7nNacvd6Mtd5jlOcxa94hUt4YStYYQsYQMaUAACHO +5+/n7++cxu9ShO8pWucQOa1Ke86tzt6lzu9ajO8QMZxahNat1ufO7++Mve9Ke+8YOaUYSsaMvee1 +5++Uve8AAClajOdzpe9rnO8IKYwxY+8pWu8IIXsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAADBMg1VAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAu +MT1evmgAAAGISURBVHicddJtV5swGAbgEk6AJhBSk4bMCUynBSLaqovbrG/bfPn/vyh70lbssceb +L5xznTsh5BmNhgQoRChwo50EOIohUYLDj4zHhKYQkrEoQdvock4ne0IKMVUpKZLQDeqSTIsv+18P +yqqWUw2IBsRM7307PPp+fDJrWtnpLDJvewYxnewfnvanZ+fzpmwXijC8KbqEa3Fx2ff91Y95U9XC +UpaDeQwiMpHXP/v+1++bWVPWQoGFawtjury9vru/f/C1Vi7ezT0WWpQHf/7+u/G71aLThK/MjRxm +T6KdzZ9fGk9yatMsTgZLl3XVgFRAC6spj/13enssqJVtWVa3NdBSacL8+VZmYqKmdd1CSYoOiMOS +GwtzlqqlFFIuOqv0a1ZEZrUkWICLLFW266y1KvWE1zV/iDAH1EopnVLCiygZCIomH3NCKX0lnI+B +1iuuzCGTxwXjnDO4d7NpbX42YJJHkBwmAm2TxwAZg40J3+Xtbv1rgOAZwG0NxW62p+lT+Yi747sD +/wEUVMzYmWkOvwAAACV0RVh0Q29tbWVudABjbGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZz +O7wAAAAASUVORK5CYII= +--=====================_716541962==_ +Content-Type: text/plain; charset="us-ascii" +Content-Disposition: attachment; filename="farmerandstork.txt" + + +The Farmer and the Stork + +A FARMER placed nets on his newly-sown plowlands and caught a +number of Cranes, which came to pick up his seed. With them he +trapped a Stork that had fractured his leg in the net and was +earnestly beseeching the Farmer to spare his life. "Pray save +me, Master," he said, "and let me go free this once. My broken +limb should excite your pity. Besides, I am no Crane, I am a +Stork, a bird of excellent character; and see how I love and +slave for my father and mother. Look too, at my feathers-- +they are not the least like those of a Crane." The Farmer +laughed aloud and said, "It may be all as you say, I only know +this: I have taken you with these robbers, the Cranes, and you +must die in their company." + +Birds of a feather flock together. + +--=====================_716541962==_ +Content-Type: text/plain; charset="iso-8859-1" +Content-Transfer-Encoding: quoted-printable +Content-Disposition: attachment; filename="HasenundFrösche.txt" + +Die Hasen und die Fr=F6sche + +Die Hasen klagten einst =FCber ihre mi=DFliche Lage; "wir leben", sprach ein= + Redner, "in steter Furcht vor Menschen und Tieren, eine Beute der Hunde,= + der Adler, ja fast aller Raubtiere! Unsere stete Angst ist =E4rger als der= + Tod selbst. Auf, la=DFt uns ein f=FCr allemal sterben."=20 + +In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu;= + allein das au=DFerordentliche Get=F6se und ihre wunderbare Gestalt= + erschreckte eine Menge Fr=F6sche, die am Ufer sa=DFen, so sehr, da=DF sie= + aufs schnellste untertauchten.=20 + +"Halt", rief nun eben dieser Sprecher, "wir wollen das Ers=E4ufen noch ein= + wenig aufschieben, denn auch uns f=FCrchten, wie ihr seht, einige Tiere,= + welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."=20 + + +--=====================_716541962==_-- + + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 19, + "hour": 0, + "minute": 56, + "second": 13, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "dwsauder@example.com" + } + }, + "message_id": "4.2.0.58.20000519005505.00a853a0@pop.example.com", + "mime_version": "1.0", + "subject": "Die Hasen und die Frösche", + "to": { + "Address": { + "name": "Jürgen Schmürgen", + "address": "jschmuergen@example.com" + } + }, + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "=====================_716541962==_" + } + }, + "others": { + "X-Sender": [ + "dwsauder@pop.example.com (Unverified)" + ], + "X-Mailer": [ + "QUALCOMM Windows Eudora Pro Version 4.2.0.58" + ] + } + }, + "text_body": [ + { + "header": { + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "iso-8859-1" + } + } + }, + "contents": "Die Hasen und die Frösche\n\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst. Auf, laßt uns ein für allemal sterben.\" \n\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; allein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste untertauchten. \n\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, welche also wohl noch unglücklicher sein müssen als wir.\" \n\n" + } + ], + "attachments": [ + { + "File": { + "header": { + "content_disposition": { + "c_type": "attachment", + "attributes": { + "filename": "blueball.png" + } + }, + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "blueball.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 8, + 0, + 0, + 16, + 0, + 0, + 24, + 0, + 0, + 0, + 0, + 8, + 41, + 0, + 16, + 66, + 0, + 16, + 74, + 0, + 8, + 49, + 0, + 16, + 82, + 8, + 33, + 115, + 8, + 41, + 123, + 8, + 41, + 132, + 8, + 33, + 107, + 0, + 24, + 90, + 0, + 8, + 57, + 8, + 33, + 99, + 16, + 57, + 156, + 24, + 66, + 165, + 24, + 66, + 173, + 24, + 66, + 181, + 16, + 57, + 165, + 16, + 49, + 148, + 0, + 24, + 82, + 16, + 49, + 140, + 41, + 82, + 181, + 57, + 99, + 198, + 57, + 99, + 206, + 41, + 90, + 206, + 24, + 74, + 206, + 24, + 66, + 206, + 24, + 66, + 189, + 66, + 107, + 198, + 123, + 156, + 214, + 156, + 189, + 222, + 140, + 181, + 222, + 99, + 148, + 231, + 49, + 107, + 222, + 33, + 82, + 222, + 24, + 74, + 214, + 24, + 66, + 198, + 16, + 49, + 165, + 0, + 0, + 33, + 206, + 231, + 239, + 231, + 239, + 239, + 156, + 198, + 239, + 82, + 132, + 239, + 41, + 90, + 231, + 16, + 57, + 173, + 74, + 123, + 206, + 173, + 206, + 222, + 165, + 206, + 239, + 90, + 140, + 239, + 16, + 49, + 156, + 90, + 132, + 214, + 173, + 214, + 231, + 206, + 239, + 239, + 140, + 189, + 239, + 74, + 123, + 239, + 24, + 57, + 165, + 24, + 74, + 198, + 140, + 189, + 231, + 181, + 231, + 239, + 148, + 189, + 239, + 0, + 0, + 41, + 90, + 140, + 231, + 115, + 165, + 239, + 107, + 156, + 239, + 8, + 41, + 140, + 49, + 99, + 239, + 41, + 90, + 239, + 8, + 33, + 123, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 193, + 50, + 13, + 85, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 1, + 136, + 73, + 68, + 65, + 84, + 120, + 156, + 117, + 210, + 109, + 87, + 155, + 48, + 24, + 6, + 224, + 18, + 78, + 128, + 38, + 16, + 82, + 147, + 134, + 204, + 9, + 76, + 167, + 5, + 34, + 218, + 170, + 139, + 219, + 172, + 111, + 219, + 124, + 249, + 255, + 191, + 40, + 123, + 210, + 86, + 236, + 177, + 199, + 155, + 47, + 156, + 115, + 157, + 59, + 33, + 228, + 25, + 141, + 134, + 4, + 40, + 68, + 40, + 112, + 163, + 157, + 4, + 56, + 138, + 33, + 81, + 130, + 195, + 143, + 140, + 199, + 132, + 166, + 16, + 146, + 177, + 40, + 65, + 219, + 232, + 114, + 78, + 39, + 123, + 66, + 10, + 49, + 85, + 41, + 41, + 146, + 208, + 13, + 234, + 146, + 76, + 139, + 47, + 251, + 95, + 15, + 202, + 170, + 150, + 83, + 13, + 136, + 6, + 196, + 76, + 239, + 125, + 59, + 60, + 250, + 126, + 124, + 50, + 107, + 90, + 217, + 233, + 44, + 50, + 111, + 123, + 6, + 49, + 157, + 236, + 31, + 158, + 246, + 167, + 103, + 231, + 243, + 166, + 108, + 23, + 138, + 48, + 188, + 41, + 186, + 132, + 107, + 113, + 113, + 217, + 247, + 253, + 213, + 143, + 121, + 83, + 213, + 194, + 82, + 150, + 131, + 121, + 12, + 34, + 50, + 145, + 215, + 63, + 251, + 254, + 215, + 239, + 155, + 89, + 83, + 214, + 66, + 129, + 133, + 107, + 11, + 99, + 186, + 188, + 189, + 190, + 187, + 191, + 127, + 240, + 181, + 86, + 46, + 222, + 205, + 61, + 22, + 90, + 148, + 7, + 127, + 254, + 254, + 187, + 241, + 187, + 213, + 162, + 211, + 132, + 175, + 204, + 141, + 28, + 102, + 79, + 162, + 157, + 205, + 159, + 95, + 26, + 79, + 114, + 106, + 211, + 44, + 78, + 6, + 75, + 151, + 117, + 213, + 128, + 84, + 64, + 11, + 171, + 41, + 143, + 253, + 119, + 122, + 123, + 44, + 168, + 149, + 109, + 89, + 86, + 183, + 53, + 208, + 82, + 105, + 194, + 252, + 249, + 86, + 102, + 98, + 162, + 166, + 117, + 221, + 66, + 73, + 138, + 14, + 136, + 195, + 146, + 27, + 11, + 115, + 150, + 170, + 165, + 20, + 82, + 46, + 58, + 171, + 244, + 107, + 86, + 68, + 102, + 181, + 36, + 88, + 128, + 139, + 44, + 85, + 182, + 235, + 172, + 181, + 42, + 245, + 132, + 215, + 53, + 127, + 136, + 48, + 7, + 212, + 74, + 41, + 157, + 82, + 194, + 139, + 40, + 25, + 8, + 138, + 38, + 31, + 115, + 66, + 41, + 125, + 37, + 156, + 143, + 129, + 214, + 43, + 174, + 204, + 33, + 147, + 199, + 5, + 227, + 156, + 51, + 184, + 119, + 179, + 105, + 109, + 126, + 54, + 96, + 146, + 71, + 144, + 28, + 38, + 2, + 109, + 147, + 199, + 0, + 25, + 131, + 141, + 9, + 223, + 229, + 237, + 110, + 253, + 107, + 128, + 224, + 25, + 192, + 109, + 13, + 197, + 110, + 182, + 167, + 233, + 83, + 249, + 136, + 187, + 227, + 187, + 3, + 255, + 1, + 20, + 84, + 204, + 216, + 153, + 105, + 14, + 191, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + }, + { + "Text": { + "header": { + "content_disposition": { + "c_type": "attachment", + "attributes": { + "filename": "farmerandstork.txt" + } + }, + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "us-ascii" + } + } + }, + "contents": "\r\nThe Farmer and the Stork \r\n \r\nA FARMER placed nets on his newly-sown plowlands and caught a\r\nnumber of Cranes, which came to pick up his seed. With them he\r\ntrapped a Stork that had fractured his leg in the net and was\r\nearnestly beseeching the Farmer to spare his life. \"Pray save\r\nme, Master,\" he said, \"and let me go free this once. My broken\r\nlimb should excite your pity. Besides, I am no Crane, I am a\r\nStork, a bird of excellent character; and see how I love and\r\nslave for my father and mother. Look too, at my feathers--\r\nthey are not the least like those of a Crane.\" The Farmer \r\nlaughed aloud and said, \"It may be all as you say, I only know \r\nthis: I have taken you with these robbers, the Cranes, and you \r\nmust die in their company.\" \r\n \r\nBirds of a feather flock together. \r\n\r" + } + }, + { + "Text": { + "header": { + "content_disposition": { + "c_type": "attachment", + "attributes": { + "filename": "HasenundFr�sche.txt" + } + }, + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "iso-8859-1" + } + } + }, + "contents": "Die Hasen und die Frösche\n\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst. Auf, laßt uns ein für allemal sterben.\" \n\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; allein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste untertauchten. \n\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, welche also wohl noch unglücklicher sein müssen als wir.\" \n\n" + } + } + ] +} \ No newline at end of file diff --git a/tests/legacy/024.txt b/tests/legacy/024.txt new file mode 100644 index 0000000..a8df20a --- /dev/null +++ b/tests/legacy/024.txt @@ -0,0 +1,3001 @@ +Message-Id: <4.2.0.58.20000519003735.00a8d7e0@pop.example.com> +X-Sender: dwsauder@pop.example.com (Unverified) +X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 +X-Priority: 2 (High) +Date: Fri, 19 May 2000 00:37:39 -0400 +To: Heinz =?iso-8859-1?Q?Müller?= +From: Doug Sauder +Subject: =?iso-8859-1?Q?Die_Hasen_und_die_Frösche?= +Mime-Version: 1.0 +Content-Type: multipart/related; + type="text/html"; + boundary="=====================_715429112==_.REL" + +--=====================_715429112==_.REL +Content-Type: text/html; charset="iso-8859-1" +Content-Transfer-Encoding: quoted-printable + + +3D"2aa48eb6.png"
+
+Die Hasen und = +die +Fr=F6sche
+
+
Die Hasen klagten einst =FCber +ihre mi=DFliche Lage; "wir leben", sprach ein Redner, "in +steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, +ja fast aller Raubtiere! Unsere stete Angst ist =E4rger als der Tod selbst. +Auf, la=DFt uns ein f=FCr allemal sterben."
+
+In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu; +allein das au=DFerordentliche Get=F6se und ihre wunderbare Gestalt +erschreckte eine Menge Fr=F6sche, die am Ufer sa=DFen, so sehr, da=DF sie au= +fs +schnellste untertauchten.
+
+"Halt", rief nun eben dieser Sprecher, "wir wollen das +Ers=E4ufen noch ein wenig aufschieben, denn auch uns f=FCrchten, wie ihr +seht, einige Tiere, welche also wohl noch ungl=FCcklicher sein m=FCssen als +wir."
+
+3D"2aa48ec0.png"
+ +--=====================_715429112==_.REL +Content-Type: image/png; name="2aa48eb6.png" +Content-ID: <4.2.0.58.20000519003735.00a8d7e0@pop.example.com.2> +Content-Transfer-Encoding: base64 +Content-Disposition: inline; filename="2aa48eb6.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAgAABAAABgAAAAA +CCkAEEIAEEoACDEAEFIIIXMIKXsIKYQIIWsAGFoACDkIIWMQOZwYQqUYQq0YQrUQOaUQMZQAGFIQ +MYwpUrU5Y8Y5Y84pWs4YSs4YQs4YQr1Ca8Z7nNacvd6Mtd5jlOcxa94hUt4YStYYQsYQMaUAACHO +5+/n7++cxu9ShO8pWucQOa1Ke86tzt6lzu9ajO8QMZxahNat1ufO7++Mve9Ke+8YOaUYSsaMvee1 +5++Uve8AAClajOdzpe9rnO8IKYwxY+8pWu8IIXsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAADBMg1VAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAu +MT1evmgAAAGISURBVHicddJtV5swGAbgEk6AJhBSk4bMCUynBSLaqovbrG/bfPn/vyh70lbssceb +L5xznTsh5BmNhgQoRChwo50EOIohUYLDj4zHhKYQkrEoQdvock4ne0IKMVUpKZLQDeqSTIsv+18P +yqqWUw2IBsRM7307PPp+fDJrWtnpLDJvewYxnewfnvanZ+fzpmwXijC8KbqEa3Fx2ff91Y95U9XC +UpaDeQwiMpHXP/v+1++bWVPWQoGFawtjury9vru/f/C1Vi7ezT0WWpQHf/7+u/G71aLThK/MjRxm +T6KdzZ9fGk9yatMsTgZLl3XVgFRAC6spj/13enssqJVtWVa3NdBSacL8+VZmYqKmdd1CSYoOiMOS +GwtzlqqlFFIuOqv0a1ZEZrUkWICLLFW266y1KvWE1zV/iDAH1EopnVLCiygZCIomH3NCKX0lnI+B +1iuuzCGTxwXjnDO4d7NpbX42YJJHkBwmAm2TxwAZg40J3+Xtbv1rgOAZwG0NxW62p+lT+Yi747sD +/wEUVMzYmWkOvwAAACV0RVh0Q29tbWVudABjbGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZz +O7wAAAAASUVORK5CYII= +--=====================_715429112==_.REL +Content-Type: image/png; name="2aa48ec0.png" +Content-ID: <4.2.0.58.20000519003735.00a8d7e0@pop.example.com.3> +Content-Transfer-Encoding: base64 +Content-Disposition: inline; filename="2aa48ec0.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAABAAALAAAVAAAa +AAAXAAARAAAKAAADAAAcAAAyAABEAABNAABIAAA9AAAjAAAWAAAmAABhAAB7AACGAACHAAB9AAB0 +AABgAAA5AAAUAAAGAAAnAABLAABvAACQAAClAAC7AAC/AACrAAChAACMAABzAABbAAAuAAAIAABM +AAB3AACZAAC0GRnKODjVPT3bKSndBQW4AACoAAB5AAAxAAAYAAAEAABFAACaAAC7JCTRYWHfhITm +f3/mVlbqHx/SAAC5AACjAABdAABCAAAoAAAJAABnAAC6Dw/QVFTek5PlrKzpmZntZWXvJSXXAADB +AACxAACcAABtAABTAAA2AAAbAAAFAABKAACBAADLICDdZ2fonJzrpqbtiorvUVHvFBTRAADDAAC2 +AAB4AABeAABAAAAiAABXAACSAADCAADaGxvoVVXseHjveHjvV1fvJibhAADOAAC3AACnAACVAABH +AAArAAAPAACdAADFAADhBQXrKCjvPDzvNTXvGxvjAADQAADJAAC1AACXAACEAABsAABPAAASAAAC +AABiAADpAADvAgLnAADYAADLAAC6AACwAABwAAATAAAkAABYAADIAADTAADNAACzAACDAABuAAAe +AAB+AADAAACkAACNAAB/AABpAABQAAAwAACRAACpAAC8AACqAACbAABlAABJAAAqAAAOAAA0AACs +AACvAACtAACmAACJAAB6AABrAABaAAA+AAApAABqAACCAACfAACeAACWAACPAAB8AAAZAAAHAABV +AACOAACKAAA4AAAQAAA/AAByAACAAABcAAA3AAAsAABmAABDAABWAAAgAAAzAAA8AAA6AAAfAAAM +AAAdAAANAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAD8LtlFAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAu +MT1evmgAAAIISURBVHicY2CAg/8QwIABmJhZWFnZ2Dk4MaU5uLh5eHn5+LkFBDlQJf8zC/EIi4iK +iUtI8koJScsgyf5nlpWTV1BUUlZRVVPX4NFk1UJIyghp6+jq6RsYGhmbKJgK85mZW8Dk/rNaSlhZ +29ja2Ts4Ojkr6Li4urFDNf53N/Ow8vTy9vH18w8IDAoWDQkNC4+ASP5ni4wKio6JjYtPSExKTnFW +SE1LF4A69n9GZlZ2Tm5efkFhUXFySWlZlEd5RSVY7j+TkGRVdU1tXX1DY1Ozcktpa1t7h2YnOAj+ +d7l1tyo79vT29SdNSJ44SbFVdHIo9xSIHNPUaWqTpifNSJrZnK00S0U1a/acUG5piNz/uXLzVJ2q +m6dXz584S2WB1cJFi5cshZr539xVftnyFKUVTi2TVjqvyhJLXb1m7TqoHPt6F/HW0g0bN63crGqV +tWXrtu07BJihcsw71+zanRW8Z89eq337RQ/Ip60xO3gIElX/LbikDm8T36KwbNmRo7O3zpHkPSZw +HBqL//8flz1x2OOkyKJTi7aqbzutfUZI2gIuF8F2lr/D5dw2+fZdwpl8YVOlI+CJ4/9/joOyYed5 +QzMvhGqnm2V0WiClm///D0lfXHtJ6vLlK9w7rx7vQk5SQJbFtSms1y9evXid7QZacgOxmSxktNzd +tSwwU+J/VICaCPFIYU3XAJhIOtjf5sfyAAAAJXRFWHRDb21tZW50AGNsaXAyZ2lmIHYuMC42IGJ5 +IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg== +--=====================_715429112==_.REL-- + + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 19, + "hour": 0, + "minute": 37, + "second": 39, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "dwsauder@example.com" + } + }, + "message_id": "4.2.0.58.20000519003735.00a8d7e0@pop.example.com", + "mime_version": "1.0", + "subject": "Die Hasen und die Frösche", + "to": { + "Address": { + "name": "Heinz Müller", + "address": "mueller@example.com" + } + }, + "content_type": { + "c_type": "multipart", + "c_subtype": "related", + "attributes": { + "type": "text/html", + "boundary": "=====================_715429112==_.REL" + } + }, + "others": { + "X-Priority": [ + "2 (High)" + ], + "X-Sender": [ + "dwsauder@pop.example.com (Unverified)" + ], + "X-Mailer": [ + "QUALCOMM Windows Eudora Pro Version 4.2.0.58" + ] + } + }, + "html_body": [ + { + "header": { + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "html", + "attributes": { + "charset": "iso-8859-1" + } + } + }, + "contents": "\n\"2aa48eb6.png\"
\n
\nDie Hasen und die\nFrösche
\n
\n
Die Hasen klagten einst über\nihre mißliche Lage; "wir leben", sprach ein Redner, "in\nsteter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler,\nja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst.\nAuf, laßt uns ein für allemal sterben."
\n
\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu;\nallein das außerordentliche Getöse und ihre wunderbare Gestalt\nerschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs\nschnellste untertauchten.
\n
\n"Halt", rief nun eben dieser Sprecher, "wir wollen das\nErsäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr\nseht, einige Tiere, welche also wohl noch unglücklicher sein müssen als\nwir."
\n
\n\"2aa48ec0.png\"
\n" + } + ], + "attachments": [ + { + "File": { + "header": { + "content_disposition": { + "c_type": "inline", + "attributes": { + "filename": "2aa48eb6.png" + } + }, + "content_id": "4.2.0.58.20000519003735.00a8d7e0@pop.example.com.2", + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "2aa48eb6.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 8, + 0, + 0, + 16, + 0, + 0, + 24, + 0, + 0, + 0, + 0, + 8, + 41, + 0, + 16, + 66, + 0, + 16, + 74, + 0, + 8, + 49, + 0, + 16, + 82, + 8, + 33, + 115, + 8, + 41, + 123, + 8, + 41, + 132, + 8, + 33, + 107, + 0, + 24, + 90, + 0, + 8, + 57, + 8, + 33, + 99, + 16, + 57, + 156, + 24, + 66, + 165, + 24, + 66, + 173, + 24, + 66, + 181, + 16, + 57, + 165, + 16, + 49, + 148, + 0, + 24, + 82, + 16, + 49, + 140, + 41, + 82, + 181, + 57, + 99, + 198, + 57, + 99, + 206, + 41, + 90, + 206, + 24, + 74, + 206, + 24, + 66, + 206, + 24, + 66, + 189, + 66, + 107, + 198, + 123, + 156, + 214, + 156, + 189, + 222, + 140, + 181, + 222, + 99, + 148, + 231, + 49, + 107, + 222, + 33, + 82, + 222, + 24, + 74, + 214, + 24, + 66, + 198, + 16, + 49, + 165, + 0, + 0, + 33, + 206, + 231, + 239, + 231, + 239, + 239, + 156, + 198, + 239, + 82, + 132, + 239, + 41, + 90, + 231, + 16, + 57, + 173, + 74, + 123, + 206, + 173, + 206, + 222, + 165, + 206, + 239, + 90, + 140, + 239, + 16, + 49, + 156, + 90, + 132, + 214, + 173, + 214, + 231, + 206, + 239, + 239, + 140, + 189, + 239, + 74, + 123, + 239, + 24, + 57, + 165, + 24, + 74, + 198, + 140, + 189, + 231, + 181, + 231, + 239, + 148, + 189, + 239, + 0, + 0, + 41, + 90, + 140, + 231, + 115, + 165, + 239, + 107, + 156, + 239, + 8, + 41, + 140, + 49, + 99, + 239, + 41, + 90, + 239, + 8, + 33, + 123, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 193, + 50, + 13, + 85, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 1, + 136, + 73, + 68, + 65, + 84, + 120, + 156, + 117, + 210, + 109, + 87, + 155, + 48, + 24, + 6, + 224, + 18, + 78, + 128, + 38, + 16, + 82, + 147, + 134, + 204, + 9, + 76, + 167, + 5, + 34, + 218, + 170, + 139, + 219, + 172, + 111, + 219, + 124, + 249, + 255, + 191, + 40, + 123, + 210, + 86, + 236, + 177, + 199, + 155, + 47, + 156, + 115, + 157, + 59, + 33, + 228, + 25, + 141, + 134, + 4, + 40, + 68, + 40, + 112, + 163, + 157, + 4, + 56, + 138, + 33, + 81, + 130, + 195, + 143, + 140, + 199, + 132, + 166, + 16, + 146, + 177, + 40, + 65, + 219, + 232, + 114, + 78, + 39, + 123, + 66, + 10, + 49, + 85, + 41, + 41, + 146, + 208, + 13, + 234, + 146, + 76, + 139, + 47, + 251, + 95, + 15, + 202, + 170, + 150, + 83, + 13, + 136, + 6, + 196, + 76, + 239, + 125, + 59, + 60, + 250, + 126, + 124, + 50, + 107, + 90, + 217, + 233, + 44, + 50, + 111, + 123, + 6, + 49, + 157, + 236, + 31, + 158, + 246, + 167, + 103, + 231, + 243, + 166, + 108, + 23, + 138, + 48, + 188, + 41, + 186, + 132, + 107, + 113, + 113, + 217, + 247, + 253, + 213, + 143, + 121, + 83, + 213, + 194, + 82, + 150, + 131, + 121, + 12, + 34, + 50, + 145, + 215, + 63, + 251, + 254, + 215, + 239, + 155, + 89, + 83, + 214, + 66, + 129, + 133, + 107, + 11, + 99, + 186, + 188, + 189, + 190, + 187, + 191, + 127, + 240, + 181, + 86, + 46, + 222, + 205, + 61, + 22, + 90, + 148, + 7, + 127, + 254, + 254, + 187, + 241, + 187, + 213, + 162, + 211, + 132, + 175, + 204, + 141, + 28, + 102, + 79, + 162, + 157, + 205, + 159, + 95, + 26, + 79, + 114, + 106, + 211, + 44, + 78, + 6, + 75, + 151, + 117, + 213, + 128, + 84, + 64, + 11, + 171, + 41, + 143, + 253, + 119, + 122, + 123, + 44, + 168, + 149, + 109, + 89, + 86, + 183, + 53, + 208, + 82, + 105, + 194, + 252, + 249, + 86, + 102, + 98, + 162, + 166, + 117, + 221, + 66, + 73, + 138, + 14, + 136, + 195, + 146, + 27, + 11, + 115, + 150, + 170, + 165, + 20, + 82, + 46, + 58, + 171, + 244, + 107, + 86, + 68, + 102, + 181, + 36, + 88, + 128, + 139, + 44, + 85, + 182, + 235, + 172, + 181, + 42, + 245, + 132, + 215, + 53, + 127, + 136, + 48, + 7, + 212, + 74, + 41, + 157, + 82, + 194, + 139, + 40, + 25, + 8, + 138, + 38, + 31, + 115, + 66, + 41, + 125, + 37, + 156, + 143, + 129, + 214, + 43, + 174, + 204, + 33, + 147, + 199, + 5, + 227, + 156, + 51, + 184, + 119, + 179, + 105, + 109, + 126, + 54, + 96, + 146, + 71, + 144, + 28, + 38, + 2, + 109, + 147, + 199, + 0, + 25, + 131, + 141, + 9, + 223, + 229, + 237, + 110, + 253, + 107, + 128, + 224, + 25, + 192, + 109, + 13, + 197, + 110, + 182, + 167, + 233, + 83, + 249, + 136, + 187, + 227, + 187, + 3, + 255, + 1, + 20, + 84, + 204, + 216, + 153, + 105, + 14, + 191, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + }, + { + "File": { + "header": { + "content_disposition": { + "c_type": "inline", + "attributes": { + "filename": "2aa48ec0.png" + } + }, + "content_id": "4.2.0.58.20000519003735.00a8d7e0@pop.example.com.3", + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "2aa48ec0.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 0, + 1, + 0, + 0, + 11, + 0, + 0, + 21, + 0, + 0, + 26, + 0, + 0, + 23, + 0, + 0, + 17, + 0, + 0, + 10, + 0, + 0, + 3, + 0, + 0, + 28, + 0, + 0, + 50, + 0, + 0, + 68, + 0, + 0, + 77, + 0, + 0, + 72, + 0, + 0, + 61, + 0, + 0, + 35, + 0, + 0, + 22, + 0, + 0, + 38, + 0, + 0, + 97, + 0, + 0, + 123, + 0, + 0, + 134, + 0, + 0, + 135, + 0, + 0, + 125, + 0, + 0, + 116, + 0, + 0, + 96, + 0, + 0, + 57, + 0, + 0, + 20, + 0, + 0, + 6, + 0, + 0, + 39, + 0, + 0, + 75, + 0, + 0, + 111, + 0, + 0, + 144, + 0, + 0, + 165, + 0, + 0, + 187, + 0, + 0, + 191, + 0, + 0, + 171, + 0, + 0, + 161, + 0, + 0, + 140, + 0, + 0, + 115, + 0, + 0, + 91, + 0, + 0, + 46, + 0, + 0, + 8, + 0, + 0, + 76, + 0, + 0, + 119, + 0, + 0, + 153, + 0, + 0, + 180, + 25, + 25, + 202, + 56, + 56, + 213, + 61, + 61, + 219, + 41, + 41, + 221, + 5, + 5, + 184, + 0, + 0, + 168, + 0, + 0, + 121, + 0, + 0, + 49, + 0, + 0, + 24, + 0, + 0, + 4, + 0, + 0, + 69, + 0, + 0, + 154, + 0, + 0, + 187, + 36, + 36, + 209, + 97, + 97, + 223, + 132, + 132, + 230, + 127, + 127, + 230, + 86, + 86, + 234, + 31, + 31, + 210, + 0, + 0, + 185, + 0, + 0, + 163, + 0, + 0, + 93, + 0, + 0, + 66, + 0, + 0, + 40, + 0, + 0, + 9, + 0, + 0, + 103, + 0, + 0, + 186, + 15, + 15, + 208, + 84, + 84, + 222, + 147, + 147, + 229, + 172, + 172, + 233, + 153, + 153, + 237, + 101, + 101, + 239, + 37, + 37, + 215, + 0, + 0, + 193, + 0, + 0, + 177, + 0, + 0, + 156, + 0, + 0, + 109, + 0, + 0, + 83, + 0, + 0, + 54, + 0, + 0, + 27, + 0, + 0, + 5, + 0, + 0, + 74, + 0, + 0, + 129, + 0, + 0, + 203, + 32, + 32, + 221, + 103, + 103, + 232, + 156, + 156, + 235, + 166, + 166, + 237, + 138, + 138, + 239, + 81, + 81, + 239, + 20, + 20, + 209, + 0, + 0, + 195, + 0, + 0, + 182, + 0, + 0, + 120, + 0, + 0, + 94, + 0, + 0, + 64, + 0, + 0, + 34, + 0, + 0, + 87, + 0, + 0, + 146, + 0, + 0, + 194, + 0, + 0, + 218, + 27, + 27, + 232, + 85, + 85, + 236, + 120, + 120, + 239, + 120, + 120, + 239, + 87, + 87, + 239, + 38, + 38, + 225, + 0, + 0, + 206, + 0, + 0, + 183, + 0, + 0, + 167, + 0, + 0, + 149, + 0, + 0, + 71, + 0, + 0, + 43, + 0, + 0, + 15, + 0, + 0, + 157, + 0, + 0, + 197, + 0, + 0, + 225, + 5, + 5, + 235, + 40, + 40, + 239, + 60, + 60, + 239, + 53, + 53, + 239, + 27, + 27, + 227, + 0, + 0, + 208, + 0, + 0, + 201, + 0, + 0, + 181, + 0, + 0, + 151, + 0, + 0, + 132, + 0, + 0, + 108, + 0, + 0, + 79, + 0, + 0, + 18, + 0, + 0, + 2, + 0, + 0, + 98, + 0, + 0, + 233, + 0, + 0, + 239, + 2, + 2, + 231, + 0, + 0, + 216, + 0, + 0, + 203, + 0, + 0, + 186, + 0, + 0, + 176, + 0, + 0, + 112, + 0, + 0, + 19, + 0, + 0, + 36, + 0, + 0, + 88, + 0, + 0, + 200, + 0, + 0, + 211, + 0, + 0, + 205, + 0, + 0, + 179, + 0, + 0, + 131, + 0, + 0, + 110, + 0, + 0, + 30, + 0, + 0, + 126, + 0, + 0, + 192, + 0, + 0, + 164, + 0, + 0, + 141, + 0, + 0, + 127, + 0, + 0, + 105, + 0, + 0, + 80, + 0, + 0, + 48, + 0, + 0, + 145, + 0, + 0, + 169, + 0, + 0, + 188, + 0, + 0, + 170, + 0, + 0, + 155, + 0, + 0, + 101, + 0, + 0, + 73, + 0, + 0, + 42, + 0, + 0, + 14, + 0, + 0, + 52, + 0, + 0, + 172, + 0, + 0, + 175, + 0, + 0, + 173, + 0, + 0, + 166, + 0, + 0, + 137, + 0, + 0, + 122, + 0, + 0, + 107, + 0, + 0, + 90, + 0, + 0, + 62, + 0, + 0, + 41, + 0, + 0, + 106, + 0, + 0, + 130, + 0, + 0, + 159, + 0, + 0, + 158, + 0, + 0, + 150, + 0, + 0, + 143, + 0, + 0, + 124, + 0, + 0, + 25, + 0, + 0, + 7, + 0, + 0, + 85, + 0, + 0, + 142, + 0, + 0, + 138, + 0, + 0, + 56, + 0, + 0, + 16, + 0, + 0, + 63, + 0, + 0, + 114, + 0, + 0, + 128, + 0, + 0, + 92, + 0, + 0, + 55, + 0, + 0, + 44, + 0, + 0, + 102, + 0, + 0, + 67, + 0, + 0, + 86, + 0, + 0, + 32, + 0, + 0, + 51, + 0, + 0, + 60, + 0, + 0, + 58, + 0, + 0, + 31, + 0, + 0, + 12, + 0, + 0, + 29, + 0, + 0, + 13, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 252, + 46, + 217, + 69, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 2, + 8, + 73, + 68, + 65, + 84, + 120, + 156, + 99, + 96, + 128, + 131, + 255, + 16, + 192, + 128, + 1, + 152, + 152, + 89, + 88, + 89, + 217, + 216, + 57, + 56, + 49, + 165, + 57, + 184, + 184, + 121, + 120, + 121, + 249, + 248, + 185, + 5, + 4, + 57, + 80, + 37, + 255, + 51, + 11, + 241, + 8, + 139, + 136, + 138, + 137, + 75, + 72, + 242, + 74, + 9, + 73, + 203, + 32, + 201, + 254, + 103, + 150, + 149, + 147, + 87, + 80, + 84, + 82, + 86, + 81, + 85, + 83, + 215, + 224, + 209, + 100, + 213, + 66, + 72, + 202, + 8, + 105, + 235, + 232, + 234, + 233, + 27, + 24, + 26, + 25, + 155, + 40, + 152, + 10, + 243, + 153, + 153, + 91, + 192, + 228, + 254, + 179, + 90, + 74, + 88, + 89, + 219, + 216, + 218, + 217, + 59, + 56, + 58, + 57, + 43, + 232, + 184, + 184, + 186, + 177, + 67, + 53, + 254, + 119, + 55, + 243, + 176, + 242, + 244, + 242, + 246, + 241, + 245, + 243, + 15, + 8, + 12, + 10, + 22, + 13, + 9, + 13, + 11, + 143, + 128, + 72, + 254, + 103, + 139, + 140, + 10, + 138, + 142, + 137, + 141, + 139, + 79, + 72, + 76, + 74, + 78, + 113, + 86, + 72, + 77, + 75, + 23, + 128, + 58, + 246, + 127, + 70, + 102, + 86, + 118, + 78, + 110, + 94, + 126, + 65, + 97, + 81, + 113, + 114, + 73, + 105, + 89, + 148, + 71, + 121, + 69, + 37, + 88, + 238, + 63, + 147, + 144, + 100, + 85, + 117, + 77, + 109, + 93, + 125, + 67, + 99, + 83, + 179, + 114, + 75, + 105, + 107, + 91, + 123, + 135, + 102, + 39, + 56, + 8, + 254, + 119, + 185, + 117, + 183, + 42, + 59, + 246, + 244, + 246, + 245, + 39, + 77, + 72, + 158, + 56, + 73, + 177, + 85, + 116, + 114, + 40, + 247, + 20, + 136, + 28, + 211, + 212, + 105, + 106, + 147, + 166, + 39, + 205, + 72, + 154, + 217, + 156, + 173, + 52, + 75, + 69, + 53, + 107, + 246, + 156, + 80, + 110, + 105, + 136, + 220, + 255, + 185, + 114, + 243, + 84, + 157, + 170, + 155, + 167, + 87, + 207, + 159, + 56, + 75, + 101, + 129, + 213, + 194, + 69, + 139, + 151, + 44, + 133, + 154, + 249, + 223, + 220, + 85, + 126, + 217, + 242, + 20, + 165, + 21, + 78, + 45, + 147, + 86, + 58, + 175, + 202, + 18, + 75, + 93, + 189, + 102, + 237, + 58, + 168, + 28, + 251, + 122, + 23, + 241, + 214, + 210, + 13, + 27, + 55, + 173, + 220, + 172, + 106, + 149, + 181, + 101, + 235, + 182, + 237, + 59, + 4, + 152, + 161, + 114, + 204, + 59, + 215, + 236, + 218, + 157, + 21, + 188, + 103, + 207, + 94, + 171, + 125, + 251, + 69, + 15, + 200, + 167, + 173, + 49, + 59, + 120, + 8, + 18, + 85, + 255, + 45, + 184, + 164, + 14, + 111, + 19, + 223, + 162, + 176, + 108, + 217, + 145, + 163, + 179, + 183, + 206, + 145, + 228, + 61, + 38, + 112, + 28, + 26, + 139, + 255, + 255, + 31, + 151, + 61, + 113, + 216, + 227, + 164, + 200, + 162, + 83, + 139, + 182, + 170, + 111, + 59, + 173, + 125, + 70, + 72, + 218, + 2, + 46, + 23, + 193, + 118, + 150, + 191, + 195, + 229, + 220, + 54, + 249, + 246, + 93, + 194, + 153, + 124, + 97, + 83, + 165, + 35, + 224, + 137, + 227, + 255, + 127, + 142, + 131, + 178, + 97, + 231, + 121, + 67, + 51, + 47, + 132, + 106, + 167, + 155, + 101, + 116, + 90, + 32, + 165, + 155, + 255, + 255, + 15, + 73, + 95, + 92, + 123, + 73, + 234, + 242, + 229, + 43, + 220, + 59, + 175, + 30, + 239, + 66, + 78, + 82, + 64, + 150, + 197, + 181, + 41, + 172, + 215, + 47, + 94, + 189, + 120, + 157, + 237, + 6, + 90, + 114, + 3, + 177, + 153, + 44, + 100, + 180, + 220, + 221, + 181, + 44, + 48, + 83, + 226, + 127, + 84, + 128, + 154, + 8, + 241, + 72, + 97, + 77, + 215, + 0, + 152, + 72, + 58, + 216, + 223, + 230, + 199, + 242, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + } + ] +} \ No newline at end of file diff --git a/tests/legacy/025.txt b/tests/legacy/025.txt new file mode 100644 index 0000000..884143f --- /dev/null +++ b/tests/legacy/025.txt @@ -0,0 +1,5729 @@ +Message-Id: <4.2.0.58.20000519003809.00a85140@pop.example.com> +X-Sender: dwsauder@pop.example.com (Unverified) +X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 +X-Priority: 2 (High) +Date: Fri, 19 May 2000 00:38:13 -0400 +To: Heinz =?iso-8859-1?Q?Müller?= +From: Doug Sauder +Subject: =?iso-8859-1?Q?Die_Hasen_und_die_Frösche?= +Mime-Version: 1.0 +Content-Type: multipart/mixed; + boundary="=====================_715462801==_" + +--=====================_715462801==_ +Content-Type: multipart/related; + type="text/html"; + boundary="=====================_715462801==_.REL" + +--=====================_715462801==_.REL +Content-Type: text/html; charset="iso-8859-1" +Content-Transfer-Encoding: quoted-printable + + +Die Hasen und = +die +Fr=F6sche
+
+
Die Hasen klagten einst =FCber +ihre mi=DFliche Lage; "wir leben", sprach ein Redner, "in +steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, +ja fast aller Raubtiere! Unsere stete Angst ist =E4rger als der Tod selbst. +Auf, la=DFt uns ein f=FCr allemal sterben."
+
+In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu; +allein das au=DFerordentliche Get=F6se und ihre wunderbare Gestalt +erschreckte eine Menge Fr=F6sche, die am Ufer sa=DFen, so sehr, da=DF sie au= +fs +schnellste untertauchten.
+
+"Halt", rief nun eben dieser Sprecher, "wir wollen das +Ers=E4ufen noch ein wenig aufschieben, denn auch uns f=FCrchten, wie ihr +seht, einige Tiere, welche also wohl noch ungl=FCcklicher sein m=FCssen als +wir."
+
+
3D"2aa51367.png" + +--=====================_715462801==_.REL +Content-Type: image/png; name="2aa51367.png" +Content-ID: <4.2.0.58.20000519003809.00a85140@pop.example.com.2> +Content-Transfer-Encoding: base64 +Content-Disposition: inline; filename="2aa51367.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAgAABAAABgAAAAA +CCkAEEIAEEoACDEAEFIIIXMIKXsIKYQIIWsAGFoACDkIIWMQOZwYQqUYQq0YQrUQOaUQMZQAGFIQ +MYwpUrU5Y8Y5Y84pWs4YSs4YQs4YQr1Ca8Z7nNacvd6Mtd5jlOcxa94hUt4YStYYQsYQMaUAACHO +5+/n7++cxu9ShO8pWucQOa1Ke86tzt6lzu9ajO8QMZxahNat1ufO7++Mve9Ke+8YOaUYSsaMvee1 +5++Uve8AAClajOdzpe9rnO8IKYwxY+8pWu8IIXsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAADBMg1VAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAu +MT1evmgAAAGISURBVHicddJtV5swGAbgEk6AJhBSk4bMCUynBSLaqovbrG/bfPn/vyh70lbssceb +L5xznTsh5BmNhgQoRChwo50EOIohUYLDj4zHhKYQkrEoQdvock4ne0IKMVUpKZLQDeqSTIsv+18P +yqqWUw2IBsRM7307PPp+fDJrWtnpLDJvewYxnewfnvanZ+fzpmwXijC8KbqEa3Fx2ff91Y95U9XC +UpaDeQwiMpHXP/v+1++bWVPWQoGFawtjury9vru/f/C1Vi7ezT0WWpQHf/7+u/G71aLThK/MjRxm +T6KdzZ9fGk9yatMsTgZLl3XVgFRAC6spj/13enssqJVtWVa3NdBSacL8+VZmYqKmdd1CSYoOiMOS +GwtzlqqlFFIuOqv0a1ZEZrUkWICLLFW266y1KvWE1zV/iDAH1EopnVLCiygZCIomH3NCKX0lnI+B +1iuuzCGTxwXjnDO4d7NpbX42YJJHkBwmAm2TxwAZg40J3+Xtbv1rgOAZwG0NxW62p+lT+Yi747sD +/wEUVMzYmWkOvwAAACV0RVh0Q29tbWVudABjbGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZz +O7wAAAAASUVORK5CYII= +--=====================_715462801==_.REL +Content-Type: image/png; name="2aa51371.png" +Content-ID: <4.2.0.58.20000519003809.00a85140@pop.example.com.3> +Content-Transfer-Encoding: base64 +Content-Disposition: inline; filename="2aa51371.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAABAAALAAAVAAAa +AAAXAAARAAAKAAADAAAcAAAyAABEAABNAABIAAA9AAAjAAAWAAAmAABhAAB7AACGAACHAAB9AAB0 +AABgAAA5AAAUAAAGAAAnAABLAABvAACQAAClAAC7AAC/AACrAAChAACMAABzAABbAAAuAAAIAABM +AAB3AACZAAC0GRnKODjVPT3bKSndBQW4AACoAAB5AAAxAAAYAAAEAABFAACaAAC7JCTRYWHfhITm +f3/mVlbqHx/SAAC5AACjAABdAABCAAAoAAAJAABnAAC6Dw/QVFTek5PlrKzpmZntZWXvJSXXAADB +AACxAACcAABtAABTAAA2AAAbAAAFAABKAACBAADLICDdZ2fonJzrpqbtiorvUVHvFBTRAADDAAC2 +AAB4AABeAABAAAAiAABXAACSAADCAADaGxvoVVXseHjveHjvV1fvJibhAADOAAC3AACnAACVAABH +AAArAAAPAACdAADFAADhBQXrKCjvPDzvNTXvGxvjAADQAADJAAC1AACXAACEAABsAABPAAASAAAC +AABiAADpAADvAgLnAADYAADLAAC6AACwAABwAAATAAAkAABYAADIAADTAADNAACzAACDAABuAAAe +AAB+AADAAACkAACNAAB/AABpAABQAAAwAACRAACpAAC8AACqAACbAABlAABJAAAqAAAOAAA0AACs +AACvAACtAACmAACJAAB6AABrAABaAAA+AAApAABqAACCAACfAACeAACWAACPAAB8AAAZAAAHAABV +AACOAACKAAA4AAAQAAA/AAByAACAAABcAAA3AAAsAABmAABDAABWAAAgAAAzAAA8AAA6AAAfAAAM +AAAdAAANAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAD8LtlFAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAu +MT1evmgAAAIISURBVHicY2CAg/8QwIABmJhZWFnZ2Dk4MaU5uLh5eHn5+LkFBDlQJf8zC/EIi4iK +iUtI8koJScsgyf5nlpWTV1BUUlZRVVPX4NFk1UJIyghp6+jq6RsYGhmbKJgK85mZW8Dk/rNaSlhZ +29ja2Ts4Ojkr6Li4urFDNf53N/Ow8vTy9vH18w8IDAoWDQkNC4+ASP5ni4wKio6JjYtPSExKTnFW +SE1LF4A69n9GZlZ2Tm5efkFhUXFySWlZlEd5RSVY7j+TkGRVdU1tXX1DY1Ozcktpa1t7h2YnOAj+ +d7l1tyo79vT29SdNSJ44SbFVdHIo9xSIHNPUaWqTpifNSJrZnK00S0U1a/acUG5piNz/uXLzVJ2q +m6dXz584S2WB1cJFi5cshZr539xVftnyFKUVTi2TVjqvyhJLXb1m7TqoHPt6F/HW0g0bN63crGqV +tWXrtu07BJihcsw71+zanRW8Z89eq337RQ/Ip60xO3gIElX/LbikDm8T36KwbNmRo7O3zpHkPSZw +HBqL//8flz1x2OOkyKJTi7aqbzutfUZI2gIuF8F2lr/D5dw2+fZdwpl8YVOlI+CJ4/9/joOyYed5 +QzMvhGqnm2V0WiClm///D0lfXHtJ6vLlK9w7rx7vQk5SQJbFtSms1y9evXid7QZacgOxmSxktNzd +tSwwU+J/VICaCPFIYU3XAJhIOtjf5sfyAAAAJXRFWHRDb21tZW50AGNsaXAyZ2lmIHYuMC42IGJ5 +IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg== +--=====================_715462801==_.REL-- + +--=====================_715462801==_ +Content-Type: image/png; name="blueball.png" +Content-Transfer-Encoding: base64 +Content-Disposition: attachment; filename="blueball.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAgAABAAABgAAAAA +CCkAEEIAEEoACDEAEFIIIXMIKXsIKYQIIWsAGFoACDkIIWMQOZwYQqUYQq0YQrUQOaUQMZQAGFIQ +MYwpUrU5Y8Y5Y84pWs4YSs4YQs4YQr1Ca8Z7nNacvd6Mtd5jlOcxa94hUt4YStYYQsYQMaUAACHO +5+/n7++cxu9ShO8pWucQOa1Ke86tzt6lzu9ajO8QMZxahNat1ufO7++Mve9Ke+8YOaUYSsaMvee1 +5++Uve8AAClajOdzpe9rnO8IKYwxY+8pWu8IIXsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAADBMg1VAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAu +MT1evmgAAAGISURBVHicddJtV5swGAbgEk6AJhBSk4bMCUynBSLaqovbrG/bfPn/vyh70lbssceb +L5xznTsh5BmNhgQoRChwo50EOIohUYLDj4zHhKYQkrEoQdvock4ne0IKMVUpKZLQDeqSTIsv+18P +yqqWUw2IBsRM7307PPp+fDJrWtnpLDJvewYxnewfnvanZ+fzpmwXijC8KbqEa3Fx2ff91Y95U9XC +UpaDeQwiMpHXP/v+1++bWVPWQoGFawtjury9vru/f/C1Vi7ezT0WWpQHf/7+u/G71aLThK/MjRxm +T6KdzZ9fGk9yatMsTgZLl3XVgFRAC6spj/13enssqJVtWVa3NdBSacL8+VZmYqKmdd1CSYoOiMOS +GwtzlqqlFFIuOqv0a1ZEZrUkWICLLFW266y1KvWE1zV/iDAH1EopnVLCiygZCIomH3NCKX0lnI+B +1iuuzCGTxwXjnDO4d7NpbX42YJJHkBwmAm2TxwAZg40J3+Xtbv1rgOAZwG0NxW62p+lT+Yi747sD +/wEUVMzYmWkOvwAAACV0RVh0Q29tbWVudABjbGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZz +O7wAAAAASUVORK5CYII= +--=====================_715462801==_ +Content-Type: image/png; name="greenball.png" +Content-Transfer-Encoding: base64 +Content-Disposition: attachment; filename="greenball.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAAAEAAAGAAAIQAA +CAAAMQAAQgAAUgAAWgAASgAIYwAIcwAIewAQjAAIawAAOQAAYwAQlAAQnAAhpQAQpQAhrQBCvRhj +xjFjxjlSxiEpzgAYvQAQrQAYrQAhvQCU1mOt1nuE1lJK3hgh1gAYxgAYtQAAKQBCzhDO55Te563G +55SU52NS5yEh3gAYzgBS3iGc52vW75y974yE71JC7xCt73ul3nNa7ykh5wAY1gAx5wBS7yFr7zlK +7xgp5wAp7wAx7wAIhAAQtQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAp1fnZAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAu +MT1evmgAAAFtSURBVHicddJtV8IgFAdwD2zIgMEE1+NcqdsoK+m5tCyz7/+ZiLmHsyzvq53zO/cy ++N9ery1bVe9PWQA9z4MQ+H8Yoj7GASZ95IHfaBGmLOSchyIgyOu22mgQSjUcDuNYcoGjLiLK1cHh +0fHJaTKKOcMItgYxT89OzsfjyTTLC8UF0c2ZNmKquJhczq6ub+YmSVUYRF59GeDastu7+9nD41Nm +kiJ2jc2J3kAWZ9Pr55fH18XSmRuKUTXUaqHy7O19tfr4NFle/w3YDrWRUIlZrL/W86XJkyJVG9Ea +EjIx2XyZmZJGioeUaL+2AY8TY8omR6nkLKhu70zjUKVJXsp3quS2DVSJWNh3zzJKCyexI0ZxBP3a +fE0ElyqOlZJyw8r3BE2SFiJCyxA434SCkg65RhdeQBljQtCg39LWrA90RDDG1EWrYUO23hMANUKR +Rl61E529cR++D2G5LK002dr/qrcfu9u0V3bxn/XdhR/NYeeN0ggsLAAAACV0RVh0Q29tbWVudABj +bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII= +--=====================_715462801==_-- + + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 19, + "hour": 0, + "minute": 38, + "second": 13, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "dwsauder@example.com" + } + }, + "message_id": "4.2.0.58.20000519003809.00a85140@pop.example.com", + "mime_version": "1.0", + "subject": "Die Hasen und die Frösche", + "to": { + "Address": { + "name": "Heinz Müller", + "address": "mueller@example.com" + } + }, + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "=====================_715462801==_" + } + }, + "others": { + "X-Sender": [ + "dwsauder@pop.example.com (Unverified)" + ], + "X-Priority": [ + "2 (High)" + ], + "X-Mailer": [ + "QUALCOMM Windows Eudora Pro Version 4.2.0.58" + ] + } + }, + "html_body": [ + { + "header": { + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "html", + "attributes": { + "charset": "iso-8859-1" + } + } + }, + "contents": "\nDie Hasen und die\nFrösche
\n
\n
Die Hasen klagten einst über\nihre mißliche Lage; "wir leben", sprach ein Redner, "in\nsteter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler,\nja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst.\nAuf, laßt uns ein für allemal sterben."
\n
\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu;\nallein das außerordentliche Getöse und ihre wunderbare Gestalt\nerschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs\nschnellste untertauchten.
\n
\n"Halt", rief nun eben dieser Sprecher, "wir wollen das\nErsäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr\nseht, einige Tiere, welche also wohl noch unglücklicher sein müssen als\nwir."
\n
\n
\"2aa51367.png\"\"2aa51371.png\"\n" + } + ], + "attachments": [ + { + "File": { + "header": { + "content_disposition": { + "c_type": "inline", + "attributes": { + "filename": "2aa51367.png" + } + }, + "content_id": "4.2.0.58.20000519003809.00a85140@pop.example.com.2", + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "2aa51367.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 8, + 0, + 0, + 16, + 0, + 0, + 24, + 0, + 0, + 0, + 0, + 8, + 41, + 0, + 16, + 66, + 0, + 16, + 74, + 0, + 8, + 49, + 0, + 16, + 82, + 8, + 33, + 115, + 8, + 41, + 123, + 8, + 41, + 132, + 8, + 33, + 107, + 0, + 24, + 90, + 0, + 8, + 57, + 8, + 33, + 99, + 16, + 57, + 156, + 24, + 66, + 165, + 24, + 66, + 173, + 24, + 66, + 181, + 16, + 57, + 165, + 16, + 49, + 148, + 0, + 24, + 82, + 16, + 49, + 140, + 41, + 82, + 181, + 57, + 99, + 198, + 57, + 99, + 206, + 41, + 90, + 206, + 24, + 74, + 206, + 24, + 66, + 206, + 24, + 66, + 189, + 66, + 107, + 198, + 123, + 156, + 214, + 156, + 189, + 222, + 140, + 181, + 222, + 99, + 148, + 231, + 49, + 107, + 222, + 33, + 82, + 222, + 24, + 74, + 214, + 24, + 66, + 198, + 16, + 49, + 165, + 0, + 0, + 33, + 206, + 231, + 239, + 231, + 239, + 239, + 156, + 198, + 239, + 82, + 132, + 239, + 41, + 90, + 231, + 16, + 57, + 173, + 74, + 123, + 206, + 173, + 206, + 222, + 165, + 206, + 239, + 90, + 140, + 239, + 16, + 49, + 156, + 90, + 132, + 214, + 173, + 214, + 231, + 206, + 239, + 239, + 140, + 189, + 239, + 74, + 123, + 239, + 24, + 57, + 165, + 24, + 74, + 198, + 140, + 189, + 231, + 181, + 231, + 239, + 148, + 189, + 239, + 0, + 0, + 41, + 90, + 140, + 231, + 115, + 165, + 239, + 107, + 156, + 239, + 8, + 41, + 140, + 49, + 99, + 239, + 41, + 90, + 239, + 8, + 33, + 123, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 193, + 50, + 13, + 85, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 1, + 136, + 73, + 68, + 65, + 84, + 120, + 156, + 117, + 210, + 109, + 87, + 155, + 48, + 24, + 6, + 224, + 18, + 78, + 128, + 38, + 16, + 82, + 147, + 134, + 204, + 9, + 76, + 167, + 5, + 34, + 218, + 170, + 139, + 219, + 172, + 111, + 219, + 124, + 249, + 255, + 191, + 40, + 123, + 210, + 86, + 236, + 177, + 199, + 155, + 47, + 156, + 115, + 157, + 59, + 33, + 228, + 25, + 141, + 134, + 4, + 40, + 68, + 40, + 112, + 163, + 157, + 4, + 56, + 138, + 33, + 81, + 130, + 195, + 143, + 140, + 199, + 132, + 166, + 16, + 146, + 177, + 40, + 65, + 219, + 232, + 114, + 78, + 39, + 123, + 66, + 10, + 49, + 85, + 41, + 41, + 146, + 208, + 13, + 234, + 146, + 76, + 139, + 47, + 251, + 95, + 15, + 202, + 170, + 150, + 83, + 13, + 136, + 6, + 196, + 76, + 239, + 125, + 59, + 60, + 250, + 126, + 124, + 50, + 107, + 90, + 217, + 233, + 44, + 50, + 111, + 123, + 6, + 49, + 157, + 236, + 31, + 158, + 246, + 167, + 103, + 231, + 243, + 166, + 108, + 23, + 138, + 48, + 188, + 41, + 186, + 132, + 107, + 113, + 113, + 217, + 247, + 253, + 213, + 143, + 121, + 83, + 213, + 194, + 82, + 150, + 131, + 121, + 12, + 34, + 50, + 145, + 215, + 63, + 251, + 254, + 215, + 239, + 155, + 89, + 83, + 214, + 66, + 129, + 133, + 107, + 11, + 99, + 186, + 188, + 189, + 190, + 187, + 191, + 127, + 240, + 181, + 86, + 46, + 222, + 205, + 61, + 22, + 90, + 148, + 7, + 127, + 254, + 254, + 187, + 241, + 187, + 213, + 162, + 211, + 132, + 175, + 204, + 141, + 28, + 102, + 79, + 162, + 157, + 205, + 159, + 95, + 26, + 79, + 114, + 106, + 211, + 44, + 78, + 6, + 75, + 151, + 117, + 213, + 128, + 84, + 64, + 11, + 171, + 41, + 143, + 253, + 119, + 122, + 123, + 44, + 168, + 149, + 109, + 89, + 86, + 183, + 53, + 208, + 82, + 105, + 194, + 252, + 249, + 86, + 102, + 98, + 162, + 166, + 117, + 221, + 66, + 73, + 138, + 14, + 136, + 195, + 146, + 27, + 11, + 115, + 150, + 170, + 165, + 20, + 82, + 46, + 58, + 171, + 244, + 107, + 86, + 68, + 102, + 181, + 36, + 88, + 128, + 139, + 44, + 85, + 182, + 235, + 172, + 181, + 42, + 245, + 132, + 215, + 53, + 127, + 136, + 48, + 7, + 212, + 74, + 41, + 157, + 82, + 194, + 139, + 40, + 25, + 8, + 138, + 38, + 31, + 115, + 66, + 41, + 125, + 37, + 156, + 143, + 129, + 214, + 43, + 174, + 204, + 33, + 147, + 199, + 5, + 227, + 156, + 51, + 184, + 119, + 179, + 105, + 109, + 126, + 54, + 96, + 146, + 71, + 144, + 28, + 38, + 2, + 109, + 147, + 199, + 0, + 25, + 131, + 141, + 9, + 223, + 229, + 237, + 110, + 253, + 107, + 128, + 224, + 25, + 192, + 109, + 13, + 197, + 110, + 182, + 167, + 233, + 83, + 249, + 136, + 187, + 227, + 187, + 3, + 255, + 1, + 20, + 84, + 204, + 216, + 153, + 105, + 14, + 191, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + }, + { + "File": { + "header": { + "content_disposition": { + "c_type": "inline", + "attributes": { + "filename": "2aa51371.png" + } + }, + "content_id": "4.2.0.58.20000519003809.00a85140@pop.example.com.3", + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "2aa51371.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 0, + 1, + 0, + 0, + 11, + 0, + 0, + 21, + 0, + 0, + 26, + 0, + 0, + 23, + 0, + 0, + 17, + 0, + 0, + 10, + 0, + 0, + 3, + 0, + 0, + 28, + 0, + 0, + 50, + 0, + 0, + 68, + 0, + 0, + 77, + 0, + 0, + 72, + 0, + 0, + 61, + 0, + 0, + 35, + 0, + 0, + 22, + 0, + 0, + 38, + 0, + 0, + 97, + 0, + 0, + 123, + 0, + 0, + 134, + 0, + 0, + 135, + 0, + 0, + 125, + 0, + 0, + 116, + 0, + 0, + 96, + 0, + 0, + 57, + 0, + 0, + 20, + 0, + 0, + 6, + 0, + 0, + 39, + 0, + 0, + 75, + 0, + 0, + 111, + 0, + 0, + 144, + 0, + 0, + 165, + 0, + 0, + 187, + 0, + 0, + 191, + 0, + 0, + 171, + 0, + 0, + 161, + 0, + 0, + 140, + 0, + 0, + 115, + 0, + 0, + 91, + 0, + 0, + 46, + 0, + 0, + 8, + 0, + 0, + 76, + 0, + 0, + 119, + 0, + 0, + 153, + 0, + 0, + 180, + 25, + 25, + 202, + 56, + 56, + 213, + 61, + 61, + 219, + 41, + 41, + 221, + 5, + 5, + 184, + 0, + 0, + 168, + 0, + 0, + 121, + 0, + 0, + 49, + 0, + 0, + 24, + 0, + 0, + 4, + 0, + 0, + 69, + 0, + 0, + 154, + 0, + 0, + 187, + 36, + 36, + 209, + 97, + 97, + 223, + 132, + 132, + 230, + 127, + 127, + 230, + 86, + 86, + 234, + 31, + 31, + 210, + 0, + 0, + 185, + 0, + 0, + 163, + 0, + 0, + 93, + 0, + 0, + 66, + 0, + 0, + 40, + 0, + 0, + 9, + 0, + 0, + 103, + 0, + 0, + 186, + 15, + 15, + 208, + 84, + 84, + 222, + 147, + 147, + 229, + 172, + 172, + 233, + 153, + 153, + 237, + 101, + 101, + 239, + 37, + 37, + 215, + 0, + 0, + 193, + 0, + 0, + 177, + 0, + 0, + 156, + 0, + 0, + 109, + 0, + 0, + 83, + 0, + 0, + 54, + 0, + 0, + 27, + 0, + 0, + 5, + 0, + 0, + 74, + 0, + 0, + 129, + 0, + 0, + 203, + 32, + 32, + 221, + 103, + 103, + 232, + 156, + 156, + 235, + 166, + 166, + 237, + 138, + 138, + 239, + 81, + 81, + 239, + 20, + 20, + 209, + 0, + 0, + 195, + 0, + 0, + 182, + 0, + 0, + 120, + 0, + 0, + 94, + 0, + 0, + 64, + 0, + 0, + 34, + 0, + 0, + 87, + 0, + 0, + 146, + 0, + 0, + 194, + 0, + 0, + 218, + 27, + 27, + 232, + 85, + 85, + 236, + 120, + 120, + 239, + 120, + 120, + 239, + 87, + 87, + 239, + 38, + 38, + 225, + 0, + 0, + 206, + 0, + 0, + 183, + 0, + 0, + 167, + 0, + 0, + 149, + 0, + 0, + 71, + 0, + 0, + 43, + 0, + 0, + 15, + 0, + 0, + 157, + 0, + 0, + 197, + 0, + 0, + 225, + 5, + 5, + 235, + 40, + 40, + 239, + 60, + 60, + 239, + 53, + 53, + 239, + 27, + 27, + 227, + 0, + 0, + 208, + 0, + 0, + 201, + 0, + 0, + 181, + 0, + 0, + 151, + 0, + 0, + 132, + 0, + 0, + 108, + 0, + 0, + 79, + 0, + 0, + 18, + 0, + 0, + 2, + 0, + 0, + 98, + 0, + 0, + 233, + 0, + 0, + 239, + 2, + 2, + 231, + 0, + 0, + 216, + 0, + 0, + 203, + 0, + 0, + 186, + 0, + 0, + 176, + 0, + 0, + 112, + 0, + 0, + 19, + 0, + 0, + 36, + 0, + 0, + 88, + 0, + 0, + 200, + 0, + 0, + 211, + 0, + 0, + 205, + 0, + 0, + 179, + 0, + 0, + 131, + 0, + 0, + 110, + 0, + 0, + 30, + 0, + 0, + 126, + 0, + 0, + 192, + 0, + 0, + 164, + 0, + 0, + 141, + 0, + 0, + 127, + 0, + 0, + 105, + 0, + 0, + 80, + 0, + 0, + 48, + 0, + 0, + 145, + 0, + 0, + 169, + 0, + 0, + 188, + 0, + 0, + 170, + 0, + 0, + 155, + 0, + 0, + 101, + 0, + 0, + 73, + 0, + 0, + 42, + 0, + 0, + 14, + 0, + 0, + 52, + 0, + 0, + 172, + 0, + 0, + 175, + 0, + 0, + 173, + 0, + 0, + 166, + 0, + 0, + 137, + 0, + 0, + 122, + 0, + 0, + 107, + 0, + 0, + 90, + 0, + 0, + 62, + 0, + 0, + 41, + 0, + 0, + 106, + 0, + 0, + 130, + 0, + 0, + 159, + 0, + 0, + 158, + 0, + 0, + 150, + 0, + 0, + 143, + 0, + 0, + 124, + 0, + 0, + 25, + 0, + 0, + 7, + 0, + 0, + 85, + 0, + 0, + 142, + 0, + 0, + 138, + 0, + 0, + 56, + 0, + 0, + 16, + 0, + 0, + 63, + 0, + 0, + 114, + 0, + 0, + 128, + 0, + 0, + 92, + 0, + 0, + 55, + 0, + 0, + 44, + 0, + 0, + 102, + 0, + 0, + 67, + 0, + 0, + 86, + 0, + 0, + 32, + 0, + 0, + 51, + 0, + 0, + 60, + 0, + 0, + 58, + 0, + 0, + 31, + 0, + 0, + 12, + 0, + 0, + 29, + 0, + 0, + 13, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 252, + 46, + 217, + 69, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 2, + 8, + 73, + 68, + 65, + 84, + 120, + 156, + 99, + 96, + 128, + 131, + 255, + 16, + 192, + 128, + 1, + 152, + 152, + 89, + 88, + 89, + 217, + 216, + 57, + 56, + 49, + 165, + 57, + 184, + 184, + 121, + 120, + 121, + 249, + 248, + 185, + 5, + 4, + 57, + 80, + 37, + 255, + 51, + 11, + 241, + 8, + 139, + 136, + 138, + 137, + 75, + 72, + 242, + 74, + 9, + 73, + 203, + 32, + 201, + 254, + 103, + 150, + 149, + 147, + 87, + 80, + 84, + 82, + 86, + 81, + 85, + 83, + 215, + 224, + 209, + 100, + 213, + 66, + 72, + 202, + 8, + 105, + 235, + 232, + 234, + 233, + 27, + 24, + 26, + 25, + 155, + 40, + 152, + 10, + 243, + 153, + 153, + 91, + 192, + 228, + 254, + 179, + 90, + 74, + 88, + 89, + 219, + 216, + 218, + 217, + 59, + 56, + 58, + 57, + 43, + 232, + 184, + 184, + 186, + 177, + 67, + 53, + 254, + 119, + 55, + 243, + 176, + 242, + 244, + 242, + 246, + 241, + 245, + 243, + 15, + 8, + 12, + 10, + 22, + 13, + 9, + 13, + 11, + 143, + 128, + 72, + 254, + 103, + 139, + 140, + 10, + 138, + 142, + 137, + 141, + 139, + 79, + 72, + 76, + 74, + 78, + 113, + 86, + 72, + 77, + 75, + 23, + 128, + 58, + 246, + 127, + 70, + 102, + 86, + 118, + 78, + 110, + 94, + 126, + 65, + 97, + 81, + 113, + 114, + 73, + 105, + 89, + 148, + 71, + 121, + 69, + 37, + 88, + 238, + 63, + 147, + 144, + 100, + 85, + 117, + 77, + 109, + 93, + 125, + 67, + 99, + 83, + 179, + 114, + 75, + 105, + 107, + 91, + 123, + 135, + 102, + 39, + 56, + 8, + 254, + 119, + 185, + 117, + 183, + 42, + 59, + 246, + 244, + 246, + 245, + 39, + 77, + 72, + 158, + 56, + 73, + 177, + 85, + 116, + 114, + 40, + 247, + 20, + 136, + 28, + 211, + 212, + 105, + 106, + 147, + 166, + 39, + 205, + 72, + 154, + 217, + 156, + 173, + 52, + 75, + 69, + 53, + 107, + 246, + 156, + 80, + 110, + 105, + 136, + 220, + 255, + 185, + 114, + 243, + 84, + 157, + 170, + 155, + 167, + 87, + 207, + 159, + 56, + 75, + 101, + 129, + 213, + 194, + 69, + 139, + 151, + 44, + 133, + 154, + 249, + 223, + 220, + 85, + 126, + 217, + 242, + 20, + 165, + 21, + 78, + 45, + 147, + 86, + 58, + 175, + 202, + 18, + 75, + 93, + 189, + 102, + 237, + 58, + 168, + 28, + 251, + 122, + 23, + 241, + 214, + 210, + 13, + 27, + 55, + 173, + 220, + 172, + 106, + 149, + 181, + 101, + 235, + 182, + 237, + 59, + 4, + 152, + 161, + 114, + 204, + 59, + 215, + 236, + 218, + 157, + 21, + 188, + 103, + 207, + 94, + 171, + 125, + 251, + 69, + 15, + 200, + 167, + 173, + 49, + 59, + 120, + 8, + 18, + 85, + 255, + 45, + 184, + 164, + 14, + 111, + 19, + 223, + 162, + 176, + 108, + 217, + 145, + 163, + 179, + 183, + 206, + 145, + 228, + 61, + 38, + 112, + 28, + 26, + 139, + 255, + 255, + 31, + 151, + 61, + 113, + 216, + 227, + 164, + 200, + 162, + 83, + 139, + 182, + 170, + 111, + 59, + 173, + 125, + 70, + 72, + 218, + 2, + 46, + 23, + 193, + 118, + 150, + 191, + 195, + 229, + 220, + 54, + 249, + 246, + 93, + 194, + 153, + 124, + 97, + 83, + 165, + 35, + 224, + 137, + 227, + 255, + 127, + 142, + 131, + 178, + 97, + 231, + 121, + 67, + 51, + 47, + 132, + 106, + 167, + 155, + 101, + 116, + 90, + 32, + 165, + 155, + 255, + 255, + 15, + 73, + 95, + 92, + 123, + 73, + 234, + 242, + 229, + 43, + 220, + 59, + 175, + 30, + 239, + 66, + 78, + 82, + 64, + 150, + 197, + 181, + 41, + 172, + 215, + 47, + 94, + 189, + 120, + 157, + 237, + 6, + 90, + 114, + 3, + 177, + 153, + 44, + 100, + 180, + 220, + 221, + 181, + 44, + 48, + 83, + 226, + 127, + 84, + 128, + 154, + 8, + 241, + 72, + 97, + 77, + 215, + 0, + 152, + 72, + 58, + 216, + 223, + 230, + 199, + 242, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + }, + { + "File": { + "header": { + "content_disposition": { + "c_type": "attachment", + "attributes": { + "filename": "blueball.png" + } + }, + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "blueball.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 8, + 0, + 0, + 16, + 0, + 0, + 24, + 0, + 0, + 0, + 0, + 8, + 41, + 0, + 16, + 66, + 0, + 16, + 74, + 0, + 8, + 49, + 0, + 16, + 82, + 8, + 33, + 115, + 8, + 41, + 123, + 8, + 41, + 132, + 8, + 33, + 107, + 0, + 24, + 90, + 0, + 8, + 57, + 8, + 33, + 99, + 16, + 57, + 156, + 24, + 66, + 165, + 24, + 66, + 173, + 24, + 66, + 181, + 16, + 57, + 165, + 16, + 49, + 148, + 0, + 24, + 82, + 16, + 49, + 140, + 41, + 82, + 181, + 57, + 99, + 198, + 57, + 99, + 206, + 41, + 90, + 206, + 24, + 74, + 206, + 24, + 66, + 206, + 24, + 66, + 189, + 66, + 107, + 198, + 123, + 156, + 214, + 156, + 189, + 222, + 140, + 181, + 222, + 99, + 148, + 231, + 49, + 107, + 222, + 33, + 82, + 222, + 24, + 74, + 214, + 24, + 66, + 198, + 16, + 49, + 165, + 0, + 0, + 33, + 206, + 231, + 239, + 231, + 239, + 239, + 156, + 198, + 239, + 82, + 132, + 239, + 41, + 90, + 231, + 16, + 57, + 173, + 74, + 123, + 206, + 173, + 206, + 222, + 165, + 206, + 239, + 90, + 140, + 239, + 16, + 49, + 156, + 90, + 132, + 214, + 173, + 214, + 231, + 206, + 239, + 239, + 140, + 189, + 239, + 74, + 123, + 239, + 24, + 57, + 165, + 24, + 74, + 198, + 140, + 189, + 231, + 181, + 231, + 239, + 148, + 189, + 239, + 0, + 0, + 41, + 90, + 140, + 231, + 115, + 165, + 239, + 107, + 156, + 239, + 8, + 41, + 140, + 49, + 99, + 239, + 41, + 90, + 239, + 8, + 33, + 123, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 193, + 50, + 13, + 85, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 1, + 136, + 73, + 68, + 65, + 84, + 120, + 156, + 117, + 210, + 109, + 87, + 155, + 48, + 24, + 6, + 224, + 18, + 78, + 128, + 38, + 16, + 82, + 147, + 134, + 204, + 9, + 76, + 167, + 5, + 34, + 218, + 170, + 139, + 219, + 172, + 111, + 219, + 124, + 249, + 255, + 191, + 40, + 123, + 210, + 86, + 236, + 177, + 199, + 155, + 47, + 156, + 115, + 157, + 59, + 33, + 228, + 25, + 141, + 134, + 4, + 40, + 68, + 40, + 112, + 163, + 157, + 4, + 56, + 138, + 33, + 81, + 130, + 195, + 143, + 140, + 199, + 132, + 166, + 16, + 146, + 177, + 40, + 65, + 219, + 232, + 114, + 78, + 39, + 123, + 66, + 10, + 49, + 85, + 41, + 41, + 146, + 208, + 13, + 234, + 146, + 76, + 139, + 47, + 251, + 95, + 15, + 202, + 170, + 150, + 83, + 13, + 136, + 6, + 196, + 76, + 239, + 125, + 59, + 60, + 250, + 126, + 124, + 50, + 107, + 90, + 217, + 233, + 44, + 50, + 111, + 123, + 6, + 49, + 157, + 236, + 31, + 158, + 246, + 167, + 103, + 231, + 243, + 166, + 108, + 23, + 138, + 48, + 188, + 41, + 186, + 132, + 107, + 113, + 113, + 217, + 247, + 253, + 213, + 143, + 121, + 83, + 213, + 194, + 82, + 150, + 131, + 121, + 12, + 34, + 50, + 145, + 215, + 63, + 251, + 254, + 215, + 239, + 155, + 89, + 83, + 214, + 66, + 129, + 133, + 107, + 11, + 99, + 186, + 188, + 189, + 190, + 187, + 191, + 127, + 240, + 181, + 86, + 46, + 222, + 205, + 61, + 22, + 90, + 148, + 7, + 127, + 254, + 254, + 187, + 241, + 187, + 213, + 162, + 211, + 132, + 175, + 204, + 141, + 28, + 102, + 79, + 162, + 157, + 205, + 159, + 95, + 26, + 79, + 114, + 106, + 211, + 44, + 78, + 6, + 75, + 151, + 117, + 213, + 128, + 84, + 64, + 11, + 171, + 41, + 143, + 253, + 119, + 122, + 123, + 44, + 168, + 149, + 109, + 89, + 86, + 183, + 53, + 208, + 82, + 105, + 194, + 252, + 249, + 86, + 102, + 98, + 162, + 166, + 117, + 221, + 66, + 73, + 138, + 14, + 136, + 195, + 146, + 27, + 11, + 115, + 150, + 170, + 165, + 20, + 82, + 46, + 58, + 171, + 244, + 107, + 86, + 68, + 102, + 181, + 36, + 88, + 128, + 139, + 44, + 85, + 182, + 235, + 172, + 181, + 42, + 245, + 132, + 215, + 53, + 127, + 136, + 48, + 7, + 212, + 74, + 41, + 157, + 82, + 194, + 139, + 40, + 25, + 8, + 138, + 38, + 31, + 115, + 66, + 41, + 125, + 37, + 156, + 143, + 129, + 214, + 43, + 174, + 204, + 33, + 147, + 199, + 5, + 227, + 156, + 51, + 184, + 119, + 179, + 105, + 109, + 126, + 54, + 96, + 146, + 71, + 144, + 28, + 38, + 2, + 109, + 147, + 199, + 0, + 25, + 131, + 141, + 9, + 223, + 229, + 237, + 110, + 253, + 107, + 128, + 224, + 25, + 192, + 109, + 13, + 197, + 110, + 182, + 167, + 233, + 83, + 249, + 136, + 187, + 227, + 187, + 3, + 255, + 1, + 20, + 84, + 204, + 216, + 153, + 105, + 14, + 191, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + }, + { + "File": { + "header": { + "content_disposition": { + "c_type": "attachment", + "attributes": { + "filename": "greenball.png" + } + }, + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "greenball.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 0, + 0, + 16, + 0, + 0, + 24, + 0, + 0, + 33, + 0, + 0, + 8, + 0, + 0, + 49, + 0, + 0, + 66, + 0, + 0, + 82, + 0, + 0, + 90, + 0, + 0, + 74, + 0, + 8, + 99, + 0, + 8, + 115, + 0, + 8, + 123, + 0, + 16, + 140, + 0, + 8, + 107, + 0, + 0, + 57, + 0, + 0, + 99, + 0, + 16, + 148, + 0, + 16, + 156, + 0, + 33, + 165, + 0, + 16, + 165, + 0, + 33, + 173, + 0, + 66, + 189, + 24, + 99, + 198, + 49, + 99, + 198, + 57, + 82, + 198, + 33, + 41, + 206, + 0, + 24, + 189, + 0, + 16, + 173, + 0, + 24, + 173, + 0, + 33, + 189, + 0, + 148, + 214, + 99, + 173, + 214, + 123, + 132, + 214, + 82, + 74, + 222, + 24, + 33, + 214, + 0, + 24, + 198, + 0, + 24, + 181, + 0, + 0, + 41, + 0, + 66, + 206, + 16, + 206, + 231, + 148, + 222, + 231, + 173, + 198, + 231, + 148, + 148, + 231, + 99, + 82, + 231, + 33, + 33, + 222, + 0, + 24, + 206, + 0, + 82, + 222, + 33, + 156, + 231, + 107, + 214, + 239, + 156, + 189, + 239, + 140, + 132, + 239, + 82, + 66, + 239, + 16, + 173, + 239, + 123, + 165, + 222, + 115, + 90, + 239, + 41, + 33, + 231, + 0, + 24, + 214, + 0, + 49, + 231, + 0, + 82, + 239, + 33, + 107, + 239, + 57, + 74, + 239, + 24, + 41, + 231, + 0, + 41, + 239, + 0, + 49, + 239, + 0, + 8, + 132, + 0, + 16, + 181, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 41, + 213, + 249, + 217, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 1, + 109, + 73, + 68, + 65, + 84, + 120, + 156, + 117, + 210, + 109, + 87, + 194, + 32, + 20, + 7, + 112, + 15, + 108, + 200, + 128, + 193, + 4, + 215, + 227, + 92, + 169, + 219, + 40, + 43, + 233, + 185, + 180, + 44, + 179, + 239, + 255, + 153, + 136, + 185, + 135, + 179, + 44, + 239, + 171, + 157, + 243, + 59, + 247, + 50, + 248, + 223, + 94, + 175, + 45, + 91, + 85, + 239, + 79, + 89, + 0, + 61, + 207, + 131, + 16, + 248, + 127, + 24, + 162, + 62, + 198, + 1, + 38, + 125, + 228, + 129, + 223, + 104, + 17, + 166, + 44, + 228, + 156, + 135, + 34, + 32, + 200, + 235, + 182, + 218, + 104, + 16, + 74, + 53, + 28, + 14, + 227, + 88, + 114, + 129, + 163, + 46, + 34, + 202, + 213, + 193, + 225, + 209, + 241, + 201, + 105, + 50, + 138, + 57, + 195, + 8, + 182, + 6, + 49, + 79, + 207, + 78, + 206, + 199, + 227, + 201, + 52, + 203, + 11, + 197, + 5, + 209, + 205, + 153, + 54, + 98, + 170, + 184, + 152, + 92, + 206, + 174, + 174, + 111, + 230, + 38, + 73, + 85, + 24, + 68, + 94, + 125, + 25, + 224, + 218, + 178, + 219, + 187, + 251, + 217, + 195, + 227, + 83, + 102, + 146, + 34, + 118, + 141, + 205, + 137, + 222, + 64, + 22, + 103, + 211, + 235, + 231, + 151, + 199, + 215, + 197, + 210, + 153, + 27, + 138, + 81, + 53, + 212, + 106, + 161, + 242, + 236, + 237, + 125, + 181, + 250, + 248, + 52, + 89, + 94, + 255, + 13, + 216, + 14, + 181, + 145, + 80, + 137, + 89, + 172, + 191, + 214, + 243, + 165, + 201, + 147, + 34, + 85, + 27, + 209, + 26, + 18, + 50, + 49, + 217, + 124, + 153, + 153, + 146, + 70, + 138, + 135, + 148, + 104, + 191, + 182, + 1, + 143, + 19, + 99, + 202, + 38, + 71, + 169, + 228, + 44, + 168, + 110, + 239, + 76, + 227, + 80, + 165, + 73, + 94, + 202, + 119, + 170, + 228, + 182, + 13, + 84, + 137, + 88, + 216, + 119, + 207, + 50, + 74, + 11, + 39, + 177, + 35, + 70, + 113, + 4, + 253, + 218, + 124, + 77, + 4, + 151, + 42, + 142, + 149, + 146, + 114, + 195, + 202, + 247, + 4, + 77, + 146, + 22, + 34, + 66, + 203, + 16, + 56, + 223, + 132, + 130, + 146, + 14, + 185, + 70, + 23, + 94, + 64, + 25, + 99, + 66, + 208, + 160, + 223, + 210, + 214, + 172, + 15, + 116, + 68, + 48, + 198, + 212, + 69, + 171, + 97, + 67, + 182, + 222, + 19, + 0, + 53, + 66, + 145, + 70, + 94, + 181, + 19, + 157, + 189, + 113, + 31, + 190, + 15, + 97, + 185, + 44, + 173, + 52, + 217, + 218, + 255, + 170, + 183, + 31, + 187, + 219, + 180, + 87, + 118, + 241, + 159, + 245, + 221, + 133, + 31, + 205, + 97, + 231, + 141, + 210, + 8, + 44, + 44, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + } + ] +} \ No newline at end of file diff --git a/tests/legacy/026.txt b/tests/legacy/026.txt new file mode 100644 index 0000000..4b9f7de --- /dev/null +++ b/tests/legacy/026.txt @@ -0,0 +1,191 @@ +Message-Id: <4.2.0.58.20000519005818.00a86aa0@pop.example.com> +X-Sender: dwsauder@pop.example.com (Unverified) +X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 +Date: Fri, 19 May 2000 00:59:31 -0400 +To: Heinz =?iso-8859-1?Q?Müller?= +From: Doug Sauder +Subject: =?iso-8859-1?Q?Die_Hasen_und_die_Frösche?= +Mime-Version: 1.0 +Content-Type: multipart/mixed; + boundary="=====================_716740438==_" + +--=====================_716740438==_ +Content-Type: text/plain; charset="iso-8859-1" +Content-Transfer-Encoding: quoted-printable + +Die Hasen und die Fr=F6sche + +Die Hasen klagten einst =FCber ihre mi=DFliche Lage; "wir leben", sprach ein= + Redner, "in steter Furcht vor Menschen und Tieren, eine Beute der Hunde,= + der Adler, ja fast aller Raubtiere! Unsere stete Angst ist =E4rger als der= + Tod selbst. Auf, la=DFt uns ein f=FCr allemal sterben."=20 + +In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu;= + allein das au=DFerordentliche Get=F6se und ihre wunderbare Gestalt= + erschreckte eine Menge Fr=F6sche, die am Ufer sa=DFen, so sehr, da=DF sie= + aufs schnellste untertauchten.=20 + +"Halt", rief nun eben dieser Sprecher, "wir wollen das Ers=E4ufen noch ein= + wenig aufschieben, denn auch uns f=FCrchten, wie ihr seht, einige Tiere,= + welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."=20 + + +--=====================_716740438==_ +Content-Type: text/plain; name="HasenundFrösche.txt"; + x-mac-type="54455854"; x-mac-creator="74747874" +Content-Transfer-Encoding: x-uuencode +Content-Disposition: attachment; filename="HasenundFrösche.txt" + + +begin 600 HasenundFrösche.txt +M1&EE($AA +To: "Jürgen Schmürgen" +Subject: Die Hasen und die Frösche (Microsoft Outlook 00) +Date: Wed, 17 May 2000 19:10:31 -0400 +Message-ID: +MIME-Version: 1.0 +Content-Type: text/plain; + charset="iso-8859-1" +Content-Transfer-Encoding: quoted-printable +X-Priority: 3 (Normal) +X-MSMail-Priority: Normal +X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) +Importance: Normal +X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 + +Die Hasen und die Fr=F6sche + +Die Hasen klagten einst =FCber ihre mi=DFliche Lage; "wir leben", sprach = +ein Redner, "in steter Furcht vor Menschen und Tieren, eine Beute der = +Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist = +=E4rger als der Tod selbst. Auf, la=DFt uns ein f=FCr allemal sterben."=20 + +In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu; = +allein das au=DFerordentliche Get=F6se und ihre wunderbare Gestalt = +erschreckte eine Menge Fr=F6sche, die am Ufer sa=DFen, so sehr, da=DF = +sie aufs schnellste untertauchten.=20 + +"Halt", rief nun eben dieser Sprecher, "wir wollen das Ers=E4ufen noch = +ein wenig aufschieben, denn auch uns f=FCrchten, wie ihr seht, einige = +Tiere, welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."=20 + + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 17, + "hour": 19, + "minute": 10, + "second": 31, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "doug@example.com" + } + }, + "message_id": "NDBBIAKOPKHFGPLCODIGMEKBCHAA.doug@example.com", + "mime_version": "1.0", + "subject": "Die Hasen und die Fr�sche (Microsoft Outlook 00)", + "to": { + "Address": { + "name": "J�rgen Schm�rgen", + "address": "schmuergen@example.com" + } + }, + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "iso-8859-1" + } + }, + "others": { + "X-Mailer": [ + "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" + ], + "X-Priority": [ + "3 (Normal)" + ], + "Importance": [ + "Normal" + ], + "X-MimeOLE": [ + "Produced By Microsoft MimeOLE V5.00.2314.1300" + ], + "X-MSMail-Priority": [ + "Normal" + ] + } + }, + "text_body": [ + { + "contents": "Die Hasen und die Frösche\n\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst. Auf, laßt uns ein für allemal sterben.\" \n\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; allein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste untertauchten. \n\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, welche also wohl noch unglücklicher sein müssen als wir.\" \n\n" + } + ] +} \ No newline at end of file diff --git a/tests/legacy/028.txt b/tests/legacy/028.txt new file mode 100644 index 0000000..f47e9ca --- /dev/null +++ b/tests/legacy/028.txt @@ -0,0 +1,3056 @@ +From: "Doug Sauder" +To: "Joe Blow" +Subject: Test message from Microsoft Outlook 00 +Date: Wed, 17 May 2000 19:44:45 -0400 +Message-ID: +MIME-Version: 1.0 +Content-Type: multipart/related; + boundary="----=_NextPart_000_000C_01BFC038.5A5C8E60" +X-Priority: 3 (Normal) +X-MSMail-Priority: Normal +X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) +Importance: Normal +X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 + +This is a multi-part message in MIME format. + +------=_NextPart_000_000C_01BFC038.5A5C8E60 +Content-Type: multipart/alternative; + boundary="----=_NextPart_001_000D_01BFC038.5A5C8E60" + + +------=_NextPart_001_000D_01BFC038.5A5C8E60 +Content-Type: text/plain; + charset="iso-8859-1" +Content-Transfer-Encoding: quoted-printable + + +The Hare and the Tortoise=20 +=20 +A HARE one day ridiculed the short feet and slow pace of the Tortoise, = +who replied, laughing: "Though you be swift as the wind, I will beat = +you in a race." The Hare, believing her assertion to be simply = +impossible, assented to the proposal; and they agreed that the Fox = +should choose the course and fix the goal. On the day appointed for the = +race the two started together. The Tortoise never for a moment stopped, = +but went on with a slow but steady pace straight to the end of the = +course. The Hare, lying down by the wayside, fell fast asleep. At last = +waking up, and moving as fast as he could, he saw the Tortoise had = +reached the goal, and was comfortably dozing after her fatigue. =20 + + +=20 +Slow but steady wins the race. =20 + + + + +------=_NextPart_001_000D_01BFC038.5A5C8E60 +Content-Type: text/html; + charset="iso-8859-1" +Content-Transfer-Encoding: quoted-printable + + + + + + +

The Hare and the Tortoise = +
 
A HARE=20 +one day ridiculed the short feet and slow pace of the Tortoise, who = +replied,=20 +laughing:  "Though you be swift as the wind, I will beat you in a=20 +race."  The Hare, believing her assertion to be simply impossible, = +assented=20 +to the proposal; and they agreed that the Fox should choose the course = +and fix=20 +the goal.  On the day appointed for the race the two started=20 +together.  The Tortoise never for a moment stopped, but went on = +with a slow=20 +but steady pace straight to the end of the course.  The Hare, lying = +down by=20 +the wayside, fell fast asleep.  At last waking up, and moving as = +fast as he=20 +could, he saw the Tortoise had reached the goal, and was comfortably = +dozing=20 +after her fatigue.  
+
 
+
3D"blue
 
Slow but = +steady wins=20 +the race. 
+
 
+
3D"red
+ +------=_NextPart_001_000D_01BFC038.5A5C8E60-- + +------=_NextPart_000_000C_01BFC038.5A5C8E60 +Content-Type: image/png; + name="blueball.png" +Content-Transfer-Encoding: base64 +Content-ID: <823504223@17052000-0f8d> + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAgAABAAABgAAAAA +CCkAEEIAEEoACDEAEFIIIXMIKXsIKYQIIWsAGFoACDkIIWMQOZwYQqUYQq0YQrUQOaUQMZQAGFIQ +MYwpUrU5Y8Y5Y84pWs4YSs4YQs4YQr1Ca8Z7nNacvd6Mtd5jlOcxa94hUt4YStYYQsYQMaUAACHO +5+/n7++cxu9ShO8pWucQOa1Ke86tzt6lzu9ajO8QMZxahNat1ufO7++Mve9Ke+8YOaUYSsaMvee1 +5++Uve8AAClajOdzpe9rnO8IKYwxY+8pWu8IIXsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAADBMg1VAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAu +MT1evmgAAAGISURBVHicddJtV5swGAbgEk6AJhBSk4bMCUynBSLaqovbrG/bfPn/vyh70lbssceb +L5xznTsh5BmNhgQoRChwo50EOIohUYLDj4zHhKYQkrEoQdvock4ne0IKMVUpKZLQDeqSTIsv+18P +yqqWUw2IBsRM7307PPp+fDJrWtnpLDJvewYxnewfnvanZ+fzpmwXijC8KbqEa3Fx2ff91Y95U9XC +UpaDeQwiMpHXP/v+1++bWVPWQoGFawtjury9vru/f/C1Vi7ezT0WWpQHf/7+u/G71aLThK/MjRxm +T6KdzZ9fGk9yatMsTgZLl3XVgFRAC6spj/13enssqJVtWVa3NdBSacL8+VZmYqKmdd1CSYoOiMOS +GwtzlqqlFFIuOqv0a1ZEZrUkWICLLFW266y1KvWE1zV/iDAH1EopnVLCiygZCIomH3NCKX0lnI+B +1iuuzCGTxwXjnDO4d7NpbX42YJJHkBwmAm2TxwAZg40J3+Xtbv1rgOAZwG0NxW62p+lT+Yi747sD +/wEUVMzYmWkOvwAAACV0RVh0Q29tbWVudABjbGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZz +O7wAAAAASUVORK5CYII= + +------=_NextPart_000_000C_01BFC038.5A5C8E60 +Content-Type: image/png; + name="redball.png" +Content-Transfer-Encoding: base64 +Content-ID: <823504223@17052000-0f94> + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAABAAALAAAVAAAa +AAAXAAARAAAKAAADAAAcAAAyAABEAABNAABIAAA9AAAjAAAWAAAmAABhAAB7AACGAACHAAB9AAB0 +AABgAAA5AAAUAAAGAAAnAABLAABvAACQAAClAAC7AAC/AACrAAChAACMAABzAABbAAAuAAAIAABM +AAB3AACZAAC0GRnKODjVPT3bKSndBQW4AACoAAB5AAAxAAAYAAAEAABFAACaAAC7JCTRYWHfhITm +f3/mVlbqHx/SAAC5AACjAABdAABCAAAoAAAJAABnAAC6Dw/QVFTek5PlrKzpmZntZWXvJSXXAADB +AACxAACcAABtAABTAAA2AAAbAAAFAABKAACBAADLICDdZ2fonJzrpqbtiorvUVHvFBTRAADDAAC2 +AAB4AABeAABAAAAiAABXAACSAADCAADaGxvoVVXseHjveHjvV1fvJibhAADOAAC3AACnAACVAABH +AAArAAAPAACdAADFAADhBQXrKCjvPDzvNTXvGxvjAADQAADJAAC1AACXAACEAABsAABPAAASAAAC +AABiAADpAADvAgLnAADYAADLAAC6AACwAABwAAATAAAkAABYAADIAADTAADNAACzAACDAABuAAAe +AAB+AADAAACkAACNAAB/AABpAABQAAAwAACRAACpAAC8AACqAACbAABlAABJAAAqAAAOAAA0AACs +AACvAACtAACmAACJAAB6AABrAABaAAA+AAApAABqAACCAACfAACeAACWAACPAAB8AAAZAAAHAABV +AACOAACKAAA4AAAQAAA/AAByAACAAABcAAA3AAAsAABmAABDAABWAAAgAAAzAAA8AAA6AAAfAAAM +AAAdAAANAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAD8LtlFAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAu +MT1evmgAAAIISURBVHicY2CAg/8QwIABmJhZWFnZ2Dk4MaU5uLh5eHn5+LkFBDlQJf8zC/EIi4iK +iUtI8koJScsgyf5nlpWTV1BUUlZRVVPX4NFk1UJIyghp6+jq6RsYGhmbKJgK85mZW8Dk/rNaSlhZ +29ja2Ts4Ojkr6Li4urFDNf53N/Ow8vTy9vH18w8IDAoWDQkNC4+ASP5ni4wKio6JjYtPSExKTnFW +SE1LF4A69n9GZlZ2Tm5efkFhUXFySWlZlEd5RSVY7j+TkGRVdU1tXX1DY1Ozcktpa1t7h2YnOAj+ +d7l1tyo79vT29SdNSJ44SbFVdHIo9xSIHNPUaWqTpifNSJrZnK00S0U1a/acUG5piNz/uXLzVJ2q +m6dXz584S2WB1cJFi5cshZr539xVftnyFKUVTi2TVjqvyhJLXb1m7TqoHPt6F/HW0g0bN63crGqV +tWXrtu07BJihcsw71+zanRW8Z89eq337RQ/Ip60xO3gIElX/LbikDm8T36KwbNmRo7O3zpHkPSZw +HBqL//8flz1x2OOkyKJTi7aqbzutfUZI2gIuF8F2lr/D5dw2+fZdwpl8YVOlI+CJ4/9/joOyYed5 +QzMvhGqnm2V0WiClm///D0lfXHtJ6vLlK9w7rx7vQk5SQJbFtSms1y9evXid7QZacgOxmSxktNzd +tSwwU+J/VICaCPFIYU3XAJhIOtjf5sfyAAAAJXRFWHRDb21tZW50AGNsaXAyZ2lmIHYuMC42IGJ5 +IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg== + +------=_NextPart_000_000C_01BFC038.5A5C8E60-- + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 17, + "hour": 19, + "minute": 44, + "second": 45, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "doug@example.com" + } + }, + "message_id": "NDBBIAKOPKHFGPLCODIGKEKFCHAA.doug@example.com", + "mime_version": "1.0", + "subject": "Test message from Microsoft Outlook 00", + "to": { + "Address": { + "name": "Joe Blow", + "address": "jblow@example.com" + } + }, + "content_type": { + "c_type": "multipart", + "c_subtype": "related", + "attributes": { + "boundary": "----=_NextPart_000_000C_01BFC038.5A5C8E60" + } + }, + "others": { + "Importance": [ + "Normal" + ], + "X-Mailer": [ + "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" + ], + "X-Priority": [ + "3 (Normal)" + ], + "X-MimeOLE": [ + "Produced By Microsoft MimeOLE V5.00.2314.1300" + ], + "X-MSMail-Priority": [ + "Normal" + ] + } + }, + "html_body": [ + { + "header": { + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "html", + "attributes": { + "charset": "iso-8859-1" + } + } + }, + "contents": "\n\n\n\n\n

The Hare and the Tortoise
 
A HARE \none day ridiculed the short feet and slow pace of the Tortoise, who replied, \nlaughing:  \"Though you be swift as the wind, I will beat you in a \nrace.\"  The Hare, believing her assertion to be simply impossible, assented \nto the proposal; and they agreed that the Fox should choose the course and fix \nthe goal.  On the day appointed for the race the two started \ntogether.  The Tortoise never for a moment stopped, but went on with a slow \nbut steady pace straight to the end of the course.  The Hare, lying down by \nthe wayside, fell fast asleep.  At last waking up, and moving as fast as he \ncould, he saw the Tortoise had reached the goal, and was comfortably dozing \nafter her fatigue.  
\n
 
\n
\"blue
 
Slow but steady wins \nthe race. 
\n
 
\n
\"red
\n" + } + ], + "text_body": [ + { + "header": { + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "iso-8859-1" + } + } + }, + "contents": "\nThe Hare and the Tortoise \n \nA HARE one day ridiculed the short feet and slow pace of the Tortoise, who replied, laughing: \"Though you be swift as the wind, I will beat you in a race.\" The Hare, believing her assertion to be simply impossible, assented to the proposal; and they agreed that the Fox should choose the course and fix the goal. On the day appointed for the race the two started together. The Tortoise never for a moment stopped, but went on with a slow but steady pace straight to the end of the course. The Hare, lying down by the wayside, fell fast asleep. At last waking up, and moving as fast as he could, he saw the Tortoise had reached the goal, and was comfortably dozing after her fatigue. \n\n\n \nSlow but steady wins the race. \n\n\n\n" + } + ], + "attachments": [ + { + "File": { + "header": { + "content_id": "823504223@17052000-0f8d", + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "blueball.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 8, + 0, + 0, + 16, + 0, + 0, + 24, + 0, + 0, + 0, + 0, + 8, + 41, + 0, + 16, + 66, + 0, + 16, + 74, + 0, + 8, + 49, + 0, + 16, + 82, + 8, + 33, + 115, + 8, + 41, + 123, + 8, + 41, + 132, + 8, + 33, + 107, + 0, + 24, + 90, + 0, + 8, + 57, + 8, + 33, + 99, + 16, + 57, + 156, + 24, + 66, + 165, + 24, + 66, + 173, + 24, + 66, + 181, + 16, + 57, + 165, + 16, + 49, + 148, + 0, + 24, + 82, + 16, + 49, + 140, + 41, + 82, + 181, + 57, + 99, + 198, + 57, + 99, + 206, + 41, + 90, + 206, + 24, + 74, + 206, + 24, + 66, + 206, + 24, + 66, + 189, + 66, + 107, + 198, + 123, + 156, + 214, + 156, + 189, + 222, + 140, + 181, + 222, + 99, + 148, + 231, + 49, + 107, + 222, + 33, + 82, + 222, + 24, + 74, + 214, + 24, + 66, + 198, + 16, + 49, + 165, + 0, + 0, + 33, + 206, + 231, + 239, + 231, + 239, + 239, + 156, + 198, + 239, + 82, + 132, + 239, + 41, + 90, + 231, + 16, + 57, + 173, + 74, + 123, + 206, + 173, + 206, + 222, + 165, + 206, + 239, + 90, + 140, + 239, + 16, + 49, + 156, + 90, + 132, + 214, + 173, + 214, + 231, + 206, + 239, + 239, + 140, + 189, + 239, + 74, + 123, + 239, + 24, + 57, + 165, + 24, + 74, + 198, + 140, + 189, + 231, + 181, + 231, + 239, + 148, + 189, + 239, + 0, + 0, + 41, + 90, + 140, + 231, + 115, + 165, + 239, + 107, + 156, + 239, + 8, + 41, + 140, + 49, + 99, + 239, + 41, + 90, + 239, + 8, + 33, + 123, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 193, + 50, + 13, + 85, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 1, + 136, + 73, + 68, + 65, + 84, + 120, + 156, + 117, + 210, + 109, + 87, + 155, + 48, + 24, + 6, + 224, + 18, + 78, + 128, + 38, + 16, + 82, + 147, + 134, + 204, + 9, + 76, + 167, + 5, + 34, + 218, + 170, + 139, + 219, + 172, + 111, + 219, + 124, + 249, + 255, + 191, + 40, + 123, + 210, + 86, + 236, + 177, + 199, + 155, + 47, + 156, + 115, + 157, + 59, + 33, + 228, + 25, + 141, + 134, + 4, + 40, + 68, + 40, + 112, + 163, + 157, + 4, + 56, + 138, + 33, + 81, + 130, + 195, + 143, + 140, + 199, + 132, + 166, + 16, + 146, + 177, + 40, + 65, + 219, + 232, + 114, + 78, + 39, + 123, + 66, + 10, + 49, + 85, + 41, + 41, + 146, + 208, + 13, + 234, + 146, + 76, + 139, + 47, + 251, + 95, + 15, + 202, + 170, + 150, + 83, + 13, + 136, + 6, + 196, + 76, + 239, + 125, + 59, + 60, + 250, + 126, + 124, + 50, + 107, + 90, + 217, + 233, + 44, + 50, + 111, + 123, + 6, + 49, + 157, + 236, + 31, + 158, + 246, + 167, + 103, + 231, + 243, + 166, + 108, + 23, + 138, + 48, + 188, + 41, + 186, + 132, + 107, + 113, + 113, + 217, + 247, + 253, + 213, + 143, + 121, + 83, + 213, + 194, + 82, + 150, + 131, + 121, + 12, + 34, + 50, + 145, + 215, + 63, + 251, + 254, + 215, + 239, + 155, + 89, + 83, + 214, + 66, + 129, + 133, + 107, + 11, + 99, + 186, + 188, + 189, + 190, + 187, + 191, + 127, + 240, + 181, + 86, + 46, + 222, + 205, + 61, + 22, + 90, + 148, + 7, + 127, + 254, + 254, + 187, + 241, + 187, + 213, + 162, + 211, + 132, + 175, + 204, + 141, + 28, + 102, + 79, + 162, + 157, + 205, + 159, + 95, + 26, + 79, + 114, + 106, + 211, + 44, + 78, + 6, + 75, + 151, + 117, + 213, + 128, + 84, + 64, + 11, + 171, + 41, + 143, + 253, + 119, + 122, + 123, + 44, + 168, + 149, + 109, + 89, + 86, + 183, + 53, + 208, + 82, + 105, + 194, + 252, + 249, + 86, + 102, + 98, + 162, + 166, + 117, + 221, + 66, + 73, + 138, + 14, + 136, + 195, + 146, + 27, + 11, + 115, + 150, + 170, + 165, + 20, + 82, + 46, + 58, + 171, + 244, + 107, + 86, + 68, + 102, + 181, + 36, + 88, + 128, + 139, + 44, + 85, + 182, + 235, + 172, + 181, + 42, + 245, + 132, + 215, + 53, + 127, + 136, + 48, + 7, + 212, + 74, + 41, + 157, + 82, + 194, + 139, + 40, + 25, + 8, + 138, + 38, + 31, + 115, + 66, + 41, + 125, + 37, + 156, + 143, + 129, + 214, + 43, + 174, + 204, + 33, + 147, + 199, + 5, + 227, + 156, + 51, + 184, + 119, + 179, + 105, + 109, + 126, + 54, + 96, + 146, + 71, + 144, + 28, + 38, + 2, + 109, + 147, + 199, + 0, + 25, + 131, + 141, + 9, + 223, + 229, + 237, + 110, + 253, + 107, + 128, + 224, + 25, + 192, + 109, + 13, + 197, + 110, + 182, + 167, + 233, + 83, + 249, + 136, + 187, + 227, + 187, + 3, + 255, + 1, + 20, + 84, + 204, + 216, + 153, + 105, + 14, + 191, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + }, + { + "File": { + "header": { + "content_id": "823504223@17052000-0f94", + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "redball.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 0, + 1, + 0, + 0, + 11, + 0, + 0, + 21, + 0, + 0, + 26, + 0, + 0, + 23, + 0, + 0, + 17, + 0, + 0, + 10, + 0, + 0, + 3, + 0, + 0, + 28, + 0, + 0, + 50, + 0, + 0, + 68, + 0, + 0, + 77, + 0, + 0, + 72, + 0, + 0, + 61, + 0, + 0, + 35, + 0, + 0, + 22, + 0, + 0, + 38, + 0, + 0, + 97, + 0, + 0, + 123, + 0, + 0, + 134, + 0, + 0, + 135, + 0, + 0, + 125, + 0, + 0, + 116, + 0, + 0, + 96, + 0, + 0, + 57, + 0, + 0, + 20, + 0, + 0, + 6, + 0, + 0, + 39, + 0, + 0, + 75, + 0, + 0, + 111, + 0, + 0, + 144, + 0, + 0, + 165, + 0, + 0, + 187, + 0, + 0, + 191, + 0, + 0, + 171, + 0, + 0, + 161, + 0, + 0, + 140, + 0, + 0, + 115, + 0, + 0, + 91, + 0, + 0, + 46, + 0, + 0, + 8, + 0, + 0, + 76, + 0, + 0, + 119, + 0, + 0, + 153, + 0, + 0, + 180, + 25, + 25, + 202, + 56, + 56, + 213, + 61, + 61, + 219, + 41, + 41, + 221, + 5, + 5, + 184, + 0, + 0, + 168, + 0, + 0, + 121, + 0, + 0, + 49, + 0, + 0, + 24, + 0, + 0, + 4, + 0, + 0, + 69, + 0, + 0, + 154, + 0, + 0, + 187, + 36, + 36, + 209, + 97, + 97, + 223, + 132, + 132, + 230, + 127, + 127, + 230, + 86, + 86, + 234, + 31, + 31, + 210, + 0, + 0, + 185, + 0, + 0, + 163, + 0, + 0, + 93, + 0, + 0, + 66, + 0, + 0, + 40, + 0, + 0, + 9, + 0, + 0, + 103, + 0, + 0, + 186, + 15, + 15, + 208, + 84, + 84, + 222, + 147, + 147, + 229, + 172, + 172, + 233, + 153, + 153, + 237, + 101, + 101, + 239, + 37, + 37, + 215, + 0, + 0, + 193, + 0, + 0, + 177, + 0, + 0, + 156, + 0, + 0, + 109, + 0, + 0, + 83, + 0, + 0, + 54, + 0, + 0, + 27, + 0, + 0, + 5, + 0, + 0, + 74, + 0, + 0, + 129, + 0, + 0, + 203, + 32, + 32, + 221, + 103, + 103, + 232, + 156, + 156, + 235, + 166, + 166, + 237, + 138, + 138, + 239, + 81, + 81, + 239, + 20, + 20, + 209, + 0, + 0, + 195, + 0, + 0, + 182, + 0, + 0, + 120, + 0, + 0, + 94, + 0, + 0, + 64, + 0, + 0, + 34, + 0, + 0, + 87, + 0, + 0, + 146, + 0, + 0, + 194, + 0, + 0, + 218, + 27, + 27, + 232, + 85, + 85, + 236, + 120, + 120, + 239, + 120, + 120, + 239, + 87, + 87, + 239, + 38, + 38, + 225, + 0, + 0, + 206, + 0, + 0, + 183, + 0, + 0, + 167, + 0, + 0, + 149, + 0, + 0, + 71, + 0, + 0, + 43, + 0, + 0, + 15, + 0, + 0, + 157, + 0, + 0, + 197, + 0, + 0, + 225, + 5, + 5, + 235, + 40, + 40, + 239, + 60, + 60, + 239, + 53, + 53, + 239, + 27, + 27, + 227, + 0, + 0, + 208, + 0, + 0, + 201, + 0, + 0, + 181, + 0, + 0, + 151, + 0, + 0, + 132, + 0, + 0, + 108, + 0, + 0, + 79, + 0, + 0, + 18, + 0, + 0, + 2, + 0, + 0, + 98, + 0, + 0, + 233, + 0, + 0, + 239, + 2, + 2, + 231, + 0, + 0, + 216, + 0, + 0, + 203, + 0, + 0, + 186, + 0, + 0, + 176, + 0, + 0, + 112, + 0, + 0, + 19, + 0, + 0, + 36, + 0, + 0, + 88, + 0, + 0, + 200, + 0, + 0, + 211, + 0, + 0, + 205, + 0, + 0, + 179, + 0, + 0, + 131, + 0, + 0, + 110, + 0, + 0, + 30, + 0, + 0, + 126, + 0, + 0, + 192, + 0, + 0, + 164, + 0, + 0, + 141, + 0, + 0, + 127, + 0, + 0, + 105, + 0, + 0, + 80, + 0, + 0, + 48, + 0, + 0, + 145, + 0, + 0, + 169, + 0, + 0, + 188, + 0, + 0, + 170, + 0, + 0, + 155, + 0, + 0, + 101, + 0, + 0, + 73, + 0, + 0, + 42, + 0, + 0, + 14, + 0, + 0, + 52, + 0, + 0, + 172, + 0, + 0, + 175, + 0, + 0, + 173, + 0, + 0, + 166, + 0, + 0, + 137, + 0, + 0, + 122, + 0, + 0, + 107, + 0, + 0, + 90, + 0, + 0, + 62, + 0, + 0, + 41, + 0, + 0, + 106, + 0, + 0, + 130, + 0, + 0, + 159, + 0, + 0, + 158, + 0, + 0, + 150, + 0, + 0, + 143, + 0, + 0, + 124, + 0, + 0, + 25, + 0, + 0, + 7, + 0, + 0, + 85, + 0, + 0, + 142, + 0, + 0, + 138, + 0, + 0, + 56, + 0, + 0, + 16, + 0, + 0, + 63, + 0, + 0, + 114, + 0, + 0, + 128, + 0, + 0, + 92, + 0, + 0, + 55, + 0, + 0, + 44, + 0, + 0, + 102, + 0, + 0, + 67, + 0, + 0, + 86, + 0, + 0, + 32, + 0, + 0, + 51, + 0, + 0, + 60, + 0, + 0, + 58, + 0, + 0, + 31, + 0, + 0, + 12, + 0, + 0, + 29, + 0, + 0, + 13, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 252, + 46, + 217, + 69, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 2, + 8, + 73, + 68, + 65, + 84, + 120, + 156, + 99, + 96, + 128, + 131, + 255, + 16, + 192, + 128, + 1, + 152, + 152, + 89, + 88, + 89, + 217, + 216, + 57, + 56, + 49, + 165, + 57, + 184, + 184, + 121, + 120, + 121, + 249, + 248, + 185, + 5, + 4, + 57, + 80, + 37, + 255, + 51, + 11, + 241, + 8, + 139, + 136, + 138, + 137, + 75, + 72, + 242, + 74, + 9, + 73, + 203, + 32, + 201, + 254, + 103, + 150, + 149, + 147, + 87, + 80, + 84, + 82, + 86, + 81, + 85, + 83, + 215, + 224, + 209, + 100, + 213, + 66, + 72, + 202, + 8, + 105, + 235, + 232, + 234, + 233, + 27, + 24, + 26, + 25, + 155, + 40, + 152, + 10, + 243, + 153, + 153, + 91, + 192, + 228, + 254, + 179, + 90, + 74, + 88, + 89, + 219, + 216, + 218, + 217, + 59, + 56, + 58, + 57, + 43, + 232, + 184, + 184, + 186, + 177, + 67, + 53, + 254, + 119, + 55, + 243, + 176, + 242, + 244, + 242, + 246, + 241, + 245, + 243, + 15, + 8, + 12, + 10, + 22, + 13, + 9, + 13, + 11, + 143, + 128, + 72, + 254, + 103, + 139, + 140, + 10, + 138, + 142, + 137, + 141, + 139, + 79, + 72, + 76, + 74, + 78, + 113, + 86, + 72, + 77, + 75, + 23, + 128, + 58, + 246, + 127, + 70, + 102, + 86, + 118, + 78, + 110, + 94, + 126, + 65, + 97, + 81, + 113, + 114, + 73, + 105, + 89, + 148, + 71, + 121, + 69, + 37, + 88, + 238, + 63, + 147, + 144, + 100, + 85, + 117, + 77, + 109, + 93, + 125, + 67, + 99, + 83, + 179, + 114, + 75, + 105, + 107, + 91, + 123, + 135, + 102, + 39, + 56, + 8, + 254, + 119, + 185, + 117, + 183, + 42, + 59, + 246, + 244, + 246, + 245, + 39, + 77, + 72, + 158, + 56, + 73, + 177, + 85, + 116, + 114, + 40, + 247, + 20, + 136, + 28, + 211, + 212, + 105, + 106, + 147, + 166, + 39, + 205, + 72, + 154, + 217, + 156, + 173, + 52, + 75, + 69, + 53, + 107, + 246, + 156, + 80, + 110, + 105, + 136, + 220, + 255, + 185, + 114, + 243, + 84, + 157, + 170, + 155, + 167, + 87, + 207, + 159, + 56, + 75, + 101, + 129, + 213, + 194, + 69, + 139, + 151, + 44, + 133, + 154, + 249, + 223, + 220, + 85, + 126, + 217, + 242, + 20, + 165, + 21, + 78, + 45, + 147, + 86, + 58, + 175, + 202, + 18, + 75, + 93, + 189, + 102, + 237, + 58, + 168, + 28, + 251, + 122, + 23, + 241, + 214, + 210, + 13, + 27, + 55, + 173, + 220, + 172, + 106, + 149, + 181, + 101, + 235, + 182, + 237, + 59, + 4, + 152, + 161, + 114, + 204, + 59, + 215, + 236, + 218, + 157, + 21, + 188, + 103, + 207, + 94, + 171, + 125, + 251, + 69, + 15, + 200, + 167, + 173, + 49, + 59, + 120, + 8, + 18, + 85, + 255, + 45, + 184, + 164, + 14, + 111, + 19, + 223, + 162, + 176, + 108, + 217, + 145, + 163, + 179, + 183, + 206, + 145, + 228, + 61, + 38, + 112, + 28, + 26, + 139, + 255, + 255, + 31, + 151, + 61, + 113, + 216, + 227, + 164, + 200, + 162, + 83, + 139, + 182, + 170, + 111, + 59, + 173, + 125, + 70, + 72, + 218, + 2, + 46, + 23, + 193, + 118, + 150, + 191, + 195, + 229, + 220, + 54, + 249, + 246, + 93, + 194, + 153, + 124, + 97, + 83, + 165, + 35, + 224, + 137, + 227, + 255, + 127, + 142, + 131, + 178, + 97, + 231, + 121, + 67, + 51, + 47, + 132, + 106, + 167, + 155, + 101, + 116, + 90, + 32, + 165, + 155, + 255, + 255, + 15, + 73, + 95, + 92, + 123, + 73, + 234, + 242, + 229, + 43, + 220, + 59, + 175, + 30, + 239, + 66, + 78, + 82, + 64, + 150, + 197, + 181, + 41, + 172, + 215, + 47, + 94, + 189, + 120, + 157, + 237, + 6, + 90, + 114, + 3, + 177, + 153, + 44, + 100, + 180, + 220, + 221, + 181, + 44, + 48, + 83, + 226, + 127, + 84, + 128, + 154, + 8, + 241, + 72, + 97, + 77, + 215, + 0, + 152, + 72, + 58, + 216, + 223, + 230, + 199, + 242, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + } + ] +} \ No newline at end of file diff --git a/tests/legacy/029.txt b/tests/legacy/029.txt new file mode 100644 index 0000000..20dcb94 --- /dev/null +++ b/tests/legacy/029.txt @@ -0,0 +1,83 @@ +Message-ID: <392362D8.B650789F@example.com> +Date: Wed, 17 May 2000 23:26:16 -0400 +From: Doug Sauder +X-Mailer: Mozilla 4.7 [en] (WinNT; I) +X-Accept-Language: en +MIME-Version: 1.0 +To: Joe Blow +Subject: Test message from Netscape Communicator 4.7 +X-Priority: 1 (Highest) +Content-Type: text/plain; charset=us-ascii +Content-Transfer-Encoding: 7bit + + +The Hare and the Tortoise + +A HARE one day ridiculed the short feet and slow pace of the Tortoise, +who replied, laughing: "Though you be swift as the wind, I will beat +you in a race." The Hare, believing her assertion to be simply +impossible, assented to the proposal; and they agreed that the Fox +should choose the course and fix the goal. On the day appointed for the +race the two started together. The Tortoise never for a moment stopped, +but went on with a slow but steady pace straight to the end of the +course. The Hare, lying down by the wayside, fell fast asleep. At last +waking up, and moving as fast as he could, he saw the Tortoise had +reached the goal, and was comfortably dozing after her fatigue. + +Slow but steady wins the race. + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 17, + "hour": 23, + "minute": 26, + "second": 16, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "dwsauder@example.com" + } + }, + "message_id": "392362D8.B650789F@example.com", + "mime_version": "1.0", + "subject": "Test message from Netscape Communicator 4.7", + "to": { + "Address": { + "name": "Joe Blow", + "address": "blow@example.com" + } + }, + "content_transfer_encoding": "7bit", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "us-ascii" + } + }, + "others": { + "X-Priority": [ + "1 (Highest)" + ], + "X-Accept-Language": [ + "en" + ], + "X-Mailer": [ + "Mozilla 4.7 [en] (WinNT; I)" + ] + } + }, + "text_body": [ + { + "contents": "\r\nThe Hare and the Tortoise \r\n \r\nA HARE one day ridiculed the short feet and slow pace of the Tortoise,\r\nwho replied, laughing: \"Though you be swift as the wind, I will beat\r\nyou in a race.\" The Hare, believing her assertion to be simply\r\nimpossible, assented to the proposal; and they agreed that the Fox\r\nshould choose the course and fix the goal. On the day appointed for the\r\nrace the two started together. The Tortoise never for a moment stopped,\r\nbut went on with a slow but steady pace straight to the end of the\r\ncourse. The Hare, lying down by the wayside, fell fast asleep. At last\r\nwaking up, and moving as fast as he could, he saw the Tortoise had\r\nreached the goal, and was comfortably dozing after her fatigue. \r\n \r\nSlow but steady wins the race.\r\n" + } + ] +} \ No newline at end of file diff --git a/tests/legacy/030.txt b/tests/legacy/030.txt new file mode 100644 index 0000000..4cd8405 --- /dev/null +++ b/tests/legacy/030.txt @@ -0,0 +1,2864 @@ +Message-ID: <3923635B.85C58444@example.com> +Date: Wed, 17 May 2000 23:28:27 -0400 +From: Doug Sauder +X-Mailer: Mozilla 4.7 [en] (WinNT; I) +X-Accept-Language: en +MIME-Version: 1.0 +To: Joe Blow +Subject: Test message from Netscape Communicator 4.7 +Content-Type: multipart/mixed; + boundary="------------0BBC657DDC74A0B8454627FD" + +This is a multi-part message in MIME format. +--------------0BBC657DDC74A0B8454627FD +Content-Type: text/plain; charset=us-ascii +Content-Transfer-Encoding: 7bit + + +The Hare and the Tortoise + +A HARE one day ridiculed the short feet and slow pace of the Tortoise, +who replied, laughing: "Though you be swift as the wind, I will beat +you in a race." The Hare, believing her assertion to be simply +impossible, assented to the proposal; and they agreed that the Fox +should choose the course and fix the goal. On the day appointed for the +race the two started together. The Tortoise never for a moment stopped, +but went on with a slow but steady pace straight to the end of the +course. The Hare, lying down by the wayside, fell fast asleep. At last +waking up, and moving as fast as he could, he saw the Tortoise had +reached the goal, and was comfortably dozing after her fatigue. + +Slow but steady wins the race. +--------------0BBC657DDC74A0B8454627FD +Content-Type: image/png; + name="blueball.png" +Content-Transfer-Encoding: base64 +Content-Disposition: inline; + filename="blueball.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAgAABAAABgA +AAAACCkAEEIAEEoACDEAEFIIIXMIKXsIKYQIIWsAGFoACDkIIWMQOZwYQqUYQq0YQrUQOaUQ +MZQAGFIQMYwpUrU5Y8Y5Y84pWs4YSs4YQs4YQr1Ca8Z7nNacvd6Mtd5jlOcxa94hUt4YStYY +QsYQMaUAACHO5+/n7++cxu9ShO8pWucQOa1Ke86tzt6lzu9ajO8QMZxahNat1ufO7++Mve9K +e+8YOaUYSsaMvee15++Uve8AAClajOdzpe9rnO8IKYwxY+8pWu8IIXsAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADB +Mg1VAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAuMT1evmgAAAGI +SURBVHicddJtV5swGAbgEk6AJhBSk4bMCUynBSLaqovbrG/bfPn/vyh70lbsscebL5xznTsh +5BmNhgQoRChwo50EOIohUYLDj4zHhKYQkrEoQdvock4ne0IKMVUpKZLQDeqSTIsv+18PyqqW +Uw2IBsRM7307PPp+fDJrWtnpLDJvewYxnewfnvanZ+fzpmwXijC8KbqEa3Fx2ff91Y95U9XC +UpaDeQwiMpHXP/v+1++bWVPWQoGFawtjury9vru/f/C1Vi7ezT0WWpQHf/7+u/G71aLThK/M +jRxmT6KdzZ9fGk9yatMsTgZLl3XVgFRAC6spj/13enssqJVtWVa3NdBSacL8+VZmYqKmdd1C +SYoOiMOSGwtzlqqlFFIuOqv0a1ZEZrUkWICLLFW266y1KvWE1zV/iDAH1EopnVLCiygZCIom +H3NCKX0lnI+B1iuuzCGTxwXjnDO4d7NpbX42YJJHkBwmAm2TxwAZg40J3+Xtbv1rgOAZwG0N +xW62p+lT+Yi747sD/wEUVMzYmWkOvwAAACV0RVh0Q29tbWVudABjbGlwMmdpZiB2LjAuNiBi +eSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII= +--------------0BBC657DDC74A0B8454627FD +Content-Type: image/png; + name="greenball.png" +Content-Transfer-Encoding: base64 +Content-Disposition: inline; + filename="greenball.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAAAEAAAGAAA +IQAACAAAMQAAQgAAUgAAWgAASgAIYwAIcwAIewAQjAAIawAAOQAAYwAQlAAQnAAhpQAQpQAh +rQBCvRhjxjFjxjlSxiEpzgAYvQAQrQAYrQAhvQCU1mOt1nuE1lJK3hgh1gAYxgAYtQAAKQBC +zhDO55Te563G55SU52NS5yEh3gAYzgBS3iGc52vW75y974yE71JC7xCt73ul3nNa7ykh5wAY +1gAx5wBS7yFr7zlK7xgp5wAp7wAx7wAIhAAQtQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAp +1fnZAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAuMT1evmgAAAFt +SURBVHicddJtV8IgFAdwD2zIgMEE1+NcqdsoK+m5tCyz7/+ZiLmHsyzvq53zO/cy+N9ery1b +Ve9PWQA9z4MQ+H8Yoj7GASZ95IHfaBGmLOSchyIgyOu22mgQSjUcDuNYcoGjLiLK1cHh0fHJ +aTKKOcMItgYxT89OzsfjyTTLC8UF0c2ZNmKquJhczq6ub+YmSVUYRF59GeDastu7+9nD41Nm +kiJ2jc2J3kAWZ9Pr55fH18XSmRuKUTXUaqHy7O19tfr4NFle/w3YDrWRUIlZrL/W86XJkyJV +G9EaEjIx2XyZmZJGioeUaL+2AY8TY8omR6nkLKhu70zjUKVJXsp3quS2DVSJWNh3zzJKCyex +I0ZxBP3afE0ElyqOlZJyw8r3BE2SFiJCyxA434SCkg65RhdeQBljQtCg39LWrA90RDDG1EWr +YUO23hMANUKRRl61E529cR++D2G5LK002dr/qrcfu9u0V3bxn/XdhR/NYeeN0ggsLAAAACV0 +RVh0Q29tbWVudABjbGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5C +YII= +--------------0BBC657DDC74A0B8454627FD +Content-Type: text/plain; charset=us-ascii; + name="hareandtoroise.txt" +Content-Transfer-Encoding: 7bit +Content-Disposition: inline; + filename="hareandtoroise.txt" + + +The Hare and the Tortoise + +A HARE one day ridiculed the short feet and slow pace of the Tortoise, who replied, laughing: "Though you be swift as the wind, I will beat you in a race." The Hare, believing her assertion to be simply impossible, assented to the proposal; and they agreed that the Fox should choose the course and fix the goal. On the day appointed for the race the two started together. The Tortoise never for a moment stopped, but went on with a slow but steady pace straight to the end of the course. The Hare, lying down by the wayside, fell fast asleep. At last waking up, and moving as fast as he could, he saw the Tortoise had reached the goal, and was comfortably dozing after her fatigue. + +Slow but steady wins the race. + +--------------0BBC657DDC74A0B8454627FD-- + + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 17, + "hour": 23, + "minute": 28, + "second": 27, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "dwsauder@example.com" + } + }, + "message_id": "3923635B.85C58444@example.com", + "mime_version": "1.0", + "subject": "Test message from Netscape Communicator 4.7", + "to": { + "Address": { + "name": "Joe Blow", + "address": "blow@example.com" + } + }, + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "------------0BBC657DDC74A0B8454627FD" + } + }, + "others": { + "X-Accept-Language": [ + "en" + ], + "X-Mailer": [ + "Mozilla 4.7 [en] (WinNT; I)" + ] + } + }, + "text_body": [ + { + "header": { + "content_transfer_encoding": "7bit", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "us-ascii" + } + } + }, + "contents": "\r\nThe Hare and the Tortoise \r\n \r\nA HARE one day ridiculed the short feet and slow pace of the Tortoise,\r\nwho replied, laughing: \"Though you be swift as the wind, I will beat\r\nyou in a race.\" The Hare, believing her assertion to be simply\r\nimpossible, assented to the proposal; and they agreed that the Fox\r\nshould choose the course and fix the goal. On the day appointed for the\r\nrace the two started together. The Tortoise never for a moment stopped,\r\nbut went on with a slow but steady pace straight to the end of the\r\ncourse. The Hare, lying down by the wayside, fell fast asleep. At last\r\nwaking up, and moving as fast as he could, he saw the Tortoise had\r\nreached the goal, and was comfortably dozing after her fatigue. \r\n \r\nSlow but steady wins the race.\r" + } + ], + "attachments": [ + { + "File": { + "header": { + "content_disposition": { + "c_type": "inline", + "attributes": { + "filename": "blueball.png" + } + }, + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "blueball.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 8, + 0, + 0, + 16, + 0, + 0, + 24, + 0, + 0, + 0, + 0, + 8, + 41, + 0, + 16, + 66, + 0, + 16, + 74, + 0, + 8, + 49, + 0, + 16, + 82, + 8, + 33, + 115, + 8, + 41, + 123, + 8, + 41, + 132, + 8, + 33, + 107, + 0, + 24, + 90, + 0, + 8, + 57, + 8, + 33, + 99, + 16, + 57, + 156, + 24, + 66, + 165, + 24, + 66, + 173, + 24, + 66, + 181, + 16, + 57, + 165, + 16, + 49, + 148, + 0, + 24, + 82, + 16, + 49, + 140, + 41, + 82, + 181, + 57, + 99, + 198, + 57, + 99, + 206, + 41, + 90, + 206, + 24, + 74, + 206, + 24, + 66, + 206, + 24, + 66, + 189, + 66, + 107, + 198, + 123, + 156, + 214, + 156, + 189, + 222, + 140, + 181, + 222, + 99, + 148, + 231, + 49, + 107, + 222, + 33, + 82, + 222, + 24, + 74, + 214, + 24, + 66, + 198, + 16, + 49, + 165, + 0, + 0, + 33, + 206, + 231, + 239, + 231, + 239, + 239, + 156, + 198, + 239, + 82, + 132, + 239, + 41, + 90, + 231, + 16, + 57, + 173, + 74, + 123, + 206, + 173, + 206, + 222, + 165, + 206, + 239, + 90, + 140, + 239, + 16, + 49, + 156, + 90, + 132, + 214, + 173, + 214, + 231, + 206, + 239, + 239, + 140, + 189, + 239, + 74, + 123, + 239, + 24, + 57, + 165, + 24, + 74, + 198, + 140, + 189, + 231, + 181, + 231, + 239, + 148, + 189, + 239, + 0, + 0, + 41, + 90, + 140, + 231, + 115, + 165, + 239, + 107, + 156, + 239, + 8, + 41, + 140, + 49, + 99, + 239, + 41, + 90, + 239, + 8, + 33, + 123, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 193, + 50, + 13, + 85, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 1, + 136, + 73, + 68, + 65, + 84, + 120, + 156, + 117, + 210, + 109, + 87, + 155, + 48, + 24, + 6, + 224, + 18, + 78, + 128, + 38, + 16, + 82, + 147, + 134, + 204, + 9, + 76, + 167, + 5, + 34, + 218, + 170, + 139, + 219, + 172, + 111, + 219, + 124, + 249, + 255, + 191, + 40, + 123, + 210, + 86, + 236, + 177, + 199, + 155, + 47, + 156, + 115, + 157, + 59, + 33, + 228, + 25, + 141, + 134, + 4, + 40, + 68, + 40, + 112, + 163, + 157, + 4, + 56, + 138, + 33, + 81, + 130, + 195, + 143, + 140, + 199, + 132, + 166, + 16, + 146, + 177, + 40, + 65, + 219, + 232, + 114, + 78, + 39, + 123, + 66, + 10, + 49, + 85, + 41, + 41, + 146, + 208, + 13, + 234, + 146, + 76, + 139, + 47, + 251, + 95, + 15, + 202, + 170, + 150, + 83, + 13, + 136, + 6, + 196, + 76, + 239, + 125, + 59, + 60, + 250, + 126, + 124, + 50, + 107, + 90, + 217, + 233, + 44, + 50, + 111, + 123, + 6, + 49, + 157, + 236, + 31, + 158, + 246, + 167, + 103, + 231, + 243, + 166, + 108, + 23, + 138, + 48, + 188, + 41, + 186, + 132, + 107, + 113, + 113, + 217, + 247, + 253, + 213, + 143, + 121, + 83, + 213, + 194, + 82, + 150, + 131, + 121, + 12, + 34, + 50, + 145, + 215, + 63, + 251, + 254, + 215, + 239, + 155, + 89, + 83, + 214, + 66, + 129, + 133, + 107, + 11, + 99, + 186, + 188, + 189, + 190, + 187, + 191, + 127, + 240, + 181, + 86, + 46, + 222, + 205, + 61, + 22, + 90, + 148, + 7, + 127, + 254, + 254, + 187, + 241, + 187, + 213, + 162, + 211, + 132, + 175, + 204, + 141, + 28, + 102, + 79, + 162, + 157, + 205, + 159, + 95, + 26, + 79, + 114, + 106, + 211, + 44, + 78, + 6, + 75, + 151, + 117, + 213, + 128, + 84, + 64, + 11, + 171, + 41, + 143, + 253, + 119, + 122, + 123, + 44, + 168, + 149, + 109, + 89, + 86, + 183, + 53, + 208, + 82, + 105, + 194, + 252, + 249, + 86, + 102, + 98, + 162, + 166, + 117, + 221, + 66, + 73, + 138, + 14, + 136, + 195, + 146, + 27, + 11, + 115, + 150, + 170, + 165, + 20, + 82, + 46, + 58, + 171, + 244, + 107, + 86, + 68, + 102, + 181, + 36, + 88, + 128, + 139, + 44, + 85, + 182, + 235, + 172, + 181, + 42, + 245, + 132, + 215, + 53, + 127, + 136, + 48, + 7, + 212, + 74, + 41, + 157, + 82, + 194, + 139, + 40, + 25, + 8, + 138, + 38, + 31, + 115, + 66, + 41, + 125, + 37, + 156, + 143, + 129, + 214, + 43, + 174, + 204, + 33, + 147, + 199, + 5, + 227, + 156, + 51, + 184, + 119, + 179, + 105, + 109, + 126, + 54, + 96, + 146, + 71, + 144, + 28, + 38, + 2, + 109, + 147, + 199, + 0, + 25, + 131, + 141, + 9, + 223, + 229, + 237, + 110, + 253, + 107, + 128, + 224, + 25, + 192, + 109, + 13, + 197, + 110, + 182, + 167, + 233, + 83, + 249, + 136, + 187, + 227, + 187, + 3, + 255, + 1, + 20, + 84, + 204, + 216, + 153, + 105, + 14, + 191, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + }, + { + "File": { + "header": { + "content_disposition": { + "c_type": "inline", + "attributes": { + "filename": "greenball.png" + } + }, + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "greenball.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 0, + 0, + 16, + 0, + 0, + 24, + 0, + 0, + 33, + 0, + 0, + 8, + 0, + 0, + 49, + 0, + 0, + 66, + 0, + 0, + 82, + 0, + 0, + 90, + 0, + 0, + 74, + 0, + 8, + 99, + 0, + 8, + 115, + 0, + 8, + 123, + 0, + 16, + 140, + 0, + 8, + 107, + 0, + 0, + 57, + 0, + 0, + 99, + 0, + 16, + 148, + 0, + 16, + 156, + 0, + 33, + 165, + 0, + 16, + 165, + 0, + 33, + 173, + 0, + 66, + 189, + 24, + 99, + 198, + 49, + 99, + 198, + 57, + 82, + 198, + 33, + 41, + 206, + 0, + 24, + 189, + 0, + 16, + 173, + 0, + 24, + 173, + 0, + 33, + 189, + 0, + 148, + 214, + 99, + 173, + 214, + 123, + 132, + 214, + 82, + 74, + 222, + 24, + 33, + 214, + 0, + 24, + 198, + 0, + 24, + 181, + 0, + 0, + 41, + 0, + 66, + 206, + 16, + 206, + 231, + 148, + 222, + 231, + 173, + 198, + 231, + 148, + 148, + 231, + 99, + 82, + 231, + 33, + 33, + 222, + 0, + 24, + 206, + 0, + 82, + 222, + 33, + 156, + 231, + 107, + 214, + 239, + 156, + 189, + 239, + 140, + 132, + 239, + 82, + 66, + 239, + 16, + 173, + 239, + 123, + 165, + 222, + 115, + 90, + 239, + 41, + 33, + 231, + 0, + 24, + 214, + 0, + 49, + 231, + 0, + 82, + 239, + 33, + 107, + 239, + 57, + 74, + 239, + 24, + 41, + 231, + 0, + 41, + 239, + 0, + 49, + 239, + 0, + 8, + 132, + 0, + 16, + 181, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 41, + 213, + 249, + 217, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 1, + 109, + 73, + 68, + 65, + 84, + 120, + 156, + 117, + 210, + 109, + 87, + 194, + 32, + 20, + 7, + 112, + 15, + 108, + 200, + 128, + 193, + 4, + 215, + 227, + 92, + 169, + 219, + 40, + 43, + 233, + 185, + 180, + 44, + 179, + 239, + 255, + 153, + 136, + 185, + 135, + 179, + 44, + 239, + 171, + 157, + 243, + 59, + 247, + 50, + 248, + 223, + 94, + 175, + 45, + 91, + 85, + 239, + 79, + 89, + 0, + 61, + 207, + 131, + 16, + 248, + 127, + 24, + 162, + 62, + 198, + 1, + 38, + 125, + 228, + 129, + 223, + 104, + 17, + 166, + 44, + 228, + 156, + 135, + 34, + 32, + 200, + 235, + 182, + 218, + 104, + 16, + 74, + 53, + 28, + 14, + 227, + 88, + 114, + 129, + 163, + 46, + 34, + 202, + 213, + 193, + 225, + 209, + 241, + 201, + 105, + 50, + 138, + 57, + 195, + 8, + 182, + 6, + 49, + 79, + 207, + 78, + 206, + 199, + 227, + 201, + 52, + 203, + 11, + 197, + 5, + 209, + 205, + 153, + 54, + 98, + 170, + 184, + 152, + 92, + 206, + 174, + 174, + 111, + 230, + 38, + 73, + 85, + 24, + 68, + 94, + 125, + 25, + 224, + 218, + 178, + 219, + 187, + 251, + 217, + 195, + 227, + 83, + 102, + 146, + 34, + 118, + 141, + 205, + 137, + 222, + 64, + 22, + 103, + 211, + 235, + 231, + 151, + 199, + 215, + 197, + 210, + 153, + 27, + 138, + 81, + 53, + 212, + 106, + 161, + 242, + 236, + 237, + 125, + 181, + 250, + 248, + 52, + 89, + 94, + 255, + 13, + 216, + 14, + 181, + 145, + 80, + 137, + 89, + 172, + 191, + 214, + 243, + 165, + 201, + 147, + 34, + 85, + 27, + 209, + 26, + 18, + 50, + 49, + 217, + 124, + 153, + 153, + 146, + 70, + 138, + 135, + 148, + 104, + 191, + 182, + 1, + 143, + 19, + 99, + 202, + 38, + 71, + 169, + 228, + 44, + 168, + 110, + 239, + 76, + 227, + 80, + 165, + 73, + 94, + 202, + 119, + 170, + 228, + 182, + 13, + 84, + 137, + 88, + 216, + 119, + 207, + 50, + 74, + 11, + 39, + 177, + 35, + 70, + 113, + 4, + 253, + 218, + 124, + 77, + 4, + 151, + 42, + 142, + 149, + 146, + 114, + 195, + 202, + 247, + 4, + 77, + 146, + 22, + 34, + 66, + 203, + 16, + 56, + 223, + 132, + 130, + 146, + 14, + 185, + 70, + 23, + 94, + 64, + 25, + 99, + 66, + 208, + 160, + 223, + 210, + 214, + 172, + 15, + 116, + 68, + 48, + 198, + 212, + 69, + 171, + 97, + 67, + 182, + 222, + 19, + 0, + 53, + 66, + 145, + 70, + 94, + 181, + 19, + 157, + 189, + 113, + 31, + 190, + 15, + 97, + 185, + 44, + 173, + 52, + 217, + 218, + 255, + 170, + 183, + 31, + 187, + 219, + 180, + 87, + 118, + 241, + 159, + 245, + 221, + 133, + 31, + 205, + 97, + 231, + 141, + 210, + 8, + 44, + 44, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + }, + { + "Text": { + "header": { + "content_disposition": { + "c_type": "inline", + "attributes": { + "filename": "hareandtoroise.txt" + } + }, + "content_transfer_encoding": "7bit", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "name": "hareandtoroise.txt", + "charset": "us-ascii" + } + } + }, + "contents": "\r\nThe Hare and the Tortoise \r\n \r\nA HARE one day ridiculed the short feet and slow pace of the Tortoise, who replied, laughing: \"Though you be swift as the wind, I will beat you in a race.\" The Hare, believing her assertion to be simply impossible, assented to the proposal; and they agreed that the Fox should choose the course and fix the goal. On the day appointed for the race the two started together. The Tortoise never for a moment stopped, but went on with a slow but steady pace straight to the end of the course. The Hare, lying down by the wayside, fell fast asleep. At last waking up, and moving as fast as he could, he saw the Tortoise had reached the goal, and was comfortably dozing after her fatigue. \r\n \r\nSlow but steady wins the race. \r\n\r" + } + } + ] +} \ No newline at end of file diff --git a/tests/legacy/031.txt b/tests/legacy/031.txt new file mode 100644 index 0000000..3975017 --- /dev/null +++ b/tests/legacy/031.txt @@ -0,0 +1,2977 @@ +Date: Fri, 19 May 2000 09:55:48 -0400 (EDT) +From: Doug Sauder +To: Joe Blow +Subject: Test message from PINE +Message-ID: +MIME-Version: 1.0 +Content-Type: MULTIPART/MIXED; BOUNDARY="-1463757054-952513540-958744548=:8452" + + This message is in MIME format. The first part should be readable text, + while the remaining parts are likely unreadable without MIME-aware tools. + Send mail to mime@docserver.cac.washington.edu for more info. + +---1463757054-952513540-958744548=:8452 +Content-Type: TEXT/PLAIN; charset=US-ASCII + +This is a test message from PINE MUA. + + +---1463757054-952513540-958744548=:8452 +Content-Type: APPLICATION/octet-stream; name="redball.png" +Content-Transfer-Encoding: BASE64 +Content-ID: +Content-Description: A PNG graphic file +Content-Disposition: attachment; filename="redball.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8A +AAABAAALAAAVAAAaAAAXAAARAAAKAAADAAAcAAAyAABEAABNAABIAAA9AAAj +AAAWAAAmAABhAAB7AACGAACHAAB9AAB0AABgAAA5AAAUAAAGAAAnAABLAABv +AACQAAClAAC7AAC/AACrAAChAACMAABzAABbAAAuAAAIAABMAAB3AACZAAC0 +GRnKODjVPT3bKSndBQW4AACoAAB5AAAxAAAYAAAEAABFAACaAAC7JCTRYWHf +hITmf3/mVlbqHx/SAAC5AACjAABdAABCAAAoAAAJAABnAAC6Dw/QVFTek5Pl +rKzpmZntZWXvJSXXAADBAACxAACcAABtAABTAAA2AAAbAAAFAABKAACBAADL +ICDdZ2fonJzrpqbtiorvUVHvFBTRAADDAAC2AAB4AABeAABAAAAiAABXAACS +AADCAADaGxvoVVXseHjveHjvV1fvJibhAADOAAC3AACnAACVAABHAAArAAAP +AACdAADFAADhBQXrKCjvPDzvNTXvGxvjAADQAADJAAC1AACXAACEAABsAABP +AAASAAACAABiAADpAADvAgLnAADYAADLAAC6AACwAABwAAATAAAkAABYAADI +AADTAADNAACzAACDAABuAAAeAAB+AADAAACkAACNAAB/AABpAABQAAAwAACR +AACpAAC8AACqAACbAABlAABJAAAqAAAOAAA0AACsAACvAACtAACmAACJAAB6 +AABrAABaAAA+AAApAABqAACCAACfAACeAACWAACPAAB8AAAZAAAHAABVAACO +AACKAAA4AAAQAAA/AAByAACAAABcAAA3AAAsAABmAABDAABWAAAgAAAzAAA8 +AAA6AAAfAAAMAAAdAAANAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD8 +LtlFAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAu +MT1evmgAAAIISURBVHicY2CAg/8QwIABmJhZWFnZ2Dk4MaU5uLh5eHn5+LkF +BDlQJf8zC/EIi4iKiUtI8koJScsgyf5nlpWTV1BUUlZRVVPX4NFk1UJIyghp +6+jq6RsYGhmbKJgK85mZW8Dk/rNaSlhZ29ja2Ts4Ojkr6Li4urFDNf53N/Ow +8vTy9vH18w8IDAoWDQkNC4+ASP5ni4wKio6JjYtPSExKTnFWSE1LF4A69n9G +ZlZ2Tm5efkFhUXFySWlZlEd5RSVY7j+TkGRVdU1tXX1DY1Ozcktpa1t7h2Yn +OAj+d7l1tyo79vT29SdNSJ44SbFVdHIo9xSIHNPUaWqTpifNSJrZnK00S0U1 +a/acUG5piNz/uXLzVJ2qm6dXz584S2WB1cJFi5cshZr539xVftnyFKUVTi2T +VjqvyhJLXb1m7TqoHPt6F/HW0g0bN63crGqVtWXrtu07BJihcsw71+zanRW8 +Z89eq337RQ/Ip60xO3gIElX/LbikDm8T36KwbNmRo7O3zpHkPSZwHBqL//8f +lz1x2OOkyKJTi7aqbzutfUZI2gIuF8F2lr/D5dw2+fZdwpl8YVOlI+CJ4/9/ +joOyYed5QzMvhGqnm2V0WiClm///D0lfXHtJ6vLlK9w7rx7vQk5SQJbFtSms +1y9evXid7QZacgOxmSxktNzdtSwwU+J/VICaCPFIYU3XAJhIOtjf5sfyAAAA +JXRFWHRDb21tZW50AGNsaXAyZ2lmIHYuMC42IGJ5IFl2ZXMgUGlndWV0NnM7 +vAAAAABJRU5ErkJggg== +---1463757054-952513540-958744548=:8452 +Content-Type: APPLICATION/octet-stream; name="blueball.png" +Content-Transfer-Encoding: BASE64 +Content-ID: +Content-Description: A PNG graphic file +Content-Disposition: attachment; filename="blueball.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8A +AAgAABAAABgAAAAACCkAEEIAEEoACDEAEFIIIXMIKXsIKYQIIWsAGFoACDkI +IWMQOZwYQqUYQq0YQrUQOaUQMZQAGFIQMYwpUrU5Y8Y5Y84pWs4YSs4YQs4Y +Qr1Ca8Z7nNacvd6Mtd5jlOcxa94hUt4YStYYQsYQMaUAACHO5+/n7++cxu9S +hO8pWucQOa1Ke86tzt6lzu9ajO8QMZxahNat1ufO7++Mve9Ke+8YOaUYSsaM +vee15++Uve8AAClajOdzpe9rnO8IKYwxY+8pWu8IIXsAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADB +Mg1VAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAu +MT1evmgAAAGISURBVHicddJtV5swGAbgEk6AJhBSk4bMCUynBSLaqovbrG/b +fPn/vyh70lbsscebL5xznTsh5BmNhgQoRChwo50EOIohUYLDj4zHhKYQkrEo +Qdvock4ne0IKMVUpKZLQDeqSTIsv+18PyqqWUw2IBsRM7307PPp+fDJrWtnp +LDJvewYxnewfnvanZ+fzpmwXijC8KbqEa3Fx2ff91Y95U9XCUpaDeQwiMpHX +P/v+1++bWVPWQoGFawtjury9vru/f/C1Vi7ezT0WWpQHf/7+u/G71aLThK/M +jRxmT6KdzZ9fGk9yatMsTgZLl3XVgFRAC6spj/13enssqJVtWVa3NdBSacL8 ++VZmYqKmdd1CSYoOiMOSGwtzlqqlFFIuOqv0a1ZEZrUkWICLLFW266y1KvWE +1zV/iDAH1EopnVLCiygZCIomH3NCKX0lnI+B1iuuzCGTxwXjnDO4d7NpbX42 +YJJHkBwmAm2TxwAZg40J3+Xtbv1rgOAZwG0NxW62p+lT+Yi747sD/wEUVMzY +mWkOvwAAACV0RVh0Q29tbWVudABjbGlwMmdpZiB2LjAuNiBieSBZdmVzIFBp +Z3VldDZzO7wAAAAASUVORK5CYII= +---1463757054-952513540-958744548=:8452-- + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 19, + "hour": 9, + "minute": 55, + "second": 48, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "doug@penguin.example.com" + } + }, + "message_id": "Pine.LNX.4.21.0005190951410.8452-102000@penguin.example.com", + "mime_version": "1.0", + "subject": "Test message from PINE", + "to": { + "Address": { + "name": "Joe Blow", + "address": "blow@example.com" + } + }, + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "-1463757054-952513540-958744548=:8452" + } + } + }, + "text_body": [ + { + "header": { + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "US-ASCII" + } + } + }, + "contents": "This is a test message from PINE MUA.\r\n\r\n\r" + } + ], + "attachments": [ + { + "File": { + "header": { + "content_description": "A PNG graphic file", + "content_disposition": { + "c_type": "attachment", + "attributes": { + "filename": "redball.png" + } + }, + "content_id": "Pine.LNX.4.21.0005190955480.8452@penguin.example.com", + "content_transfer_encoding": "BASE64", + "content_type": { + "c_type": "application", + "c_subtype": "octet-stream", + "attributes": { + "name": "redball.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 0, + 1, + 0, + 0, + 11, + 0, + 0, + 21, + 0, + 0, + 26, + 0, + 0, + 23, + 0, + 0, + 17, + 0, + 0, + 10, + 0, + 0, + 3, + 0, + 0, + 28, + 0, + 0, + 50, + 0, + 0, + 68, + 0, + 0, + 77, + 0, + 0, + 72, + 0, + 0, + 61, + 0, + 0, + 35, + 0, + 0, + 22, + 0, + 0, + 38, + 0, + 0, + 97, + 0, + 0, + 123, + 0, + 0, + 134, + 0, + 0, + 135, + 0, + 0, + 125, + 0, + 0, + 116, + 0, + 0, + 96, + 0, + 0, + 57, + 0, + 0, + 20, + 0, + 0, + 6, + 0, + 0, + 39, + 0, + 0, + 75, + 0, + 0, + 111, + 0, + 0, + 144, + 0, + 0, + 165, + 0, + 0, + 187, + 0, + 0, + 191, + 0, + 0, + 171, + 0, + 0, + 161, + 0, + 0, + 140, + 0, + 0, + 115, + 0, + 0, + 91, + 0, + 0, + 46, + 0, + 0, + 8, + 0, + 0, + 76, + 0, + 0, + 119, + 0, + 0, + 153, + 0, + 0, + 180, + 25, + 25, + 202, + 56, + 56, + 213, + 61, + 61, + 219, + 41, + 41, + 221, + 5, + 5, + 184, + 0, + 0, + 168, + 0, + 0, + 121, + 0, + 0, + 49, + 0, + 0, + 24, + 0, + 0, + 4, + 0, + 0, + 69, + 0, + 0, + 154, + 0, + 0, + 187, + 36, + 36, + 209, + 97, + 97, + 223, + 132, + 132, + 230, + 127, + 127, + 230, + 86, + 86, + 234, + 31, + 31, + 210, + 0, + 0, + 185, + 0, + 0, + 163, + 0, + 0, + 93, + 0, + 0, + 66, + 0, + 0, + 40, + 0, + 0, + 9, + 0, + 0, + 103, + 0, + 0, + 186, + 15, + 15, + 208, + 84, + 84, + 222, + 147, + 147, + 229, + 172, + 172, + 233, + 153, + 153, + 237, + 101, + 101, + 239, + 37, + 37, + 215, + 0, + 0, + 193, + 0, + 0, + 177, + 0, + 0, + 156, + 0, + 0, + 109, + 0, + 0, + 83, + 0, + 0, + 54, + 0, + 0, + 27, + 0, + 0, + 5, + 0, + 0, + 74, + 0, + 0, + 129, + 0, + 0, + 203, + 32, + 32, + 221, + 103, + 103, + 232, + 156, + 156, + 235, + 166, + 166, + 237, + 138, + 138, + 239, + 81, + 81, + 239, + 20, + 20, + 209, + 0, + 0, + 195, + 0, + 0, + 182, + 0, + 0, + 120, + 0, + 0, + 94, + 0, + 0, + 64, + 0, + 0, + 34, + 0, + 0, + 87, + 0, + 0, + 146, + 0, + 0, + 194, + 0, + 0, + 218, + 27, + 27, + 232, + 85, + 85, + 236, + 120, + 120, + 239, + 120, + 120, + 239, + 87, + 87, + 239, + 38, + 38, + 225, + 0, + 0, + 206, + 0, + 0, + 183, + 0, + 0, + 167, + 0, + 0, + 149, + 0, + 0, + 71, + 0, + 0, + 43, + 0, + 0, + 15, + 0, + 0, + 157, + 0, + 0, + 197, + 0, + 0, + 225, + 5, + 5, + 235, + 40, + 40, + 239, + 60, + 60, + 239, + 53, + 53, + 239, + 27, + 27, + 227, + 0, + 0, + 208, + 0, + 0, + 201, + 0, + 0, + 181, + 0, + 0, + 151, + 0, + 0, + 132, + 0, + 0, + 108, + 0, + 0, + 79, + 0, + 0, + 18, + 0, + 0, + 2, + 0, + 0, + 98, + 0, + 0, + 233, + 0, + 0, + 239, + 2, + 2, + 231, + 0, + 0, + 216, + 0, + 0, + 203, + 0, + 0, + 186, + 0, + 0, + 176, + 0, + 0, + 112, + 0, + 0, + 19, + 0, + 0, + 36, + 0, + 0, + 88, + 0, + 0, + 200, + 0, + 0, + 211, + 0, + 0, + 205, + 0, + 0, + 179, + 0, + 0, + 131, + 0, + 0, + 110, + 0, + 0, + 30, + 0, + 0, + 126, + 0, + 0, + 192, + 0, + 0, + 164, + 0, + 0, + 141, + 0, + 0, + 127, + 0, + 0, + 105, + 0, + 0, + 80, + 0, + 0, + 48, + 0, + 0, + 145, + 0, + 0, + 169, + 0, + 0, + 188, + 0, + 0, + 170, + 0, + 0, + 155, + 0, + 0, + 101, + 0, + 0, + 73, + 0, + 0, + 42, + 0, + 0, + 14, + 0, + 0, + 52, + 0, + 0, + 172, + 0, + 0, + 175, + 0, + 0, + 173, + 0, + 0, + 166, + 0, + 0, + 137, + 0, + 0, + 122, + 0, + 0, + 107, + 0, + 0, + 90, + 0, + 0, + 62, + 0, + 0, + 41, + 0, + 0, + 106, + 0, + 0, + 130, + 0, + 0, + 159, + 0, + 0, + 158, + 0, + 0, + 150, + 0, + 0, + 143, + 0, + 0, + 124, + 0, + 0, + 25, + 0, + 0, + 7, + 0, + 0, + 85, + 0, + 0, + 142, + 0, + 0, + 138, + 0, + 0, + 56, + 0, + 0, + 16, + 0, + 0, + 63, + 0, + 0, + 114, + 0, + 0, + 128, + 0, + 0, + 92, + 0, + 0, + 55, + 0, + 0, + 44, + 0, + 0, + 102, + 0, + 0, + 67, + 0, + 0, + 86, + 0, + 0, + 32, + 0, + 0, + 51, + 0, + 0, + 60, + 0, + 0, + 58, + 0, + 0, + 31, + 0, + 0, + 12, + 0, + 0, + 29, + 0, + 0, + 13, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 252, + 46, + 217, + 69, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 2, + 8, + 73, + 68, + 65, + 84, + 120, + 156, + 99, + 96, + 128, + 131, + 255, + 16, + 192, + 128, + 1, + 152, + 152, + 89, + 88, + 89, + 217, + 216, + 57, + 56, + 49, + 165, + 57, + 184, + 184, + 121, + 120, + 121, + 249, + 248, + 185, + 5, + 4, + 57, + 80, + 37, + 255, + 51, + 11, + 241, + 8, + 139, + 136, + 138, + 137, + 75, + 72, + 242, + 74, + 9, + 73, + 203, + 32, + 201, + 254, + 103, + 150, + 149, + 147, + 87, + 80, + 84, + 82, + 86, + 81, + 85, + 83, + 215, + 224, + 209, + 100, + 213, + 66, + 72, + 202, + 8, + 105, + 235, + 232, + 234, + 233, + 27, + 24, + 26, + 25, + 155, + 40, + 152, + 10, + 243, + 153, + 153, + 91, + 192, + 228, + 254, + 179, + 90, + 74, + 88, + 89, + 219, + 216, + 218, + 217, + 59, + 56, + 58, + 57, + 43, + 232, + 184, + 184, + 186, + 177, + 67, + 53, + 254, + 119, + 55, + 243, + 176, + 242, + 244, + 242, + 246, + 241, + 245, + 243, + 15, + 8, + 12, + 10, + 22, + 13, + 9, + 13, + 11, + 143, + 128, + 72, + 254, + 103, + 139, + 140, + 10, + 138, + 142, + 137, + 141, + 139, + 79, + 72, + 76, + 74, + 78, + 113, + 86, + 72, + 77, + 75, + 23, + 128, + 58, + 246, + 127, + 70, + 102, + 86, + 118, + 78, + 110, + 94, + 126, + 65, + 97, + 81, + 113, + 114, + 73, + 105, + 89, + 148, + 71, + 121, + 69, + 37, + 88, + 238, + 63, + 147, + 144, + 100, + 85, + 117, + 77, + 109, + 93, + 125, + 67, + 99, + 83, + 179, + 114, + 75, + 105, + 107, + 91, + 123, + 135, + 102, + 39, + 56, + 8, + 254, + 119, + 185, + 117, + 183, + 42, + 59, + 246, + 244, + 246, + 245, + 39, + 77, + 72, + 158, + 56, + 73, + 177, + 85, + 116, + 114, + 40, + 247, + 20, + 136, + 28, + 211, + 212, + 105, + 106, + 147, + 166, + 39, + 205, + 72, + 154, + 217, + 156, + 173, + 52, + 75, + 69, + 53, + 107, + 246, + 156, + 80, + 110, + 105, + 136, + 220, + 255, + 185, + 114, + 243, + 84, + 157, + 170, + 155, + 167, + 87, + 207, + 159, + 56, + 75, + 101, + 129, + 213, + 194, + 69, + 139, + 151, + 44, + 133, + 154, + 249, + 223, + 220, + 85, + 126, + 217, + 242, + 20, + 165, + 21, + 78, + 45, + 147, + 86, + 58, + 175, + 202, + 18, + 75, + 93, + 189, + 102, + 237, + 58, + 168, + 28, + 251, + 122, + 23, + 241, + 214, + 210, + 13, + 27, + 55, + 173, + 220, + 172, + 106, + 149, + 181, + 101, + 235, + 182, + 237, + 59, + 4, + 152, + 161, + 114, + 204, + 59, + 215, + 236, + 218, + 157, + 21, + 188, + 103, + 207, + 94, + 171, + 125, + 251, + 69, + 15, + 200, + 167, + 173, + 49, + 59, + 120, + 8, + 18, + 85, + 255, + 45, + 184, + 164, + 14, + 111, + 19, + 223, + 162, + 176, + 108, + 217, + 145, + 163, + 179, + 183, + 206, + 145, + 228, + 61, + 38, + 112, + 28, + 26, + 139, + 255, + 255, + 31, + 151, + 61, + 113, + 216, + 227, + 164, + 200, + 162, + 83, + 139, + 182, + 170, + 111, + 59, + 173, + 125, + 70, + 72, + 218, + 2, + 46, + 23, + 193, + 118, + 150, + 191, + 195, + 229, + 220, + 54, + 249, + 246, + 93, + 194, + 153, + 124, + 97, + 83, + 165, + 35, + 224, + 137, + 227, + 255, + 127, + 142, + 131, + 178, + 97, + 231, + 121, + 67, + 51, + 47, + 132, + 106, + 167, + 155, + 101, + 116, + 90, + 32, + 165, + 155, + 255, + 255, + 15, + 73, + 95, + 92, + 123, + 73, + 234, + 242, + 229, + 43, + 220, + 59, + 175, + 30, + 239, + 66, + 78, + 82, + 64, + 150, + 197, + 181, + 41, + 172, + 215, + 47, + 94, + 189, + 120, + 157, + 237, + 6, + 90, + 114, + 3, + 177, + 153, + 44, + 100, + 180, + 220, + 221, + 181, + 44, + 48, + 83, + 226, + 127, + 84, + 128, + 154, + 8, + 241, + 72, + 97, + 77, + 215, + 0, + 152, + 72, + 58, + 216, + 223, + 230, + 199, + 242, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + }, + { + "File": { + "header": { + "content_description": "A PNG graphic file", + "content_disposition": { + "c_type": "attachment", + "attributes": { + "filename": "blueball.png" + } + }, + "content_id": "Pine.LNX.4.21.0005190955481.8452@penguin.example.com", + "content_transfer_encoding": "BASE64", + "content_type": { + "c_type": "application", + "c_subtype": "octet-stream", + "attributes": { + "name": "blueball.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 8, + 0, + 0, + 16, + 0, + 0, + 24, + 0, + 0, + 0, + 0, + 8, + 41, + 0, + 16, + 66, + 0, + 16, + 74, + 0, + 8, + 49, + 0, + 16, + 82, + 8, + 33, + 115, + 8, + 41, + 123, + 8, + 41, + 132, + 8, + 33, + 107, + 0, + 24, + 90, + 0, + 8, + 57, + 8, + 33, + 99, + 16, + 57, + 156, + 24, + 66, + 165, + 24, + 66, + 173, + 24, + 66, + 181, + 16, + 57, + 165, + 16, + 49, + 148, + 0, + 24, + 82, + 16, + 49, + 140, + 41, + 82, + 181, + 57, + 99, + 198, + 57, + 99, + 206, + 41, + 90, + 206, + 24, + 74, + 206, + 24, + 66, + 206, + 24, + 66, + 189, + 66, + 107, + 198, + 123, + 156, + 214, + 156, + 189, + 222, + 140, + 181, + 222, + 99, + 148, + 231, + 49, + 107, + 222, + 33, + 82, + 222, + 24, + 74, + 214, + 24, + 66, + 198, + 16, + 49, + 165, + 0, + 0, + 33, + 206, + 231, + 239, + 231, + 239, + 239, + 156, + 198, + 239, + 82, + 132, + 239, + 41, + 90, + 231, + 16, + 57, + 173, + 74, + 123, + 206, + 173, + 206, + 222, + 165, + 206, + 239, + 90, + 140, + 239, + 16, + 49, + 156, + 90, + 132, + 214, + 173, + 214, + 231, + 206, + 239, + 239, + 140, + 189, + 239, + 74, + 123, + 239, + 24, + 57, + 165, + 24, + 74, + 198, + 140, + 189, + 231, + 181, + 231, + 239, + 148, + 189, + 239, + 0, + 0, + 41, + 90, + 140, + 231, + 115, + 165, + 239, + 107, + 156, + 239, + 8, + 41, + 140, + 49, + 99, + 239, + 41, + 90, + 239, + 8, + 33, + 123, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 193, + 50, + 13, + 85, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 1, + 136, + 73, + 68, + 65, + 84, + 120, + 156, + 117, + 210, + 109, + 87, + 155, + 48, + 24, + 6, + 224, + 18, + 78, + 128, + 38, + 16, + 82, + 147, + 134, + 204, + 9, + 76, + 167, + 5, + 34, + 218, + 170, + 139, + 219, + 172, + 111, + 219, + 124, + 249, + 255, + 191, + 40, + 123, + 210, + 86, + 236, + 177, + 199, + 155, + 47, + 156, + 115, + 157, + 59, + 33, + 228, + 25, + 141, + 134, + 4, + 40, + 68, + 40, + 112, + 163, + 157, + 4, + 56, + 138, + 33, + 81, + 130, + 195, + 143, + 140, + 199, + 132, + 166, + 16, + 146, + 177, + 40, + 65, + 219, + 232, + 114, + 78, + 39, + 123, + 66, + 10, + 49, + 85, + 41, + 41, + 146, + 208, + 13, + 234, + 146, + 76, + 139, + 47, + 251, + 95, + 15, + 202, + 170, + 150, + 83, + 13, + 136, + 6, + 196, + 76, + 239, + 125, + 59, + 60, + 250, + 126, + 124, + 50, + 107, + 90, + 217, + 233, + 44, + 50, + 111, + 123, + 6, + 49, + 157, + 236, + 31, + 158, + 246, + 167, + 103, + 231, + 243, + 166, + 108, + 23, + 138, + 48, + 188, + 41, + 186, + 132, + 107, + 113, + 113, + 217, + 247, + 253, + 213, + 143, + 121, + 83, + 213, + 194, + 82, + 150, + 131, + 121, + 12, + 34, + 50, + 145, + 215, + 63, + 251, + 254, + 215, + 239, + 155, + 89, + 83, + 214, + 66, + 129, + 133, + 107, + 11, + 99, + 186, + 188, + 189, + 190, + 187, + 191, + 127, + 240, + 181, + 86, + 46, + 222, + 205, + 61, + 22, + 90, + 148, + 7, + 127, + 254, + 254, + 187, + 241, + 187, + 213, + 162, + 211, + 132, + 175, + 204, + 141, + 28, + 102, + 79, + 162, + 157, + 205, + 159, + 95, + 26, + 79, + 114, + 106, + 211, + 44, + 78, + 6, + 75, + 151, + 117, + 213, + 128, + 84, + 64, + 11, + 171, + 41, + 143, + 253, + 119, + 122, + 123, + 44, + 168, + 149, + 109, + 89, + 86, + 183, + 53, + 208, + 82, + 105, + 194, + 252, + 249, + 86, + 102, + 98, + 162, + 166, + 117, + 221, + 66, + 73, + 138, + 14, + 136, + 195, + 146, + 27, + 11, + 115, + 150, + 170, + 165, + 20, + 82, + 46, + 58, + 171, + 244, + 107, + 86, + 68, + 102, + 181, + 36, + 88, + 128, + 139, + 44, + 85, + 182, + 235, + 172, + 181, + 42, + 245, + 132, + 215, + 53, + 127, + 136, + 48, + 7, + 212, + 74, + 41, + 157, + 82, + 194, + 139, + 40, + 25, + 8, + 138, + 38, + 31, + 115, + 66, + 41, + 125, + 37, + 156, + 143, + 129, + 214, + 43, + 174, + 204, + 33, + 147, + 199, + 5, + 227, + 156, + 51, + 184, + 119, + 179, + 105, + 109, + 126, + 54, + 96, + 146, + 71, + 144, + 28, + 38, + 2, + 109, + 147, + 199, + 0, + 25, + 131, + 141, + 9, + 223, + 229, + 237, + 110, + 253, + 107, + 128, + 224, + 25, + 192, + 109, + 13, + 197, + 110, + 182, + 167, + 233, + 83, + 249, + 136, + 187, + 227, + 187, + 3, + 255, + 1, + 20, + 84, + 204, + 216, + 153, + 105, + 14, + 191, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + } + ] +} \ No newline at end of file diff --git a/tests/legacy/032.txt b/tests/legacy/032.txt new file mode 100644 index 0000000..68206dc --- /dev/null +++ b/tests/legacy/032.txt @@ -0,0 +1,2879 @@ +Message-ID: <39235EAD.E48E2160@example.com> +Date: Wed, 17 May 2000 23:08:29 -0400 +From: Doug Sauder +X-Mailer: Mozilla 4.7 [en] (WinNT; I) +X-Accept-Language: en +MIME-Version: 1.0 +To: Joe Blow +Subject: Test message from Netscape Communicator 4.7 +Content-Type: multipart/mixed; + boundary="------------C78F594988075E36AE03C243" + +This is a multi-part message in MIME format. +--------------C78F594988075E36AE03C243 +Content-Type: multipart/alternative; + boundary="------------D74AE2393FB01D1B284AE257" + + +--------------D74AE2393FB01D1B284AE257 +Content-Type: text/plain; charset=iso-8859-1 +Content-Transfer-Encoding: quoted-printable + +Die Hasen und die Fr=F6sche + +Die Hasen klagten einst =FCber ihre mi=DFliche Lage; "wir leben", sprach = +ein +Redner, "in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, +der Adler, ja fast aller Raubtiere! Unsere stete Angst ist =E4rger als de= +r +Tod selbst. Auf, la=DFt uns ein f=FCr allemal sterben." + +In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu; +allein das au=DFerordentliche Get=F6se und ihre wunderbare Gestalt +erschreckte eine Menge Fr=F6sche, die am Ufer sa=DFen, so sehr, da=DF sie= + aufs +schnellste untertauchten. + +"Halt", rief nun eben dieser Sprecher, "wir wollen das Ers=E4ufen noch ei= +n +wenig aufschieben, denn auch uns f=FCrchten, wie ihr seht, einige Tiere, +welche also wohl noch ungl=FCcklicher sein m=FCssen als wir." + + + +--------------D74AE2393FB01D1B284AE257 +Content-Type: text/html; charset=us-ascii +Content-Transfer-Encoding: 7bit + + + +Die Hasen und die Frösche +

Die Hasen klagten einst über ihre mißliche Lage; "wir leben", +sprach ein Redner, "in steter Furcht vor Menschen und Tieren, eine Beute +der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger +als der Tod selbst. Auf, laßt uns ein für allemal sterben." +

In einem nahen Teich wollten sie sich nun ersäufen; sie eilten +ihm zu; allein das außerordentliche Getöse und ihre wunderbare +Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so +sehr, daß sie aufs schnellste untertauchten. +

"Halt", rief nun eben dieser Sprecher, "wir wollen das Ersäufen +noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, +einige Tiere, welche also wohl noch unglücklicher sein müssen +als wir." +
  +
  + +--------------D74AE2393FB01D1B284AE257-- + +--------------C78F594988075E36AE03C243 +Content-Type: image/png; + name="greenball.png" +Content-Transfer-Encoding: base64 +Content-Disposition: inline; + filename="greenball.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAAAEAAAGAAA +IQAACAAAMQAAQgAAUgAAWgAASgAIYwAIcwAIewAQjAAIawAAOQAAYwAQlAAQnAAhpQAQpQAh +rQBCvRhjxjFjxjlSxiEpzgAYvQAQrQAYrQAhvQCU1mOt1nuE1lJK3hgh1gAYxgAYtQAAKQBC +zhDO55Te563G55SU52NS5yEh3gAYzgBS3iGc52vW75y974yE71JC7xCt73ul3nNa7ykh5wAY +1gAx5wBS7yFr7zlK7xgp5wAp7wAx7wAIhAAQtQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAp +1fnZAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAuMT1evmgAAAFt +SURBVHicddJtV8IgFAdwD2zIgMEE1+NcqdsoK+m5tCyz7/+ZiLmHsyzvq53zO/cy+N9ery1b +Ve9PWQA9z4MQ+H8Yoj7GASZ95IHfaBGmLOSchyIgyOu22mgQSjUcDuNYcoGjLiLK1cHh0fHJ +aTKKOcMItgYxT89OzsfjyTTLC8UF0c2ZNmKquJhczq6ub+YmSVUYRF59GeDastu7+9nD41Nm +kiJ2jc2J3kAWZ9Pr55fH18XSmRuKUTXUaqHy7O19tfr4NFle/w3YDrWRUIlZrL/W86XJkyJV +G9EaEjIx2XyZmZJGioeUaL+2AY8TY8omR6nkLKhu70zjUKVJXsp3quS2DVSJWNh3zzJKCyex +I0ZxBP3afE0ElyqOlZJyw8r3BE2SFiJCyxA434SCkg65RhdeQBljQtCg39LWrA90RDDG1EWr +YUO23hMANUKRRl61E529cR++D2G5LK002dr/qrcfu9u0V3bxn/XdhR/NYeeN0ggsLAAAACV0 +RVh0Q29tbWVudABjbGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5C +YII= +--------------C78F594988075E36AE03C243 +Content-Type: image/png; + name="blueball.png" +Content-Transfer-Encoding: base64 +Content-Disposition: inline; + filename="blueball.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAgAABAAABgA +AAAACCkAEEIAEEoACDEAEFIIIXMIKXsIKYQIIWsAGFoACDkIIWMQOZwYQqUYQq0YQrUQOaUQ +MZQAGFIQMYwpUrU5Y8Y5Y84pWs4YSs4YQs4YQr1Ca8Z7nNacvd6Mtd5jlOcxa94hUt4YStYY +QsYQMaUAACHO5+/n7++cxu9ShO8pWucQOa1Ke86tzt6lzu9ajO8QMZxahNat1ufO7++Mve9K +e+8YOaUYSsaMvee15++Uve8AAClajOdzpe9rnO8IKYwxY+8pWu8IIXsAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADB +Mg1VAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAuMT1evmgAAAGI +SURBVHicddJtV5swGAbgEk6AJhBSk4bMCUynBSLaqovbrG/bfPn/vyh70lbsscebL5xznTsh +5BmNhgQoRChwo50EOIohUYLDj4zHhKYQkrEoQdvock4ne0IKMVUpKZLQDeqSTIsv+18PyqqW +Uw2IBsRM7307PPp+fDJrWtnpLDJvewYxnewfnvanZ+fzpmwXijC8KbqEa3Fx2ff91Y95U9XC +UpaDeQwiMpHXP/v+1++bWVPWQoGFawtjury9vru/f/C1Vi7ezT0WWpQHf/7+u/G71aLThK/M +jRxmT6KdzZ9fGk9yatMsTgZLl3XVgFRAC6spj/13enssqJVtWVa3NdBSacL8+VZmYqKmdd1C +SYoOiMOSGwtzlqqlFFIuOqv0a1ZEZrUkWICLLFW266y1KvWE1zV/iDAH1EopnVLCiygZCIom +H3NCKX0lnI+B1iuuzCGTxwXjnDO4d7NpbX42YJJHkBwmAm2TxwAZg40J3+Xtbv1rgOAZwG0N +xW62p+lT+Yi747sD/wEUVMzYmWkOvwAAACV0RVh0Q29tbWVudABjbGlwMmdpZiB2LjAuNiBi +eSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII= +--------------C78F594988075E36AE03C243-- + + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 17, + "hour": 23, + "minute": 8, + "second": 29, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "dwsauder@example.com" + } + }, + "message_id": "39235EAD.E48E2160@example.com", + "mime_version": "1.0", + "subject": "Test message from Netscape Communicator 4.7", + "to": { + "Address": { + "name": "Joe Blow", + "address": "blow@example.com" + } + }, + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "------------C78F594988075E36AE03C243" + } + }, + "others": { + "X-Mailer": [ + "Mozilla 4.7 [en] (WinNT; I)" + ], + "X-Accept-Language": [ + "en" + ] + } + }, + "html_body": [ + { + "header": { + "content_transfer_encoding": "7bit", + "content_type": { + "c_type": "text", + "c_subtype": "html", + "attributes": { + "charset": "us-ascii" + } + } + }, + "contents": "\r\n\r\nDie Hasen und die Frösche\r\n

Die Hasen klagten einst über ihre mißliche Lage; \"wir leben\",\r\nsprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute\r\nder Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger\r\nals der Tod selbst. Auf, laßt uns ein für allemal sterben.\"\r\n

In einem nahen Teich wollten sie sich nun ersäufen; sie eilten\r\nihm zu; allein das außerordentliche Getöse und ihre wunderbare\r\nGestalt erschreckte eine Menge Frösche, die am Ufer saßen, so\r\nsehr, daß sie aufs schnellste untertauchten.\r\n

\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen\r\nnoch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht,\r\neinige Tiere, welche also wohl noch unglücklicher sein müssen\r\nals wir.\"\r\n
 \r\n
 \r\n\r" + } + ], + "text_body": [ + { + "header": { + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "iso-8859-1" + } + } + }, + "contents": "Die Hasen und die Frösche\n\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein\nRedner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde,\nder Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der\nTod selbst. Auf, laßt uns ein für allemal sterben.\"\n\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu;\nallein das außerordentliche Getöse und ihre wunderbare Gestalt\nerschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs\nschnellste untertauchten.\n\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein\nwenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere,\nwelche also wohl noch unglücklicher sein müssen als wir.\"\n\n\n" + } + ], + "attachments": [ + { + "File": { + "header": { + "content_disposition": { + "c_type": "inline", + "attributes": { + "filename": "greenball.png" + } + }, + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "greenball.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 0, + 0, + 16, + 0, + 0, + 24, + 0, + 0, + 33, + 0, + 0, + 8, + 0, + 0, + 49, + 0, + 0, + 66, + 0, + 0, + 82, + 0, + 0, + 90, + 0, + 0, + 74, + 0, + 8, + 99, + 0, + 8, + 115, + 0, + 8, + 123, + 0, + 16, + 140, + 0, + 8, + 107, + 0, + 0, + 57, + 0, + 0, + 99, + 0, + 16, + 148, + 0, + 16, + 156, + 0, + 33, + 165, + 0, + 16, + 165, + 0, + 33, + 173, + 0, + 66, + 189, + 24, + 99, + 198, + 49, + 99, + 198, + 57, + 82, + 198, + 33, + 41, + 206, + 0, + 24, + 189, + 0, + 16, + 173, + 0, + 24, + 173, + 0, + 33, + 189, + 0, + 148, + 214, + 99, + 173, + 214, + 123, + 132, + 214, + 82, + 74, + 222, + 24, + 33, + 214, + 0, + 24, + 198, + 0, + 24, + 181, + 0, + 0, + 41, + 0, + 66, + 206, + 16, + 206, + 231, + 148, + 222, + 231, + 173, + 198, + 231, + 148, + 148, + 231, + 99, + 82, + 231, + 33, + 33, + 222, + 0, + 24, + 206, + 0, + 82, + 222, + 33, + 156, + 231, + 107, + 214, + 239, + 156, + 189, + 239, + 140, + 132, + 239, + 82, + 66, + 239, + 16, + 173, + 239, + 123, + 165, + 222, + 115, + 90, + 239, + 41, + 33, + 231, + 0, + 24, + 214, + 0, + 49, + 231, + 0, + 82, + 239, + 33, + 107, + 239, + 57, + 74, + 239, + 24, + 41, + 231, + 0, + 41, + 239, + 0, + 49, + 239, + 0, + 8, + 132, + 0, + 16, + 181, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 41, + 213, + 249, + 217, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 1, + 109, + 73, + 68, + 65, + 84, + 120, + 156, + 117, + 210, + 109, + 87, + 194, + 32, + 20, + 7, + 112, + 15, + 108, + 200, + 128, + 193, + 4, + 215, + 227, + 92, + 169, + 219, + 40, + 43, + 233, + 185, + 180, + 44, + 179, + 239, + 255, + 153, + 136, + 185, + 135, + 179, + 44, + 239, + 171, + 157, + 243, + 59, + 247, + 50, + 248, + 223, + 94, + 175, + 45, + 91, + 85, + 239, + 79, + 89, + 0, + 61, + 207, + 131, + 16, + 248, + 127, + 24, + 162, + 62, + 198, + 1, + 38, + 125, + 228, + 129, + 223, + 104, + 17, + 166, + 44, + 228, + 156, + 135, + 34, + 32, + 200, + 235, + 182, + 218, + 104, + 16, + 74, + 53, + 28, + 14, + 227, + 88, + 114, + 129, + 163, + 46, + 34, + 202, + 213, + 193, + 225, + 209, + 241, + 201, + 105, + 50, + 138, + 57, + 195, + 8, + 182, + 6, + 49, + 79, + 207, + 78, + 206, + 199, + 227, + 201, + 52, + 203, + 11, + 197, + 5, + 209, + 205, + 153, + 54, + 98, + 170, + 184, + 152, + 92, + 206, + 174, + 174, + 111, + 230, + 38, + 73, + 85, + 24, + 68, + 94, + 125, + 25, + 224, + 218, + 178, + 219, + 187, + 251, + 217, + 195, + 227, + 83, + 102, + 146, + 34, + 118, + 141, + 205, + 137, + 222, + 64, + 22, + 103, + 211, + 235, + 231, + 151, + 199, + 215, + 197, + 210, + 153, + 27, + 138, + 81, + 53, + 212, + 106, + 161, + 242, + 236, + 237, + 125, + 181, + 250, + 248, + 52, + 89, + 94, + 255, + 13, + 216, + 14, + 181, + 145, + 80, + 137, + 89, + 172, + 191, + 214, + 243, + 165, + 201, + 147, + 34, + 85, + 27, + 209, + 26, + 18, + 50, + 49, + 217, + 124, + 153, + 153, + 146, + 70, + 138, + 135, + 148, + 104, + 191, + 182, + 1, + 143, + 19, + 99, + 202, + 38, + 71, + 169, + 228, + 44, + 168, + 110, + 239, + 76, + 227, + 80, + 165, + 73, + 94, + 202, + 119, + 170, + 228, + 182, + 13, + 84, + 137, + 88, + 216, + 119, + 207, + 50, + 74, + 11, + 39, + 177, + 35, + 70, + 113, + 4, + 253, + 218, + 124, + 77, + 4, + 151, + 42, + 142, + 149, + 146, + 114, + 195, + 202, + 247, + 4, + 77, + 146, + 22, + 34, + 66, + 203, + 16, + 56, + 223, + 132, + 130, + 146, + 14, + 185, + 70, + 23, + 94, + 64, + 25, + 99, + 66, + 208, + 160, + 223, + 210, + 214, + 172, + 15, + 116, + 68, + 48, + 198, + 212, + 69, + 171, + 97, + 67, + 182, + 222, + 19, + 0, + 53, + 66, + 145, + 70, + 94, + 181, + 19, + 157, + 189, + 113, + 31, + 190, + 15, + 97, + 185, + 44, + 173, + 52, + 217, + 218, + 255, + 170, + 183, + 31, + 187, + 219, + 180, + 87, + 118, + 241, + 159, + 245, + 221, + 133, + 31, + 205, + 97, + 231, + 141, + 210, + 8, + 44, + 44, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + }, + { + "File": { + "header": { + "content_disposition": { + "c_type": "inline", + "attributes": { + "filename": "blueball.png" + } + }, + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "blueball.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 8, + 0, + 0, + 16, + 0, + 0, + 24, + 0, + 0, + 0, + 0, + 8, + 41, + 0, + 16, + 66, + 0, + 16, + 74, + 0, + 8, + 49, + 0, + 16, + 82, + 8, + 33, + 115, + 8, + 41, + 123, + 8, + 41, + 132, + 8, + 33, + 107, + 0, + 24, + 90, + 0, + 8, + 57, + 8, + 33, + 99, + 16, + 57, + 156, + 24, + 66, + 165, + 24, + 66, + 173, + 24, + 66, + 181, + 16, + 57, + 165, + 16, + 49, + 148, + 0, + 24, + 82, + 16, + 49, + 140, + 41, + 82, + 181, + 57, + 99, + 198, + 57, + 99, + 206, + 41, + 90, + 206, + 24, + 74, + 206, + 24, + 66, + 206, + 24, + 66, + 189, + 66, + 107, + 198, + 123, + 156, + 214, + 156, + 189, + 222, + 140, + 181, + 222, + 99, + 148, + 231, + 49, + 107, + 222, + 33, + 82, + 222, + 24, + 74, + 214, + 24, + 66, + 198, + 16, + 49, + 165, + 0, + 0, + 33, + 206, + 231, + 239, + 231, + 239, + 239, + 156, + 198, + 239, + 82, + 132, + 239, + 41, + 90, + 231, + 16, + 57, + 173, + 74, + 123, + 206, + 173, + 206, + 222, + 165, + 206, + 239, + 90, + 140, + 239, + 16, + 49, + 156, + 90, + 132, + 214, + 173, + 214, + 231, + 206, + 239, + 239, + 140, + 189, + 239, + 74, + 123, + 239, + 24, + 57, + 165, + 24, + 74, + 198, + 140, + 189, + 231, + 181, + 231, + 239, + 148, + 189, + 239, + 0, + 0, + 41, + 90, + 140, + 231, + 115, + 165, + 239, + 107, + 156, + 239, + 8, + 41, + 140, + 49, + 99, + 239, + 41, + 90, + 239, + 8, + 33, + 123, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 193, + 50, + 13, + 85, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 1, + 136, + 73, + 68, + 65, + 84, + 120, + 156, + 117, + 210, + 109, + 87, + 155, + 48, + 24, + 6, + 224, + 18, + 78, + 128, + 38, + 16, + 82, + 147, + 134, + 204, + 9, + 76, + 167, + 5, + 34, + 218, + 170, + 139, + 219, + 172, + 111, + 219, + 124, + 249, + 255, + 191, + 40, + 123, + 210, + 86, + 236, + 177, + 199, + 155, + 47, + 156, + 115, + 157, + 59, + 33, + 228, + 25, + 141, + 134, + 4, + 40, + 68, + 40, + 112, + 163, + 157, + 4, + 56, + 138, + 33, + 81, + 130, + 195, + 143, + 140, + 199, + 132, + 166, + 16, + 146, + 177, + 40, + 65, + 219, + 232, + 114, + 78, + 39, + 123, + 66, + 10, + 49, + 85, + 41, + 41, + 146, + 208, + 13, + 234, + 146, + 76, + 139, + 47, + 251, + 95, + 15, + 202, + 170, + 150, + 83, + 13, + 136, + 6, + 196, + 76, + 239, + 125, + 59, + 60, + 250, + 126, + 124, + 50, + 107, + 90, + 217, + 233, + 44, + 50, + 111, + 123, + 6, + 49, + 157, + 236, + 31, + 158, + 246, + 167, + 103, + 231, + 243, + 166, + 108, + 23, + 138, + 48, + 188, + 41, + 186, + 132, + 107, + 113, + 113, + 217, + 247, + 253, + 213, + 143, + 121, + 83, + 213, + 194, + 82, + 150, + 131, + 121, + 12, + 34, + 50, + 145, + 215, + 63, + 251, + 254, + 215, + 239, + 155, + 89, + 83, + 214, + 66, + 129, + 133, + 107, + 11, + 99, + 186, + 188, + 189, + 190, + 187, + 191, + 127, + 240, + 181, + 86, + 46, + 222, + 205, + 61, + 22, + 90, + 148, + 7, + 127, + 254, + 254, + 187, + 241, + 187, + 213, + 162, + 211, + 132, + 175, + 204, + 141, + 28, + 102, + 79, + 162, + 157, + 205, + 159, + 95, + 26, + 79, + 114, + 106, + 211, + 44, + 78, + 6, + 75, + 151, + 117, + 213, + 128, + 84, + 64, + 11, + 171, + 41, + 143, + 253, + 119, + 122, + 123, + 44, + 168, + 149, + 109, + 89, + 86, + 183, + 53, + 208, + 82, + 105, + 194, + 252, + 249, + 86, + 102, + 98, + 162, + 166, + 117, + 221, + 66, + 73, + 138, + 14, + 136, + 195, + 146, + 27, + 11, + 115, + 150, + 170, + 165, + 20, + 82, + 46, + 58, + 171, + 244, + 107, + 86, + 68, + 102, + 181, + 36, + 88, + 128, + 139, + 44, + 85, + 182, + 235, + 172, + 181, + 42, + 245, + 132, + 215, + 53, + 127, + 136, + 48, + 7, + 212, + 74, + 41, + 157, + 82, + 194, + 139, + 40, + 25, + 8, + 138, + 38, + 31, + 115, + 66, + 41, + 125, + 37, + 156, + 143, + 129, + 214, + 43, + 174, + 204, + 33, + 147, + 199, + 5, + 227, + 156, + 51, + 184, + 119, + 179, + 105, + 109, + 126, + 54, + 96, + 146, + 71, + 144, + 28, + 38, + 2, + 109, + 147, + 199, + 0, + 25, + 131, + 141, + 9, + 223, + 229, + 237, + 110, + 253, + 107, + 128, + 224, + 25, + 192, + 109, + 13, + 197, + 110, + 182, + 167, + 233, + 83, + 249, + 136, + 187, + 227, + 187, + 3, + 255, + 1, + 20, + 84, + 204, + 216, + 153, + 105, + 14, + 191, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + } + ] +} \ No newline at end of file diff --git a/tests/legacy/033.txt b/tests/legacy/033.txt new file mode 100644 index 0000000..6352ea9 --- /dev/null +++ b/tests/legacy/033.txt @@ -0,0 +1,89 @@ +Message-ID: <392363E1.2AC47AB3@example.com> +Date: Wed, 17 May 2000 23:30:41 -0400 +From: Doug Sauder +X-Mailer: Mozilla 4.7 [en] (WinNT; I) +X-Accept-Language: en +MIME-Version: 1.0 +To: Joe Blow +Subject: Test message from Netscape Communicator 4.7 +X-Priority: 5 (Lowest) +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: quoted-printable + +Die Hasen und die Fr=F6sche + +Die Hasen klagten einst =FCber ihre mi=DFliche Lage; "wir leben", sprach = +ein +Redner, "in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, +der Adler, ja fast aller Raubtiere! Unsere stete Angst ist =E4rger als de= +r +Tod selbst. Auf, la=DFt uns ein f=FCr allemal sterben." = + + +In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu; +allein das au=DFerordentliche Get=F6se und ihre wunderbare Gestalt +erschreckte eine Menge Fr=F6sche, die am Ufer sa=DFen, so sehr, da=DF sie= + aufs +schnellste untertauchten. = + + +"Halt", rief nun eben dieser Sprecher, "wir wollen das Ers=E4ufen noch ei= +n +wenig aufschieben, denn auch uns f=FCrchten, wie ihr seht, einige Tiere, +welche also wohl noch ungl=FCcklicher sein m=FCssen als wir." + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 17, + "hour": 23, + "minute": 30, + "second": 41, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "dwsauder@example.com" + } + }, + "message_id": "392363E1.2AC47AB3@example.com", + "mime_version": "1.0", + "subject": "Test message from Netscape Communicator 4.7", + "to": { + "Address": { + "name": "Joe Blow", + "address": "blow@example.com" + } + }, + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "UTF-8" + } + }, + "others": { + "X-Priority": [ + "5 (Lowest)" + ], + "X-Mailer": [ + "Mozilla 4.7 [en] (WinNT; I)" + ], + "X-Accept-Language": [ + "en" + ] + } + }, + "text_body": [ + { + "contents": "Die Hasen und die Fr�sche\n\nDie Hasen klagten einst �ber ihre mi�liche Lage; \"wir leben\", sprach ein\nRedner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde,\nder Adler, ja fast aller Raubtiere! Unsere stete Angst ist �rger als der\nTod selbst. Auf, la�t uns ein f�r allemal sterben.\" \n\nIn einem nahen Teich wollten sie sich nun ers�ufen; sie eilten ihm zu;\nallein das au�erordentliche Get�se und ihre wunderbare Gestalt\nerschreckte eine Menge Fr�sche, die am Ufer sa�en, so sehr, da� sie aufs\nschnellste untertauchten. \n\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ers�ufen noch ein\nwenig aufschieben, denn auch uns f�rchten, wie ihr seht, einige Tiere,\nwelche also wohl noch ungl�cklicher sein m�ssen als wir.\"\n" + } + ] +} \ No newline at end of file diff --git a/tests/legacy/034.txt b/tests/legacy/034.txt new file mode 100644 index 0000000..01efdfb --- /dev/null +++ b/tests/legacy/034.txt @@ -0,0 +1,79 @@ +Message-ID: <39236497.12FA2A89@example.com> +Date: Wed, 17 May 2000 23:33:43 -0400 +From: Doug Sauder +X-Mailer: Mozilla 4.7 [en] (WinNT; I) +X-Accept-Language: en +MIME-Version: 1.0 +To: "Heinz M+APw-ller" +Subject: Die Hasen und die Fr+APY-sche +Content-Type: text/plain; charset=UTF-7 +Content-Transfer-Encoding: 7bit + +Die Hasen und die Fr+XKM-he + +Die Hasen klagten einst +uGU-r ihre mi+B6w-iche Lage; "wir leben", sprach ein +Redner, "in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, +der Adler, ja fast aller Raubtiere! Unsere stete Angst ist +PGc-er als der +Tod selbst. Auf, la+B7Q- uns ein f+vCA-allemal sterben." + +In einem nahen Teich wollten sie sich nun ers+PSY-en; sie eilten ihm zu; +allein das au+B6U-rordentliche Get+XKU- und ihre wunderbare Gestalt +erschreckte eine Menge Fr+XKM-he, die am Ufer sa+B6U-n, so sehr, da+B2A-sie aufs +schnellste untertauchten. + +"Halt", rief nun eben dieser Sprecher, "wir wollen das Ers+PSY-en noch ein +wenig aufschieben, denn auch uns f+vGM-hten, wie ihr seht, einige Tiere, +welche also wohl noch ungl+uKs-licher sein m+vLM-en als wir." + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 17, + "hour": 23, + "minute": 33, + "second": 43, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "dwsauder@example.com" + } + }, + "message_id": "39236497.12FA2A89@example.com", + "mime_version": "1.0", + "subject": "Die Hasen und die Fr+APY-sche", + "to": { + "Address": { + "name": "Heinz M+APw-ller", + "address": "mueller@example.com" + } + }, + "content_transfer_encoding": "7bit", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "UTF-7" + } + }, + "others": { + "X-Mailer": [ + "Mozilla 4.7 [en] (WinNT; I)" + ], + "X-Accept-Language": [ + "en" + ] + } + }, + "text_body": [ + { + "contents": "Die Hasen und die Fr+XKM-he\r\n\r\nDie Hasen klagten einst +uGU-r ihre mi+B6w-iche Lage; \"wir leben\", sprach ein\r\nRedner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde,\r\nder Adler, ja fast aller Raubtiere! Unsere stete Angst ist +PGc-er als der\r\nTod selbst. Auf, la+B7Q- uns ein f+vCA-allemal sterben.\" \r\n\r\nIn einem nahen Teich wollten sie sich nun ers+PSY-en; sie eilten ihm zu;\r\nallein das au+B6U-rordentliche Get+XKU- und ihre wunderbare Gestalt\r\nerschreckte eine Menge Fr+XKM-he, die am Ufer sa+B6U-n, so sehr, da+B2A-sie aufs\r\nschnellste untertauchten. \r\n\r\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ers+PSY-en noch ein\r\nwenig aufschieben, denn auch uns f+vGM-hten, wie ihr seht, einige Tiere,\r\nwelche also wohl noch ungl+uKs-licher sein m+vLM-en als wir.\"\r\n" + } + ] +} \ No newline at end of file diff --git a/tests/legacy/035.txt b/tests/legacy/035.txt new file mode 100644 index 0000000..0b9796b --- /dev/null +++ b/tests/legacy/035.txt @@ -0,0 +1,5904 @@ +Message-ID: <39235FC5.276CCE00@example.com> +Date: Wed, 17 May 2000 23:13:09 -0400 +From: Doug Sauder +X-Mailer: Mozilla 4.7 [en] (WinNT; I) +X-Accept-Language: en +MIME-Version: 1.0 +To: Heinz =?iso-8859-1?Q?M=FCller?= +Subject: Die Hasen und die =?iso-8859-1?Q?Fr=F6sche?= (Netscape Messenger 4.7) +Content-Type: multipart/mixed; + boundary="------------A1E83A41894D3755390B838A" + +This is a multi-part message in MIME format. +--------------A1E83A41894D3755390B838A +Content-Type: multipart/alternative; + boundary="------------F03F94BA73D3B9E8C1B94D92" + + +--------------F03F94BA73D3B9E8C1B94D92 +Content-Type: text/plain; charset=iso-8859-1 +Content-Transfer-Encoding: quoted-printable + +[blue ball] + +Die Hasen und die Fr=F6sche + +Die Hasen klagten einst =FCber ihre mi=DFliche Lage; "wir leben", sprach = +ein +Redner, "in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, +der Adler, ja fast aller Raubtiere! Unsere stete Angst ist =E4rger als de= +r +Tod selbst. Auf, la=DFt uns ein f=FCr allemal sterben." + +In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu; +allein das au=DFerordentliche Get=F6se und ihre wunderbare Gestalt +erschreckte eine Menge Fr=F6sche, die am Ufer sa=DFen, so sehr, da=DF sie= + aufs +schnellste untertauchten. + +"Halt", rief nun eben dieser Sprecher, "wir wollen das Ers=E4ufen noch ei= +n +wenig aufschieben, denn auch uns f=FCrchten, wie ihr seht, einige Tiere, +welche also wohl noch ungl=FCcklicher sein m=FCssen als wir." + +[Image] + + + +--------------F03F94BA73D3B9E8C1B94D92 +Content-Type: multipart/related; + boundary="------------C02FA3D0A04E95F295FB25EB" + + +--------------C02FA3D0A04E95F295FB25EB +Content-Type: text/html; charset=us-ascii +Content-Transfer-Encoding: 7bit + + + +blue ball +

Die Hasen und die Frösche +

Die Hasen klagten einst über ihre mißliche Lage; "wir leben", +sprach ein Redner, "in steter Furcht vor Menschen und Tieren, eine Beute +der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger +als der Tod selbst. Auf, laßt uns ein für allemal sterben." +

In einem nahen Teich wollten sie sich nun ersäufen; sie eilten +ihm zu; allein das außerordentliche Getöse und ihre wunderbare +Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so +sehr, daß sie aufs schnellste untertauchten. +

"Halt", rief nun eben dieser Sprecher, "wir wollen das Ersäufen +noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, +einige Tiere, welche also wohl noch unglücklicher sein müssen +als wir." +

+
  +
  + +--------------C02FA3D0A04E95F295FB25EB +Content-Type: image/png +Content-ID: +Content-Transfer-Encoding: base64 +Content-Disposition: inline; filename="C:\TEMP\nsmailEG.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAgAABAAABgA +AAAACCkAEEIAEEoACDEAEFIIIXMIKXsIKYQIIWsAGFoACDkIIWMQOZwYQqUYQq0YQrUQOaUQ +MZQAGFIQMYwpUrU5Y8Y5Y84pWs4YSs4YQs4YQr1Ca8Z7nNacvd6Mtd5jlOcxa94hUt4YStYY +QsYQMaUAACHO5+/n7++cxu9ShO8pWucQOa1Ke86tzt6lzu9ajO8QMZxahNat1ufO7++Mve9K +e+8YOaUYSsaMvee15++Uve8AAClajOdzpe9rnO8IKYwxY+8pWu8IIXsAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADB +Mg1VAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAuMT1evmgAAAGI +SURBVHicddJtV5swGAbgEk6AJhBSk4bMCUynBSLaqovbrG/bfPn/vyh70lbsscebL5xznTsh +5BmNhgQoRChwo50EOIohUYLDj4zHhKYQkrEoQdvock4ne0IKMVUpKZLQDeqSTIsv+18PyqqW +Uw2IBsRM7307PPp+fDJrWtnpLDJvewYxnewfnvanZ+fzpmwXijC8KbqEa3Fx2ff91Y95U9XC +UpaDeQwiMpHXP/v+1++bWVPWQoGFawtjury9vru/f/C1Vi7ezT0WWpQHf/7+u/G71aLThK/M +jRxmT6KdzZ9fGk9yatMsTgZLl3XVgFRAC6spj/13enssqJVtWVa3NdBSacL8+VZmYqKmdd1C +SYoOiMOSGwtzlqqlFFIuOqv0a1ZEZrUkWICLLFW266y1KvWE1zV/iDAH1EopnVLCiygZCIom +H3NCKX0lnI+B1iuuzCGTxwXjnDO4d7NpbX42YJJHkBwmAm2TxwAZg40J3+Xtbv1rgOAZwG0N +xW62p+lT+Yi747sD/wEUVMzYmWkOvwAAACV0RVh0Q29tbWVudABjbGlwMmdpZiB2LjAuNiBi +eSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII= +--------------C02FA3D0A04E95F295FB25EB +Content-Type: image/png +Content-ID: +Content-Transfer-Encoding: base64 +Content-Disposition: inline; filename="C:\TEMP\nsmail39.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAABAAALAAAV +AAAaAAAXAAARAAAKAAADAAAcAAAyAABEAABNAABIAAA9AAAjAAAWAAAmAABhAAB7AACGAACH +AAB9AAB0AABgAAA5AAAUAAAGAAAnAABLAABvAACQAAClAAC7AAC/AACrAAChAACMAABzAABb +AAAuAAAIAABMAAB3AACZAAC0GRnKODjVPT3bKSndBQW4AACoAAB5AAAxAAAYAAAEAABFAACa +AAC7JCTRYWHfhITmf3/mVlbqHx/SAAC5AACjAABdAABCAAAoAAAJAABnAAC6Dw/QVFTek5Pl +rKzpmZntZWXvJSXXAADBAACxAACcAABtAABTAAA2AAAbAAAFAABKAACBAADLICDdZ2fonJzr +pqbtiorvUVHvFBTRAADDAAC2AAB4AABeAABAAAAiAABXAACSAADCAADaGxvoVVXseHjveHjv +V1fvJibhAADOAAC3AACnAACVAABHAAArAAAPAACdAADFAADhBQXrKCjvPDzvNTXvGxvjAADQ +AADJAAC1AACXAACEAABsAABPAAASAAACAABiAADpAADvAgLnAADYAADLAAC6AACwAABwAAAT +AAAkAABYAADIAADTAADNAACzAACDAABuAAAeAAB+AADAAACkAACNAAB/AABpAABQAAAwAACR +AACpAAC8AACqAACbAABlAABJAAAqAAAOAAA0AACsAACvAACtAACmAACJAAB6AABrAABaAAA+ +AAApAABqAACCAACfAACeAACWAACPAAB8AAAZAAAHAABVAACOAACKAAA4AAAQAAA/AAByAACA +AABcAAA3AAAsAABmAABDAABWAAAgAAAzAAA8AAA6AAAfAAAMAAAdAAANAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD8 +LtlFAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAuMT1evmgAAAII +SURBVHicY2CAg/8QwIABmJhZWFnZ2Dk4MaU5uLh5eHn5+LkFBDlQJf8zC/EIi4iKiUtI8koJ +Scsgyf5nlpWTV1BUUlZRVVPX4NFk1UJIyghp6+jq6RsYGhmbKJgK85mZW8Dk/rNaSlhZ29ja +2Ts4Ojkr6Li4urFDNf53N/Ow8vTy9vH18w8IDAoWDQkNC4+ASP5ni4wKio6JjYtPSExKTnFW +SE1LF4A69n9GZlZ2Tm5efkFhUXFySWlZlEd5RSVY7j+TkGRVdU1tXX1DY1Ozcktpa1t7h2Yn +OAj+d7l1tyo79vT29SdNSJ44SbFVdHIo9xSIHNPUaWqTpifNSJrZnK00S0U1a/acUG5piNz/ +uXLzVJ2qm6dXz584S2WB1cJFi5cshZr539xVftnyFKUVTi2TVjqvyhJLXb1m7TqoHPt6F/HW +0g0bN63crGqVtWXrtu07BJihcsw71+zanRW8Z89eq337RQ/Ip60xO3gIElX/LbikDm8T36Kw +bNmRo7O3zpHkPSZwHBqL//8flz1x2OOkyKJTi7aqbzutfUZI2gIuF8F2lr/D5dw2+fZdwpl8 +YVOlI+CJ4/9/joOyYed5QzMvhGqnm2V0WiClm///D0lfXHtJ6vLlK9w7rx7vQk5SQJbFtSms +1y9evXid7QZacgOxmSxktNzdtSwwU+J/VICaCPFIYU3XAJhIOtjf5sfyAAAAJXRFWHRDb21t +ZW50AGNsaXAyZ2lmIHYuMC42IGJ5IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg== +--------------C02FA3D0A04E95F295FB25EB-- + +--------------F03F94BA73D3B9E8C1B94D92-- + +--------------A1E83A41894D3755390B838A +Content-Type: image/png; + name="redball.png" +Content-Transfer-Encoding: base64 +Content-Disposition: inline; + filename="redball.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAABAAALAAAV +AAAaAAAXAAARAAAKAAADAAAcAAAyAABEAABNAABIAAA9AAAjAAAWAAAmAABhAAB7AACGAACH +AAB9AAB0AABgAAA5AAAUAAAGAAAnAABLAABvAACQAAClAAC7AAC/AACrAAChAACMAABzAABb +AAAuAAAIAABMAAB3AACZAAC0GRnKODjVPT3bKSndBQW4AACoAAB5AAAxAAAYAAAEAABFAACa +AAC7JCTRYWHfhITmf3/mVlbqHx/SAAC5AACjAABdAABCAAAoAAAJAABnAAC6Dw/QVFTek5Pl +rKzpmZntZWXvJSXXAADBAACxAACcAABtAABTAAA2AAAbAAAFAABKAACBAADLICDdZ2fonJzr +pqbtiorvUVHvFBTRAADDAAC2AAB4AABeAABAAAAiAABXAACSAADCAADaGxvoVVXseHjveHjv +V1fvJibhAADOAAC3AACnAACVAABHAAArAAAPAACdAADFAADhBQXrKCjvPDzvNTXvGxvjAADQ +AADJAAC1AACXAACEAABsAABPAAASAAACAABiAADpAADvAgLnAADYAADLAAC6AACwAABwAAAT +AAAkAABYAADIAADTAADNAACzAACDAABuAAAeAAB+AADAAACkAACNAAB/AABpAABQAAAwAACR +AACpAAC8AACqAACbAABlAABJAAAqAAAOAAA0AACsAACvAACtAACmAACJAAB6AABrAABaAAA+ +AAApAABqAACCAACfAACeAACWAACPAAB8AAAZAAAHAABVAACOAACKAAA4AAAQAAA/AAByAACA +AABcAAA3AAAsAABmAABDAABWAAAgAAAzAAA8AAA6AAAfAAAMAAAdAAANAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD8 +LtlFAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAuMT1evmgAAAII +SURBVHicY2CAg/8QwIABmJhZWFnZ2Dk4MaU5uLh5eHn5+LkFBDlQJf8zC/EIi4iKiUtI8koJ +Scsgyf5nlpWTV1BUUlZRVVPX4NFk1UJIyghp6+jq6RsYGhmbKJgK85mZW8Dk/rNaSlhZ29ja +2Ts4Ojkr6Li4urFDNf53N/Ow8vTy9vH18w8IDAoWDQkNC4+ASP5ni4wKio6JjYtPSExKTnFW +SE1LF4A69n9GZlZ2Tm5efkFhUXFySWlZlEd5RSVY7j+TkGRVdU1tXX1DY1Ozcktpa1t7h2Yn +OAj+d7l1tyo79vT29SdNSJ44SbFVdHIo9xSIHNPUaWqTpifNSJrZnK00S0U1a/acUG5piNz/ +uXLzVJ2qm6dXz584S2WB1cJFi5cshZr539xVftnyFKUVTi2TVjqvyhJLXb1m7TqoHPt6F/HW +0g0bN63crGqVtWXrtu07BJihcsw71+zanRW8Z89eq337RQ/Ip60xO3gIElX/LbikDm8T36Kw +bNmRo7O3zpHkPSZwHBqL//8flz1x2OOkyKJTi7aqbzutfUZI2gIuF8F2lr/D5dw2+fZdwpl8 +YVOlI+CJ4/9/joOyYed5QzMvhGqnm2V0WiClm///D0lfXHtJ6vLlK9w7rx7vQk5SQJbFtSms +1y9evXid7QZacgOxmSxktNzdtSwwU+J/VICaCPFIYU3XAJhIOtjf5sfyAAAAJXRFWHRDb21t +ZW50AGNsaXAyZ2lmIHYuMC42IGJ5IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg== +--------------A1E83A41894D3755390B838A +Content-Type: image/png; + name="greenball.png" +Content-Transfer-Encoding: base64 +Content-Disposition: inline; + filename="greenball.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAAAEAAAGAAA +IQAACAAAMQAAQgAAUgAAWgAASgAIYwAIcwAIewAQjAAIawAAOQAAYwAQlAAQnAAhpQAQpQAh +rQBCvRhjxjFjxjlSxiEpzgAYvQAQrQAYrQAhvQCU1mOt1nuE1lJK3hgh1gAYxgAYtQAAKQBC +zhDO55Te563G55SU52NS5yEh3gAYzgBS3iGc52vW75y974yE71JC7xCt73ul3nNa7ykh5wAY +1gAx5wBS7yFr7zlK7xgp5wAp7wAx7wAIhAAQtQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAp +1fnZAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAuMT1evmgAAAFt +SURBVHicddJtV8IgFAdwD2zIgMEE1+NcqdsoK+m5tCyz7/+ZiLmHsyzvq53zO/cy+N9ery1b +Ve9PWQA9z4MQ+H8Yoj7GASZ95IHfaBGmLOSchyIgyOu22mgQSjUcDuNYcoGjLiLK1cHh0fHJ +aTKKOcMItgYxT89OzsfjyTTLC8UF0c2ZNmKquJhczq6ub+YmSVUYRF59GeDastu7+9nD41Nm +kiJ2jc2J3kAWZ9Pr55fH18XSmRuKUTXUaqHy7O19tfr4NFle/w3YDrWRUIlZrL/W86XJkyJV +G9EaEjIx2XyZmZJGioeUaL+2AY8TY8omR6nkLKhu70zjUKVJXsp3quS2DVSJWNh3zzJKCyex +I0ZxBP3afE0ElyqOlZJyw8r3BE2SFiJCyxA434SCkg65RhdeQBljQtCg39LWrA90RDDG1EWr +YUO23hMANUKRRl61E529cR++D2G5LK002dr/qrcfu9u0V3bxn/XdhR/NYeeN0ggsLAAAACV0 +RVh0Q29tbWVudABjbGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5C +YII= +--------------A1E83A41894D3755390B838A-- + + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 17, + "hour": 23, + "minute": 13, + "second": 9, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "dwsauder@example.com" + } + }, + "message_id": "39235FC5.276CCE00@example.com", + "mime_version": "1.0", + "subject": "Die Hasen und die Frösche (Netscape Messenger 4.7)", + "to": { + "Address": { + "name": "Heinz Müller", + "address": "mueller@example.com" + } + }, + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "------------A1E83A41894D3755390B838A" + } + }, + "others": { + "X-Accept-Language": [ + "en" + ], + "X-Mailer": [ + "Mozilla 4.7 [en] (WinNT; I)" + ] + } + }, + "html_body": [ + { + "header": { + "content_transfer_encoding": "7bit", + "content_type": { + "c_type": "text", + "c_subtype": "html", + "attributes": { + "charset": "us-ascii" + } + } + }, + "contents": "\r\n\r\n\"blue\r\n

Die Hasen und die Frösche\r\n

Die Hasen klagten einst über ihre mißliche Lage; \"wir leben\",\r\nsprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute\r\nder Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger\r\nals der Tod selbst. Auf, laßt uns ein für allemal sterben.\"\r\n

In einem nahen Teich wollten sie sich nun ersäufen; sie eilten\r\nihm zu; allein das außerordentliche Getöse und ihre wunderbare\r\nGestalt erschreckte eine Menge Frösche, die am Ufer saßen, so\r\nsehr, daß sie aufs schnellste untertauchten.\r\n

\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen\r\nnoch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht,\r\neinige Tiere, welche also wohl noch unglücklicher sein müssen\r\nals wir.\"\r\n

\r\n
 \r\n
 \r\n\r" + } + ], + "text_body": [ + { + "header": { + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "iso-8859-1" + } + } + }, + "contents": "[blue ball]\n\nDie Hasen und die Frösche\n\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein\nRedner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde,\nder Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der\nTod selbst. Auf, laßt uns ein für allemal sterben.\"\n\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu;\nallein das außerordentliche Getöse und ihre wunderbare Gestalt\nerschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs\nschnellste untertauchten.\n\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein\nwenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere,\nwelche also wohl noch unglücklicher sein müssen als wir.\"\n\n[Image]\n\n\n" + } + ], + "attachments": [ + { + "File": { + "header": { + "content_disposition": { + "c_type": "inline", + "attributes": { + "filename": "C:TEMPnsmailEG.png" + } + }, + "content_id": "part1.39235FC5.E71D8178@example.com", + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png" + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 8, + 0, + 0, + 16, + 0, + 0, + 24, + 0, + 0, + 0, + 0, + 8, + 41, + 0, + 16, + 66, + 0, + 16, + 74, + 0, + 8, + 49, + 0, + 16, + 82, + 8, + 33, + 115, + 8, + 41, + 123, + 8, + 41, + 132, + 8, + 33, + 107, + 0, + 24, + 90, + 0, + 8, + 57, + 8, + 33, + 99, + 16, + 57, + 156, + 24, + 66, + 165, + 24, + 66, + 173, + 24, + 66, + 181, + 16, + 57, + 165, + 16, + 49, + 148, + 0, + 24, + 82, + 16, + 49, + 140, + 41, + 82, + 181, + 57, + 99, + 198, + 57, + 99, + 206, + 41, + 90, + 206, + 24, + 74, + 206, + 24, + 66, + 206, + 24, + 66, + 189, + 66, + 107, + 198, + 123, + 156, + 214, + 156, + 189, + 222, + 140, + 181, + 222, + 99, + 148, + 231, + 49, + 107, + 222, + 33, + 82, + 222, + 24, + 74, + 214, + 24, + 66, + 198, + 16, + 49, + 165, + 0, + 0, + 33, + 206, + 231, + 239, + 231, + 239, + 239, + 156, + 198, + 239, + 82, + 132, + 239, + 41, + 90, + 231, + 16, + 57, + 173, + 74, + 123, + 206, + 173, + 206, + 222, + 165, + 206, + 239, + 90, + 140, + 239, + 16, + 49, + 156, + 90, + 132, + 214, + 173, + 214, + 231, + 206, + 239, + 239, + 140, + 189, + 239, + 74, + 123, + 239, + 24, + 57, + 165, + 24, + 74, + 198, + 140, + 189, + 231, + 181, + 231, + 239, + 148, + 189, + 239, + 0, + 0, + 41, + 90, + 140, + 231, + 115, + 165, + 239, + 107, + 156, + 239, + 8, + 41, + 140, + 49, + 99, + 239, + 41, + 90, + 239, + 8, + 33, + 123, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 193, + 50, + 13, + 85, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 1, + 136, + 73, + 68, + 65, + 84, + 120, + 156, + 117, + 210, + 109, + 87, + 155, + 48, + 24, + 6, + 224, + 18, + 78, + 128, + 38, + 16, + 82, + 147, + 134, + 204, + 9, + 76, + 167, + 5, + 34, + 218, + 170, + 139, + 219, + 172, + 111, + 219, + 124, + 249, + 255, + 191, + 40, + 123, + 210, + 86, + 236, + 177, + 199, + 155, + 47, + 156, + 115, + 157, + 59, + 33, + 228, + 25, + 141, + 134, + 4, + 40, + 68, + 40, + 112, + 163, + 157, + 4, + 56, + 138, + 33, + 81, + 130, + 195, + 143, + 140, + 199, + 132, + 166, + 16, + 146, + 177, + 40, + 65, + 219, + 232, + 114, + 78, + 39, + 123, + 66, + 10, + 49, + 85, + 41, + 41, + 146, + 208, + 13, + 234, + 146, + 76, + 139, + 47, + 251, + 95, + 15, + 202, + 170, + 150, + 83, + 13, + 136, + 6, + 196, + 76, + 239, + 125, + 59, + 60, + 250, + 126, + 124, + 50, + 107, + 90, + 217, + 233, + 44, + 50, + 111, + 123, + 6, + 49, + 157, + 236, + 31, + 158, + 246, + 167, + 103, + 231, + 243, + 166, + 108, + 23, + 138, + 48, + 188, + 41, + 186, + 132, + 107, + 113, + 113, + 217, + 247, + 253, + 213, + 143, + 121, + 83, + 213, + 194, + 82, + 150, + 131, + 121, + 12, + 34, + 50, + 145, + 215, + 63, + 251, + 254, + 215, + 239, + 155, + 89, + 83, + 214, + 66, + 129, + 133, + 107, + 11, + 99, + 186, + 188, + 189, + 190, + 187, + 191, + 127, + 240, + 181, + 86, + 46, + 222, + 205, + 61, + 22, + 90, + 148, + 7, + 127, + 254, + 254, + 187, + 241, + 187, + 213, + 162, + 211, + 132, + 175, + 204, + 141, + 28, + 102, + 79, + 162, + 157, + 205, + 159, + 95, + 26, + 79, + 114, + 106, + 211, + 44, + 78, + 6, + 75, + 151, + 117, + 213, + 128, + 84, + 64, + 11, + 171, + 41, + 143, + 253, + 119, + 122, + 123, + 44, + 168, + 149, + 109, + 89, + 86, + 183, + 53, + 208, + 82, + 105, + 194, + 252, + 249, + 86, + 102, + 98, + 162, + 166, + 117, + 221, + 66, + 73, + 138, + 14, + 136, + 195, + 146, + 27, + 11, + 115, + 150, + 170, + 165, + 20, + 82, + 46, + 58, + 171, + 244, + 107, + 86, + 68, + 102, + 181, + 36, + 88, + 128, + 139, + 44, + 85, + 182, + 235, + 172, + 181, + 42, + 245, + 132, + 215, + 53, + 127, + 136, + 48, + 7, + 212, + 74, + 41, + 157, + 82, + 194, + 139, + 40, + 25, + 8, + 138, + 38, + 31, + 115, + 66, + 41, + 125, + 37, + 156, + 143, + 129, + 214, + 43, + 174, + 204, + 33, + 147, + 199, + 5, + 227, + 156, + 51, + 184, + 119, + 179, + 105, + 109, + 126, + 54, + 96, + 146, + 71, + 144, + 28, + 38, + 2, + 109, + 147, + 199, + 0, + 25, + 131, + 141, + 9, + 223, + 229, + 237, + 110, + 253, + 107, + 128, + 224, + 25, + 192, + 109, + 13, + 197, + 110, + 182, + 167, + 233, + 83, + 249, + 136, + 187, + 227, + 187, + 3, + 255, + 1, + 20, + 84, + 204, + 216, + 153, + 105, + 14, + 191, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + }, + { + "File": { + "header": { + "content_disposition": { + "c_type": "inline", + "attributes": { + "filename": "C:TEMPnsmail39.png" + } + }, + "content_id": "part2.39235FC5.E71D8178@example.com", + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png" + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 0, + 1, + 0, + 0, + 11, + 0, + 0, + 21, + 0, + 0, + 26, + 0, + 0, + 23, + 0, + 0, + 17, + 0, + 0, + 10, + 0, + 0, + 3, + 0, + 0, + 28, + 0, + 0, + 50, + 0, + 0, + 68, + 0, + 0, + 77, + 0, + 0, + 72, + 0, + 0, + 61, + 0, + 0, + 35, + 0, + 0, + 22, + 0, + 0, + 38, + 0, + 0, + 97, + 0, + 0, + 123, + 0, + 0, + 134, + 0, + 0, + 135, + 0, + 0, + 125, + 0, + 0, + 116, + 0, + 0, + 96, + 0, + 0, + 57, + 0, + 0, + 20, + 0, + 0, + 6, + 0, + 0, + 39, + 0, + 0, + 75, + 0, + 0, + 111, + 0, + 0, + 144, + 0, + 0, + 165, + 0, + 0, + 187, + 0, + 0, + 191, + 0, + 0, + 171, + 0, + 0, + 161, + 0, + 0, + 140, + 0, + 0, + 115, + 0, + 0, + 91, + 0, + 0, + 46, + 0, + 0, + 8, + 0, + 0, + 76, + 0, + 0, + 119, + 0, + 0, + 153, + 0, + 0, + 180, + 25, + 25, + 202, + 56, + 56, + 213, + 61, + 61, + 219, + 41, + 41, + 221, + 5, + 5, + 184, + 0, + 0, + 168, + 0, + 0, + 121, + 0, + 0, + 49, + 0, + 0, + 24, + 0, + 0, + 4, + 0, + 0, + 69, + 0, + 0, + 154, + 0, + 0, + 187, + 36, + 36, + 209, + 97, + 97, + 223, + 132, + 132, + 230, + 127, + 127, + 230, + 86, + 86, + 234, + 31, + 31, + 210, + 0, + 0, + 185, + 0, + 0, + 163, + 0, + 0, + 93, + 0, + 0, + 66, + 0, + 0, + 40, + 0, + 0, + 9, + 0, + 0, + 103, + 0, + 0, + 186, + 15, + 15, + 208, + 84, + 84, + 222, + 147, + 147, + 229, + 172, + 172, + 233, + 153, + 153, + 237, + 101, + 101, + 239, + 37, + 37, + 215, + 0, + 0, + 193, + 0, + 0, + 177, + 0, + 0, + 156, + 0, + 0, + 109, + 0, + 0, + 83, + 0, + 0, + 54, + 0, + 0, + 27, + 0, + 0, + 5, + 0, + 0, + 74, + 0, + 0, + 129, + 0, + 0, + 203, + 32, + 32, + 221, + 103, + 103, + 232, + 156, + 156, + 235, + 166, + 166, + 237, + 138, + 138, + 239, + 81, + 81, + 239, + 20, + 20, + 209, + 0, + 0, + 195, + 0, + 0, + 182, + 0, + 0, + 120, + 0, + 0, + 94, + 0, + 0, + 64, + 0, + 0, + 34, + 0, + 0, + 87, + 0, + 0, + 146, + 0, + 0, + 194, + 0, + 0, + 218, + 27, + 27, + 232, + 85, + 85, + 236, + 120, + 120, + 239, + 120, + 120, + 239, + 87, + 87, + 239, + 38, + 38, + 225, + 0, + 0, + 206, + 0, + 0, + 183, + 0, + 0, + 167, + 0, + 0, + 149, + 0, + 0, + 71, + 0, + 0, + 43, + 0, + 0, + 15, + 0, + 0, + 157, + 0, + 0, + 197, + 0, + 0, + 225, + 5, + 5, + 235, + 40, + 40, + 239, + 60, + 60, + 239, + 53, + 53, + 239, + 27, + 27, + 227, + 0, + 0, + 208, + 0, + 0, + 201, + 0, + 0, + 181, + 0, + 0, + 151, + 0, + 0, + 132, + 0, + 0, + 108, + 0, + 0, + 79, + 0, + 0, + 18, + 0, + 0, + 2, + 0, + 0, + 98, + 0, + 0, + 233, + 0, + 0, + 239, + 2, + 2, + 231, + 0, + 0, + 216, + 0, + 0, + 203, + 0, + 0, + 186, + 0, + 0, + 176, + 0, + 0, + 112, + 0, + 0, + 19, + 0, + 0, + 36, + 0, + 0, + 88, + 0, + 0, + 200, + 0, + 0, + 211, + 0, + 0, + 205, + 0, + 0, + 179, + 0, + 0, + 131, + 0, + 0, + 110, + 0, + 0, + 30, + 0, + 0, + 126, + 0, + 0, + 192, + 0, + 0, + 164, + 0, + 0, + 141, + 0, + 0, + 127, + 0, + 0, + 105, + 0, + 0, + 80, + 0, + 0, + 48, + 0, + 0, + 145, + 0, + 0, + 169, + 0, + 0, + 188, + 0, + 0, + 170, + 0, + 0, + 155, + 0, + 0, + 101, + 0, + 0, + 73, + 0, + 0, + 42, + 0, + 0, + 14, + 0, + 0, + 52, + 0, + 0, + 172, + 0, + 0, + 175, + 0, + 0, + 173, + 0, + 0, + 166, + 0, + 0, + 137, + 0, + 0, + 122, + 0, + 0, + 107, + 0, + 0, + 90, + 0, + 0, + 62, + 0, + 0, + 41, + 0, + 0, + 106, + 0, + 0, + 130, + 0, + 0, + 159, + 0, + 0, + 158, + 0, + 0, + 150, + 0, + 0, + 143, + 0, + 0, + 124, + 0, + 0, + 25, + 0, + 0, + 7, + 0, + 0, + 85, + 0, + 0, + 142, + 0, + 0, + 138, + 0, + 0, + 56, + 0, + 0, + 16, + 0, + 0, + 63, + 0, + 0, + 114, + 0, + 0, + 128, + 0, + 0, + 92, + 0, + 0, + 55, + 0, + 0, + 44, + 0, + 0, + 102, + 0, + 0, + 67, + 0, + 0, + 86, + 0, + 0, + 32, + 0, + 0, + 51, + 0, + 0, + 60, + 0, + 0, + 58, + 0, + 0, + 31, + 0, + 0, + 12, + 0, + 0, + 29, + 0, + 0, + 13, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 252, + 46, + 217, + 69, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 2, + 8, + 73, + 68, + 65, + 84, + 120, + 156, + 99, + 96, + 128, + 131, + 255, + 16, + 192, + 128, + 1, + 152, + 152, + 89, + 88, + 89, + 217, + 216, + 57, + 56, + 49, + 165, + 57, + 184, + 184, + 121, + 120, + 121, + 249, + 248, + 185, + 5, + 4, + 57, + 80, + 37, + 255, + 51, + 11, + 241, + 8, + 139, + 136, + 138, + 137, + 75, + 72, + 242, + 74, + 9, + 73, + 203, + 32, + 201, + 254, + 103, + 150, + 149, + 147, + 87, + 80, + 84, + 82, + 86, + 81, + 85, + 83, + 215, + 224, + 209, + 100, + 213, + 66, + 72, + 202, + 8, + 105, + 235, + 232, + 234, + 233, + 27, + 24, + 26, + 25, + 155, + 40, + 152, + 10, + 243, + 153, + 153, + 91, + 192, + 228, + 254, + 179, + 90, + 74, + 88, + 89, + 219, + 216, + 218, + 217, + 59, + 56, + 58, + 57, + 43, + 232, + 184, + 184, + 186, + 177, + 67, + 53, + 254, + 119, + 55, + 243, + 176, + 242, + 244, + 242, + 246, + 241, + 245, + 243, + 15, + 8, + 12, + 10, + 22, + 13, + 9, + 13, + 11, + 143, + 128, + 72, + 254, + 103, + 139, + 140, + 10, + 138, + 142, + 137, + 141, + 139, + 79, + 72, + 76, + 74, + 78, + 113, + 86, + 72, + 77, + 75, + 23, + 128, + 58, + 246, + 127, + 70, + 102, + 86, + 118, + 78, + 110, + 94, + 126, + 65, + 97, + 81, + 113, + 114, + 73, + 105, + 89, + 148, + 71, + 121, + 69, + 37, + 88, + 238, + 63, + 147, + 144, + 100, + 85, + 117, + 77, + 109, + 93, + 125, + 67, + 99, + 83, + 179, + 114, + 75, + 105, + 107, + 91, + 123, + 135, + 102, + 39, + 56, + 8, + 254, + 119, + 185, + 117, + 183, + 42, + 59, + 246, + 244, + 246, + 245, + 39, + 77, + 72, + 158, + 56, + 73, + 177, + 85, + 116, + 114, + 40, + 247, + 20, + 136, + 28, + 211, + 212, + 105, + 106, + 147, + 166, + 39, + 205, + 72, + 154, + 217, + 156, + 173, + 52, + 75, + 69, + 53, + 107, + 246, + 156, + 80, + 110, + 105, + 136, + 220, + 255, + 185, + 114, + 243, + 84, + 157, + 170, + 155, + 167, + 87, + 207, + 159, + 56, + 75, + 101, + 129, + 213, + 194, + 69, + 139, + 151, + 44, + 133, + 154, + 249, + 223, + 220, + 85, + 126, + 217, + 242, + 20, + 165, + 21, + 78, + 45, + 147, + 86, + 58, + 175, + 202, + 18, + 75, + 93, + 189, + 102, + 237, + 58, + 168, + 28, + 251, + 122, + 23, + 241, + 214, + 210, + 13, + 27, + 55, + 173, + 220, + 172, + 106, + 149, + 181, + 101, + 235, + 182, + 237, + 59, + 4, + 152, + 161, + 114, + 204, + 59, + 215, + 236, + 218, + 157, + 21, + 188, + 103, + 207, + 94, + 171, + 125, + 251, + 69, + 15, + 200, + 167, + 173, + 49, + 59, + 120, + 8, + 18, + 85, + 255, + 45, + 184, + 164, + 14, + 111, + 19, + 223, + 162, + 176, + 108, + 217, + 145, + 163, + 179, + 183, + 206, + 145, + 228, + 61, + 38, + 112, + 28, + 26, + 139, + 255, + 255, + 31, + 151, + 61, + 113, + 216, + 227, + 164, + 200, + 162, + 83, + 139, + 182, + 170, + 111, + 59, + 173, + 125, + 70, + 72, + 218, + 2, + 46, + 23, + 193, + 118, + 150, + 191, + 195, + 229, + 220, + 54, + 249, + 246, + 93, + 194, + 153, + 124, + 97, + 83, + 165, + 35, + 224, + 137, + 227, + 255, + 127, + 142, + 131, + 178, + 97, + 231, + 121, + 67, + 51, + 47, + 132, + 106, + 167, + 155, + 101, + 116, + 90, + 32, + 165, + 155, + 255, + 255, + 15, + 73, + 95, + 92, + 123, + 73, + 234, + 242, + 229, + 43, + 220, + 59, + 175, + 30, + 239, + 66, + 78, + 82, + 64, + 150, + 197, + 181, + 41, + 172, + 215, + 47, + 94, + 189, + 120, + 157, + 237, + 6, + 90, + 114, + 3, + 177, + 153, + 44, + 100, + 180, + 220, + 221, + 181, + 44, + 48, + 83, + 226, + 127, + 84, + 128, + 154, + 8, + 241, + 72, + 97, + 77, + 215, + 0, + 152, + 72, + 58, + 216, + 223, + 230, + 199, + 242, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + }, + { + "File": { + "header": { + "content_disposition": { + "c_type": "inline", + "attributes": { + "filename": "redball.png" + } + }, + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "redball.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 0, + 1, + 0, + 0, + 11, + 0, + 0, + 21, + 0, + 0, + 26, + 0, + 0, + 23, + 0, + 0, + 17, + 0, + 0, + 10, + 0, + 0, + 3, + 0, + 0, + 28, + 0, + 0, + 50, + 0, + 0, + 68, + 0, + 0, + 77, + 0, + 0, + 72, + 0, + 0, + 61, + 0, + 0, + 35, + 0, + 0, + 22, + 0, + 0, + 38, + 0, + 0, + 97, + 0, + 0, + 123, + 0, + 0, + 134, + 0, + 0, + 135, + 0, + 0, + 125, + 0, + 0, + 116, + 0, + 0, + 96, + 0, + 0, + 57, + 0, + 0, + 20, + 0, + 0, + 6, + 0, + 0, + 39, + 0, + 0, + 75, + 0, + 0, + 111, + 0, + 0, + 144, + 0, + 0, + 165, + 0, + 0, + 187, + 0, + 0, + 191, + 0, + 0, + 171, + 0, + 0, + 161, + 0, + 0, + 140, + 0, + 0, + 115, + 0, + 0, + 91, + 0, + 0, + 46, + 0, + 0, + 8, + 0, + 0, + 76, + 0, + 0, + 119, + 0, + 0, + 153, + 0, + 0, + 180, + 25, + 25, + 202, + 56, + 56, + 213, + 61, + 61, + 219, + 41, + 41, + 221, + 5, + 5, + 184, + 0, + 0, + 168, + 0, + 0, + 121, + 0, + 0, + 49, + 0, + 0, + 24, + 0, + 0, + 4, + 0, + 0, + 69, + 0, + 0, + 154, + 0, + 0, + 187, + 36, + 36, + 209, + 97, + 97, + 223, + 132, + 132, + 230, + 127, + 127, + 230, + 86, + 86, + 234, + 31, + 31, + 210, + 0, + 0, + 185, + 0, + 0, + 163, + 0, + 0, + 93, + 0, + 0, + 66, + 0, + 0, + 40, + 0, + 0, + 9, + 0, + 0, + 103, + 0, + 0, + 186, + 15, + 15, + 208, + 84, + 84, + 222, + 147, + 147, + 229, + 172, + 172, + 233, + 153, + 153, + 237, + 101, + 101, + 239, + 37, + 37, + 215, + 0, + 0, + 193, + 0, + 0, + 177, + 0, + 0, + 156, + 0, + 0, + 109, + 0, + 0, + 83, + 0, + 0, + 54, + 0, + 0, + 27, + 0, + 0, + 5, + 0, + 0, + 74, + 0, + 0, + 129, + 0, + 0, + 203, + 32, + 32, + 221, + 103, + 103, + 232, + 156, + 156, + 235, + 166, + 166, + 237, + 138, + 138, + 239, + 81, + 81, + 239, + 20, + 20, + 209, + 0, + 0, + 195, + 0, + 0, + 182, + 0, + 0, + 120, + 0, + 0, + 94, + 0, + 0, + 64, + 0, + 0, + 34, + 0, + 0, + 87, + 0, + 0, + 146, + 0, + 0, + 194, + 0, + 0, + 218, + 27, + 27, + 232, + 85, + 85, + 236, + 120, + 120, + 239, + 120, + 120, + 239, + 87, + 87, + 239, + 38, + 38, + 225, + 0, + 0, + 206, + 0, + 0, + 183, + 0, + 0, + 167, + 0, + 0, + 149, + 0, + 0, + 71, + 0, + 0, + 43, + 0, + 0, + 15, + 0, + 0, + 157, + 0, + 0, + 197, + 0, + 0, + 225, + 5, + 5, + 235, + 40, + 40, + 239, + 60, + 60, + 239, + 53, + 53, + 239, + 27, + 27, + 227, + 0, + 0, + 208, + 0, + 0, + 201, + 0, + 0, + 181, + 0, + 0, + 151, + 0, + 0, + 132, + 0, + 0, + 108, + 0, + 0, + 79, + 0, + 0, + 18, + 0, + 0, + 2, + 0, + 0, + 98, + 0, + 0, + 233, + 0, + 0, + 239, + 2, + 2, + 231, + 0, + 0, + 216, + 0, + 0, + 203, + 0, + 0, + 186, + 0, + 0, + 176, + 0, + 0, + 112, + 0, + 0, + 19, + 0, + 0, + 36, + 0, + 0, + 88, + 0, + 0, + 200, + 0, + 0, + 211, + 0, + 0, + 205, + 0, + 0, + 179, + 0, + 0, + 131, + 0, + 0, + 110, + 0, + 0, + 30, + 0, + 0, + 126, + 0, + 0, + 192, + 0, + 0, + 164, + 0, + 0, + 141, + 0, + 0, + 127, + 0, + 0, + 105, + 0, + 0, + 80, + 0, + 0, + 48, + 0, + 0, + 145, + 0, + 0, + 169, + 0, + 0, + 188, + 0, + 0, + 170, + 0, + 0, + 155, + 0, + 0, + 101, + 0, + 0, + 73, + 0, + 0, + 42, + 0, + 0, + 14, + 0, + 0, + 52, + 0, + 0, + 172, + 0, + 0, + 175, + 0, + 0, + 173, + 0, + 0, + 166, + 0, + 0, + 137, + 0, + 0, + 122, + 0, + 0, + 107, + 0, + 0, + 90, + 0, + 0, + 62, + 0, + 0, + 41, + 0, + 0, + 106, + 0, + 0, + 130, + 0, + 0, + 159, + 0, + 0, + 158, + 0, + 0, + 150, + 0, + 0, + 143, + 0, + 0, + 124, + 0, + 0, + 25, + 0, + 0, + 7, + 0, + 0, + 85, + 0, + 0, + 142, + 0, + 0, + 138, + 0, + 0, + 56, + 0, + 0, + 16, + 0, + 0, + 63, + 0, + 0, + 114, + 0, + 0, + 128, + 0, + 0, + 92, + 0, + 0, + 55, + 0, + 0, + 44, + 0, + 0, + 102, + 0, + 0, + 67, + 0, + 0, + 86, + 0, + 0, + 32, + 0, + 0, + 51, + 0, + 0, + 60, + 0, + 0, + 58, + 0, + 0, + 31, + 0, + 0, + 12, + 0, + 0, + 29, + 0, + 0, + 13, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 252, + 46, + 217, + 69, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 2, + 8, + 73, + 68, + 65, + 84, + 120, + 156, + 99, + 96, + 128, + 131, + 255, + 16, + 192, + 128, + 1, + 152, + 152, + 89, + 88, + 89, + 217, + 216, + 57, + 56, + 49, + 165, + 57, + 184, + 184, + 121, + 120, + 121, + 249, + 248, + 185, + 5, + 4, + 57, + 80, + 37, + 255, + 51, + 11, + 241, + 8, + 139, + 136, + 138, + 137, + 75, + 72, + 242, + 74, + 9, + 73, + 203, + 32, + 201, + 254, + 103, + 150, + 149, + 147, + 87, + 80, + 84, + 82, + 86, + 81, + 85, + 83, + 215, + 224, + 209, + 100, + 213, + 66, + 72, + 202, + 8, + 105, + 235, + 232, + 234, + 233, + 27, + 24, + 26, + 25, + 155, + 40, + 152, + 10, + 243, + 153, + 153, + 91, + 192, + 228, + 254, + 179, + 90, + 74, + 88, + 89, + 219, + 216, + 218, + 217, + 59, + 56, + 58, + 57, + 43, + 232, + 184, + 184, + 186, + 177, + 67, + 53, + 254, + 119, + 55, + 243, + 176, + 242, + 244, + 242, + 246, + 241, + 245, + 243, + 15, + 8, + 12, + 10, + 22, + 13, + 9, + 13, + 11, + 143, + 128, + 72, + 254, + 103, + 139, + 140, + 10, + 138, + 142, + 137, + 141, + 139, + 79, + 72, + 76, + 74, + 78, + 113, + 86, + 72, + 77, + 75, + 23, + 128, + 58, + 246, + 127, + 70, + 102, + 86, + 118, + 78, + 110, + 94, + 126, + 65, + 97, + 81, + 113, + 114, + 73, + 105, + 89, + 148, + 71, + 121, + 69, + 37, + 88, + 238, + 63, + 147, + 144, + 100, + 85, + 117, + 77, + 109, + 93, + 125, + 67, + 99, + 83, + 179, + 114, + 75, + 105, + 107, + 91, + 123, + 135, + 102, + 39, + 56, + 8, + 254, + 119, + 185, + 117, + 183, + 42, + 59, + 246, + 244, + 246, + 245, + 39, + 77, + 72, + 158, + 56, + 73, + 177, + 85, + 116, + 114, + 40, + 247, + 20, + 136, + 28, + 211, + 212, + 105, + 106, + 147, + 166, + 39, + 205, + 72, + 154, + 217, + 156, + 173, + 52, + 75, + 69, + 53, + 107, + 246, + 156, + 80, + 110, + 105, + 136, + 220, + 255, + 185, + 114, + 243, + 84, + 157, + 170, + 155, + 167, + 87, + 207, + 159, + 56, + 75, + 101, + 129, + 213, + 194, + 69, + 139, + 151, + 44, + 133, + 154, + 249, + 223, + 220, + 85, + 126, + 217, + 242, + 20, + 165, + 21, + 78, + 45, + 147, + 86, + 58, + 175, + 202, + 18, + 75, + 93, + 189, + 102, + 237, + 58, + 168, + 28, + 251, + 122, + 23, + 241, + 214, + 210, + 13, + 27, + 55, + 173, + 220, + 172, + 106, + 149, + 181, + 101, + 235, + 182, + 237, + 59, + 4, + 152, + 161, + 114, + 204, + 59, + 215, + 236, + 218, + 157, + 21, + 188, + 103, + 207, + 94, + 171, + 125, + 251, + 69, + 15, + 200, + 167, + 173, + 49, + 59, + 120, + 8, + 18, + 85, + 255, + 45, + 184, + 164, + 14, + 111, + 19, + 223, + 162, + 176, + 108, + 217, + 145, + 163, + 179, + 183, + 206, + 145, + 228, + 61, + 38, + 112, + 28, + 26, + 139, + 255, + 255, + 31, + 151, + 61, + 113, + 216, + 227, + 164, + 200, + 162, + 83, + 139, + 182, + 170, + 111, + 59, + 173, + 125, + 70, + 72, + 218, + 2, + 46, + 23, + 193, + 118, + 150, + 191, + 195, + 229, + 220, + 54, + 249, + 246, + 93, + 194, + 153, + 124, + 97, + 83, + 165, + 35, + 224, + 137, + 227, + 255, + 127, + 142, + 131, + 178, + 97, + 231, + 121, + 67, + 51, + 47, + 132, + 106, + 167, + 155, + 101, + 116, + 90, + 32, + 165, + 155, + 255, + 255, + 15, + 73, + 95, + 92, + 123, + 73, + 234, + 242, + 229, + 43, + 220, + 59, + 175, + 30, + 239, + 66, + 78, + 82, + 64, + 150, + 197, + 181, + 41, + 172, + 215, + 47, + 94, + 189, + 120, + 157, + 237, + 6, + 90, + 114, + 3, + 177, + 153, + 44, + 100, + 180, + 220, + 221, + 181, + 44, + 48, + 83, + 226, + 127, + 84, + 128, + 154, + 8, + 241, + 72, + 97, + 77, + 215, + 0, + 152, + 72, + 58, + 216, + 223, + 230, + 199, + 242, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + }, + { + "File": { + "header": { + "content_disposition": { + "c_type": "inline", + "attributes": { + "filename": "greenball.png" + } + }, + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "greenball.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 0, + 0, + 16, + 0, + 0, + 24, + 0, + 0, + 33, + 0, + 0, + 8, + 0, + 0, + 49, + 0, + 0, + 66, + 0, + 0, + 82, + 0, + 0, + 90, + 0, + 0, + 74, + 0, + 8, + 99, + 0, + 8, + 115, + 0, + 8, + 123, + 0, + 16, + 140, + 0, + 8, + 107, + 0, + 0, + 57, + 0, + 0, + 99, + 0, + 16, + 148, + 0, + 16, + 156, + 0, + 33, + 165, + 0, + 16, + 165, + 0, + 33, + 173, + 0, + 66, + 189, + 24, + 99, + 198, + 49, + 99, + 198, + 57, + 82, + 198, + 33, + 41, + 206, + 0, + 24, + 189, + 0, + 16, + 173, + 0, + 24, + 173, + 0, + 33, + 189, + 0, + 148, + 214, + 99, + 173, + 214, + 123, + 132, + 214, + 82, + 74, + 222, + 24, + 33, + 214, + 0, + 24, + 198, + 0, + 24, + 181, + 0, + 0, + 41, + 0, + 66, + 206, + 16, + 206, + 231, + 148, + 222, + 231, + 173, + 198, + 231, + 148, + 148, + 231, + 99, + 82, + 231, + 33, + 33, + 222, + 0, + 24, + 206, + 0, + 82, + 222, + 33, + 156, + 231, + 107, + 214, + 239, + 156, + 189, + 239, + 140, + 132, + 239, + 82, + 66, + 239, + 16, + 173, + 239, + 123, + 165, + 222, + 115, + 90, + 239, + 41, + 33, + 231, + 0, + 24, + 214, + 0, + 49, + 231, + 0, + 82, + 239, + 33, + 107, + 239, + 57, + 74, + 239, + 24, + 41, + 231, + 0, + 41, + 239, + 0, + 49, + 239, + 0, + 8, + 132, + 0, + 16, + 181, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 41, + 213, + 249, + 217, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 1, + 109, + 73, + 68, + 65, + 84, + 120, + 156, + 117, + 210, + 109, + 87, + 194, + 32, + 20, + 7, + 112, + 15, + 108, + 200, + 128, + 193, + 4, + 215, + 227, + 92, + 169, + 219, + 40, + 43, + 233, + 185, + 180, + 44, + 179, + 239, + 255, + 153, + 136, + 185, + 135, + 179, + 44, + 239, + 171, + 157, + 243, + 59, + 247, + 50, + 248, + 223, + 94, + 175, + 45, + 91, + 85, + 239, + 79, + 89, + 0, + 61, + 207, + 131, + 16, + 248, + 127, + 24, + 162, + 62, + 198, + 1, + 38, + 125, + 228, + 129, + 223, + 104, + 17, + 166, + 44, + 228, + 156, + 135, + 34, + 32, + 200, + 235, + 182, + 218, + 104, + 16, + 74, + 53, + 28, + 14, + 227, + 88, + 114, + 129, + 163, + 46, + 34, + 202, + 213, + 193, + 225, + 209, + 241, + 201, + 105, + 50, + 138, + 57, + 195, + 8, + 182, + 6, + 49, + 79, + 207, + 78, + 206, + 199, + 227, + 201, + 52, + 203, + 11, + 197, + 5, + 209, + 205, + 153, + 54, + 98, + 170, + 184, + 152, + 92, + 206, + 174, + 174, + 111, + 230, + 38, + 73, + 85, + 24, + 68, + 94, + 125, + 25, + 224, + 218, + 178, + 219, + 187, + 251, + 217, + 195, + 227, + 83, + 102, + 146, + 34, + 118, + 141, + 205, + 137, + 222, + 64, + 22, + 103, + 211, + 235, + 231, + 151, + 199, + 215, + 197, + 210, + 153, + 27, + 138, + 81, + 53, + 212, + 106, + 161, + 242, + 236, + 237, + 125, + 181, + 250, + 248, + 52, + 89, + 94, + 255, + 13, + 216, + 14, + 181, + 145, + 80, + 137, + 89, + 172, + 191, + 214, + 243, + 165, + 201, + 147, + 34, + 85, + 27, + 209, + 26, + 18, + 50, + 49, + 217, + 124, + 153, + 153, + 146, + 70, + 138, + 135, + 148, + 104, + 191, + 182, + 1, + 143, + 19, + 99, + 202, + 38, + 71, + 169, + 228, + 44, + 168, + 110, + 239, + 76, + 227, + 80, + 165, + 73, + 94, + 202, + 119, + 170, + 228, + 182, + 13, + 84, + 137, + 88, + 216, + 119, + 207, + 50, + 74, + 11, + 39, + 177, + 35, + 70, + 113, + 4, + 253, + 218, + 124, + 77, + 4, + 151, + 42, + 142, + 149, + 146, + 114, + 195, + 202, + 247, + 4, + 77, + 146, + 22, + 34, + 66, + 203, + 16, + 56, + 223, + 132, + 130, + 146, + 14, + 185, + 70, + 23, + 94, + 64, + 25, + 99, + 66, + 208, + 160, + 223, + 210, + 214, + 172, + 15, + 116, + 68, + 48, + 198, + 212, + 69, + 171, + 97, + 67, + 182, + 222, + 19, + 0, + 53, + 66, + 145, + 70, + 94, + 181, + 19, + 157, + 189, + 113, + 31, + 190, + 15, + 97, + 185, + 44, + 173, + 52, + 217, + 218, + 255, + 170, + 183, + 31, + 187, + 219, + 180, + 87, + 118, + 241, + 159, + 245, + 221, + 133, + 31, + 205, + 97, + 231, + 141, + 210, + 8, + 44, + 44, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + } + ] +} \ No newline at end of file diff --git a/tests/legacy/036.txt b/tests/legacy/036.txt new file mode 100644 index 0000000..5681f44 --- /dev/null +++ b/tests/legacy/036.txt @@ -0,0 +1,71 @@ +Date: Fri, 19 May 2000 10:18:03 -0400 (EDT) +From: Doug Sauder +To: =?iso-8859-1?Q?J=FCrgen_Schm=FCrgen?= +Subject: =?iso-8859-1?Q?Die_Hasen_und_die_Fr=F6sche?= +Message-ID: +MIME-Version: 1.0 +Content-Type: TEXT/PLAIN; charset=iso-8859-1 +Content-Transfer-Encoding: QUOTED-PRINTABLE + +Die Hasen und die Fr=F6sche + +Die Hasen klagten einst =FCber ihre mi=DFliche Lage; "wir leben", sprach ei= +n Redner, "in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, = +der Adler, ja fast aller Raubtiere! Unsere stete Angst ist =E4rger als der = +Tod selbst. Auf, la=DFt uns ein f=FCr allemal sterben."=20 + +In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu; al= +lein das au=DFerordentliche Get=F6se und ihre wunderbare Gestalt erschreckt= +e eine Menge Fr=F6sche, die am Ufer sa=DFen, so sehr, da=DF sie aufs schnel= +lste untertauchten.=20 + +"Halt", rief nun eben dieser Sprecher, "wir wollen das Ers=E4ufen noch ein = +wenig aufschieben, denn auch uns f=FCrchten, wie ihr seht, einige Tiere, we= +lche also wohl noch ungl=FCcklicher sein m=FCssen als wir."=20 + + + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 19, + "hour": 10, + "minute": 18, + "second": 3, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "doug@penguin.example.com" + } + }, + "message_id": "Pine.LNX.4.21.0005191014500.8452-100000@penguin.example.com", + "mime_version": "1.0", + "subject": "Die Hasen und die Frösche", + "to": { + "Address": { + "name": "Jürgen Schmürgen", + "address": "schmuergen@example.com" + } + }, + "content_transfer_encoding": "QUOTED-PRINTABLE", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "iso-8859-1" + } + } + }, + "text_body": [ + { + "contents": "Die Hasen und die Frösche\n\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst. Auf, laßt uns ein für allemal sterben.\" \n\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; allein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste untertauchten. \n\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, welche also wohl noch unglücklicher sein müssen als wir.\" \n\n\n" + } + ] +} \ No newline at end of file diff --git a/tests/legacy/037.txt b/tests/legacy/037.txt new file mode 100644 index 0000000..567bba0 --- /dev/null +++ b/tests/legacy/037.txt @@ -0,0 +1,1462 @@ +Message-ID: <392366A7.21929EA7@example.com> +Date: Wed, 17 May 2000 23:42:31 -0400 +From: Doug Sauder +X-Mailer: Mozilla 4.7 [en] (WinNT; I) +X-Accept-Language: en +MIME-Version: 1.0 +To: Joe Blow +Subject: Test message from Netscape Communicator 4.7 +Content-Type: multipart/mixed; + boundary="------------E7889DDF0F75D34163841C59" + +This is a multi-part message in MIME format. +--------------E7889DDF0F75D34163841C59 +Content-Type: text/plain; charset=us-ascii +Content-Transfer-Encoding: 7bit + + +--------------E7889DDF0F75D34163841C59 +Content-Type: image/png; + name="blueball.png" +Content-Transfer-Encoding: base64 +Content-Disposition: inline; + filename="blueball.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAgAABAAABgA +AAAACCkAEEIAEEoACDEAEFIIIXMIKXsIKYQIIWsAGFoACDkIIWMQOZwYQqUYQq0YQrUQOaUQ +MZQAGFIQMYwpUrU5Y8Y5Y84pWs4YSs4YQs4YQr1Ca8Z7nNacvd6Mtd5jlOcxa94hUt4YStYY +QsYQMaUAACHO5+/n7++cxu9ShO8pWucQOa1Ke86tzt6lzu9ajO8QMZxahNat1ufO7++Mve9K +e+8YOaUYSsaMvee15++Uve8AAClajOdzpe9rnO8IKYwxY+8pWu8IIXsAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADB +Mg1VAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAuMT1evmgAAAGI +SURBVHicddJtV5swGAbgEk6AJhBSk4bMCUynBSLaqovbrG/bfPn/vyh70lbsscebL5xznTsh +5BmNhgQoRChwo50EOIohUYLDj4zHhKYQkrEoQdvock4ne0IKMVUpKZLQDeqSTIsv+18PyqqW +Uw2IBsRM7307PPp+fDJrWtnpLDJvewYxnewfnvanZ+fzpmwXijC8KbqEa3Fx2ff91Y95U9XC +UpaDeQwiMpHXP/v+1++bWVPWQoGFawtjury9vru/f/C1Vi7ezT0WWpQHf/7+u/G71aLThK/M +jRxmT6KdzZ9fGk9yatMsTgZLl3XVgFRAC6spj/13enssqJVtWVa3NdBSacL8+VZmYqKmdd1C +SYoOiMOSGwtzlqqlFFIuOqv0a1ZEZrUkWICLLFW266y1KvWE1zV/iDAH1EopnVLCiygZCIom +H3NCKX0lnI+B1iuuzCGTxwXjnDO4d7NpbX42YJJHkBwmAm2TxwAZg40J3+Xtbv1rgOAZwG0N +xW62p+lT+Yi747sD/wEUVMzYmWkOvwAAACV0RVh0Q29tbWVudABjbGlwMmdpZiB2LjAuNiBi +eSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII= +--------------E7889DDF0F75D34163841C59-- + + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 17, + "hour": 23, + "minute": 42, + "second": 31, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "dwsauder@example.com" + } + }, + "message_id": "392366A7.21929EA7@example.com", + "mime_version": "1.0", + "subject": "Test message from Netscape Communicator 4.7", + "to": { + "Address": { + "name": "Joe Blow", + "address": "blow@example.com" + } + }, + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "------------E7889DDF0F75D34163841C59" + } + }, + "others": { + "X-Mailer": [ + "Mozilla 4.7 [en] (WinNT; I)" + ], + "X-Accept-Language": [ + "en" + ] + } + }, + "text_body": [ + { + "header": { + "content_transfer_encoding": "7bit", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "us-ascii" + } + } + }, + "contents": " \r" + } + ], + "attachments": [ + { + "File": { + "header": { + "content_disposition": { + "c_type": "inline", + "attributes": { + "filename": "blueball.png" + } + }, + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "blueball.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 8, + 0, + 0, + 16, + 0, + 0, + 24, + 0, + 0, + 0, + 0, + 8, + 41, + 0, + 16, + 66, + 0, + 16, + 74, + 0, + 8, + 49, + 0, + 16, + 82, + 8, + 33, + 115, + 8, + 41, + 123, + 8, + 41, + 132, + 8, + 33, + 107, + 0, + 24, + 90, + 0, + 8, + 57, + 8, + 33, + 99, + 16, + 57, + 156, + 24, + 66, + 165, + 24, + 66, + 173, + 24, + 66, + 181, + 16, + 57, + 165, + 16, + 49, + 148, + 0, + 24, + 82, + 16, + 49, + 140, + 41, + 82, + 181, + 57, + 99, + 198, + 57, + 99, + 206, + 41, + 90, + 206, + 24, + 74, + 206, + 24, + 66, + 206, + 24, + 66, + 189, + 66, + 107, + 198, + 123, + 156, + 214, + 156, + 189, + 222, + 140, + 181, + 222, + 99, + 148, + 231, + 49, + 107, + 222, + 33, + 82, + 222, + 24, + 74, + 214, + 24, + 66, + 198, + 16, + 49, + 165, + 0, + 0, + 33, + 206, + 231, + 239, + 231, + 239, + 239, + 156, + 198, + 239, + 82, + 132, + 239, + 41, + 90, + 231, + 16, + 57, + 173, + 74, + 123, + 206, + 173, + 206, + 222, + 165, + 206, + 239, + 90, + 140, + 239, + 16, + 49, + 156, + 90, + 132, + 214, + 173, + 214, + 231, + 206, + 239, + 239, + 140, + 189, + 239, + 74, + 123, + 239, + 24, + 57, + 165, + 24, + 74, + 198, + 140, + 189, + 231, + 181, + 231, + 239, + 148, + 189, + 239, + 0, + 0, + 41, + 90, + 140, + 231, + 115, + 165, + 239, + 107, + 156, + 239, + 8, + 41, + 140, + 49, + 99, + 239, + 41, + 90, + 239, + 8, + 33, + 123, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 193, + 50, + 13, + 85, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 1, + 136, + 73, + 68, + 65, + 84, + 120, + 156, + 117, + 210, + 109, + 87, + 155, + 48, + 24, + 6, + 224, + 18, + 78, + 128, + 38, + 16, + 82, + 147, + 134, + 204, + 9, + 76, + 167, + 5, + 34, + 218, + 170, + 139, + 219, + 172, + 111, + 219, + 124, + 249, + 255, + 191, + 40, + 123, + 210, + 86, + 236, + 177, + 199, + 155, + 47, + 156, + 115, + 157, + 59, + 33, + 228, + 25, + 141, + 134, + 4, + 40, + 68, + 40, + 112, + 163, + 157, + 4, + 56, + 138, + 33, + 81, + 130, + 195, + 143, + 140, + 199, + 132, + 166, + 16, + 146, + 177, + 40, + 65, + 219, + 232, + 114, + 78, + 39, + 123, + 66, + 10, + 49, + 85, + 41, + 41, + 146, + 208, + 13, + 234, + 146, + 76, + 139, + 47, + 251, + 95, + 15, + 202, + 170, + 150, + 83, + 13, + 136, + 6, + 196, + 76, + 239, + 125, + 59, + 60, + 250, + 126, + 124, + 50, + 107, + 90, + 217, + 233, + 44, + 50, + 111, + 123, + 6, + 49, + 157, + 236, + 31, + 158, + 246, + 167, + 103, + 231, + 243, + 166, + 108, + 23, + 138, + 48, + 188, + 41, + 186, + 132, + 107, + 113, + 113, + 217, + 247, + 253, + 213, + 143, + 121, + 83, + 213, + 194, + 82, + 150, + 131, + 121, + 12, + 34, + 50, + 145, + 215, + 63, + 251, + 254, + 215, + 239, + 155, + 89, + 83, + 214, + 66, + 129, + 133, + 107, + 11, + 99, + 186, + 188, + 189, + 190, + 187, + 191, + 127, + 240, + 181, + 86, + 46, + 222, + 205, + 61, + 22, + 90, + 148, + 7, + 127, + 254, + 254, + 187, + 241, + 187, + 213, + 162, + 211, + 132, + 175, + 204, + 141, + 28, + 102, + 79, + 162, + 157, + 205, + 159, + 95, + 26, + 79, + 114, + 106, + 211, + 44, + 78, + 6, + 75, + 151, + 117, + 213, + 128, + 84, + 64, + 11, + 171, + 41, + 143, + 253, + 119, + 122, + 123, + 44, + 168, + 149, + 109, + 89, + 86, + 183, + 53, + 208, + 82, + 105, + 194, + 252, + 249, + 86, + 102, + 98, + 162, + 166, + 117, + 221, + 66, + 73, + 138, + 14, + 136, + 195, + 146, + 27, + 11, + 115, + 150, + 170, + 165, + 20, + 82, + 46, + 58, + 171, + 244, + 107, + 86, + 68, + 102, + 181, + 36, + 88, + 128, + 139, + 44, + 85, + 182, + 235, + 172, + 181, + 42, + 245, + 132, + 215, + 53, + 127, + 136, + 48, + 7, + 212, + 74, + 41, + 157, + 82, + 194, + 139, + 40, + 25, + 8, + 138, + 38, + 31, + 115, + 66, + 41, + 125, + 37, + 156, + 143, + 129, + 214, + 43, + 174, + 204, + 33, + 147, + 199, + 5, + 227, + 156, + 51, + 184, + 119, + 179, + 105, + 109, + 126, + 54, + 96, + 146, + 71, + 144, + 28, + 38, + 2, + 109, + 147, + 199, + 0, + 25, + 131, + 141, + 9, + 223, + 229, + 237, + 110, + 253, + 107, + 128, + 224, + 25, + 192, + 109, + 13, + 197, + 110, + 182, + 167, + 233, + 83, + 249, + 136, + 187, + 227, + 187, + 3, + 255, + 1, + 20, + 84, + 204, + 216, + 153, + 105, + 14, + 191, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + } + ] +} \ No newline at end of file diff --git a/tests/legacy/038.txt b/tests/legacy/038.txt new file mode 100644 index 0000000..ea1f568 --- /dev/null +++ b/tests/legacy/038.txt @@ -0,0 +1,70 @@ +Message-ID: <3923625B.59F0C3AC@example.com> +Date: Wed, 17 May 2000 23:24:11 -0400 +From: Doug Sauder +X-Mailer: Mozilla 4.7 [en] (WinNT; I) +X-Accept-Language: en +MIME-Version: 1.0 +To: Joe Blow +Subject: Test message from Netscape Communicator 4.7 +Content-Type: text/plain; charset=us-ascii +Content-Transfer-Encoding: 7bit + + +The Hare and the Tortoise + +A HARE one day ridiculed the short feet and slow pace of the Tortoise, who replied, laughing: "Though you be swift as the wind, I will beat you in a race." The Hare, believing her assertion to be simply impossible, assented to the proposal; and they agreed that the Fox should choose the course and fix the goal. On the day appointed for the race the two started together. The Tortoise never for a moment stopped, but went on with a slow but steady pace straight to the end of the course. The Hare, lying down by the wayside, fell fast asleep. At last waking up, and moving as fast as he could, he saw the Tortoise had reached the goal, and was comfortably dozing after her fatigue. + +Slow but steady wins the race. + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 17, + "hour": 23, + "minute": 24, + "second": 11, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "dwsauder@example.com" + } + }, + "message_id": "3923625B.59F0C3AC@example.com", + "mime_version": "1.0", + "subject": "Test message from Netscape Communicator 4.7", + "to": { + "Address": { + "name": "Joe Blow", + "address": "blow@example.com" + } + }, + "content_transfer_encoding": "7bit", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "us-ascii" + } + }, + "others": { + "X-Mailer": [ + "Mozilla 4.7 [en] (WinNT; I)" + ], + "X-Accept-Language": [ + "en" + ] + } + }, + "text_body": [ + { + "contents": "\r\nThe Hare and the Tortoise \r\n \r\nA HARE one day ridiculed the short feet and slow pace of the Tortoise, who replied, laughing: \"Though you be swift as the wind, I will beat you in a race.\" The Hare, believing her assertion to be simply impossible, assented to the proposal; and they agreed that the Fox should choose the course and fix the goal. On the day appointed for the race the two started together. The Tortoise never for a moment stopped, but went on with a slow but steady pace straight to the end of the course. The Hare, lying down by the wayside, fell fast asleep. At last waking up, and moving as fast as he could, he saw the Tortoise had reached the goal, and was comfortably dozing after her fatigue. \r\n \r\nSlow but steady wins the race.\r\n" + } + ] +} \ No newline at end of file diff --git a/tests/legacy/039.txt b/tests/legacy/039.txt new file mode 100644 index 0000000..92915c3 --- /dev/null +++ b/tests/legacy/039.txt @@ -0,0 +1,5720 @@ +Message-ID: <39236103.FFE674FC@example.com> +Date: Wed, 17 May 2000 23:18:27 -0400 +From: Doug Sauder +X-Mailer: Mozilla 4.7 [en] (WinNT; I) +X-Accept-Language: en +MIME-Version: 1.0 +To: =?iso-8859-1?Q?J=FCrgen=20Schm=FCrgen?= +Subject: Test message from Netscape Communicator 4.7 +Content-Type: multipart/mixed; + boundary="------------B7133A01A6B323BF00DBC9A7" + +This is a multi-part message in MIME format. +--------------B7133A01A6B323BF00DBC9A7 +Content-Type: multipart/related; + boundary="------------8E6A06810565BCAB5E1F7D97" + + +--------------8E6A06810565BCAB5E1F7D97 +Content-Type: text/html; charset=us-ascii +Content-Transfer-Encoding: 7bit + + + +blue ball +

Die Hasen und die Frösche +

Die Hasen klagten einst über ihre mißliche Lage; "wir leben", +sprach ein Redner, "in steter Furcht vor Menschen und Tieren, eine Beute +der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger +als der Tod selbst. Auf, laßt uns ein für allemal sterben." +

In einem nahen Teich wollten sie sich nun ersäufen; sie eilten +ihm zu; allein das außerordentliche Getöse und ihre wunderbare +Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so +sehr, daß sie aufs schnellste untertauchten. +

"Halt", rief nun eben dieser Sprecher, "wir wollen das Ersäufen +noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, +einige Tiere, welche also wohl noch unglücklicher sein müssen +als wir." +

red ball + +--------------8E6A06810565BCAB5E1F7D97 +Content-Type: image/png +Content-ID: +Content-Transfer-Encoding: base64 +Content-Disposition: inline; filename="C:\TEMP\nsmailV0.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAgAABAAABgA +AAAACCkAEEIAEEoACDEAEFIIIXMIKXsIKYQIIWsAGFoACDkIIWMQOZwYQqUYQq0YQrUQOaUQ +MZQAGFIQMYwpUrU5Y8Y5Y84pWs4YSs4YQs4YQr1Ca8Z7nNacvd6Mtd5jlOcxa94hUt4YStYY +QsYQMaUAACHO5+/n7++cxu9ShO8pWucQOa1Ke86tzt6lzu9ajO8QMZxahNat1ufO7++Mve9K +e+8YOaUYSsaMvee15++Uve8AAClajOdzpe9rnO8IKYwxY+8pWu8IIXsAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADB +Mg1VAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAuMT1evmgAAAGI +SURBVHicddJtV5swGAbgEk6AJhBSk4bMCUynBSLaqovbrG/bfPn/vyh70lbsscebL5xznTsh +5BmNhgQoRChwo50EOIohUYLDj4zHhKYQkrEoQdvock4ne0IKMVUpKZLQDeqSTIsv+18PyqqW +Uw2IBsRM7307PPp+fDJrWtnpLDJvewYxnewfnvanZ+fzpmwXijC8KbqEa3Fx2ff91Y95U9XC +UpaDeQwiMpHXP/v+1++bWVPWQoGFawtjury9vru/f/C1Vi7ezT0WWpQHf/7+u/G71aLThK/M +jRxmT6KdzZ9fGk9yatMsTgZLl3XVgFRAC6spj/13enssqJVtWVa3NdBSacL8+VZmYqKmdd1C +SYoOiMOSGwtzlqqlFFIuOqv0a1ZEZrUkWICLLFW266y1KvWE1zV/iDAH1EopnVLCiygZCIom +H3NCKX0lnI+B1iuuzCGTxwXjnDO4d7NpbX42YJJHkBwmAm2TxwAZg40J3+Xtbv1rgOAZwG0N +xW62p+lT+Yi747sD/wEUVMzYmWkOvwAAACV0RVh0Q29tbWVudABjbGlwMmdpZiB2LjAuNiBi +eSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII= +--------------8E6A06810565BCAB5E1F7D97 +Content-Type: image/png +Content-ID: +Content-Transfer-Encoding: base64 +Content-Disposition: inline; filename="C:\TEMP\nsmailNM.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAABAAALAAAV +AAAaAAAXAAARAAAKAAADAAAcAAAyAABEAABNAABIAAA9AAAjAAAWAAAmAABhAAB7AACGAACH +AAB9AAB0AABgAAA5AAAUAAAGAAAnAABLAABvAACQAAClAAC7AAC/AACrAAChAACMAABzAABb +AAAuAAAIAABMAAB3AACZAAC0GRnKODjVPT3bKSndBQW4AACoAAB5AAAxAAAYAAAEAABFAACa +AAC7JCTRYWHfhITmf3/mVlbqHx/SAAC5AACjAABdAABCAAAoAAAJAABnAAC6Dw/QVFTek5Pl +rKzpmZntZWXvJSXXAADBAACxAACcAABtAABTAAA2AAAbAAAFAABKAACBAADLICDdZ2fonJzr +pqbtiorvUVHvFBTRAADDAAC2AAB4AABeAABAAAAiAABXAACSAADCAADaGxvoVVXseHjveHjv +V1fvJibhAADOAAC3AACnAACVAABHAAArAAAPAACdAADFAADhBQXrKCjvPDzvNTXvGxvjAADQ +AADJAAC1AACXAACEAABsAABPAAASAAACAABiAADpAADvAgLnAADYAADLAAC6AACwAABwAAAT +AAAkAABYAADIAADTAADNAACzAACDAABuAAAeAAB+AADAAACkAACNAAB/AABpAABQAAAwAACR +AACpAAC8AACqAACbAABlAABJAAAqAAAOAAA0AACsAACvAACtAACmAACJAAB6AABrAABaAAA+ +AAApAABqAACCAACfAACeAACWAACPAAB8AAAZAAAHAABVAACOAACKAAA4AAAQAAA/AAByAACA +AABcAAA3AAAsAABmAABDAABWAAAgAAAzAAA8AAA6AAAfAAAMAAAdAAANAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD8 +LtlFAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAuMT1evmgAAAII +SURBVHicY2CAg/8QwIABmJhZWFnZ2Dk4MaU5uLh5eHn5+LkFBDlQJf8zC/EIi4iKiUtI8koJ +Scsgyf5nlpWTV1BUUlZRVVPX4NFk1UJIyghp6+jq6RsYGhmbKJgK85mZW8Dk/rNaSlhZ29ja +2Ts4Ojkr6Li4urFDNf53N/Ow8vTy9vH18w8IDAoWDQkNC4+ASP5ni4wKio6JjYtPSExKTnFW +SE1LF4A69n9GZlZ2Tm5efkFhUXFySWlZlEd5RSVY7j+TkGRVdU1tXX1DY1Ozcktpa1t7h2Yn +OAj+d7l1tyo79vT29SdNSJ44SbFVdHIo9xSIHNPUaWqTpifNSJrZnK00S0U1a/acUG5piNz/ +uXLzVJ2qm6dXz584S2WB1cJFi5cshZr539xVftnyFKUVTi2TVjqvyhJLXb1m7TqoHPt6F/HW +0g0bN63crGqVtWXrtu07BJihcsw71+zanRW8Z89eq337RQ/Ip60xO3gIElX/LbikDm8T36Kw +bNmRo7O3zpHkPSZwHBqL//8flz1x2OOkyKJTi7aqbzutfUZI2gIuF8F2lr/D5dw2+fZdwpl8 +YVOlI+CJ4/9/joOyYed5QzMvhGqnm2V0WiClm///D0lfXHtJ6vLlK9w7rx7vQk5SQJbFtSms +1y9evXid7QZacgOxmSxktNzdtSwwU+J/VICaCPFIYU3XAJhIOtjf5sfyAAAAJXRFWHRDb21t +ZW50AGNsaXAyZ2lmIHYuMC42IGJ5IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg== +--------------8E6A06810565BCAB5E1F7D97-- + +--------------B7133A01A6B323BF00DBC9A7 +Content-Type: image/png; + name="greenball.png" +Content-Transfer-Encoding: base64 +Content-Disposition: inline; + filename="greenball.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAAAEAAAGAAA +IQAACAAAMQAAQgAAUgAAWgAASgAIYwAIcwAIewAQjAAIawAAOQAAYwAQlAAQnAAhpQAQpQAh +rQBCvRhjxjFjxjlSxiEpzgAYvQAQrQAYrQAhvQCU1mOt1nuE1lJK3hgh1gAYxgAYtQAAKQBC +zhDO55Te563G55SU52NS5yEh3gAYzgBS3iGc52vW75y974yE71JC7xCt73ul3nNa7ykh5wAY +1gAx5wBS7yFr7zlK7xgp5wAp7wAx7wAIhAAQtQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAp +1fnZAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAuMT1evmgAAAFt +SURBVHicddJtV8IgFAdwD2zIgMEE1+NcqdsoK+m5tCyz7/+ZiLmHsyzvq53zO/cy+N9ery1b +Ve9PWQA9z4MQ+H8Yoj7GASZ95IHfaBGmLOSchyIgyOu22mgQSjUcDuNYcoGjLiLK1cHh0fHJ +aTKKOcMItgYxT89OzsfjyTTLC8UF0c2ZNmKquJhczq6ub+YmSVUYRF59GeDastu7+9nD41Nm +kiJ2jc2J3kAWZ9Pr55fH18XSmRuKUTXUaqHy7O19tfr4NFle/w3YDrWRUIlZrL/W86XJkyJV +G9EaEjIx2XyZmZJGioeUaL+2AY8TY8omR6nkLKhu70zjUKVJXsp3quS2DVSJWNh3zzJKCyex +I0ZxBP3afE0ElyqOlZJyw8r3BE2SFiJCyxA434SCkg65RhdeQBljQtCg39LWrA90RDDG1EWr +YUO23hMANUKRRl61E529cR++D2G5LK002dr/qrcfu9u0V3bxn/XdhR/NYeeN0ggsLAAAACV0 +RVh0Q29tbWVudABjbGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5C +YII= +--------------B7133A01A6B323BF00DBC9A7 +Content-Type: image/png; + name="blueball.png" +Content-Transfer-Encoding: base64 +Content-Disposition: inline; + filename="blueball.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAgAABAAABgA +AAAACCkAEEIAEEoACDEAEFIIIXMIKXsIKYQIIWsAGFoACDkIIWMQOZwYQqUYQq0YQrUQOaUQ +MZQAGFIQMYwpUrU5Y8Y5Y84pWs4YSs4YQs4YQr1Ca8Z7nNacvd6Mtd5jlOcxa94hUt4YStYY +QsYQMaUAACHO5+/n7++cxu9ShO8pWucQOa1Ke86tzt6lzu9ajO8QMZxahNat1ufO7++Mve9K +e+8YOaUYSsaMvee15++Uve8AAClajOdzpe9rnO8IKYwxY+8pWu8IIXsAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADB +Mg1VAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAuMT1evmgAAAGI +SURBVHicddJtV5swGAbgEk6AJhBSk4bMCUynBSLaqovbrG/bfPn/vyh70lbsscebL5xznTsh +5BmNhgQoRChwo50EOIohUYLDj4zHhKYQkrEoQdvock4ne0IKMVUpKZLQDeqSTIsv+18PyqqW +Uw2IBsRM7307PPp+fDJrWtnpLDJvewYxnewfnvanZ+fzpmwXijC8KbqEa3Fx2ff91Y95U9XC +UpaDeQwiMpHXP/v+1++bWVPWQoGFawtjury9vru/f/C1Vi7ezT0WWpQHf/7+u/G71aLThK/M +jRxmT6KdzZ9fGk9yatMsTgZLl3XVgFRAC6spj/13enssqJVtWVa3NdBSacL8+VZmYqKmdd1C +SYoOiMOSGwtzlqqlFFIuOqv0a1ZEZrUkWICLLFW266y1KvWE1zV/iDAH1EopnVLCiygZCIom +H3NCKX0lnI+B1iuuzCGTxwXjnDO4d7NpbX42YJJHkBwmAm2TxwAZg40J3+Xtbv1rgOAZwG0N +xW62p+lT+Yi747sD/wEUVMzYmWkOvwAAACV0RVh0Q29tbWVudABjbGlwMmdpZiB2LjAuNiBi +eSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII= +--------------B7133A01A6B323BF00DBC9A7-- + + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 17, + "hour": 23, + "minute": 18, + "second": 27, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "dwsauder@example.com" + } + }, + "message_id": "39236103.FFE674FC@example.com", + "mime_version": "1.0", + "subject": "Test message from Netscape Communicator 4.7", + "to": { + "Address": { + "name": "Jürgen Schmürgen", + "address": "schmuergen@example.com" + } + }, + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "------------B7133A01A6B323BF00DBC9A7" + } + }, + "others": { + "X-Mailer": [ + "Mozilla 4.7 [en] (WinNT; I)" + ], + "X-Accept-Language": [ + "en" + ] + } + }, + "html_body": [ + { + "header": { + "content_transfer_encoding": "7bit", + "content_type": { + "c_type": "text", + "c_subtype": "html", + "attributes": { + "charset": "us-ascii" + } + } + }, + "contents": "\r\n\r\n\"blue\r\n

Die Hasen und die Frösche\r\n

Die Hasen klagten einst über ihre mißliche Lage; \"wir leben\",\r\nsprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute\r\nder Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger\r\nals der Tod selbst. Auf, laßt uns ein für allemal sterben.\"\r\n

In einem nahen Teich wollten sie sich nun ersäufen; sie eilten\r\nihm zu; allein das außerordentliche Getöse und ihre wunderbare\r\nGestalt erschreckte eine Menge Frösche, die am Ufer saßen, so\r\nsehr, daß sie aufs schnellste untertauchten.\r\n

\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen\r\nnoch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht,\r\neinige Tiere, welche also wohl noch unglücklicher sein müssen\r\nals wir.\"\r\n

\"red\r\n\r" + } + ], + "attachments": [ + { + "File": { + "header": { + "content_disposition": { + "c_type": "inline", + "attributes": { + "filename": "C:TEMPnsmailV0.png" + } + }, + "content_id": "part1.39236103.1B697A54@example.com", + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png" + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 8, + 0, + 0, + 16, + 0, + 0, + 24, + 0, + 0, + 0, + 0, + 8, + 41, + 0, + 16, + 66, + 0, + 16, + 74, + 0, + 8, + 49, + 0, + 16, + 82, + 8, + 33, + 115, + 8, + 41, + 123, + 8, + 41, + 132, + 8, + 33, + 107, + 0, + 24, + 90, + 0, + 8, + 57, + 8, + 33, + 99, + 16, + 57, + 156, + 24, + 66, + 165, + 24, + 66, + 173, + 24, + 66, + 181, + 16, + 57, + 165, + 16, + 49, + 148, + 0, + 24, + 82, + 16, + 49, + 140, + 41, + 82, + 181, + 57, + 99, + 198, + 57, + 99, + 206, + 41, + 90, + 206, + 24, + 74, + 206, + 24, + 66, + 206, + 24, + 66, + 189, + 66, + 107, + 198, + 123, + 156, + 214, + 156, + 189, + 222, + 140, + 181, + 222, + 99, + 148, + 231, + 49, + 107, + 222, + 33, + 82, + 222, + 24, + 74, + 214, + 24, + 66, + 198, + 16, + 49, + 165, + 0, + 0, + 33, + 206, + 231, + 239, + 231, + 239, + 239, + 156, + 198, + 239, + 82, + 132, + 239, + 41, + 90, + 231, + 16, + 57, + 173, + 74, + 123, + 206, + 173, + 206, + 222, + 165, + 206, + 239, + 90, + 140, + 239, + 16, + 49, + 156, + 90, + 132, + 214, + 173, + 214, + 231, + 206, + 239, + 239, + 140, + 189, + 239, + 74, + 123, + 239, + 24, + 57, + 165, + 24, + 74, + 198, + 140, + 189, + 231, + 181, + 231, + 239, + 148, + 189, + 239, + 0, + 0, + 41, + 90, + 140, + 231, + 115, + 165, + 239, + 107, + 156, + 239, + 8, + 41, + 140, + 49, + 99, + 239, + 41, + 90, + 239, + 8, + 33, + 123, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 193, + 50, + 13, + 85, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 1, + 136, + 73, + 68, + 65, + 84, + 120, + 156, + 117, + 210, + 109, + 87, + 155, + 48, + 24, + 6, + 224, + 18, + 78, + 128, + 38, + 16, + 82, + 147, + 134, + 204, + 9, + 76, + 167, + 5, + 34, + 218, + 170, + 139, + 219, + 172, + 111, + 219, + 124, + 249, + 255, + 191, + 40, + 123, + 210, + 86, + 236, + 177, + 199, + 155, + 47, + 156, + 115, + 157, + 59, + 33, + 228, + 25, + 141, + 134, + 4, + 40, + 68, + 40, + 112, + 163, + 157, + 4, + 56, + 138, + 33, + 81, + 130, + 195, + 143, + 140, + 199, + 132, + 166, + 16, + 146, + 177, + 40, + 65, + 219, + 232, + 114, + 78, + 39, + 123, + 66, + 10, + 49, + 85, + 41, + 41, + 146, + 208, + 13, + 234, + 146, + 76, + 139, + 47, + 251, + 95, + 15, + 202, + 170, + 150, + 83, + 13, + 136, + 6, + 196, + 76, + 239, + 125, + 59, + 60, + 250, + 126, + 124, + 50, + 107, + 90, + 217, + 233, + 44, + 50, + 111, + 123, + 6, + 49, + 157, + 236, + 31, + 158, + 246, + 167, + 103, + 231, + 243, + 166, + 108, + 23, + 138, + 48, + 188, + 41, + 186, + 132, + 107, + 113, + 113, + 217, + 247, + 253, + 213, + 143, + 121, + 83, + 213, + 194, + 82, + 150, + 131, + 121, + 12, + 34, + 50, + 145, + 215, + 63, + 251, + 254, + 215, + 239, + 155, + 89, + 83, + 214, + 66, + 129, + 133, + 107, + 11, + 99, + 186, + 188, + 189, + 190, + 187, + 191, + 127, + 240, + 181, + 86, + 46, + 222, + 205, + 61, + 22, + 90, + 148, + 7, + 127, + 254, + 254, + 187, + 241, + 187, + 213, + 162, + 211, + 132, + 175, + 204, + 141, + 28, + 102, + 79, + 162, + 157, + 205, + 159, + 95, + 26, + 79, + 114, + 106, + 211, + 44, + 78, + 6, + 75, + 151, + 117, + 213, + 128, + 84, + 64, + 11, + 171, + 41, + 143, + 253, + 119, + 122, + 123, + 44, + 168, + 149, + 109, + 89, + 86, + 183, + 53, + 208, + 82, + 105, + 194, + 252, + 249, + 86, + 102, + 98, + 162, + 166, + 117, + 221, + 66, + 73, + 138, + 14, + 136, + 195, + 146, + 27, + 11, + 115, + 150, + 170, + 165, + 20, + 82, + 46, + 58, + 171, + 244, + 107, + 86, + 68, + 102, + 181, + 36, + 88, + 128, + 139, + 44, + 85, + 182, + 235, + 172, + 181, + 42, + 245, + 132, + 215, + 53, + 127, + 136, + 48, + 7, + 212, + 74, + 41, + 157, + 82, + 194, + 139, + 40, + 25, + 8, + 138, + 38, + 31, + 115, + 66, + 41, + 125, + 37, + 156, + 143, + 129, + 214, + 43, + 174, + 204, + 33, + 147, + 199, + 5, + 227, + 156, + 51, + 184, + 119, + 179, + 105, + 109, + 126, + 54, + 96, + 146, + 71, + 144, + 28, + 38, + 2, + 109, + 147, + 199, + 0, + 25, + 131, + 141, + 9, + 223, + 229, + 237, + 110, + 253, + 107, + 128, + 224, + 25, + 192, + 109, + 13, + 197, + 110, + 182, + 167, + 233, + 83, + 249, + 136, + 187, + 227, + 187, + 3, + 255, + 1, + 20, + 84, + 204, + 216, + 153, + 105, + 14, + 191, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + }, + { + "File": { + "header": { + "content_disposition": { + "c_type": "inline", + "attributes": { + "filename": "C:TEMPnsmailNM.png" + } + }, + "content_id": "part2.39236103.1B697A54@example.com", + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png" + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 0, + 1, + 0, + 0, + 11, + 0, + 0, + 21, + 0, + 0, + 26, + 0, + 0, + 23, + 0, + 0, + 17, + 0, + 0, + 10, + 0, + 0, + 3, + 0, + 0, + 28, + 0, + 0, + 50, + 0, + 0, + 68, + 0, + 0, + 77, + 0, + 0, + 72, + 0, + 0, + 61, + 0, + 0, + 35, + 0, + 0, + 22, + 0, + 0, + 38, + 0, + 0, + 97, + 0, + 0, + 123, + 0, + 0, + 134, + 0, + 0, + 135, + 0, + 0, + 125, + 0, + 0, + 116, + 0, + 0, + 96, + 0, + 0, + 57, + 0, + 0, + 20, + 0, + 0, + 6, + 0, + 0, + 39, + 0, + 0, + 75, + 0, + 0, + 111, + 0, + 0, + 144, + 0, + 0, + 165, + 0, + 0, + 187, + 0, + 0, + 191, + 0, + 0, + 171, + 0, + 0, + 161, + 0, + 0, + 140, + 0, + 0, + 115, + 0, + 0, + 91, + 0, + 0, + 46, + 0, + 0, + 8, + 0, + 0, + 76, + 0, + 0, + 119, + 0, + 0, + 153, + 0, + 0, + 180, + 25, + 25, + 202, + 56, + 56, + 213, + 61, + 61, + 219, + 41, + 41, + 221, + 5, + 5, + 184, + 0, + 0, + 168, + 0, + 0, + 121, + 0, + 0, + 49, + 0, + 0, + 24, + 0, + 0, + 4, + 0, + 0, + 69, + 0, + 0, + 154, + 0, + 0, + 187, + 36, + 36, + 209, + 97, + 97, + 223, + 132, + 132, + 230, + 127, + 127, + 230, + 86, + 86, + 234, + 31, + 31, + 210, + 0, + 0, + 185, + 0, + 0, + 163, + 0, + 0, + 93, + 0, + 0, + 66, + 0, + 0, + 40, + 0, + 0, + 9, + 0, + 0, + 103, + 0, + 0, + 186, + 15, + 15, + 208, + 84, + 84, + 222, + 147, + 147, + 229, + 172, + 172, + 233, + 153, + 153, + 237, + 101, + 101, + 239, + 37, + 37, + 215, + 0, + 0, + 193, + 0, + 0, + 177, + 0, + 0, + 156, + 0, + 0, + 109, + 0, + 0, + 83, + 0, + 0, + 54, + 0, + 0, + 27, + 0, + 0, + 5, + 0, + 0, + 74, + 0, + 0, + 129, + 0, + 0, + 203, + 32, + 32, + 221, + 103, + 103, + 232, + 156, + 156, + 235, + 166, + 166, + 237, + 138, + 138, + 239, + 81, + 81, + 239, + 20, + 20, + 209, + 0, + 0, + 195, + 0, + 0, + 182, + 0, + 0, + 120, + 0, + 0, + 94, + 0, + 0, + 64, + 0, + 0, + 34, + 0, + 0, + 87, + 0, + 0, + 146, + 0, + 0, + 194, + 0, + 0, + 218, + 27, + 27, + 232, + 85, + 85, + 236, + 120, + 120, + 239, + 120, + 120, + 239, + 87, + 87, + 239, + 38, + 38, + 225, + 0, + 0, + 206, + 0, + 0, + 183, + 0, + 0, + 167, + 0, + 0, + 149, + 0, + 0, + 71, + 0, + 0, + 43, + 0, + 0, + 15, + 0, + 0, + 157, + 0, + 0, + 197, + 0, + 0, + 225, + 5, + 5, + 235, + 40, + 40, + 239, + 60, + 60, + 239, + 53, + 53, + 239, + 27, + 27, + 227, + 0, + 0, + 208, + 0, + 0, + 201, + 0, + 0, + 181, + 0, + 0, + 151, + 0, + 0, + 132, + 0, + 0, + 108, + 0, + 0, + 79, + 0, + 0, + 18, + 0, + 0, + 2, + 0, + 0, + 98, + 0, + 0, + 233, + 0, + 0, + 239, + 2, + 2, + 231, + 0, + 0, + 216, + 0, + 0, + 203, + 0, + 0, + 186, + 0, + 0, + 176, + 0, + 0, + 112, + 0, + 0, + 19, + 0, + 0, + 36, + 0, + 0, + 88, + 0, + 0, + 200, + 0, + 0, + 211, + 0, + 0, + 205, + 0, + 0, + 179, + 0, + 0, + 131, + 0, + 0, + 110, + 0, + 0, + 30, + 0, + 0, + 126, + 0, + 0, + 192, + 0, + 0, + 164, + 0, + 0, + 141, + 0, + 0, + 127, + 0, + 0, + 105, + 0, + 0, + 80, + 0, + 0, + 48, + 0, + 0, + 145, + 0, + 0, + 169, + 0, + 0, + 188, + 0, + 0, + 170, + 0, + 0, + 155, + 0, + 0, + 101, + 0, + 0, + 73, + 0, + 0, + 42, + 0, + 0, + 14, + 0, + 0, + 52, + 0, + 0, + 172, + 0, + 0, + 175, + 0, + 0, + 173, + 0, + 0, + 166, + 0, + 0, + 137, + 0, + 0, + 122, + 0, + 0, + 107, + 0, + 0, + 90, + 0, + 0, + 62, + 0, + 0, + 41, + 0, + 0, + 106, + 0, + 0, + 130, + 0, + 0, + 159, + 0, + 0, + 158, + 0, + 0, + 150, + 0, + 0, + 143, + 0, + 0, + 124, + 0, + 0, + 25, + 0, + 0, + 7, + 0, + 0, + 85, + 0, + 0, + 142, + 0, + 0, + 138, + 0, + 0, + 56, + 0, + 0, + 16, + 0, + 0, + 63, + 0, + 0, + 114, + 0, + 0, + 128, + 0, + 0, + 92, + 0, + 0, + 55, + 0, + 0, + 44, + 0, + 0, + 102, + 0, + 0, + 67, + 0, + 0, + 86, + 0, + 0, + 32, + 0, + 0, + 51, + 0, + 0, + 60, + 0, + 0, + 58, + 0, + 0, + 31, + 0, + 0, + 12, + 0, + 0, + 29, + 0, + 0, + 13, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 252, + 46, + 217, + 69, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 2, + 8, + 73, + 68, + 65, + 84, + 120, + 156, + 99, + 96, + 128, + 131, + 255, + 16, + 192, + 128, + 1, + 152, + 152, + 89, + 88, + 89, + 217, + 216, + 57, + 56, + 49, + 165, + 57, + 184, + 184, + 121, + 120, + 121, + 249, + 248, + 185, + 5, + 4, + 57, + 80, + 37, + 255, + 51, + 11, + 241, + 8, + 139, + 136, + 138, + 137, + 75, + 72, + 242, + 74, + 9, + 73, + 203, + 32, + 201, + 254, + 103, + 150, + 149, + 147, + 87, + 80, + 84, + 82, + 86, + 81, + 85, + 83, + 215, + 224, + 209, + 100, + 213, + 66, + 72, + 202, + 8, + 105, + 235, + 232, + 234, + 233, + 27, + 24, + 26, + 25, + 155, + 40, + 152, + 10, + 243, + 153, + 153, + 91, + 192, + 228, + 254, + 179, + 90, + 74, + 88, + 89, + 219, + 216, + 218, + 217, + 59, + 56, + 58, + 57, + 43, + 232, + 184, + 184, + 186, + 177, + 67, + 53, + 254, + 119, + 55, + 243, + 176, + 242, + 244, + 242, + 246, + 241, + 245, + 243, + 15, + 8, + 12, + 10, + 22, + 13, + 9, + 13, + 11, + 143, + 128, + 72, + 254, + 103, + 139, + 140, + 10, + 138, + 142, + 137, + 141, + 139, + 79, + 72, + 76, + 74, + 78, + 113, + 86, + 72, + 77, + 75, + 23, + 128, + 58, + 246, + 127, + 70, + 102, + 86, + 118, + 78, + 110, + 94, + 126, + 65, + 97, + 81, + 113, + 114, + 73, + 105, + 89, + 148, + 71, + 121, + 69, + 37, + 88, + 238, + 63, + 147, + 144, + 100, + 85, + 117, + 77, + 109, + 93, + 125, + 67, + 99, + 83, + 179, + 114, + 75, + 105, + 107, + 91, + 123, + 135, + 102, + 39, + 56, + 8, + 254, + 119, + 185, + 117, + 183, + 42, + 59, + 246, + 244, + 246, + 245, + 39, + 77, + 72, + 158, + 56, + 73, + 177, + 85, + 116, + 114, + 40, + 247, + 20, + 136, + 28, + 211, + 212, + 105, + 106, + 147, + 166, + 39, + 205, + 72, + 154, + 217, + 156, + 173, + 52, + 75, + 69, + 53, + 107, + 246, + 156, + 80, + 110, + 105, + 136, + 220, + 255, + 185, + 114, + 243, + 84, + 157, + 170, + 155, + 167, + 87, + 207, + 159, + 56, + 75, + 101, + 129, + 213, + 194, + 69, + 139, + 151, + 44, + 133, + 154, + 249, + 223, + 220, + 85, + 126, + 217, + 242, + 20, + 165, + 21, + 78, + 45, + 147, + 86, + 58, + 175, + 202, + 18, + 75, + 93, + 189, + 102, + 237, + 58, + 168, + 28, + 251, + 122, + 23, + 241, + 214, + 210, + 13, + 27, + 55, + 173, + 220, + 172, + 106, + 149, + 181, + 101, + 235, + 182, + 237, + 59, + 4, + 152, + 161, + 114, + 204, + 59, + 215, + 236, + 218, + 157, + 21, + 188, + 103, + 207, + 94, + 171, + 125, + 251, + 69, + 15, + 200, + 167, + 173, + 49, + 59, + 120, + 8, + 18, + 85, + 255, + 45, + 184, + 164, + 14, + 111, + 19, + 223, + 162, + 176, + 108, + 217, + 145, + 163, + 179, + 183, + 206, + 145, + 228, + 61, + 38, + 112, + 28, + 26, + 139, + 255, + 255, + 31, + 151, + 61, + 113, + 216, + 227, + 164, + 200, + 162, + 83, + 139, + 182, + 170, + 111, + 59, + 173, + 125, + 70, + 72, + 218, + 2, + 46, + 23, + 193, + 118, + 150, + 191, + 195, + 229, + 220, + 54, + 249, + 246, + 93, + 194, + 153, + 124, + 97, + 83, + 165, + 35, + 224, + 137, + 227, + 255, + 127, + 142, + 131, + 178, + 97, + 231, + 121, + 67, + 51, + 47, + 132, + 106, + 167, + 155, + 101, + 116, + 90, + 32, + 165, + 155, + 255, + 255, + 15, + 73, + 95, + 92, + 123, + 73, + 234, + 242, + 229, + 43, + 220, + 59, + 175, + 30, + 239, + 66, + 78, + 82, + 64, + 150, + 197, + 181, + 41, + 172, + 215, + 47, + 94, + 189, + 120, + 157, + 237, + 6, + 90, + 114, + 3, + 177, + 153, + 44, + 100, + 180, + 220, + 221, + 181, + 44, + 48, + 83, + 226, + 127, + 84, + 128, + 154, + 8, + 241, + 72, + 97, + 77, + 215, + 0, + 152, + 72, + 58, + 216, + 223, + 230, + 199, + 242, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + }, + { + "File": { + "header": { + "content_disposition": { + "c_type": "inline", + "attributes": { + "filename": "greenball.png" + } + }, + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "greenball.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 0, + 0, + 16, + 0, + 0, + 24, + 0, + 0, + 33, + 0, + 0, + 8, + 0, + 0, + 49, + 0, + 0, + 66, + 0, + 0, + 82, + 0, + 0, + 90, + 0, + 0, + 74, + 0, + 8, + 99, + 0, + 8, + 115, + 0, + 8, + 123, + 0, + 16, + 140, + 0, + 8, + 107, + 0, + 0, + 57, + 0, + 0, + 99, + 0, + 16, + 148, + 0, + 16, + 156, + 0, + 33, + 165, + 0, + 16, + 165, + 0, + 33, + 173, + 0, + 66, + 189, + 24, + 99, + 198, + 49, + 99, + 198, + 57, + 82, + 198, + 33, + 41, + 206, + 0, + 24, + 189, + 0, + 16, + 173, + 0, + 24, + 173, + 0, + 33, + 189, + 0, + 148, + 214, + 99, + 173, + 214, + 123, + 132, + 214, + 82, + 74, + 222, + 24, + 33, + 214, + 0, + 24, + 198, + 0, + 24, + 181, + 0, + 0, + 41, + 0, + 66, + 206, + 16, + 206, + 231, + 148, + 222, + 231, + 173, + 198, + 231, + 148, + 148, + 231, + 99, + 82, + 231, + 33, + 33, + 222, + 0, + 24, + 206, + 0, + 82, + 222, + 33, + 156, + 231, + 107, + 214, + 239, + 156, + 189, + 239, + 140, + 132, + 239, + 82, + 66, + 239, + 16, + 173, + 239, + 123, + 165, + 222, + 115, + 90, + 239, + 41, + 33, + 231, + 0, + 24, + 214, + 0, + 49, + 231, + 0, + 82, + 239, + 33, + 107, + 239, + 57, + 74, + 239, + 24, + 41, + 231, + 0, + 41, + 239, + 0, + 49, + 239, + 0, + 8, + 132, + 0, + 16, + 181, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 41, + 213, + 249, + 217, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 1, + 109, + 73, + 68, + 65, + 84, + 120, + 156, + 117, + 210, + 109, + 87, + 194, + 32, + 20, + 7, + 112, + 15, + 108, + 200, + 128, + 193, + 4, + 215, + 227, + 92, + 169, + 219, + 40, + 43, + 233, + 185, + 180, + 44, + 179, + 239, + 255, + 153, + 136, + 185, + 135, + 179, + 44, + 239, + 171, + 157, + 243, + 59, + 247, + 50, + 248, + 223, + 94, + 175, + 45, + 91, + 85, + 239, + 79, + 89, + 0, + 61, + 207, + 131, + 16, + 248, + 127, + 24, + 162, + 62, + 198, + 1, + 38, + 125, + 228, + 129, + 223, + 104, + 17, + 166, + 44, + 228, + 156, + 135, + 34, + 32, + 200, + 235, + 182, + 218, + 104, + 16, + 74, + 53, + 28, + 14, + 227, + 88, + 114, + 129, + 163, + 46, + 34, + 202, + 213, + 193, + 225, + 209, + 241, + 201, + 105, + 50, + 138, + 57, + 195, + 8, + 182, + 6, + 49, + 79, + 207, + 78, + 206, + 199, + 227, + 201, + 52, + 203, + 11, + 197, + 5, + 209, + 205, + 153, + 54, + 98, + 170, + 184, + 152, + 92, + 206, + 174, + 174, + 111, + 230, + 38, + 73, + 85, + 24, + 68, + 94, + 125, + 25, + 224, + 218, + 178, + 219, + 187, + 251, + 217, + 195, + 227, + 83, + 102, + 146, + 34, + 118, + 141, + 205, + 137, + 222, + 64, + 22, + 103, + 211, + 235, + 231, + 151, + 199, + 215, + 197, + 210, + 153, + 27, + 138, + 81, + 53, + 212, + 106, + 161, + 242, + 236, + 237, + 125, + 181, + 250, + 248, + 52, + 89, + 94, + 255, + 13, + 216, + 14, + 181, + 145, + 80, + 137, + 89, + 172, + 191, + 214, + 243, + 165, + 201, + 147, + 34, + 85, + 27, + 209, + 26, + 18, + 50, + 49, + 217, + 124, + 153, + 153, + 146, + 70, + 138, + 135, + 148, + 104, + 191, + 182, + 1, + 143, + 19, + 99, + 202, + 38, + 71, + 169, + 228, + 44, + 168, + 110, + 239, + 76, + 227, + 80, + 165, + 73, + 94, + 202, + 119, + 170, + 228, + 182, + 13, + 84, + 137, + 88, + 216, + 119, + 207, + 50, + 74, + 11, + 39, + 177, + 35, + 70, + 113, + 4, + 253, + 218, + 124, + 77, + 4, + 151, + 42, + 142, + 149, + 146, + 114, + 195, + 202, + 247, + 4, + 77, + 146, + 22, + 34, + 66, + 203, + 16, + 56, + 223, + 132, + 130, + 146, + 14, + 185, + 70, + 23, + 94, + 64, + 25, + 99, + 66, + 208, + 160, + 223, + 210, + 214, + 172, + 15, + 116, + 68, + 48, + 198, + 212, + 69, + 171, + 97, + 67, + 182, + 222, + 19, + 0, + 53, + 66, + 145, + 70, + 94, + 181, + 19, + 157, + 189, + 113, + 31, + 190, + 15, + 97, + 185, + 44, + 173, + 52, + 217, + 218, + 255, + 170, + 183, + 31, + 187, + 219, + 180, + 87, + 118, + 241, + 159, + 245, + 221, + 133, + 31, + 205, + 97, + 231, + 141, + 210, + 8, + 44, + 44, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + }, + { + "File": { + "header": { + "content_disposition": { + "c_type": "inline", + "attributes": { + "filename": "blueball.png" + } + }, + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "blueball.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 8, + 0, + 0, + 16, + 0, + 0, + 24, + 0, + 0, + 0, + 0, + 8, + 41, + 0, + 16, + 66, + 0, + 16, + 74, + 0, + 8, + 49, + 0, + 16, + 82, + 8, + 33, + 115, + 8, + 41, + 123, + 8, + 41, + 132, + 8, + 33, + 107, + 0, + 24, + 90, + 0, + 8, + 57, + 8, + 33, + 99, + 16, + 57, + 156, + 24, + 66, + 165, + 24, + 66, + 173, + 24, + 66, + 181, + 16, + 57, + 165, + 16, + 49, + 148, + 0, + 24, + 82, + 16, + 49, + 140, + 41, + 82, + 181, + 57, + 99, + 198, + 57, + 99, + 206, + 41, + 90, + 206, + 24, + 74, + 206, + 24, + 66, + 206, + 24, + 66, + 189, + 66, + 107, + 198, + 123, + 156, + 214, + 156, + 189, + 222, + 140, + 181, + 222, + 99, + 148, + 231, + 49, + 107, + 222, + 33, + 82, + 222, + 24, + 74, + 214, + 24, + 66, + 198, + 16, + 49, + 165, + 0, + 0, + 33, + 206, + 231, + 239, + 231, + 239, + 239, + 156, + 198, + 239, + 82, + 132, + 239, + 41, + 90, + 231, + 16, + 57, + 173, + 74, + 123, + 206, + 173, + 206, + 222, + 165, + 206, + 239, + 90, + 140, + 239, + 16, + 49, + 156, + 90, + 132, + 214, + 173, + 214, + 231, + 206, + 239, + 239, + 140, + 189, + 239, + 74, + 123, + 239, + 24, + 57, + 165, + 24, + 74, + 198, + 140, + 189, + 231, + 181, + 231, + 239, + 148, + 189, + 239, + 0, + 0, + 41, + 90, + 140, + 231, + 115, + 165, + 239, + 107, + 156, + 239, + 8, + 41, + 140, + 49, + 99, + 239, + 41, + 90, + 239, + 8, + 33, + 123, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 193, + 50, + 13, + 85, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 1, + 136, + 73, + 68, + 65, + 84, + 120, + 156, + 117, + 210, + 109, + 87, + 155, + 48, + 24, + 6, + 224, + 18, + 78, + 128, + 38, + 16, + 82, + 147, + 134, + 204, + 9, + 76, + 167, + 5, + 34, + 218, + 170, + 139, + 219, + 172, + 111, + 219, + 124, + 249, + 255, + 191, + 40, + 123, + 210, + 86, + 236, + 177, + 199, + 155, + 47, + 156, + 115, + 157, + 59, + 33, + 228, + 25, + 141, + 134, + 4, + 40, + 68, + 40, + 112, + 163, + 157, + 4, + 56, + 138, + 33, + 81, + 130, + 195, + 143, + 140, + 199, + 132, + 166, + 16, + 146, + 177, + 40, + 65, + 219, + 232, + 114, + 78, + 39, + 123, + 66, + 10, + 49, + 85, + 41, + 41, + 146, + 208, + 13, + 234, + 146, + 76, + 139, + 47, + 251, + 95, + 15, + 202, + 170, + 150, + 83, + 13, + 136, + 6, + 196, + 76, + 239, + 125, + 59, + 60, + 250, + 126, + 124, + 50, + 107, + 90, + 217, + 233, + 44, + 50, + 111, + 123, + 6, + 49, + 157, + 236, + 31, + 158, + 246, + 167, + 103, + 231, + 243, + 166, + 108, + 23, + 138, + 48, + 188, + 41, + 186, + 132, + 107, + 113, + 113, + 217, + 247, + 253, + 213, + 143, + 121, + 83, + 213, + 194, + 82, + 150, + 131, + 121, + 12, + 34, + 50, + 145, + 215, + 63, + 251, + 254, + 215, + 239, + 155, + 89, + 83, + 214, + 66, + 129, + 133, + 107, + 11, + 99, + 186, + 188, + 189, + 190, + 187, + 191, + 127, + 240, + 181, + 86, + 46, + 222, + 205, + 61, + 22, + 90, + 148, + 7, + 127, + 254, + 254, + 187, + 241, + 187, + 213, + 162, + 211, + 132, + 175, + 204, + 141, + 28, + 102, + 79, + 162, + 157, + 205, + 159, + 95, + 26, + 79, + 114, + 106, + 211, + 44, + 78, + 6, + 75, + 151, + 117, + 213, + 128, + 84, + 64, + 11, + 171, + 41, + 143, + 253, + 119, + 122, + 123, + 44, + 168, + 149, + 109, + 89, + 86, + 183, + 53, + 208, + 82, + 105, + 194, + 252, + 249, + 86, + 102, + 98, + 162, + 166, + 117, + 221, + 66, + 73, + 138, + 14, + 136, + 195, + 146, + 27, + 11, + 115, + 150, + 170, + 165, + 20, + 82, + 46, + 58, + 171, + 244, + 107, + 86, + 68, + 102, + 181, + 36, + 88, + 128, + 139, + 44, + 85, + 182, + 235, + 172, + 181, + 42, + 245, + 132, + 215, + 53, + 127, + 136, + 48, + 7, + 212, + 74, + 41, + 157, + 82, + 194, + 139, + 40, + 25, + 8, + 138, + 38, + 31, + 115, + 66, + 41, + 125, + 37, + 156, + 143, + 129, + 214, + 43, + 174, + 204, + 33, + 147, + 199, + 5, + 227, + 156, + 51, + 184, + 119, + 179, + 105, + 109, + 126, + 54, + 96, + 146, + 71, + 144, + 28, + 38, + 2, + 109, + 147, + 199, + 0, + 25, + 131, + 141, + 9, + 223, + 229, + 237, + 110, + 253, + 107, + 128, + 224, + 25, + 192, + 109, + 13, + 197, + 110, + 182, + 167, + 233, + 83, + 249, + 136, + 187, + 227, + 187, + 3, + 255, + 1, + 20, + 84, + 204, + 216, + 153, + 105, + 14, + 191, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + } + ] +} \ No newline at end of file diff --git a/tests/legacy/040.txt b/tests/legacy/040.txt new file mode 100644 index 0000000..b029b01 --- /dev/null +++ b/tests/legacy/040.txt @@ -0,0 +1,81 @@ +Message-ID: <39236653.CAA8A090@example.com> +Date: Wed, 17 May 2000 23:41:07 -0400 +From: Doug Sauder +X-Mailer: Mozilla 4.7 [en] (WinNT; I) +X-Accept-Language: en +MIME-Version: 1.0 +To: =?iso-8859-1?Q?J=FCrgen=20Schm=FCrgen?= +Subject: Die Hasen und die =?iso-8859-1?Q?Fr=F6sche?= +Content-Type: text/plain; charset=iso-8859-1 +Content-Transfer-Encoding: quoted-printable + +Die Hasen und die Fr=F6sche + +Die Hasen klagten einst =FCber ihre mi=DFliche Lage; "wir leben", sprach = +ein Redner, "in steter Furcht vor Menschen und Tieren, eine Beute der Hun= +de, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist =E4rger al= +s der Tod selbst. Auf, la=DFt uns ein f=FCr allemal sterben." = + + +In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu; = +allein das au=DFerordentliche Get=F6se und ihre wunderbare Gestalt erschr= +eckte eine Menge Fr=F6sche, die am Ufer sa=DFen, so sehr, da=DF sie aufs = +schnellste untertauchten. = + + +"Halt", rief nun eben dieser Sprecher, "wir wollen das Ers=E4ufen noch ei= +n wenig aufschieben, denn auch uns f=FCrchten, wie ihr seht, einige Tiere= +, welche also wohl noch ungl=FCcklicher sein m=FCssen als wir." + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 17, + "hour": 23, + "minute": 41, + "second": 7, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "dwsauder@example.com" + } + }, + "message_id": "39236653.CAA8A090@example.com", + "mime_version": "1.0", + "subject": "Die Hasen und die Frösche", + "to": { + "Address": { + "name": "Jürgen Schmürgen", + "address": "schmuergen@example.com" + } + }, + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "iso-8859-1" + } + }, + "others": { + "X-Accept-Language": [ + "en" + ], + "X-Mailer": [ + "Mozilla 4.7 [en] (WinNT; I)" + ] + } + }, + "text_body": [ + { + "contents": "Die Hasen und die Frösche\n\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst. Auf, laßt uns ein für allemal sterben.\" \n\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; allein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste untertauchten. \n\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, welche also wohl noch unglücklicher sein müssen als wir.\"\n" + } + ] +} \ No newline at end of file diff --git a/tests/legacy/041.txt b/tests/legacy/041.txt new file mode 100644 index 0000000..49311cd --- /dev/null +++ b/tests/legacy/041.txt @@ -0,0 +1,1589 @@ +Date: Fri, 19 May 2000 10:23:16 -0400 (EDT) +From: Doug Sauder +To: =?iso-8859-1?Q?Heinz_M=FCller?= +Subject: PNG graphic +Message-ID: +MIME-Version: 1.0 +Content-Type: MULTIPART/MIXED; BOUNDARY="-1463757054-170444605-958746196=:8452" + + This message is in MIME format. The first part should be readable text, + while the remaining parts are likely unreadable without MIME-aware tools. + Send mail to mime@docserver.cac.washington.edu for more info. + +---1463757054-170444605-958746196=:8452 +Content-Type: TEXT/PLAIN; charset=US-ASCII + + +---1463757054-170444605-958746196=:8452 +Content-Type: APPLICATION/octet-stream; name="redball.png" +Content-Transfer-Encoding: BASE64 +Content-ID: +Content-Description: red ball +Content-Disposition: attachment; filename="redball.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8A +AAABAAALAAAVAAAaAAAXAAARAAAKAAADAAAcAAAyAABEAABNAABIAAA9AAAj +AAAWAAAmAABhAAB7AACGAACHAAB9AAB0AABgAAA5AAAUAAAGAAAnAABLAABv +AACQAAClAAC7AAC/AACrAAChAACMAABzAABbAAAuAAAIAABMAAB3AACZAAC0 +GRnKODjVPT3bKSndBQW4AACoAAB5AAAxAAAYAAAEAABFAACaAAC7JCTRYWHf +hITmf3/mVlbqHx/SAAC5AACjAABdAABCAAAoAAAJAABnAAC6Dw/QVFTek5Pl +rKzpmZntZWXvJSXXAADBAACxAACcAABtAABTAAA2AAAbAAAFAABKAACBAADL +ICDdZ2fonJzrpqbtiorvUVHvFBTRAADDAAC2AAB4AABeAABAAAAiAABXAACS +AADCAADaGxvoVVXseHjveHjvV1fvJibhAADOAAC3AACnAACVAABHAAArAAAP +AACdAADFAADhBQXrKCjvPDzvNTXvGxvjAADQAADJAAC1AACXAACEAABsAABP +AAASAAACAABiAADpAADvAgLnAADYAADLAAC6AACwAABwAAATAAAkAABYAADI +AADTAADNAACzAACDAABuAAAeAAB+AADAAACkAACNAAB/AABpAABQAAAwAACR +AACpAAC8AACqAACbAABlAABJAAAqAAAOAAA0AACsAACvAACtAACmAACJAAB6 +AABrAABaAAA+AAApAABqAACCAACfAACeAACWAACPAAB8AAAZAAAHAABVAACO +AACKAAA4AAAQAAA/AAByAACAAABcAAA3AAAsAABmAABDAABWAAAgAAAzAAA8 +AAA6AAAfAAAMAAAdAAANAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD8 +LtlFAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAu +MT1evmgAAAIISURBVHicY2CAg/8QwIABmJhZWFnZ2Dk4MaU5uLh5eHn5+LkF +BDlQJf8zC/EIi4iKiUtI8koJScsgyf5nlpWTV1BUUlZRVVPX4NFk1UJIyghp +6+jq6RsYGhmbKJgK85mZW8Dk/rNaSlhZ29ja2Ts4Ojkr6Li4urFDNf53N/Ow +8vTy9vH18w8IDAoWDQkNC4+ASP5ni4wKio6JjYtPSExKTnFWSE1LF4A69n9G +ZlZ2Tm5efkFhUXFySWlZlEd5RSVY7j+TkGRVdU1tXX1DY1Ozcktpa1t7h2Yn +OAj+d7l1tyo79vT29SdNSJ44SbFVdHIo9xSIHNPUaWqTpifNSJrZnK00S0U1 +a/acUG5piNz/uXLzVJ2qm6dXz584S2WB1cJFi5cshZr539xVftnyFKUVTi2T +VjqvyhJLXb1m7TqoHPt6F/HW0g0bN63crGqVtWXrtu07BJihcsw71+zanRW8 +Z89eq337RQ/Ip60xO3gIElX/LbikDm8T36KwbNmRo7O3zpHkPSZwHBqL//8f +lz1x2OOkyKJTi7aqbzutfUZI2gIuF8F2lr/D5dw2+fZdwpl8YVOlI+CJ4/9/ +joOyYed5QzMvhGqnm2V0WiClm///D0lfXHtJ6vLlK9w7rx7vQk5SQJbFtSms +1y9evXid7QZacgOxmSxktNzdtSwwU+J/VICaCPFIYU3XAJhIOtjf5sfyAAAA +JXRFWHRDb21tZW50AGNsaXAyZ2lmIHYuMC42IGJ5IFl2ZXMgUGlndWV0NnM7 +vAAAAABJRU5ErkJggg== +---1463757054-170444605-958746196=:8452-- + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 19, + "hour": 10, + "minute": 23, + "second": 16, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "doug@penguin.example.com" + } + }, + "message_id": "Pine.LNX.4.21.0005191019440.8452-101000@penguin.example.com", + "mime_version": "1.0", + "subject": "PNG graphic", + "to": { + "Address": { + "name": "Heinz Müller", + "address": "mueller@example.com" + } + }, + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "-1463757054-170444605-958746196=:8452" + } + } + }, + "text_body": [ + { + "header": { + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "US-ASCII" + } + } + }, + "contents": "\r" + } + ], + "attachments": [ + { + "File": { + "header": { + "content_description": "red ball", + "content_disposition": { + "c_type": "attachment", + "attributes": { + "filename": "redball.png" + } + }, + "content_id": "Pine.LNX.4.21.0005191023160.8452@penguin.example.com", + "content_transfer_encoding": "BASE64", + "content_type": { + "c_type": "application", + "c_subtype": "octet-stream", + "attributes": { + "name": "redball.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 0, + 1, + 0, + 0, + 11, + 0, + 0, + 21, + 0, + 0, + 26, + 0, + 0, + 23, + 0, + 0, + 17, + 0, + 0, + 10, + 0, + 0, + 3, + 0, + 0, + 28, + 0, + 0, + 50, + 0, + 0, + 68, + 0, + 0, + 77, + 0, + 0, + 72, + 0, + 0, + 61, + 0, + 0, + 35, + 0, + 0, + 22, + 0, + 0, + 38, + 0, + 0, + 97, + 0, + 0, + 123, + 0, + 0, + 134, + 0, + 0, + 135, + 0, + 0, + 125, + 0, + 0, + 116, + 0, + 0, + 96, + 0, + 0, + 57, + 0, + 0, + 20, + 0, + 0, + 6, + 0, + 0, + 39, + 0, + 0, + 75, + 0, + 0, + 111, + 0, + 0, + 144, + 0, + 0, + 165, + 0, + 0, + 187, + 0, + 0, + 191, + 0, + 0, + 171, + 0, + 0, + 161, + 0, + 0, + 140, + 0, + 0, + 115, + 0, + 0, + 91, + 0, + 0, + 46, + 0, + 0, + 8, + 0, + 0, + 76, + 0, + 0, + 119, + 0, + 0, + 153, + 0, + 0, + 180, + 25, + 25, + 202, + 56, + 56, + 213, + 61, + 61, + 219, + 41, + 41, + 221, + 5, + 5, + 184, + 0, + 0, + 168, + 0, + 0, + 121, + 0, + 0, + 49, + 0, + 0, + 24, + 0, + 0, + 4, + 0, + 0, + 69, + 0, + 0, + 154, + 0, + 0, + 187, + 36, + 36, + 209, + 97, + 97, + 223, + 132, + 132, + 230, + 127, + 127, + 230, + 86, + 86, + 234, + 31, + 31, + 210, + 0, + 0, + 185, + 0, + 0, + 163, + 0, + 0, + 93, + 0, + 0, + 66, + 0, + 0, + 40, + 0, + 0, + 9, + 0, + 0, + 103, + 0, + 0, + 186, + 15, + 15, + 208, + 84, + 84, + 222, + 147, + 147, + 229, + 172, + 172, + 233, + 153, + 153, + 237, + 101, + 101, + 239, + 37, + 37, + 215, + 0, + 0, + 193, + 0, + 0, + 177, + 0, + 0, + 156, + 0, + 0, + 109, + 0, + 0, + 83, + 0, + 0, + 54, + 0, + 0, + 27, + 0, + 0, + 5, + 0, + 0, + 74, + 0, + 0, + 129, + 0, + 0, + 203, + 32, + 32, + 221, + 103, + 103, + 232, + 156, + 156, + 235, + 166, + 166, + 237, + 138, + 138, + 239, + 81, + 81, + 239, + 20, + 20, + 209, + 0, + 0, + 195, + 0, + 0, + 182, + 0, + 0, + 120, + 0, + 0, + 94, + 0, + 0, + 64, + 0, + 0, + 34, + 0, + 0, + 87, + 0, + 0, + 146, + 0, + 0, + 194, + 0, + 0, + 218, + 27, + 27, + 232, + 85, + 85, + 236, + 120, + 120, + 239, + 120, + 120, + 239, + 87, + 87, + 239, + 38, + 38, + 225, + 0, + 0, + 206, + 0, + 0, + 183, + 0, + 0, + 167, + 0, + 0, + 149, + 0, + 0, + 71, + 0, + 0, + 43, + 0, + 0, + 15, + 0, + 0, + 157, + 0, + 0, + 197, + 0, + 0, + 225, + 5, + 5, + 235, + 40, + 40, + 239, + 60, + 60, + 239, + 53, + 53, + 239, + 27, + 27, + 227, + 0, + 0, + 208, + 0, + 0, + 201, + 0, + 0, + 181, + 0, + 0, + 151, + 0, + 0, + 132, + 0, + 0, + 108, + 0, + 0, + 79, + 0, + 0, + 18, + 0, + 0, + 2, + 0, + 0, + 98, + 0, + 0, + 233, + 0, + 0, + 239, + 2, + 2, + 231, + 0, + 0, + 216, + 0, + 0, + 203, + 0, + 0, + 186, + 0, + 0, + 176, + 0, + 0, + 112, + 0, + 0, + 19, + 0, + 0, + 36, + 0, + 0, + 88, + 0, + 0, + 200, + 0, + 0, + 211, + 0, + 0, + 205, + 0, + 0, + 179, + 0, + 0, + 131, + 0, + 0, + 110, + 0, + 0, + 30, + 0, + 0, + 126, + 0, + 0, + 192, + 0, + 0, + 164, + 0, + 0, + 141, + 0, + 0, + 127, + 0, + 0, + 105, + 0, + 0, + 80, + 0, + 0, + 48, + 0, + 0, + 145, + 0, + 0, + 169, + 0, + 0, + 188, + 0, + 0, + 170, + 0, + 0, + 155, + 0, + 0, + 101, + 0, + 0, + 73, + 0, + 0, + 42, + 0, + 0, + 14, + 0, + 0, + 52, + 0, + 0, + 172, + 0, + 0, + 175, + 0, + 0, + 173, + 0, + 0, + 166, + 0, + 0, + 137, + 0, + 0, + 122, + 0, + 0, + 107, + 0, + 0, + 90, + 0, + 0, + 62, + 0, + 0, + 41, + 0, + 0, + 106, + 0, + 0, + 130, + 0, + 0, + 159, + 0, + 0, + 158, + 0, + 0, + 150, + 0, + 0, + 143, + 0, + 0, + 124, + 0, + 0, + 25, + 0, + 0, + 7, + 0, + 0, + 85, + 0, + 0, + 142, + 0, + 0, + 138, + 0, + 0, + 56, + 0, + 0, + 16, + 0, + 0, + 63, + 0, + 0, + 114, + 0, + 0, + 128, + 0, + 0, + 92, + 0, + 0, + 55, + 0, + 0, + 44, + 0, + 0, + 102, + 0, + 0, + 67, + 0, + 0, + 86, + 0, + 0, + 32, + 0, + 0, + 51, + 0, + 0, + 60, + 0, + 0, + 58, + 0, + 0, + 31, + 0, + 0, + 12, + 0, + 0, + 29, + 0, + 0, + 13, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 252, + 46, + 217, + 69, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 2, + 8, + 73, + 68, + 65, + 84, + 120, + 156, + 99, + 96, + 128, + 131, + 255, + 16, + 192, + 128, + 1, + 152, + 152, + 89, + 88, + 89, + 217, + 216, + 57, + 56, + 49, + 165, + 57, + 184, + 184, + 121, + 120, + 121, + 249, + 248, + 185, + 5, + 4, + 57, + 80, + 37, + 255, + 51, + 11, + 241, + 8, + 139, + 136, + 138, + 137, + 75, + 72, + 242, + 74, + 9, + 73, + 203, + 32, + 201, + 254, + 103, + 150, + 149, + 147, + 87, + 80, + 84, + 82, + 86, + 81, + 85, + 83, + 215, + 224, + 209, + 100, + 213, + 66, + 72, + 202, + 8, + 105, + 235, + 232, + 234, + 233, + 27, + 24, + 26, + 25, + 155, + 40, + 152, + 10, + 243, + 153, + 153, + 91, + 192, + 228, + 254, + 179, + 90, + 74, + 88, + 89, + 219, + 216, + 218, + 217, + 59, + 56, + 58, + 57, + 43, + 232, + 184, + 184, + 186, + 177, + 67, + 53, + 254, + 119, + 55, + 243, + 176, + 242, + 244, + 242, + 246, + 241, + 245, + 243, + 15, + 8, + 12, + 10, + 22, + 13, + 9, + 13, + 11, + 143, + 128, + 72, + 254, + 103, + 139, + 140, + 10, + 138, + 142, + 137, + 141, + 139, + 79, + 72, + 76, + 74, + 78, + 113, + 86, + 72, + 77, + 75, + 23, + 128, + 58, + 246, + 127, + 70, + 102, + 86, + 118, + 78, + 110, + 94, + 126, + 65, + 97, + 81, + 113, + 114, + 73, + 105, + 89, + 148, + 71, + 121, + 69, + 37, + 88, + 238, + 63, + 147, + 144, + 100, + 85, + 117, + 77, + 109, + 93, + 125, + 67, + 99, + 83, + 179, + 114, + 75, + 105, + 107, + 91, + 123, + 135, + 102, + 39, + 56, + 8, + 254, + 119, + 185, + 117, + 183, + 42, + 59, + 246, + 244, + 246, + 245, + 39, + 77, + 72, + 158, + 56, + 73, + 177, + 85, + 116, + 114, + 40, + 247, + 20, + 136, + 28, + 211, + 212, + 105, + 106, + 147, + 166, + 39, + 205, + 72, + 154, + 217, + 156, + 173, + 52, + 75, + 69, + 53, + 107, + 246, + 156, + 80, + 110, + 105, + 136, + 220, + 255, + 185, + 114, + 243, + 84, + 157, + 170, + 155, + 167, + 87, + 207, + 159, + 56, + 75, + 101, + 129, + 213, + 194, + 69, + 139, + 151, + 44, + 133, + 154, + 249, + 223, + 220, + 85, + 126, + 217, + 242, + 20, + 165, + 21, + 78, + 45, + 147, + 86, + 58, + 175, + 202, + 18, + 75, + 93, + 189, + 102, + 237, + 58, + 168, + 28, + 251, + 122, + 23, + 241, + 214, + 210, + 13, + 27, + 55, + 173, + 220, + 172, + 106, + 149, + 181, + 101, + 235, + 182, + 237, + 59, + 4, + 152, + 161, + 114, + 204, + 59, + 215, + 236, + 218, + 157, + 21, + 188, + 103, + 207, + 94, + 171, + 125, + 251, + 69, + 15, + 200, + 167, + 173, + 49, + 59, + 120, + 8, + 18, + 85, + 255, + 45, + 184, + 164, + 14, + 111, + 19, + 223, + 162, + 176, + 108, + 217, + 145, + 163, + 179, + 183, + 206, + 145, + 228, + 61, + 38, + 112, + 28, + 26, + 139, + 255, + 255, + 31, + 151, + 61, + 113, + 216, + 227, + 164, + 200, + 162, + 83, + 139, + 182, + 170, + 111, + 59, + 173, + 125, + 70, + 72, + 218, + 2, + 46, + 23, + 193, + 118, + 150, + 191, + 195, + 229, + 220, + 54, + 249, + 246, + 93, + 194, + 153, + 124, + 97, + 83, + 165, + 35, + 224, + 137, + 227, + 255, + 127, + 142, + 131, + 178, + 97, + 231, + 121, + 67, + 51, + 47, + 132, + 106, + 167, + 155, + 101, + 116, + 90, + 32, + 165, + 155, + 255, + 255, + 15, + 73, + 95, + 92, + 123, + 73, + 234, + 242, + 229, + 43, + 220, + 59, + 175, + 30, + 239, + 66, + 78, + 82, + 64, + 150, + 197, + 181, + 41, + 172, + 215, + 47, + 94, + 189, + 120, + 157, + 237, + 6, + 90, + 114, + 3, + 177, + 153, + 44, + 100, + 180, + 220, + 221, + 181, + 44, + 48, + 83, + 226, + 127, + 84, + 128, + 154, + 8, + 241, + 72, + 97, + 77, + 215, + 0, + 152, + 72, + 58, + 216, + 223, + 230, + 199, + 242, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + } + ] +} \ No newline at end of file diff --git a/tests/legacy/042.txt b/tests/legacy/042.txt new file mode 100644 index 0000000..0e46fae --- /dev/null +++ b/tests/legacy/042.txt @@ -0,0 +1,144 @@ +Message-ID: <3923686C.99FB5E36@example.com> +Date: Wed, 17 May 2000 23:50:04 -0400 +From: Doug Sauder +X-Mailer: Mozilla 4.7 [en] (WinNT; I) +X-Accept-Language: en +MIME-Version: 1.0 +To: Joe Blow +Subject: Test message from Netscape Communicator 4.7 +Content-Type: multipart/mixed; + boundary="------------77060D866A66DC8D0921E051" + +This is a multi-part message in MIME format. +--------------77060D866A66DC8D0921E051 +Content-Type: text/plain; charset=us-ascii +Content-Transfer-Encoding: 7bit + + +The Hare and the Tortoise + +A HARE one day ridiculed the short feet and slow pace of the Tortoise, +who replied, laughing: "Though you be swift as the wind, I will beat +you in a race." The Hare, believing her assertion to be simply +impossible, assented to the proposal; and they agreed that the Fox +should choose the course and fix the goal. On the day appointed for the +race the two started together. The Tortoise never for a moment stopped, +but went on with a slow but steady pace straight to the end of the +course. The Hare, lying down by the wayside, fell fast asleep. At last +waking up, and moving as fast as he could, he saw the Tortoise had +reached the goal, and was comfortably dozing after her fatigue. + +Slow but steady wins the race. +--------------77060D866A66DC8D0921E051 +Content-Type: text/plain; charset=us-ascii; + name="farmerandstork.txt" +Content-Transfer-Encoding: 7bit +Content-Disposition: inline; + filename="farmerandstork.txt" + + +The Farmer and the Stork + +A FARMER placed nets on his newly-sown plowlands and caught a +number of Cranes, which came to pick up his seed. With them he +trapped a Stork that had fractured his leg in the net and was +earnestly beseeching the Farmer to spare his life. "Pray save +me, Master," he said, "and let me go free this once. My broken +limb should excite your pity. Besides, I am no Crane, I am a +Stork, a bird of excellent character; and see how I love and +slave for my father and mother. Look too, at my feathers-- +they are not the least like those of a Crane." The Farmer +laughed aloud and said, "It may be all as you say, I only know +this: I have taken you with these robbers, the Cranes, and you +must die in their company." + +Birds of a feather flock together. + +--------------77060D866A66DC8D0921E051-- + + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 17, + "hour": 23, + "minute": 50, + "second": 4, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "dwsauder@example.com" + } + }, + "message_id": "3923686C.99FB5E36@example.com", + "mime_version": "1.0", + "subject": "Test message from Netscape Communicator 4.7", + "to": { + "Address": { + "name": "Joe Blow", + "address": "blow@example.com" + } + }, + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "------------77060D866A66DC8D0921E051" + } + }, + "others": { + "X-Mailer": [ + "Mozilla 4.7 [en] (WinNT; I)" + ], + "X-Accept-Language": [ + "en" + ] + } + }, + "text_body": [ + { + "header": { + "content_transfer_encoding": "7bit", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "us-ascii" + } + } + }, + "contents": "\r\nThe Hare and the Tortoise \r\n \r\nA HARE one day ridiculed the short feet and slow pace of the Tortoise,\r\nwho replied, laughing: \"Though you be swift as the wind, I will beat\r\nyou in a race.\" The Hare, believing her assertion to be simply\r\nimpossible, assented to the proposal; and they agreed that the Fox\r\nshould choose the course and fix the goal. On the day appointed for the\r\nrace the two started together. The Tortoise never for a moment stopped,\r\nbut went on with a slow but steady pace straight to the end of the\r\ncourse. The Hare, lying down by the wayside, fell fast asleep. At last\r\nwaking up, and moving as fast as he could, he saw the Tortoise had\r\nreached the goal, and was comfortably dozing after her fatigue. \r\n \r\nSlow but steady wins the race.\r" + } + ], + "attachments": [ + { + "Text": { + "header": { + "content_disposition": { + "c_type": "inline", + "attributes": { + "filename": "farmerandstork.txt" + } + }, + "content_transfer_encoding": "7bit", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "name": "farmerandstork.txt", + "charset": "us-ascii" + } + } + }, + "contents": "\r\nThe Farmer and the Stork \r\n \r\nA FARMER placed nets on his newly-sown plowlands and caught a\r\nnumber of Cranes, which came to pick up his seed. With them he\r\ntrapped a Stork that had fractured his leg in the net and was\r\nearnestly beseeching the Farmer to spare his life. \"Pray save\r\nme, Master,\" he said, \"and let me go free this once. My broken\r\nlimb should excite your pity. Besides, I am no Crane, I am a\r\nStork, a bird of excellent character; and see how I love and\r\nslave for my father and mother. Look too, at my feathers--\r\nthey are not the least like those of a Crane.\" The Farmer \r\nlaughed aloud and said, \"It may be all as you say, I only know \r\nthis: I have taken you with these robbers, the Cranes, and you \r\nmust die in their company.\" \r\n \r\nBirds of a feather flock together. \r\n\r" + } + } + ] +} \ No newline at end of file diff --git a/tests/legacy/043.txt b/tests/legacy/043.txt new file mode 100644 index 0000000..bc36213 --- /dev/null +++ b/tests/legacy/043.txt @@ -0,0 +1,138 @@ +Message-ID: <392359CF.DFF4527@example.com> +Date: Wed, 17 May 2000 22:47:43 -0400 +From: Doug Sauder +X-Mailer: Mozilla 4.7 [en] (WinNT; I) +X-Accept-Language: en +MIME-Version: 1.0 +To: Heinz =?iso-8859-1?Q?M=FCller?= +Subject: Die Hasen und die =?iso-8859-1?Q?Fr=F6sche?= (Netscape Communicator 4.7) +Content-Type: multipart/alternative; + boundary="------------9D454F23DA86BCD63FA3805F" + + +--------------9D454F23DA86BCD63FA3805F +Content-Type: text/plain; charset=iso-8859-1 +Content-Transfer-Encoding: quoted-printable + +Die Hasen und die Fr=F6sche + +Die Hasen klagten einst =FCber ihre mi=DFliche Lage; "wir leben", sprach = +ein +Redner, "in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, +der Adler, ja fast aller Raubtiere! Unsere stete Angst ist =E4rger als de= +r +Tod selbst. Auf, la=DFt uns ein f=FCr allemal sterben." + +In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu; +allein das au=DFerordentliche Get=F6se und ihre wunderbare Gestalt +erschreckte eine Menge Fr=F6sche, die am Ufer sa=DFen, so sehr, da=DF sie= + aufs +schnellste untertauchten. + +"Halt", rief nun eben dieser Sprecher, "wir wollen das Ers=E4ufen noch ei= +n +wenig aufschieben, denn auch uns f=FCrchten, wie ihr seht, einige Tiere, +welche also wohl noch ungl=FCcklicher sein m=FCssen als wir." + + + +--------------9D454F23DA86BCD63FA3805F +Content-Type: text/html; charset=us-ascii +Content-Transfer-Encoding: 7bit + + + +Die Hasen und die Frösche +

Die Hasen klagten einst über ihre mißliche Lage; "wir leben", +sprach ein Redner, "in steter Furcht vor Menschen und Tieren, eine Beute +der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger +als der Tod selbst. Auf, laßt uns ein für allemal sterben." +

In einem nahen Teich wollten sie sich nun ersäufen; sie eilten +ihm zu; allein das außerordentliche Getöse und ihre wunderbare +Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so +sehr, daß sie aufs schnellste untertauchten. +

"Halt", rief nun eben dieser Sprecher, "wir wollen das Ersäufen +noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, +einige Tiere, welche also wohl noch unglücklicher sein müssen +als wir." +
  +
  + +--------------9D454F23DA86BCD63FA3805F-- + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 17, + "hour": 22, + "minute": 47, + "second": 43, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "dwsauder@example.com" + } + }, + "message_id": "392359CF.DFF4527@example.com", + "mime_version": "1.0", + "subject": "Die Hasen und die Frösche (Netscape Communicator 4.7)", + "to": { + "Address": { + "name": "Heinz Müller", + "address": "mueller@example.com" + } + }, + "content_type": { + "c_type": "multipart", + "c_subtype": "alternative", + "attributes": { + "boundary": "------------9D454F23DA86BCD63FA3805F" + } + }, + "others": { + "X-Accept-Language": [ + "en" + ], + "X-Mailer": [ + "Mozilla 4.7 [en] (WinNT; I)" + ] + } + }, + "html_body": [ + { + "header": { + "content_transfer_encoding": "7bit", + "content_type": { + "c_type": "text", + "c_subtype": "html", + "attributes": { + "charset": "us-ascii" + } + } + }, + "contents": "\r\n\r\nDie Hasen und die Frösche\r\n

Die Hasen klagten einst über ihre mißliche Lage; \"wir leben\",\r\nsprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute\r\nder Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger\r\nals der Tod selbst. Auf, laßt uns ein für allemal sterben.\"\r\n

In einem nahen Teich wollten sie sich nun ersäufen; sie eilten\r\nihm zu; allein das außerordentliche Getöse und ihre wunderbare\r\nGestalt erschreckte eine Menge Frösche, die am Ufer saßen, so\r\nsehr, daß sie aufs schnellste untertauchten.\r\n

\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen\r\nnoch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht,\r\neinige Tiere, welche also wohl noch unglücklicher sein müssen\r\nals wir.\"\r\n
 \r\n
 \r\n\r" + } + ], + "text_body": [ + { + "header": { + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "iso-8859-1" + } + } + }, + "contents": "Die Hasen und die Frösche\n\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein\nRedner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde,\nder Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der\nTod selbst. Auf, laßt uns ein für allemal sterben.\"\n\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu;\nallein das außerordentliche Getöse und ihre wunderbare Gestalt\nerschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs\nschnellste untertauchten.\n\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein\nwenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere,\nwelche also wohl noch unglücklicher sein müssen als wir.\"\n\n\n" + } + ] +} \ No newline at end of file diff --git a/tests/legacy/044.txt b/tests/legacy/044.txt new file mode 100644 index 0000000..315c3f2 --- /dev/null +++ b/tests/legacy/044.txt @@ -0,0 +1,4343 @@ +Message-ID: <39235E1C.1DC7EA90@example.com> +Date: Wed, 17 May 2000 23:06:04 -0400 +From: Doug Sauder +X-Mailer: Mozilla 4.7 [en] (WinNT; I) +X-Accept-Language: en +MIME-Version: 1.0 +To: Joe Blow +Subject: Test message from Netscape Communicator 4.7 +Content-Type: multipart/mixed; + boundary="------------A1FCDEE154E03D875E5D6779" + +This is a multi-part message in MIME format. +--------------A1FCDEE154E03D875E5D6779 +Content-Type: text/plain; charset=iso-8859-1 +Content-Transfer-Encoding: quoted-printable + +Die Hasen und die Fr=F6sche + +Die Hasen klagten einst =FCber ihre mi=DFliche Lage; "wir leben", sprach = +ein +Redner, "in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, +der Adler, ja fast aller Raubtiere! Unsere stete Angst ist =E4rger als de= +r +Tod selbst. Auf, la=DFt uns ein f=FCr allemal sterben." + +In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu; +allein das au=DFerordentliche Get=F6se und ihre wunderbare Gestalt +erschreckte eine Menge Fr=F6sche, die am Ufer sa=DFen, so sehr, da=DF sie= + aufs +schnellste untertauchten. + +"Halt", rief nun eben dieser Sprecher, "wir wollen das Ers=E4ufen noch ei= +n +wenig aufschieben, denn auch uns f=FCrchten, wie ihr seht, einige Tiere, +welche also wohl noch ungl=FCcklicher sein m=FCssen als wir." + + + +--------------A1FCDEE154E03D875E5D6779 +Content-Type: image/png; + name="redball.png" +Content-Transfer-Encoding: base64 +Content-Disposition: inline; + filename="redball.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAABAAALAAAV +AAAaAAAXAAARAAAKAAADAAAcAAAyAABEAABNAABIAAA9AAAjAAAWAAAmAABhAAB7AACGAACH +AAB9AAB0AABgAAA5AAAUAAAGAAAnAABLAABvAACQAAClAAC7AAC/AACrAAChAACMAABzAABb +AAAuAAAIAABMAAB3AACZAAC0GRnKODjVPT3bKSndBQW4AACoAAB5AAAxAAAYAAAEAABFAACa +AAC7JCTRYWHfhITmf3/mVlbqHx/SAAC5AACjAABdAABCAAAoAAAJAABnAAC6Dw/QVFTek5Pl +rKzpmZntZWXvJSXXAADBAACxAACcAABtAABTAAA2AAAbAAAFAABKAACBAADLICDdZ2fonJzr +pqbtiorvUVHvFBTRAADDAAC2AAB4AABeAABAAAAiAABXAACSAADCAADaGxvoVVXseHjveHjv +V1fvJibhAADOAAC3AACnAACVAABHAAArAAAPAACdAADFAADhBQXrKCjvPDzvNTXvGxvjAADQ +AADJAAC1AACXAACEAABsAABPAAASAAACAABiAADpAADvAgLnAADYAADLAAC6AACwAABwAAAT +AAAkAABYAADIAADTAADNAACzAACDAABuAAAeAAB+AADAAACkAACNAAB/AABpAABQAAAwAACR +AACpAAC8AACqAACbAABlAABJAAAqAAAOAAA0AACsAACvAACtAACmAACJAAB6AABrAABaAAA+ +AAApAABqAACCAACfAACeAACWAACPAAB8AAAZAAAHAABVAACOAACKAAA4AAAQAAA/AAByAACA +AABcAAA3AAAsAABmAABDAABWAAAgAAAzAAA8AAA6AAAfAAAMAAAdAAANAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD8 +LtlFAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAuMT1evmgAAAII +SURBVHicY2CAg/8QwIABmJhZWFnZ2Dk4MaU5uLh5eHn5+LkFBDlQJf8zC/EIi4iKiUtI8koJ +Scsgyf5nlpWTV1BUUlZRVVPX4NFk1UJIyghp6+jq6RsYGhmbKJgK85mZW8Dk/rNaSlhZ29ja +2Ts4Ojkr6Li4urFDNf53N/Ow8vTy9vH18w8IDAoWDQkNC4+ASP5ni4wKio6JjYtPSExKTnFW +SE1LF4A69n9GZlZ2Tm5efkFhUXFySWlZlEd5RSVY7j+TkGRVdU1tXX1DY1Ozcktpa1t7h2Yn +OAj+d7l1tyo79vT29SdNSJ44SbFVdHIo9xSIHNPUaWqTpifNSJrZnK00S0U1a/acUG5piNz/ +uXLzVJ2qm6dXz584S2WB1cJFi5cshZr539xVftnyFKUVTi2TVjqvyhJLXb1m7TqoHPt6F/HW +0g0bN63crGqVtWXrtu07BJihcsw71+zanRW8Z89eq337RQ/Ip60xO3gIElX/LbikDm8T36Kw +bNmRo7O3zpHkPSZwHBqL//8flz1x2OOkyKJTi7aqbzutfUZI2gIuF8F2lr/D5dw2+fZdwpl8 +YVOlI+CJ4/9/joOyYed5QzMvhGqnm2V0WiClm///D0lfXHtJ6vLlK9w7rx7vQk5SQJbFtSms +1y9evXid7QZacgOxmSxktNzdtSwwU+J/VICaCPFIYU3XAJhIOtjf5sfyAAAAJXRFWHRDb21t +ZW50AGNsaXAyZ2lmIHYuMC42IGJ5IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg== +--------------A1FCDEE154E03D875E5D6779 +Content-Type: image/png; + name="greenball.png" +Content-Transfer-Encoding: base64 +Content-Disposition: inline; + filename="greenball.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAAAEAAAGAAA +IQAACAAAMQAAQgAAUgAAWgAASgAIYwAIcwAIewAQjAAIawAAOQAAYwAQlAAQnAAhpQAQpQAh +rQBCvRhjxjFjxjlSxiEpzgAYvQAQrQAYrQAhvQCU1mOt1nuE1lJK3hgh1gAYxgAYtQAAKQBC +zhDO55Te563G55SU52NS5yEh3gAYzgBS3iGc52vW75y974yE71JC7xCt73ul3nNa7ykh5wAY +1gAx5wBS7yFr7zlK7xgp5wAp7wAx7wAIhAAQtQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAp +1fnZAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAuMT1evmgAAAFt +SURBVHicddJtV8IgFAdwD2zIgMEE1+NcqdsoK+m5tCyz7/+ZiLmHsyzvq53zO/cy+N9ery1b +Ve9PWQA9z4MQ+H8Yoj7GASZ95IHfaBGmLOSchyIgyOu22mgQSjUcDuNYcoGjLiLK1cHh0fHJ +aTKKOcMItgYxT89OzsfjyTTLC8UF0c2ZNmKquJhczq6ub+YmSVUYRF59GeDastu7+9nD41Nm +kiJ2jc2J3kAWZ9Pr55fH18XSmRuKUTXUaqHy7O19tfr4NFle/w3YDrWRUIlZrL/W86XJkyJV +G9EaEjIx2XyZmZJGioeUaL+2AY8TY8omR6nkLKhu70zjUKVJXsp3quS2DVSJWNh3zzJKCyex +I0ZxBP3afE0ElyqOlZJyw8r3BE2SFiJCyxA434SCkg65RhdeQBljQtCg39LWrA90RDDG1EWr +YUO23hMANUKRRl61E529cR++D2G5LK002dr/qrcfu9u0V3bxn/XdhR/NYeeN0ggsLAAAACV0 +RVh0Q29tbWVudABjbGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5C +YII= +--------------A1FCDEE154E03D875E5D6779 +Content-Type: image/png; + name="blueball.png" +Content-Transfer-Encoding: base64 +Content-Disposition: inline; + filename="blueball.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAgAABAAABgA +AAAACCkAEEIAEEoACDEAEFIIIXMIKXsIKYQIIWsAGFoACDkIIWMQOZwYQqUYQq0YQrUQOaUQ +MZQAGFIQMYwpUrU5Y8Y5Y84pWs4YSs4YQs4YQr1Ca8Z7nNacvd6Mtd5jlOcxa94hUt4YStYY +QsYQMaUAACHO5+/n7++cxu9ShO8pWucQOa1Ke86tzt6lzu9ajO8QMZxahNat1ufO7++Mve9K +e+8YOaUYSsaMvee15++Uve8AAClajOdzpe9rnO8IKYwxY+8pWu8IIXsAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADB +Mg1VAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAuMT1evmgAAAGI +SURBVHicddJtV5swGAbgEk6AJhBSk4bMCUynBSLaqovbrG/bfPn/vyh70lbsscebL5xznTsh +5BmNhgQoRChwo50EOIohUYLDj4zHhKYQkrEoQdvock4ne0IKMVUpKZLQDeqSTIsv+18PyqqW +Uw2IBsRM7307PPp+fDJrWtnpLDJvewYxnewfnvanZ+fzpmwXijC8KbqEa3Fx2ff91Y95U9XC +UpaDeQwiMpHXP/v+1++bWVPWQoGFawtjury9vru/f/C1Vi7ezT0WWpQHf/7+u/G71aLThK/M +jRxmT6KdzZ9fGk9yatMsTgZLl3XVgFRAC6spj/13enssqJVtWVa3NdBSacL8+VZmYqKmdd1C +SYoOiMOSGwtzlqqlFFIuOqv0a1ZEZrUkWICLLFW266y1KvWE1zV/iDAH1EopnVLCiygZCIom +H3NCKX0lnI+B1iuuzCGTxwXjnDO4d7NpbX42YJJHkBwmAm2TxwAZg40J3+Xtbv1rgOAZwG0N +xW62p+lT+Yi747sD/wEUVMzYmWkOvwAAACV0RVh0Q29tbWVudABjbGlwMmdpZiB2LjAuNiBi +eSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII= +--------------A1FCDEE154E03D875E5D6779-- + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 17, + "hour": 23, + "minute": 6, + "second": 4, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "dwsauder@example.com" + } + }, + "message_id": "39235E1C.1DC7EA90@example.com", + "mime_version": "1.0", + "subject": "Test message from Netscape Communicator 4.7", + "to": { + "Address": { + "name": "Joe Blow", + "address": "blow@example.com" + } + }, + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "------------A1FCDEE154E03D875E5D6779" + } + }, + "others": { + "X-Mailer": [ + "Mozilla 4.7 [en] (WinNT; I)" + ], + "X-Accept-Language": [ + "en" + ] + } + }, + "text_body": [ + { + "header": { + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "iso-8859-1" + } + } + }, + "contents": "Die Hasen und die Frösche\n\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein\nRedner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde,\nder Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der\nTod selbst. Auf, laßt uns ein für allemal sterben.\"\n\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu;\nallein das außerordentliche Getöse und ihre wunderbare Gestalt\nerschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs\nschnellste untertauchten.\n\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein\nwenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere,\nwelche also wohl noch unglücklicher sein müssen als wir.\"\n\n\n" + } + ], + "attachments": [ + { + "File": { + "header": { + "content_disposition": { + "c_type": "inline", + "attributes": { + "filename": "redball.png" + } + }, + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "redball.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 0, + 1, + 0, + 0, + 11, + 0, + 0, + 21, + 0, + 0, + 26, + 0, + 0, + 23, + 0, + 0, + 17, + 0, + 0, + 10, + 0, + 0, + 3, + 0, + 0, + 28, + 0, + 0, + 50, + 0, + 0, + 68, + 0, + 0, + 77, + 0, + 0, + 72, + 0, + 0, + 61, + 0, + 0, + 35, + 0, + 0, + 22, + 0, + 0, + 38, + 0, + 0, + 97, + 0, + 0, + 123, + 0, + 0, + 134, + 0, + 0, + 135, + 0, + 0, + 125, + 0, + 0, + 116, + 0, + 0, + 96, + 0, + 0, + 57, + 0, + 0, + 20, + 0, + 0, + 6, + 0, + 0, + 39, + 0, + 0, + 75, + 0, + 0, + 111, + 0, + 0, + 144, + 0, + 0, + 165, + 0, + 0, + 187, + 0, + 0, + 191, + 0, + 0, + 171, + 0, + 0, + 161, + 0, + 0, + 140, + 0, + 0, + 115, + 0, + 0, + 91, + 0, + 0, + 46, + 0, + 0, + 8, + 0, + 0, + 76, + 0, + 0, + 119, + 0, + 0, + 153, + 0, + 0, + 180, + 25, + 25, + 202, + 56, + 56, + 213, + 61, + 61, + 219, + 41, + 41, + 221, + 5, + 5, + 184, + 0, + 0, + 168, + 0, + 0, + 121, + 0, + 0, + 49, + 0, + 0, + 24, + 0, + 0, + 4, + 0, + 0, + 69, + 0, + 0, + 154, + 0, + 0, + 187, + 36, + 36, + 209, + 97, + 97, + 223, + 132, + 132, + 230, + 127, + 127, + 230, + 86, + 86, + 234, + 31, + 31, + 210, + 0, + 0, + 185, + 0, + 0, + 163, + 0, + 0, + 93, + 0, + 0, + 66, + 0, + 0, + 40, + 0, + 0, + 9, + 0, + 0, + 103, + 0, + 0, + 186, + 15, + 15, + 208, + 84, + 84, + 222, + 147, + 147, + 229, + 172, + 172, + 233, + 153, + 153, + 237, + 101, + 101, + 239, + 37, + 37, + 215, + 0, + 0, + 193, + 0, + 0, + 177, + 0, + 0, + 156, + 0, + 0, + 109, + 0, + 0, + 83, + 0, + 0, + 54, + 0, + 0, + 27, + 0, + 0, + 5, + 0, + 0, + 74, + 0, + 0, + 129, + 0, + 0, + 203, + 32, + 32, + 221, + 103, + 103, + 232, + 156, + 156, + 235, + 166, + 166, + 237, + 138, + 138, + 239, + 81, + 81, + 239, + 20, + 20, + 209, + 0, + 0, + 195, + 0, + 0, + 182, + 0, + 0, + 120, + 0, + 0, + 94, + 0, + 0, + 64, + 0, + 0, + 34, + 0, + 0, + 87, + 0, + 0, + 146, + 0, + 0, + 194, + 0, + 0, + 218, + 27, + 27, + 232, + 85, + 85, + 236, + 120, + 120, + 239, + 120, + 120, + 239, + 87, + 87, + 239, + 38, + 38, + 225, + 0, + 0, + 206, + 0, + 0, + 183, + 0, + 0, + 167, + 0, + 0, + 149, + 0, + 0, + 71, + 0, + 0, + 43, + 0, + 0, + 15, + 0, + 0, + 157, + 0, + 0, + 197, + 0, + 0, + 225, + 5, + 5, + 235, + 40, + 40, + 239, + 60, + 60, + 239, + 53, + 53, + 239, + 27, + 27, + 227, + 0, + 0, + 208, + 0, + 0, + 201, + 0, + 0, + 181, + 0, + 0, + 151, + 0, + 0, + 132, + 0, + 0, + 108, + 0, + 0, + 79, + 0, + 0, + 18, + 0, + 0, + 2, + 0, + 0, + 98, + 0, + 0, + 233, + 0, + 0, + 239, + 2, + 2, + 231, + 0, + 0, + 216, + 0, + 0, + 203, + 0, + 0, + 186, + 0, + 0, + 176, + 0, + 0, + 112, + 0, + 0, + 19, + 0, + 0, + 36, + 0, + 0, + 88, + 0, + 0, + 200, + 0, + 0, + 211, + 0, + 0, + 205, + 0, + 0, + 179, + 0, + 0, + 131, + 0, + 0, + 110, + 0, + 0, + 30, + 0, + 0, + 126, + 0, + 0, + 192, + 0, + 0, + 164, + 0, + 0, + 141, + 0, + 0, + 127, + 0, + 0, + 105, + 0, + 0, + 80, + 0, + 0, + 48, + 0, + 0, + 145, + 0, + 0, + 169, + 0, + 0, + 188, + 0, + 0, + 170, + 0, + 0, + 155, + 0, + 0, + 101, + 0, + 0, + 73, + 0, + 0, + 42, + 0, + 0, + 14, + 0, + 0, + 52, + 0, + 0, + 172, + 0, + 0, + 175, + 0, + 0, + 173, + 0, + 0, + 166, + 0, + 0, + 137, + 0, + 0, + 122, + 0, + 0, + 107, + 0, + 0, + 90, + 0, + 0, + 62, + 0, + 0, + 41, + 0, + 0, + 106, + 0, + 0, + 130, + 0, + 0, + 159, + 0, + 0, + 158, + 0, + 0, + 150, + 0, + 0, + 143, + 0, + 0, + 124, + 0, + 0, + 25, + 0, + 0, + 7, + 0, + 0, + 85, + 0, + 0, + 142, + 0, + 0, + 138, + 0, + 0, + 56, + 0, + 0, + 16, + 0, + 0, + 63, + 0, + 0, + 114, + 0, + 0, + 128, + 0, + 0, + 92, + 0, + 0, + 55, + 0, + 0, + 44, + 0, + 0, + 102, + 0, + 0, + 67, + 0, + 0, + 86, + 0, + 0, + 32, + 0, + 0, + 51, + 0, + 0, + 60, + 0, + 0, + 58, + 0, + 0, + 31, + 0, + 0, + 12, + 0, + 0, + 29, + 0, + 0, + 13, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 252, + 46, + 217, + 69, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 2, + 8, + 73, + 68, + 65, + 84, + 120, + 156, + 99, + 96, + 128, + 131, + 255, + 16, + 192, + 128, + 1, + 152, + 152, + 89, + 88, + 89, + 217, + 216, + 57, + 56, + 49, + 165, + 57, + 184, + 184, + 121, + 120, + 121, + 249, + 248, + 185, + 5, + 4, + 57, + 80, + 37, + 255, + 51, + 11, + 241, + 8, + 139, + 136, + 138, + 137, + 75, + 72, + 242, + 74, + 9, + 73, + 203, + 32, + 201, + 254, + 103, + 150, + 149, + 147, + 87, + 80, + 84, + 82, + 86, + 81, + 85, + 83, + 215, + 224, + 209, + 100, + 213, + 66, + 72, + 202, + 8, + 105, + 235, + 232, + 234, + 233, + 27, + 24, + 26, + 25, + 155, + 40, + 152, + 10, + 243, + 153, + 153, + 91, + 192, + 228, + 254, + 179, + 90, + 74, + 88, + 89, + 219, + 216, + 218, + 217, + 59, + 56, + 58, + 57, + 43, + 232, + 184, + 184, + 186, + 177, + 67, + 53, + 254, + 119, + 55, + 243, + 176, + 242, + 244, + 242, + 246, + 241, + 245, + 243, + 15, + 8, + 12, + 10, + 22, + 13, + 9, + 13, + 11, + 143, + 128, + 72, + 254, + 103, + 139, + 140, + 10, + 138, + 142, + 137, + 141, + 139, + 79, + 72, + 76, + 74, + 78, + 113, + 86, + 72, + 77, + 75, + 23, + 128, + 58, + 246, + 127, + 70, + 102, + 86, + 118, + 78, + 110, + 94, + 126, + 65, + 97, + 81, + 113, + 114, + 73, + 105, + 89, + 148, + 71, + 121, + 69, + 37, + 88, + 238, + 63, + 147, + 144, + 100, + 85, + 117, + 77, + 109, + 93, + 125, + 67, + 99, + 83, + 179, + 114, + 75, + 105, + 107, + 91, + 123, + 135, + 102, + 39, + 56, + 8, + 254, + 119, + 185, + 117, + 183, + 42, + 59, + 246, + 244, + 246, + 245, + 39, + 77, + 72, + 158, + 56, + 73, + 177, + 85, + 116, + 114, + 40, + 247, + 20, + 136, + 28, + 211, + 212, + 105, + 106, + 147, + 166, + 39, + 205, + 72, + 154, + 217, + 156, + 173, + 52, + 75, + 69, + 53, + 107, + 246, + 156, + 80, + 110, + 105, + 136, + 220, + 255, + 185, + 114, + 243, + 84, + 157, + 170, + 155, + 167, + 87, + 207, + 159, + 56, + 75, + 101, + 129, + 213, + 194, + 69, + 139, + 151, + 44, + 133, + 154, + 249, + 223, + 220, + 85, + 126, + 217, + 242, + 20, + 165, + 21, + 78, + 45, + 147, + 86, + 58, + 175, + 202, + 18, + 75, + 93, + 189, + 102, + 237, + 58, + 168, + 28, + 251, + 122, + 23, + 241, + 214, + 210, + 13, + 27, + 55, + 173, + 220, + 172, + 106, + 149, + 181, + 101, + 235, + 182, + 237, + 59, + 4, + 152, + 161, + 114, + 204, + 59, + 215, + 236, + 218, + 157, + 21, + 188, + 103, + 207, + 94, + 171, + 125, + 251, + 69, + 15, + 200, + 167, + 173, + 49, + 59, + 120, + 8, + 18, + 85, + 255, + 45, + 184, + 164, + 14, + 111, + 19, + 223, + 162, + 176, + 108, + 217, + 145, + 163, + 179, + 183, + 206, + 145, + 228, + 61, + 38, + 112, + 28, + 26, + 139, + 255, + 255, + 31, + 151, + 61, + 113, + 216, + 227, + 164, + 200, + 162, + 83, + 139, + 182, + 170, + 111, + 59, + 173, + 125, + 70, + 72, + 218, + 2, + 46, + 23, + 193, + 118, + 150, + 191, + 195, + 229, + 220, + 54, + 249, + 246, + 93, + 194, + 153, + 124, + 97, + 83, + 165, + 35, + 224, + 137, + 227, + 255, + 127, + 142, + 131, + 178, + 97, + 231, + 121, + 67, + 51, + 47, + 132, + 106, + 167, + 155, + 101, + 116, + 90, + 32, + 165, + 155, + 255, + 255, + 15, + 73, + 95, + 92, + 123, + 73, + 234, + 242, + 229, + 43, + 220, + 59, + 175, + 30, + 239, + 66, + 78, + 82, + 64, + 150, + 197, + 181, + 41, + 172, + 215, + 47, + 94, + 189, + 120, + 157, + 237, + 6, + 90, + 114, + 3, + 177, + 153, + 44, + 100, + 180, + 220, + 221, + 181, + 44, + 48, + 83, + 226, + 127, + 84, + 128, + 154, + 8, + 241, + 72, + 97, + 77, + 215, + 0, + 152, + 72, + 58, + 216, + 223, + 230, + 199, + 242, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + }, + { + "File": { + "header": { + "content_disposition": { + "c_type": "inline", + "attributes": { + "filename": "greenball.png" + } + }, + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "greenball.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 0, + 0, + 16, + 0, + 0, + 24, + 0, + 0, + 33, + 0, + 0, + 8, + 0, + 0, + 49, + 0, + 0, + 66, + 0, + 0, + 82, + 0, + 0, + 90, + 0, + 0, + 74, + 0, + 8, + 99, + 0, + 8, + 115, + 0, + 8, + 123, + 0, + 16, + 140, + 0, + 8, + 107, + 0, + 0, + 57, + 0, + 0, + 99, + 0, + 16, + 148, + 0, + 16, + 156, + 0, + 33, + 165, + 0, + 16, + 165, + 0, + 33, + 173, + 0, + 66, + 189, + 24, + 99, + 198, + 49, + 99, + 198, + 57, + 82, + 198, + 33, + 41, + 206, + 0, + 24, + 189, + 0, + 16, + 173, + 0, + 24, + 173, + 0, + 33, + 189, + 0, + 148, + 214, + 99, + 173, + 214, + 123, + 132, + 214, + 82, + 74, + 222, + 24, + 33, + 214, + 0, + 24, + 198, + 0, + 24, + 181, + 0, + 0, + 41, + 0, + 66, + 206, + 16, + 206, + 231, + 148, + 222, + 231, + 173, + 198, + 231, + 148, + 148, + 231, + 99, + 82, + 231, + 33, + 33, + 222, + 0, + 24, + 206, + 0, + 82, + 222, + 33, + 156, + 231, + 107, + 214, + 239, + 156, + 189, + 239, + 140, + 132, + 239, + 82, + 66, + 239, + 16, + 173, + 239, + 123, + 165, + 222, + 115, + 90, + 239, + 41, + 33, + 231, + 0, + 24, + 214, + 0, + 49, + 231, + 0, + 82, + 239, + 33, + 107, + 239, + 57, + 74, + 239, + 24, + 41, + 231, + 0, + 41, + 239, + 0, + 49, + 239, + 0, + 8, + 132, + 0, + 16, + 181, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 41, + 213, + 249, + 217, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 1, + 109, + 73, + 68, + 65, + 84, + 120, + 156, + 117, + 210, + 109, + 87, + 194, + 32, + 20, + 7, + 112, + 15, + 108, + 200, + 128, + 193, + 4, + 215, + 227, + 92, + 169, + 219, + 40, + 43, + 233, + 185, + 180, + 44, + 179, + 239, + 255, + 153, + 136, + 185, + 135, + 179, + 44, + 239, + 171, + 157, + 243, + 59, + 247, + 50, + 248, + 223, + 94, + 175, + 45, + 91, + 85, + 239, + 79, + 89, + 0, + 61, + 207, + 131, + 16, + 248, + 127, + 24, + 162, + 62, + 198, + 1, + 38, + 125, + 228, + 129, + 223, + 104, + 17, + 166, + 44, + 228, + 156, + 135, + 34, + 32, + 200, + 235, + 182, + 218, + 104, + 16, + 74, + 53, + 28, + 14, + 227, + 88, + 114, + 129, + 163, + 46, + 34, + 202, + 213, + 193, + 225, + 209, + 241, + 201, + 105, + 50, + 138, + 57, + 195, + 8, + 182, + 6, + 49, + 79, + 207, + 78, + 206, + 199, + 227, + 201, + 52, + 203, + 11, + 197, + 5, + 209, + 205, + 153, + 54, + 98, + 170, + 184, + 152, + 92, + 206, + 174, + 174, + 111, + 230, + 38, + 73, + 85, + 24, + 68, + 94, + 125, + 25, + 224, + 218, + 178, + 219, + 187, + 251, + 217, + 195, + 227, + 83, + 102, + 146, + 34, + 118, + 141, + 205, + 137, + 222, + 64, + 22, + 103, + 211, + 235, + 231, + 151, + 199, + 215, + 197, + 210, + 153, + 27, + 138, + 81, + 53, + 212, + 106, + 161, + 242, + 236, + 237, + 125, + 181, + 250, + 248, + 52, + 89, + 94, + 255, + 13, + 216, + 14, + 181, + 145, + 80, + 137, + 89, + 172, + 191, + 214, + 243, + 165, + 201, + 147, + 34, + 85, + 27, + 209, + 26, + 18, + 50, + 49, + 217, + 124, + 153, + 153, + 146, + 70, + 138, + 135, + 148, + 104, + 191, + 182, + 1, + 143, + 19, + 99, + 202, + 38, + 71, + 169, + 228, + 44, + 168, + 110, + 239, + 76, + 227, + 80, + 165, + 73, + 94, + 202, + 119, + 170, + 228, + 182, + 13, + 84, + 137, + 88, + 216, + 119, + 207, + 50, + 74, + 11, + 39, + 177, + 35, + 70, + 113, + 4, + 253, + 218, + 124, + 77, + 4, + 151, + 42, + 142, + 149, + 146, + 114, + 195, + 202, + 247, + 4, + 77, + 146, + 22, + 34, + 66, + 203, + 16, + 56, + 223, + 132, + 130, + 146, + 14, + 185, + 70, + 23, + 94, + 64, + 25, + 99, + 66, + 208, + 160, + 223, + 210, + 214, + 172, + 15, + 116, + 68, + 48, + 198, + 212, + 69, + 171, + 97, + 67, + 182, + 222, + 19, + 0, + 53, + 66, + 145, + 70, + 94, + 181, + 19, + 157, + 189, + 113, + 31, + 190, + 15, + 97, + 185, + 44, + 173, + 52, + 217, + 218, + 255, + 170, + 183, + 31, + 187, + 219, + 180, + 87, + 118, + 241, + 159, + 245, + 221, + 133, + 31, + 205, + 97, + 231, + 141, + 210, + 8, + 44, + 44, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + }, + { + "File": { + "header": { + "content_disposition": { + "c_type": "inline", + "attributes": { + "filename": "blueball.png" + } + }, + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "blueball.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 8, + 0, + 0, + 16, + 0, + 0, + 24, + 0, + 0, + 0, + 0, + 8, + 41, + 0, + 16, + 66, + 0, + 16, + 74, + 0, + 8, + 49, + 0, + 16, + 82, + 8, + 33, + 115, + 8, + 41, + 123, + 8, + 41, + 132, + 8, + 33, + 107, + 0, + 24, + 90, + 0, + 8, + 57, + 8, + 33, + 99, + 16, + 57, + 156, + 24, + 66, + 165, + 24, + 66, + 173, + 24, + 66, + 181, + 16, + 57, + 165, + 16, + 49, + 148, + 0, + 24, + 82, + 16, + 49, + 140, + 41, + 82, + 181, + 57, + 99, + 198, + 57, + 99, + 206, + 41, + 90, + 206, + 24, + 74, + 206, + 24, + 66, + 206, + 24, + 66, + 189, + 66, + 107, + 198, + 123, + 156, + 214, + 156, + 189, + 222, + 140, + 181, + 222, + 99, + 148, + 231, + 49, + 107, + 222, + 33, + 82, + 222, + 24, + 74, + 214, + 24, + 66, + 198, + 16, + 49, + 165, + 0, + 0, + 33, + 206, + 231, + 239, + 231, + 239, + 239, + 156, + 198, + 239, + 82, + 132, + 239, + 41, + 90, + 231, + 16, + 57, + 173, + 74, + 123, + 206, + 173, + 206, + 222, + 165, + 206, + 239, + 90, + 140, + 239, + 16, + 49, + 156, + 90, + 132, + 214, + 173, + 214, + 231, + 206, + 239, + 239, + 140, + 189, + 239, + 74, + 123, + 239, + 24, + 57, + 165, + 24, + 74, + 198, + 140, + 189, + 231, + 181, + 231, + 239, + 148, + 189, + 239, + 0, + 0, + 41, + 90, + 140, + 231, + 115, + 165, + 239, + 107, + 156, + 239, + 8, + 41, + 140, + 49, + 99, + 239, + 41, + 90, + 239, + 8, + 33, + 123, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 193, + 50, + 13, + 85, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 1, + 136, + 73, + 68, + 65, + 84, + 120, + 156, + 117, + 210, + 109, + 87, + 155, + 48, + 24, + 6, + 224, + 18, + 78, + 128, + 38, + 16, + 82, + 147, + 134, + 204, + 9, + 76, + 167, + 5, + 34, + 218, + 170, + 139, + 219, + 172, + 111, + 219, + 124, + 249, + 255, + 191, + 40, + 123, + 210, + 86, + 236, + 177, + 199, + 155, + 47, + 156, + 115, + 157, + 59, + 33, + 228, + 25, + 141, + 134, + 4, + 40, + 68, + 40, + 112, + 163, + 157, + 4, + 56, + 138, + 33, + 81, + 130, + 195, + 143, + 140, + 199, + 132, + 166, + 16, + 146, + 177, + 40, + 65, + 219, + 232, + 114, + 78, + 39, + 123, + 66, + 10, + 49, + 85, + 41, + 41, + 146, + 208, + 13, + 234, + 146, + 76, + 139, + 47, + 251, + 95, + 15, + 202, + 170, + 150, + 83, + 13, + 136, + 6, + 196, + 76, + 239, + 125, + 59, + 60, + 250, + 126, + 124, + 50, + 107, + 90, + 217, + 233, + 44, + 50, + 111, + 123, + 6, + 49, + 157, + 236, + 31, + 158, + 246, + 167, + 103, + 231, + 243, + 166, + 108, + 23, + 138, + 48, + 188, + 41, + 186, + 132, + 107, + 113, + 113, + 217, + 247, + 253, + 213, + 143, + 121, + 83, + 213, + 194, + 82, + 150, + 131, + 121, + 12, + 34, + 50, + 145, + 215, + 63, + 251, + 254, + 215, + 239, + 155, + 89, + 83, + 214, + 66, + 129, + 133, + 107, + 11, + 99, + 186, + 188, + 189, + 190, + 187, + 191, + 127, + 240, + 181, + 86, + 46, + 222, + 205, + 61, + 22, + 90, + 148, + 7, + 127, + 254, + 254, + 187, + 241, + 187, + 213, + 162, + 211, + 132, + 175, + 204, + 141, + 28, + 102, + 79, + 162, + 157, + 205, + 159, + 95, + 26, + 79, + 114, + 106, + 211, + 44, + 78, + 6, + 75, + 151, + 117, + 213, + 128, + 84, + 64, + 11, + 171, + 41, + 143, + 253, + 119, + 122, + 123, + 44, + 168, + 149, + 109, + 89, + 86, + 183, + 53, + 208, + 82, + 105, + 194, + 252, + 249, + 86, + 102, + 98, + 162, + 166, + 117, + 221, + 66, + 73, + 138, + 14, + 136, + 195, + 146, + 27, + 11, + 115, + 150, + 170, + 165, + 20, + 82, + 46, + 58, + 171, + 244, + 107, + 86, + 68, + 102, + 181, + 36, + 88, + 128, + 139, + 44, + 85, + 182, + 235, + 172, + 181, + 42, + 245, + 132, + 215, + 53, + 127, + 136, + 48, + 7, + 212, + 74, + 41, + 157, + 82, + 194, + 139, + 40, + 25, + 8, + 138, + 38, + 31, + 115, + 66, + 41, + 125, + 37, + 156, + 143, + 129, + 214, + 43, + 174, + 204, + 33, + 147, + 199, + 5, + 227, + 156, + 51, + 184, + 119, + 179, + 105, + 109, + 126, + 54, + 96, + 146, + 71, + 144, + 28, + 38, + 2, + 109, + 147, + 199, + 0, + 25, + 131, + 141, + 9, + 223, + 229, + 237, + 110, + 253, + 107, + 128, + 224, + 25, + 192, + 109, + 13, + 197, + 110, + 182, + 167, + 233, + 83, + 249, + 136, + 187, + 227, + 187, + 3, + 255, + 1, + 20, + 84, + 204, + 216, + 153, + 105, + 14, + 191, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + } + ] +} \ No newline at end of file diff --git a/tests/legacy/045.txt b/tests/legacy/045.txt new file mode 100644 index 0000000..df06902 --- /dev/null +++ b/tests/legacy/045.txt @@ -0,0 +1,127 @@ +Date: Fri, 19 May 2000 10:26:12 -0400 (EDT) +From: Doug Sauder +To: Joe Blow , + =?iso-8859-1?Q?Heinz_M=FCller?= +Subject: =?iso-8859-1?Q?Die_Hasen_und_die_Fr=F6sche?= +Message-ID: +MIME-Version: 1.0 +Content-Type: MULTIPART/MIXED; BOUNDARY="-1463757054-891160829-958746372=:8452" + + This message is in MIME format. The first part should be readable text, + while the remaining parts are likely unreadable without MIME-aware tools. + Send mail to mime@docserver.cac.washington.edu for more info. + +---1463757054-891160829-958746372=:8452 +Content-Type: TEXT/PLAIN; charset=US-ASCII + + +---1463757054-891160829-958746372=:8452 +Content-Type: TEXT/PLAIN; charset=iso-8859-1; name*="iso-8859-1''HasenundFr%F6sche.txt" +Content-Transfer-Encoding: BASE64 +Content-ID: +Content-Description: Short story in German +Content-Disposition: attachment; filename*="iso-8859-1''HasenundFr%F6sche.txt" + +RGllIEhhc2VuIHVuZCBkaWUgRnL2c2NoZQ0NCg0NCkRpZSBIYXNlbiBrbGFn +dGVuIGVpbnN0IPxiZXIgaWhyZSBtad9saWNoZSBMYWdlOyAid2lyIGxlYmVu +Iiwgc3ByYWNoIGVpbiBSZWRuZXIsICJpbiBzdGV0ZXIgRnVyY2h0IHZvciBN +ZW5zY2hlbiB1bmQgVGllcmVuLCBlaW5lIEJldXRlIGRlciBIdW5kZSwgZGVy +IEFkbGVyLCBqYSBmYXN0IGFsbGVyIFJhdWJ0aWVyZSEgVW5zZXJlIHN0ZXRl +IEFuZ3N0IGlzdCDkcmdlciBhbHMgZGVyIFRvZCBzZWxic3QuIEF1ZiwgbGHf +dCB1bnMgZWluIGb8ciBhbGxlbWFsIHN0ZXJiZW4uIiANDQoNDQpJbiBlaW5l +bSBuYWhlbiBUZWljaCB3b2xsdGVuIHNpZSBzaWNoIG51biBlcnPkdWZlbjsg +c2llIGVpbHRlbiBpaG0genU7IGFsbGVpbiBkYXMgYXXfZXJvcmRlbnRsaWNo +ZSBHZXT2c2UgdW5kIGlocmUgd3VuZGVyYmFyZSBHZXN0YWx0IGVyc2NocmVj +a3RlIGVpbmUgTWVuZ2UgRnL2c2NoZSwgZGllIGFtIFVmZXIgc2HfZW4sIHNv +IHNlaHIsIGRh3yBzaWUgYXVmcyBzY2huZWxsc3RlIHVudGVydGF1Y2h0ZW4u +IA0NCg0NCiJIYWx0IiwgcmllZiBudW4gZWJlbiBkaWVzZXIgU3ByZWNoZXIs +ICJ3aXIgd29sbGVuIGRhcyBFcnPkdWZlbiBub2NoIGVpbiB3ZW5pZyBhdWZz +Y2hpZWJlbiwgZGVubiBhdWNoIHVucyBm/HJjaHRlbiwgd2llIGlociBzZWh0 +LCBlaW5pZ2UgVGllcmUsIHdlbGNoZSBhbHNvIHdvaGwgbm9jaCB1bmds/GNr +bGljaGVyIHNlaW4gbfxzc2VuIGFscyB3aXIuIiANDQoNDQo= +---1463757054-891160829-958746372=:8452-- + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 19, + "hour": 10, + "minute": 26, + "second": 12, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "doug@penguin.example.com" + } + }, + "message_id": "Pine.LNX.4.21.0005191024380.8452-200000@penguin.example.com", + "mime_version": "1.0", + "subject": "Die Hasen und die Frösche", + "to": { + "AddressList": [ + { + "name": "Joe Blow", + "address": "blow@example.com" + }, + { + "name": "Heinz Müller", + "address": "mueller@example.com" + } + ] + }, + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "-1463757054-891160829-958746372=:8452" + } + } + }, + "text_body": [ + { + "header": { + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "US-ASCII" + } + } + }, + "contents": "\r" + } + ], + "attachments": [ + { + "Text": { + "header": { + "content_description": "Short story in German", + "content_disposition": { + "c_type": "attachment", + "attributes": { + "filename": "iso-8859-1''HasenundFr%F6sche.txt" + } + }, + "content_id": "Pine.LNX.4.21.0005191026120.8452@penguin.example.com", + "content_transfer_encoding": "BASE64", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "iso-8859-1", + "name": "iso-8859-1''HasenundFr%F6sche.txt" + } + } + }, + "contents": "Die Hasen und die Frösche\r\r\n\r\r\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst. Auf, laßt uns ein für allemal sterben.\" \r\r\n\r\r\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; allein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste untertauchten. \r\r\n\r\r\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, welche also wohl noch unglücklicher sein müssen als wir.\" \r\r\n\r\r\n" + } + } + ] +} \ No newline at end of file diff --git a/tests/legacy/046.txt b/tests/legacy/046.txt new file mode 100644 index 0000000..0c11817 --- /dev/null +++ b/tests/legacy/046.txt @@ -0,0 +1,85 @@ +Message-ID: <3923561C.B7078DEF@example.com> +Date: Wed, 17 May 2000 22:31:57 -0400 +From: Doug Sauder +X-Mailer: Mozilla 4.7 [en] (WinNT; I) +X-Accept-Language: en +MIME-Version: 1.0 +To: =?iso-8859-1?Q?J=FCrgen=20Schm=FCrgen?= +Subject: Die Hasen und die =?iso-8859-1?Q?Fr=F6sche?= (Netscape Communicator 4.7) +Content-Type: text/plain; charset=iso-8859-1 +Content-Transfer-Encoding: quoted-printable + +Die Hasen und die Fr=F6sche + +Die Hasen klagten einst =FCber ihre mi=DFliche Lage; "wir leben", sprach = +ein +Redner, "in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, +der Adler, ja fast aller Raubtiere! Unsere stete Angst ist =E4rger als de= +r +Tod selbst. Auf, la=DFt uns ein f=FCr allemal sterben." + +In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu; +allein das au=DFerordentliche Get=F6se und ihre wunderbare Gestalt +erschreckte eine Menge Fr=F6sche, die am Ufer sa=DFen, so sehr, da=DF sie= + aufs +schnellste untertauchten. + +"Halt", rief nun eben dieser Sprecher, "wir wollen das Ers=E4ufen noch ei= +n +wenig aufschieben, denn auch uns f=FCrchten, wie ihr seht, einige Tiere, +welche also wohl noch ungl=FCcklicher sein m=FCssen als wir." + + + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 17, + "hour": 22, + "minute": 31, + "second": 57, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "dwsauder@example.com" + } + }, + "message_id": "3923561C.B7078DEF@example.com", + "mime_version": "1.0", + "subject": "Die Hasen und die Frösche (Netscape Communicator 4.7)", + "to": { + "Address": { + "name": "Jürgen Schmürgen", + "address": "schmuergen@example.com" + } + }, + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "iso-8859-1" + } + }, + "others": { + "X-Accept-Language": [ + "en" + ], + "X-Mailer": [ + "Mozilla 4.7 [en] (WinNT; I)" + ] + } + }, + "text_body": [ + { + "contents": "Die Hasen und die Frösche\n\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein\nRedner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde,\nder Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der\nTod selbst. Auf, laßt uns ein für allemal sterben.\"\n\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu;\nallein das außerordentliche Getöse und ihre wunderbare Gestalt\nerschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs\nschnellste untertauchten.\n\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein\nwenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere,\nwelche also wohl noch unglücklicher sein müssen als wir.\"\n\n\n" + } + ] +} \ No newline at end of file diff --git a/tests/legacy/047.txt b/tests/legacy/047.txt new file mode 100644 index 0000000..319b748 --- /dev/null +++ b/tests/legacy/047.txt @@ -0,0 +1,146 @@ +Message-ID: <392367BC.3D075C95@example.com> +Date: Wed, 17 May 2000 23:47:08 -0400 +From: Doug Sauder +X-Mailer: Mozilla 4.7 [en] (WinNT; I) +X-Accept-Language: en +MIME-Version: 1.0 +To: Joe Blow +Subject: Test message from Netscape Communicator 4.7 +Content-Type: multipart/mixed; + boundary="------------CA611088711119FBDB3473B4" + +This is a multi-part message in MIME format. +--------------CA611088711119FBDB3473B4 +Content-Type: text/plain; charset=us-ascii +Content-Transfer-Encoding: 7bit + + +The Hare and the Tortoise + +A HARE one day ridiculed the short feet and slow pace of the Tortoise, +who replied, laughing: "Though you be swift as the wind, I will beat +you in a race." The Hare, believing her assertion to be simply +impossible, assented to the proposal; and they agreed that the Fox +should choose the course and fix the goal. On the day appointed for the +race the two started together. The Tortoise never for a moment stopped, +but went on with a slow but steady pace straight to the end of the +course. The Hare, lying down by the wayside, fell fast asleep. At last +waking up, and moving as fast as he could, he saw the Tortoise had +reached the goal, and was comfortably dozing after her fatigue. + +Slow but steady wins the race. +--------------CA611088711119FBDB3473B4 +Content-Type: text/plain; charset=iso-8859-1; + name="=?iso-8859-1?Q?HasenundFr=F6sche=2Etxt?=" +Content-Transfer-Encoding: quoted-printable +Content-Disposition: inline; + filename="=?iso-8859-1?Q?HasenundFr=F6sche=2Etxt?=" + +Die Hasen und die Fr=F6sche + +Die Hasen klagten einst =FCber ihre mi=DFliche Lage; "wir leben", sprach = +ein Redner, "in steter Furcht vor Menschen und Tieren, eine Beute der Hun= +de, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist =E4rger al= +s der Tod selbst. Auf, la=DFt uns ein f=FCr allemal sterben." = + + +In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu; = +allein das au=DFerordentliche Get=F6se und ihre wunderbare Gestalt erschr= +eckte eine Menge Fr=F6sche, die am Ufer sa=DFen, so sehr, da=DF sie aufs = +schnellste untertauchten. = + + +"Halt", rief nun eben dieser Sprecher, "wir wollen das Ers=E4ufen noch ei= +n wenig aufschieben, denn auch uns f=FCrchten, wie ihr seht, einige Tiere= +, welche also wohl noch ungl=FCcklicher sein m=FCssen als wir." = + + + +--------------CA611088711119FBDB3473B4-- + + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 17, + "hour": 23, + "minute": 47, + "second": 8, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "dwsauder@example.com" + } + }, + "message_id": "392367BC.3D075C95@example.com", + "mime_version": "1.0", + "subject": "Test message from Netscape Communicator 4.7", + "to": { + "Address": { + "name": "Joe Blow", + "address": "blow@example.com" + } + }, + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "------------CA611088711119FBDB3473B4" + } + }, + "others": { + "X-Mailer": [ + "Mozilla 4.7 [en] (WinNT; I)" + ], + "X-Accept-Language": [ + "en" + ] + } + }, + "text_body": [ + { + "header": { + "content_transfer_encoding": "7bit", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "us-ascii" + } + } + }, + "contents": "\r\nThe Hare and the Tortoise \r\n \r\nA HARE one day ridiculed the short feet and slow pace of the Tortoise,\r\nwho replied, laughing: \"Though you be swift as the wind, I will beat\r\nyou in a race.\" The Hare, believing her assertion to be simply\r\nimpossible, assented to the proposal; and they agreed that the Fox\r\nshould choose the course and fix the goal. On the day appointed for the\r\nrace the two started together. The Tortoise never for a moment stopped,\r\nbut went on with a slow but steady pace straight to the end of the\r\ncourse. The Hare, lying down by the wayside, fell fast asleep. At last\r\nwaking up, and moving as fast as he could, he saw the Tortoise had\r\nreached the goal, and was comfortably dozing after her fatigue. \r\n \r\nSlow but steady wins the race.\r" + } + ], + "attachments": [ + { + "Text": { + "header": { + "content_disposition": { + "c_type": "inline", + "attributes": { + "filename": "HasenundFrösche.txt" + } + }, + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "name": "HasenundFrösche.txt", + "charset": "iso-8859-1" + } + } + }, + "contents": "Die Hasen und die Frösche\n\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst. Auf, laßt uns ein für allemal sterben.\" \n\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; allein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste untertauchten. \n\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, welche also wohl noch unglücklicher sein müssen als wir.\" \n\n" + } + } + ] +} \ No newline at end of file diff --git a/tests/legacy/048.txt b/tests/legacy/048.txt new file mode 100644 index 0000000..b11fc8e --- /dev/null +++ b/tests/legacy/048.txt @@ -0,0 +1,6091 @@ +Message-ID: <3923670C.67D83A99@example.com> +Date: Wed, 17 May 2000 23:44:12 -0400 +From: Doug Sauder +X-Mailer: Mozilla 4.7 [en] (WinNT; I) +X-Accept-Language: en +MIME-Version: 1.0 +To: Joe Blow +Subject: Test message from Netscape Communicator 4.7 +Content-Type: multipart/mixed; + boundary="------------177483472E7788F4AD46AB1A" + +This is a multi-part message in MIME format. +--------------177483472E7788F4AD46AB1A +Content-Type: text/plain; charset=us-ascii +Content-Transfer-Encoding: 7bit + + +The Hare and the Tortoise + +A HARE one day ridiculed the short feet and slow pace of the Tortoise, +who replied, laughing: "Though you be swift as the wind, I will beat +you in a race." The Hare, believing her assertion to be simply +impossible, assented to the proposal; and they agreed that the Fox +should choose the course and fix the goal. On the day appointed for the +race the two started together. The Tortoise never for a moment stopped, +but went on with a slow but steady pace straight to the end of the +course. The Hare, lying down by the wayside, fell fast asleep. At last +waking up, and moving as fast as he could, he saw the Tortoise had +reached the goal, and was comfortably dozing after her fatigue. + +Slow but steady wins the race. +--------------177483472E7788F4AD46AB1A +Content-Type: image/png; + name="redball.png" +Content-Transfer-Encoding: x-uuencode +Content-Disposition: inline; + filename="redball.png" + +begin 644 redball.png +MB5!.1PT*&@H -24A$4@ !L ;" , "Z"@1G # %!,5$7___\ +M ! + 5 : 7 1 * # < R !$ !- !( ] C +M 6 F !A ![ "& "' !] !T !@ Y 4 & G !+ !O +M "0 "E "[ "_ "K "A ", !S !; N ( !, !W "9 "T +M&1G*.#C5/3W;*2G=!06X "H !Y Q 8 $ !% ": "[)"3186'? +MA(3F?W_F5E;J'Q_2 "Y "C != !" H ) !G "Z#P_05%3>DY/E +MK*SIF9GM967O)277 #! "Q "< !M !3 V ; % !* "! #+ +M("#=9V?HG)SKIJ;MBHKO45'O%!31 ## "V !X !> ! B !7 "2 +M #" #:&QOH557L>'CO>'CO5U?O)B;A #. "W "G "5 !' K / +M "= #% #A!07K*"CO/#SO-37O&QOC #0 #) "U "7 "$ !L !/ +M 2 " !B #I #O @+G #8 #+ "Z "P !P 3 D !8 #( +M #3 #- "S "# !N > !^ # "D "- !_ !I !0 P "1 +M "I "\ "J "; !E !) J . T "L "O "M "F ") !Z +M !K !: ^ I !J "" "? "> "6 "/ !\ 9 ' !5 ". +M "* X 0 _ !R " !< W L !F !# !6 @ S \ +M Z ? , = - +M +M #\ +M+ME% 7123E, 0.;89@ !9T15AT4V]F='=AOF@ ((241!5'B<8V" @_\0P( !F)A96%G9V#DX,:4YN+AY>'GY^+D% +M!#E0)?\S"_$(BXB*B4M(\DH)2?D%A47%R26E9E$=Y1258[C^3D&15=4UM77U#8U.SJWW[10_(IZTQ.W@($E7_+;BD#F\3WZ*P;-F1H[.WSI'D/29P'!J+__\? +MESUQV..DR*)3B[:J;SNM?49(V@(N%\%VEK_#Y=PV^?9=PIE\85.E(^")X_]_ +MCH.R8>=Y0S,OA&JGFV5T6B"EF___#TE?7'M)ZO+E*]P[KQ[O0DY20);%M2FL +MUR]>O7B=[09:<@.QF2QDM-S=M2PP4^)_5(":"/%(84W7 )A(.MC?YL?R +M)71%6'1#;VUM96YT &-L:7 R9VEF('8N,"XV(&)Y(%EV97,@4&EG=65T-G,[ +-O !)14Y$KD)@@@ +end + +--------------177483472E7788F4AD46AB1A +Content-Type: image/png; + name="greenball.png" +Content-Transfer-Encoding: x-uuencode +Content-Disposition: inline; + filename="greenball.png" + +begin 644 greenball.png +MB5!.1PT*&@H -24A$4@ !L ;" , "Z"@1G # %!,5$7___\ +M $ & (0 " ,0 0@ 4@ 6@ 2@ (8P (

P 0C (:P +M.0 8P 0E 0G AI0 0I0 AK0!"O1ACQC%CQCE2QB$IS@ 8O0 0K0 8K0 A +MO0"4UF.MUGN$UE)*WA@AU@ 8Q@ 8M0 *0!"SA#.YY3>YZW&YY24YV-2YR$A +MW@ 8S@!2WB&KRU;5>]/60 ]SX,0^'\8HC[& 29]Y('?:!&F+.2< +MAR(@R.NVVF@02C4<#N-8#:LMN[^]G#XU-FDB)VC_PW8#K614(E9K+_6\Z7)DR)5 +M&]$:$C(QV7R9F9)&BH>4:+^V 8\38\HF1ZGD+*AN[TSC4*5)7LIWJN2V#52) +M6-AWSS)*"R>Q(T9Q!/W:?$T$ERJ.E9)RP\KW!$V2%B)"RQ XWX2"D@ZY1A=> +M0!EC0M"@W]+6K ]T1##&U$6K84.VWA, -4*11EZU$YV]<1^^#V&Y+*TTV=K_ +MJK>-T@@L+ "5T15AT0V]M;65N= !C;&EP,F=I +F9B!V+C N-B!B>2!9=F5S(%!I9W5E=#9S.[P 245.1*Y"8(( +end + +--------------177483472E7788F4AD46AB1A +Content-Type: image/png; + name="blueball.png" +Content-Transfer-Encoding: x-uuencode +Content-Disposition: inline; + filename="blueball.png" + +begin 644 blueball.png +MB5!.1PT*&@H -24A$4@ !L ;" , "Z"@1G # %!,5$7___\ +M @ ! !@ ""D $$( $$H "#$ $%(((7,(*7L(*80((6L &%H "#D( +M(6,0.9P80J480JT80K40.:40,90 &%(0,8PI4K4Y8\8Y8\XI6LX82LX80LX8 +M0KU":\9[G-:\ZMSMZESN]:C.\0,9Q:A-:MUN?.[^^,O>]*>^\8.:482L:, +MO>>UY^^4O>\ "E:C.=SI>]KG.\(*8PQ8^\I6N\((7L +M +M +M +M +M +M +M +M +M +M +M +M #! +M,@U5 7123E, 0.;89@ !9T15AT4V]F='=AOF@ &(241!5'B<==)M5YLP& ;@$DZ )A!2DX;,"4RG!2+:JHO;K&_; +M?/G_ORA[TE;LL<>;+YQSG3LAY!F-A@0H1"APHYT$.(HA48+#CXS'A*80DK$H +M0=OHT(*,54I*9+0#>J23(LO^U\/RJJ64PV(!L1,[WT[//I^?#)K6MGI +M+#)O>P8QG>P?GO:G9^?SIFP7BC"\*;J$:W%QV??]U8]Y4]7"4I:#>0PB,I'7 +M/_O^U^^;65/60H&%:PMCNKR]OKN_?_"U5B[>S3T66I0'?_[^N_&[U:+3A*_, +MC1QF3Z*=S9]?&D]R:M,L3@9+EW75@%1 "ZLIC_UW>GLLJ)5M65:W-=!2:<+\ +M^59F8J*F==U"28H.B,.2&PMSEJJE%%(N.JOT:U9$9K4D6("++%6VZZRU*O6$ +MUS5_B# 'U$HIG5+"BR@9"(HF'W-"*7TEG(^!UBNNS"&3QP7CG#.X=[-I;7XV +M8))'D!PF FV3QP 9@XT)W^7M;OUK@. 9P&T-Q6ZVI^E3^8B[X[L#_P$45,S8 +MF6D.OP "5T15AT0V]M;65N= !C;&EP,F=I9B!V+C N-B!B>2!9=F5S(%!I +49W5E=#9S.[P 245.1*Y"8(( +end + +--------------177483472E7788F4AD46AB1A-- + + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 17, + "hour": 23, + "minute": 44, + "second": 12, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "dwsauder@example.com" + } + }, + "message_id": "3923670C.67D83A99@example.com", + "mime_version": "1.0", + "subject": "Test message from Netscape Communicator 4.7", + "to": { + "Address": { + "name": "Joe Blow", + "address": "blow@example.com" + } + }, + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "------------177483472E7788F4AD46AB1A" + } + }, + "others": { + "X-Mailer": [ + "Mozilla 4.7 [en] (WinNT; I)" + ], + "X-Accept-Language": [ + "en" + ] + } + }, + "text_body": [ + { + "header": { + "content_transfer_encoding": "7bit", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "us-ascii" + } + } + }, + "contents": "\r\nThe Hare and the Tortoise \r\n \r\nA HARE one day ridiculed the short feet and slow pace of the Tortoise,\r\nwho replied, laughing: \"Though you be swift as the wind, I will beat\r\nyou in a race.\" The Hare, believing her assertion to be simply\r\nimpossible, assented to the proposal; and they agreed that the Fox\r\nshould choose the course and fix the goal. On the day appointed for the\r\nrace the two started together. The Tortoise never for a moment stopped,\r\nbut went on with a slow but steady pace straight to the end of the\r\ncourse. The Hare, lying down by the wayside, fell fast asleep. At last\r\nwaking up, and moving as fast as he could, he saw the Tortoise had\r\nreached the goal, and was comfortably dozing after her fatigue. \r\n \r\nSlow but steady wins the race.\r" + } + ], + "attachments": [ + { + "File": { + "header": { + "content_disposition": { + "c_type": "inline", + "attributes": { + "filename": "redball.png" + } + }, + "content_transfer_encoding": "x-uuencode", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "redball.png" + } + } + }, + "contents": [ + 98, + 101, + 103, + 105, + 110, + 32, + 54, + 52, + 52, + 32, + 114, + 101, + 100, + 98, + 97, + 108, + 108, + 46, + 112, + 110, + 103, + 13, + 10, + 77, + 66, + 53, + 33, + 46, + 49, + 80, + 84, + 42, + 38, + 64, + 72, + 32, + 32, + 32, + 32, + 45, + 50, + 52, + 65, + 36, + 52, + 64, + 32, + 32, + 32, + 33, + 76, + 32, + 32, + 32, + 32, + 59, + 34, + 32, + 44, + 32, + 32, + 32, + 34, + 90, + 34, + 64, + 49, + 71, + 32, + 32, + 32, + 35, + 32, + 37, + 33, + 44, + 53, + 36, + 55, + 95, + 95, + 95, + 92, + 32, + 13, + 10, + 77, + 32, + 32, + 32, + 33, + 32, + 32, + 32, + 43, + 32, + 32, + 32, + 53, + 32, + 32, + 32, + 58, + 32, + 32, + 32, + 55, + 32, + 32, + 32, + 49, + 32, + 32, + 32, + 42, + 32, + 32, + 32, + 35, + 32, + 32, + 32, + 60, + 32, + 32, + 32, + 82, + 32, + 32, + 33, + 36, + 32, + 32, + 33, + 45, + 32, + 32, + 33, + 40, + 32, + 32, + 32, + 93, + 32, + 32, + 32, + 67, + 13, + 10, + 77, + 32, + 32, + 32, + 54, + 32, + 32, + 32, + 70, + 32, + 32, + 33, + 65, + 32, + 32, + 33, + 91, + 32, + 32, + 34, + 38, + 32, + 32, + 34, + 39, + 32, + 32, + 33, + 93, + 32, + 32, + 33, + 84, + 32, + 32, + 33, + 64, + 32, + 32, + 32, + 89, + 32, + 32, + 32, + 52, + 32, + 32, + 32, + 38, + 32, + 32, + 32, + 71, + 32, + 32, + 33, + 43, + 32, + 32, + 33, + 79, + 13, + 10, + 77, + 32, + 32, + 34, + 48, + 32, + 32, + 34, + 69, + 32, + 32, + 34, + 91, + 32, + 32, + 34, + 95, + 32, + 32, + 34, + 75, + 32, + 32, + 34, + 65, + 32, + 32, + 34, + 44, + 32, + 32, + 33, + 83, + 32, + 32, + 33, + 59, + 32, + 32, + 32, + 78, + 32, + 32, + 32, + 40, + 32, + 32, + 33, + 44, + 32, + 32, + 33, + 87, + 32, + 32, + 34, + 57, + 32, + 32, + 34, + 84, + 13, + 10, + 77, + 38, + 49, + 71, + 42, + 46, + 35, + 67, + 53, + 47, + 51, + 87, + 59, + 42, + 50, + 71, + 61, + 33, + 48, + 54, + 88, + 32, + 32, + 34, + 72, + 32, + 32, + 33, + 89, + 32, + 32, + 32, + 81, + 32, + 32, + 32, + 56, + 32, + 32, + 32, + 36, + 32, + 32, + 33, + 37, + 32, + 32, + 34, + 58, + 32, + 32, + 34, + 91, + 41, + 34, + 51, + 49, + 56, + 54, + 39, + 63, + 13, + 10, + 77, + 65, + 40, + 51, + 70, + 63, + 87, + 95, + 70, + 53, + 69, + 59, + 74, + 39, + 81, + 95, + 50, + 32, + 32, + 34, + 89, + 32, + 32, + 34, + 67, + 32, + 32, + 33, + 61, + 32, + 32, + 33, + 34, + 32, + 32, + 32, + 72, + 32, + 32, + 32, + 41, + 32, + 32, + 33, + 71, + 32, + 32, + 34, + 90, + 35, + 80, + 95, + 48, + 53, + 37, + 51, + 62, + 68, + 89, + 47, + 69, + 13, + 10, + 77, + 75, + 42, + 83, + 73, + 70, + 57, + 71, + 77, + 57, + 54, + 55, + 79, + 41, + 50, + 55, + 55, + 32, + 32, + 35, + 33, + 32, + 32, + 34, + 81, + 32, + 32, + 34, + 60, + 32, + 32, + 33, + 77, + 32, + 32, + 33, + 51, + 32, + 32, + 32, + 86, + 32, + 32, + 32, + 59, + 32, + 32, + 32, + 37, + 32, + 32, + 33, + 42, + 32, + 32, + 34, + 33, + 32, + 32, + 35, + 43, + 13, + 10, + 77, + 40, + 34, + 35, + 61, + 57, + 86, + 63, + 72, + 71, + 41, + 83, + 75, + 73, + 74, + 59, + 77, + 66, + 72, + 75, + 79, + 52, + 53, + 39, + 79, + 37, + 33, + 51, + 49, + 32, + 32, + 35, + 35, + 32, + 32, + 34, + 86, + 32, + 32, + 33, + 88, + 32, + 32, + 33, + 62, + 32, + 32, + 33, + 32, + 32, + 32, + 32, + 66, + 32, + 32, + 33, + 55, + 32, + 32, + 34, + 50, + 13, + 10, + 77, + 32, + 32, + 35, + 34, + 32, + 32, + 35, + 58, + 38, + 81, + 79, + 72, + 53, + 53, + 55, + 76, + 62, + 39, + 67, + 79, + 62, + 39, + 67, + 79, + 53, + 85, + 63, + 79, + 41, + 66, + 59, + 65, + 32, + 32, + 35, + 46, + 32, + 32, + 34, + 87, + 32, + 32, + 34, + 71, + 32, + 32, + 34, + 53, + 32, + 32, + 33, + 39, + 32, + 32, + 32, + 75, + 32, + 32, + 32, + 47, + 13, + 10, + 77, + 32, + 32, + 34, + 61, + 32, + 32, + 35, + 37, + 32, + 32, + 35, + 65, + 33, + 48, + 55, + 75, + 42, + 34, + 67, + 79, + 47, + 35, + 83, + 79, + 45, + 51, + 55, + 79, + 38, + 81, + 79, + 67, + 32, + 32, + 35, + 48, + 32, + 32, + 35, + 41, + 32, + 32, + 34, + 85, + 32, + 32, + 34, + 55, + 32, + 32, + 34, + 36, + 32, + 32, + 33, + 76, + 32, + 32, + 33, + 47, + 13, + 10, + 77, + 32, + 32, + 32, + 50, + 32, + 32, + 32, + 34, + 32, + 32, + 33, + 66, + 32, + 32, + 35, + 73, + 32, + 32, + 35, + 79, + 32, + 64, + 43, + 71, + 32, + 32, + 35, + 56, + 32, + 32, + 35, + 43, + 32, + 32, + 34, + 90, + 32, + 32, + 34, + 80, + 32, + 32, + 33, + 80, + 32, + 32, + 32, + 51, + 32, + 32, + 32, + 68, + 32, + 32, + 33, + 56, + 32, + 32, + 35, + 40, + 13, + 10, + 77, + 32, + 32, + 35, + 51, + 32, + 32, + 35, + 45, + 32, + 32, + 34, + 83, + 32, + 32, + 34, + 35, + 32, + 32, + 33, + 78, + 32, + 32, + 32, + 62, + 32, + 32, + 33, + 94, + 32, + 32, + 35, + 32, + 32, + 32, + 34, + 68, + 32, + 32, + 34, + 45, + 32, + 32, + 33, + 95, + 32, + 32, + 33, + 73, + 32, + 32, + 33, + 48, + 32, + 32, + 32, + 80, + 32, + 32, + 34, + 49, + 13, + 10, + 77, + 32, + 32, + 34, + 73, + 32, + 32, + 34, + 92, + 32, + 32, + 34, + 74, + 32, + 32, + 34, + 59, + 32, + 32, + 33, + 69, + 32, + 32, + 33, + 41, + 32, + 32, + 32, + 74, + 32, + 32, + 32, + 46, + 32, + 32, + 32, + 84, + 32, + 32, + 34, + 76, + 32, + 32, + 34, + 79, + 32, + 32, + 34, + 77, + 32, + 32, + 34, + 70, + 32, + 32, + 34, + 41, + 32, + 32, + 33, + 90, + 13, + 10, + 77, + 32, + 32, + 33, + 75, + 32, + 32, + 33, + 58, + 32, + 32, + 32, + 94, + 32, + 32, + 32, + 73, + 32, + 32, + 33, + 74, + 32, + 32, + 34, + 34, + 32, + 32, + 34, + 63, + 32, + 32, + 34, + 62, + 32, + 32, + 34, + 54, + 32, + 32, + 34, + 47, + 32, + 32, + 33, + 92, + 32, + 32, + 32, + 57, + 32, + 32, + 32, + 39, + 32, + 32, + 33, + 53, + 32, + 32, + 34, + 46, + 13, + 10, + 77, + 32, + 32, + 34, + 42, + 32, + 32, + 32, + 88, + 32, + 32, + 32, + 48, + 32, + 32, + 32, + 95, + 32, + 32, + 33, + 82, + 32, + 32, + 34, + 32, + 32, + 32, + 33, + 60, + 32, + 32, + 32, + 87, + 32, + 32, + 32, + 76, + 32, + 32, + 33, + 70, + 32, + 32, + 33, + 35, + 32, + 32, + 33, + 54, + 32, + 32, + 32, + 64, + 32, + 32, + 32, + 83, + 32, + 32, + 32, + 92, + 13, + 10, + 77, + 32, + 32, + 32, + 90, + 32, + 32, + 32, + 63, + 32, + 32, + 32, + 44, + 32, + 32, + 32, + 61, + 32, + 32, + 32, + 45, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 13, + 10, + 77, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 13, + 10, + 77, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 35, + 92, + 13, + 10, + 77, + 43, + 77, + 69, + 37, + 32, + 32, + 32, + 32, + 32, + 55, + 49, + 50, + 51, + 69, + 44, + 32, + 48, + 46, + 59, + 56, + 57, + 64, + 32, + 32, + 32, + 33, + 57, + 84, + 49, + 53, + 65, + 84, + 52, + 86, + 93, + 70, + 61, + 39, + 61, + 65, + 60, + 70, + 52, + 32, + 57, + 86, + 69, + 70, + 44, + 71, + 33, + 78, + 57, + 82, + 32, + 82, + 43, + 67, + 32, + 78, + 13, + 10, + 77, + 44, + 51, + 85, + 62, + 79, + 70, + 64, + 32, + 32, + 32, + 40, + 40, + 50, + 52, + 49, + 33, + 53, + 39, + 66, + 60, + 56, + 86, + 34, + 32, + 64, + 95, + 92, + 48, + 80, + 40, + 32, + 33, + 70, + 41, + 65, + 57, + 54, + 37, + 71, + 57, + 86, + 35, + 68, + 88, + 44, + 58, + 52, + 89, + 78, + 43, + 65, + 89, + 62, + 39, + 71, + 89, + 94, + 43, + 68, + 37, + 13, + 10, + 77, + 33, + 35, + 69, + 48, + 41, + 63, + 92, + 83, + 34, + 95, + 36, + 40, + 66, + 88, + 66, + 42, + 66, + 52, + 77, + 40, + 92, + 68, + 72, + 41, + 50, + 60, + 76, + 64, + 82, + 63, + 89, + 71, + 69, + 73, + 54, + 51, + 53, + 85, + 33, + 52, + 52, + 69, + 57, + 49, + 53, + 53, + 47, + 55, + 88, + 45, + 37, + 68, + 85, + 52, + 41, + 40, + 82, + 64, + 65, + 73, + 13, + 10, + 77, + 90, + 94, + 67, + 74, + 90, + 49, + 76, + 56, + 38, + 65, + 70, + 59, + 42, + 41, + 64, + 42, + 92, + 89, + 70, + 57, + 54, + 92, + 35, + 68, + 95, + 75, + 45, + 58, + 50, + 69, + 65, + 57, + 86, + 93, + 67, + 58, + 86, + 51, + 76, + 88, + 46, + 67, + 68, + 75, + 90, + 43, + 66, + 88, + 78, + 75, + 37, + 35, + 45, + 63, + 89, + 87, + 45, + 95, + 46, + 80, + 13, + 10, + 77, + 92, + 79, + 51, + 82, + 93, + 79, + 39, + 85, + 92, + 80, + 92, + 40, + 35, + 32, + 72, + 54, + 35, + 48, + 68, + 45, + 34, + 88, + 94, + 32, + 50, + 47, + 89, + 71, + 66, + 88, + 80, + 42, + 66, + 72, + 90, + 41, + 67, + 56, + 77, + 47, + 50, + 36, + 81, + 42, + 51, + 71, + 37, + 54, + 50, + 36, + 85, + 43, + 37, + 88, + 32, + 90, + 93, + 71, + 93, + 38, + 13, + 10, + 77, + 57, + 69, + 57, + 86, + 51, + 70, + 89, + 62, + 63, + 68, + 37, + 65, + 52, + 55, + 37, + 82, + 50, + 54, + 69, + 57, + 69, + 36, + 61, + 89, + 49, + 50, + 53, + 56, + 91, + 67, + 94, + 51, + 68, + 38, + 49, + 53, + 61, + 52, + 85, + 77, + 55, + 55, + 85, + 35, + 56, + 85, + 46, + 83, + 60, + 68, + 77, + 73, + 58, + 85, + 77, + 91, + 65, + 86, + 56, + 71, + 13, + 10, + 77, + 46, + 32, + 67, + 94, + 61, + 91, + 69, + 85, + 77, + 82, + 72, + 91, + 93, + 79, + 51, + 86, + 93, + 50, + 61, + 45, + 50, + 41, + 88, + 88, + 50, + 59, + 37, + 53, + 61, + 39, + 40, + 72, + 93, + 81, + 50, + 40, + 39, + 45, + 47, + 52, + 58, + 54, + 74, + 51, + 73, + 66, + 63, + 45, + 50, + 41, + 75, + 57, + 71, + 42, + 84, + 84, + 50, + 84, + 52, + 85, + 13, + 10, + 77, + 58, + 95, + 58, + 60, + 52, + 38, + 89, + 73, + 66, + 45, + 83, + 95, + 78, + 55, + 43, + 83, + 53, + 41, + 86, + 74, + 70, + 90, + 61, + 55, + 83, + 89, + 92, + 88, + 50, + 86, + 54, + 33, + 85, + 60, + 41, + 37, + 66, + 89, + 60, + 76, + 65, + 57, + 75, + 89, + 87, + 93, + 81, + 53, + 63, + 77, + 71, + 82, + 37, + 42, + 52, + 53, + 51, + 66, + 86, + 51, + 13, + 10, + 77, + 53, + 67, + 74, + 79, + 82, + 65, + 41, + 43, + 55, + 59, + 85, + 70, + 91, + 51, + 74, + 72, + 39, + 47, + 77, + 90, + 37, + 95, + 39, + 54, + 84, + 64, + 84, + 59, + 45, + 90, + 87, + 60, + 75, + 38, + 74, + 53, + 77, + 54, + 55, + 75, + 77, + 78, + 84, + 91, + 33, + 41, + 66, + 65, + 60, + 76, + 80, + 91, + 85, + 94, + 83, + 58, + 71, + 49, + 54, + 92, + 13, + 10, + 77, + 57, + 92, + 93, + 62, + 74, + 87, + 87, + 91, + 49, + 48, + 95, + 40, + 73, + 90, + 84, + 81, + 46, + 87, + 64, + 40, + 36, + 69, + 55, + 95, + 43, + 59, + 66, + 68, + 35, + 70, + 92, + 51, + 87, + 90, + 42, + 80, + 59, + 45, + 70, + 49, + 72, + 91, + 46, + 87, + 83, + 73, + 39, + 68, + 47, + 50, + 57, + 80, + 39, + 33, + 74, + 43, + 95, + 95, + 92, + 63, + 13, + 10, + 77, + 69, + 83, + 85, + 81, + 86, + 46, + 46, + 68, + 82, + 42, + 41, + 51, + 66, + 91, + 58, + 74, + 59, + 83, + 78, + 77, + 63, + 52, + 57, + 40, + 86, + 64, + 40, + 78, + 37, + 92, + 37, + 86, + 69, + 75, + 95, + 35, + 89, + 61, + 80, + 86, + 94, + 63, + 57, + 61, + 80, + 73, + 69, + 92, + 56, + 53, + 46, + 69, + 40, + 94, + 34, + 41, + 88, + 95, + 93, + 95, + 13, + 10, + 77, + 67, + 72, + 46, + 82, + 56, + 62, + 61, + 89, + 48, + 83, + 44, + 79, + 65, + 38, + 74, + 71, + 70, + 86, + 53, + 84, + 54, + 66, + 34, + 69, + 70, + 95, + 95, + 95, + 35, + 84, + 69, + 63, + 55, + 39, + 77, + 41, + 90, + 79, + 43, + 69, + 42, + 93, + 80, + 91, + 75, + 81, + 91, + 79, + 48, + 68, + 89, + 50, + 48, + 41, + 59, + 37, + 77, + 50, + 70, + 76, + 13, + 10, + 77, + 85, + 82, + 93, + 62, + 79, + 55, + 66, + 61, + 91, + 48, + 57, + 58, + 60, + 64, + 46, + 81, + 70, + 50, + 81, + 68, + 77, + 45, + 83, + 61, + 77, + 50, + 80, + 80, + 52, + 94, + 41, + 95, + 53, + 40, + 34, + 58, + 34, + 47, + 37, + 40, + 56, + 52, + 87, + 55, + 32, + 41, + 65, + 40, + 46, + 77, + 67, + 63, + 89, + 76, + 63, + 82, + 32, + 32, + 32, + 32, + 13, + 10, + 77, + 41, + 55, + 49, + 37, + 54, + 39, + 49, + 35, + 59, + 86, + 85, + 77, + 57, + 54, + 89, + 84, + 32, + 38, + 45, + 76, + 58, + 55, + 32, + 82, + 57, + 86, + 69, + 70, + 40, + 39, + 56, + 78, + 44, + 34, + 88, + 86, + 40, + 38, + 41, + 89, + 40, + 37, + 69, + 86, + 57, + 55, + 44, + 64, + 52, + 38, + 69, + 71, + 61, + 54, + 53, + 84, + 45, + 71, + 44, + 91, + 13, + 10, + 45, + 79, + 32, + 32, + 32, + 32, + 32, + 33, + 41, + 49, + 52, + 89, + 36, + 75, + 68, + 41, + 64, + 64, + 64, + 32, + 32, + 13, + 10, + 101, + 110, + 100, + 13, + 10, + 13 + ] + } + }, + { + "File": { + "header": { + "content_disposition": { + "c_type": "inline", + "attributes": { + "filename": "greenball.png" + } + }, + "content_transfer_encoding": "x-uuencode", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "greenball.png" + } + } + }, + "contents": [ + 98, + 101, + 103, + 105, + 110, + 32, + 54, + 52, + 52, + 32, + 103, + 114, + 101, + 101, + 110, + 98, + 97, + 108, + 108, + 46, + 112, + 110, + 103, + 13, + 10, + 77, + 66, + 53, + 33, + 46, + 49, + 80, + 84, + 42, + 38, + 64, + 72, + 32, + 32, + 32, + 32, + 45, + 50, + 52, + 65, + 36, + 52, + 64, + 32, + 32, + 32, + 33, + 76, + 32, + 32, + 32, + 32, + 59, + 34, + 32, + 44, + 32, + 32, + 32, + 34, + 90, + 34, + 64, + 49, + 71, + 32, + 32, + 32, + 35, + 32, + 37, + 33, + 44, + 53, + 36, + 55, + 95, + 95, + 95, + 92, + 32, + 13, + 10, + 77, + 32, + 32, + 32, + 32, + 36, + 32, + 32, + 32, + 38, + 32, + 32, + 32, + 40, + 48, + 32, + 32, + 34, + 32, + 32, + 32, + 44, + 48, + 32, + 32, + 48, + 64, + 32, + 32, + 52, + 64, + 32, + 32, + 54, + 64, + 32, + 32, + 50, + 64, + 32, + 40, + 56, + 80, + 32, + 40, + 60, + 80, + 32, + 40, + 62, + 80, + 32, + 48, + 67, + 32, + 32, + 40, + 58, + 80, + 32, + 32, + 13, + 10, + 77, + 46, + 48, + 32, + 32, + 56, + 80, + 32, + 48, + 69, + 32, + 32, + 48, + 71, + 32, + 32, + 65, + 73, + 48, + 32, + 48, + 73, + 48, + 32, + 65, + 75, + 48, + 33, + 34, + 79, + 49, + 65, + 67, + 81, + 67, + 37, + 67, + 81, + 67, + 69, + 50, + 81, + 66, + 36, + 73, + 83, + 64, + 32, + 56, + 79, + 48, + 32, + 48, + 75, + 48, + 32, + 56, + 75, + 48, + 32, + 65, + 13, + 10, + 77, + 79, + 48, + 34, + 52, + 85, + 70, + 46, + 77, + 85, + 71, + 78, + 36, + 85, + 69, + 41, + 42, + 87, + 65, + 64, + 65, + 85, + 64, + 32, + 56, + 81, + 64, + 32, + 56, + 77, + 48, + 32, + 32, + 42, + 48, + 33, + 34, + 83, + 65, + 35, + 46, + 89, + 89, + 51, + 62, + 89, + 90, + 87, + 38, + 89, + 89, + 50, + 52, + 89, + 86, + 45, + 50, + 89, + 82, + 36, + 65, + 13, + 10, + 77, + 87, + 64, + 32, + 56, + 83, + 64, + 33, + 50, + 87, + 66, + 38, + 60, + 89, + 86, + 79, + 54, + 91, + 89, + 82, + 93, + 91, + 88, + 82, + 36, + 91, + 85, + 41, + 34, + 91, + 81, + 34, + 77, + 91, + 87, + 78, + 69, + 87, + 71, + 45, + 58, + 91, + 82, + 68, + 65, + 89, + 80, + 32, + 56, + 85, + 64, + 32, + 81, + 89, + 80, + 33, + 50, + 91, + 82, + 37, + 75, + 13, + 10, + 77, + 91, + 83, + 69, + 42, + 91, + 81, + 64, + 73, + 89, + 80, + 32, + 73, + 91, + 80, + 32, + 81, + 91, + 80, + 32, + 40, + 65, + 32, + 32, + 48, + 77, + 48, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 13, + 10, + 77, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 13, + 10, + 77, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 13, + 10, + 77, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 13, + 10, + 77, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 13, + 10, + 77, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 13, + 10, + 77, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 13, + 10, + 77, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 13, + 10, + 77, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 13, + 10, + 77, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 13, + 10, + 77, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 13, + 10, + 77, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 13, + 10, + 77, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 73, + 13, + 10, + 77, + 85, + 63, + 71, + 57, + 32, + 32, + 32, + 32, + 32, + 55, + 49, + 50, + 51, + 69, + 44, + 32, + 48, + 46, + 59, + 56, + 57, + 64, + 32, + 32, + 32, + 33, + 57, + 84, + 49, + 53, + 65, + 84, + 52, + 86, + 93, + 70, + 61, + 39, + 61, + 65, + 60, + 70, + 52, + 32, + 57, + 86, + 69, + 70, + 44, + 71, + 33, + 78, + 57, + 82, + 32, + 82, + 43, + 67, + 32, + 78, + 13, + 10, + 77, + 44, + 51, + 85, + 62, + 79, + 70, + 64, + 32, + 32, + 32, + 37, + 77, + 50, + 52, + 49, + 33, + 53, + 39, + 66, + 60, + 61, + 61, + 41, + 77, + 53, + 92, + 40, + 64, + 37, + 32, + 61, + 80, + 35, + 86, + 83, + 40, + 64, + 44, + 36, + 36, + 85, + 94, + 45, + 60, + 74, + 61, + 76, + 72, + 42, + 94, + 70, + 89, + 77, + 34, + 82, + 83, + 91, + 95, + 94, + 57, + 13, + 10, + 77, + 66, + 43, + 70, + 39, + 76, + 82, + 83, + 79, + 74, + 89, + 87, + 83, + 46, + 95, + 60, + 82, + 94, + 45, + 93, + 62, + 75, + 82, + 85, + 59, + 53, + 62, + 93, + 47, + 54, + 48, + 32, + 93, + 83, + 88, + 44, + 48, + 94, + 39, + 92, + 56, + 72, + 67, + 91, + 38, + 32, + 50, + 57, + 93, + 89, + 40, + 39, + 63, + 58, + 33, + 38, + 70, + 43, + 46, + 50, + 60, + 13, + 10, + 77, + 65, + 82, + 40, + 64, + 82, + 46, + 78, + 86, + 86, + 70, + 64, + 48, + 50, + 67, + 52, + 60, + 35, + 78, + 45, + 56, + 60, + 72, + 38, + 67, + 43, + 66, + 43, + 42, + 85, + 60, + 39, + 65, + 84, + 63, + 39, + 41, + 58, + 51, + 42, + 42, + 46, + 60, + 44, + 40, + 77, + 64, + 56, + 81, + 51, + 92, + 93, + 46, + 83, + 76, + 63, + 67, + 82, + 51, + 51, + 43, + 13, + 10, + 77, + 34, + 92, + 52, + 37, + 84, + 60, + 86, + 57, + 45, + 70, + 42, + 74, + 78, + 41, + 65, + 60, + 83, + 74, + 90, + 78, + 59, + 94, + 56, + 70, + 50, + 53, + 52, + 56, + 49, + 37, + 89, + 93, + 38, + 62, + 35, + 58, + 76, + 77, + 78, + 91, + 94, + 93, + 71, + 35, + 88, + 85, + 45, + 70, + 68, + 66, + 41, + 86, + 67, + 60, + 86, + 41, + 87, + 68, + 32, + 54, + 13, + 10, + 77, + 57, + 93, + 47, + 75, + 89, + 89, + 63, + 39, + 85, + 92, + 55, + 50, + 70, + 49, + 78, + 42, + 52, + 51, + 55, + 52, + 58, + 74, + 39, + 82, + 91, + 46, + 85, + 93, + 77, + 63, + 75, + 88, + 45, + 37, + 69, + 62, + 95, + 80, + 87, + 56, + 35, + 75, + 54, + 49, + 52, + 40, + 69, + 57, + 75, + 43, + 95, + 54, + 92, + 90, + 55, + 41, + 68, + 82, + 41, + 53, + 13, + 10, + 77, + 38, + 93, + 36, + 58, + 36, + 67, + 40, + 81, + 86, + 55, + 82, + 57, + 70, + 57, + 41, + 38, + 66, + 72, + 62, + 52, + 58, + 43, + 94, + 86, + 32, + 56, + 92, + 51, + 56, + 92, + 72, + 70, + 49, + 90, + 71, + 68, + 43, + 42, + 65, + 78, + 91, + 84, + 83, + 67, + 52, + 42, + 53, + 41, + 55, + 76, + 73, + 87, + 74, + 78, + 50, + 86, + 35, + 53, + 50, + 41, + 13, + 10, + 77, + 54, + 45, + 65, + 87, + 83, + 83, + 41, + 42, + 34, + 82, + 62, + 81, + 40, + 84, + 57, + 81, + 33, + 47, + 87, + 58, + 63, + 36, + 84, + 36, + 69, + 82, + 74, + 46, + 69, + 57, + 41, + 82, + 80, + 92, + 75, + 87, + 33, + 36, + 86, + 50, + 37, + 66, + 41, + 34, + 82, + 81, + 32, + 88, + 87, + 88, + 50, + 34, + 68, + 64, + 90, + 89, + 49, + 65, + 61, + 62, + 13, + 10, + 77, + 48, + 33, + 69, + 67, + 48, + 77, + 34, + 64, + 87, + 93, + 43, + 54, + 75, + 32, + 93, + 84, + 49, + 35, + 35, + 38, + 85, + 36, + 54, + 75, + 56, + 52, + 46, + 86, + 87, + 65, + 44, + 32, + 45, + 52, + 42, + 49, + 49, + 69, + 90, + 85, + 36, + 89, + 86, + 93, + 60, + 49, + 94, + 94, + 35, + 86, + 38, + 89, + 43, + 42, + 84, + 84, + 86, + 61, + 75, + 95, + 13, + 10, + 77, + 74, + 75, + 60, + 63, + 78, + 93, + 78, + 84, + 53, + 87, + 59, + 81, + 71, + 95, + 55, + 61, + 65, + 49, + 95, + 45, + 56, + 62, + 62, + 45, + 84, + 64, + 64, + 76, + 43, + 32, + 32, + 32, + 32, + 34, + 53, + 84, + 49, + 53, + 65, + 84, + 48, + 86, + 93, + 77, + 59, + 54, + 53, + 78, + 61, + 32, + 33, + 67, + 59, + 38, + 69, + 80, + 44, + 70, + 61, + 73, + 13, + 10, + 70, + 57, + 66, + 33, + 86, + 43, + 67, + 32, + 78, + 45, + 66, + 33, + 66, + 62, + 50, + 33, + 57, + 61, + 70, + 53, + 83, + 40, + 37, + 33, + 73, + 57, + 87, + 53, + 69, + 61, + 35, + 57, + 83, + 46, + 91, + 80, + 32, + 32, + 32, + 32, + 32, + 50, + 52, + 53, + 46, + 49, + 42, + 89, + 34, + 56, + 40, + 40, + 32, + 13, + 10, + 101, + 110, + 100, + 13, + 10, + 13 + ] + } + }, + { + "File": { + "header": { + "content_disposition": { + "c_type": "inline", + "attributes": { + "filename": "blueball.png" + } + }, + "content_transfer_encoding": "x-uuencode", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "blueball.png" + } + } + }, + "contents": [ + 98, + 101, + 103, + 105, + 110, + 32, + 54, + 52, + 52, + 32, + 98, + 108, + 117, + 101, + 98, + 97, + 108, + 108, + 46, + 112, + 110, + 103, + 13, + 10, + 77, + 66, + 53, + 33, + 46, + 49, + 80, + 84, + 42, + 38, + 64, + 72, + 32, + 32, + 32, + 32, + 45, + 50, + 52, + 65, + 36, + 52, + 64, + 32, + 32, + 32, + 33, + 76, + 32, + 32, + 32, + 32, + 59, + 34, + 32, + 44, + 32, + 32, + 32, + 34, + 90, + 34, + 64, + 49, + 71, + 32, + 32, + 32, + 35, + 32, + 37, + 33, + 44, + 53, + 36, + 55, + 95, + 95, + 95, + 92, + 32, + 13, + 10, + 77, + 32, + 32, + 64, + 32, + 32, + 33, + 32, + 32, + 32, + 33, + 64, + 32, + 32, + 32, + 32, + 32, + 34, + 34, + 68, + 32, + 36, + 36, + 40, + 32, + 36, + 36, + 72, + 32, + 34, + 35, + 36, + 32, + 36, + 37, + 40, + 40, + 40, + 55, + 44, + 40, + 42, + 55, + 76, + 40, + 42, + 56, + 48, + 40, + 40, + 54, + 76, + 32, + 38, + 37, + 72, + 32, + 34, + 35, + 68, + 40, + 13, + 10, + 77, + 40, + 54, + 44, + 48, + 46, + 57, + 80, + 56, + 48, + 74, + 52, + 56, + 48, + 74, + 84, + 56, + 48, + 75, + 52, + 48, + 46, + 58, + 52, + 48, + 44, + 57, + 48, + 32, + 38, + 37, + 40, + 48, + 44, + 56, + 80, + 73, + 52, + 75, + 52, + 89, + 56, + 92, + 56, + 89, + 56, + 92, + 88, + 73, + 54, + 76, + 88, + 56, + 50, + 76, + 88, + 56, + 48, + 76, + 88, + 56, + 13, + 10, + 77, + 48, + 75, + 85, + 34, + 58, + 92, + 57, + 91, + 71, + 45, + 58, + 60, + 79, + 61, + 90, + 44, + 77, + 61, + 89, + 67, + 69, + 46, + 60, + 81, + 58, + 93, + 88, + 65, + 52, + 77, + 88, + 56, + 50, + 77, + 56, + 56, + 48, + 76, + 56, + 48, + 44, + 58, + 52, + 32, + 32, + 34, + 39, + 46, + 89, + 94, + 95, + 71, + 91, + 94, + 94, + 60, + 81, + 78, + 93, + 50, + 13, + 10, + 77, + 65, + 46, + 92, + 73, + 54, + 78, + 60, + 48, + 46, + 58, + 85, + 42, + 62, + 92, + 90, + 77, + 83, + 77, + 90, + 69, + 83, + 78, + 93, + 58, + 67, + 46, + 92, + 48, + 44, + 57, + 81, + 58, + 65, + 45, + 58, + 77, + 85, + 78, + 63, + 46, + 91, + 94, + 94, + 44, + 79, + 62, + 93, + 42, + 62, + 94, + 92, + 56, + 46, + 58, + 52, + 56, + 50, + 76, + 58, + 44, + 13, + 10, + 77, + 79, + 62, + 62, + 85, + 89, + 94, + 94, + 52, + 79, + 62, + 92, + 32, + 32, + 34, + 69, + 58, + 67, + 46, + 61, + 83, + 73, + 62, + 93, + 75, + 71, + 46, + 92, + 40, + 42, + 56, + 80, + 81, + 56, + 94, + 92, + 73, + 54, + 78, + 92, + 40, + 40, + 55, + 76, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 13, + 10, + 77, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 13, + 10, + 77, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 13, + 10, + 77, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 13, + 10, + 77, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 13, + 10, + 77, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 13, + 10, + 77, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 13, + 10, + 77, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 13, + 10, + 77, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 13, + 10, + 77, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 13, + 10, + 77, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 13, + 10, + 77, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 13, + 10, + 77, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 32, + 35, + 33, + 13, + 10, + 77, + 44, + 64, + 85, + 53, + 32, + 32, + 32, + 32, + 32, + 55, + 49, + 50, + 51, + 69, + 44, + 32, + 48, + 46, + 59, + 56, + 57, + 64, + 32, + 32, + 32, + 33, + 57, + 84, + 49, + 53, + 65, + 84, + 52, + 86, + 93, + 70, + 61, + 39, + 61, + 65, + 60, + 70, + 52, + 32, + 57, + 86, + 69, + 70, + 44, + 71, + 33, + 78, + 57, + 82, + 32, + 82, + 43, + 67, + 32, + 78, + 13, + 10, + 77, + 44, + 51, + 85, + 62, + 79, + 70, + 64, + 32, + 32, + 32, + 38, + 40, + 50, + 52, + 49, + 33, + 53, + 39, + 66, + 60, + 61, + 61, + 41, + 77, + 53, + 89, + 76, + 80, + 38, + 32, + 59, + 64, + 36, + 68, + 90, + 32, + 41, + 65, + 33, + 50, + 68, + 88, + 59, + 44, + 34, + 52, + 82, + 71, + 33, + 50, + 43, + 58, + 74, + 72, + 79, + 59, + 75, + 38, + 95, + 59, + 13, + 10, + 77, + 63, + 47, + 71, + 95, + 79, + 82, + 65, + 91, + 84, + 69, + 59, + 76, + 76, + 60, + 62, + 59, + 43, + 89, + 81, + 83, + 71, + 51, + 76, + 65, + 89, + 33, + 70, + 45, + 65, + 64, + 48, + 72, + 49, + 34, + 65, + 80, + 72, + 89, + 84, + 36, + 46, + 40, + 72, + 65, + 52, + 56, + 43, + 35, + 67, + 88, + 83, + 39, + 65, + 42, + 56, + 48, + 68, + 75, + 36, + 72, + 13, + 10, + 77, + 48, + 61, + 79, + 72, + 60, + 68, + 88, + 71, + 62, + 84, + 40, + 42, + 44, + 53, + 52, + 73, + 42, + 57, + 43, + 48, + 35, + 62, + 74, + 50, + 51, + 40, + 76, + 79, + 94, + 85, + 92, + 47, + 82, + 74, + 74, + 54, + 52, + 80, + 86, + 40, + 33, + 76, + 49, + 44, + 91, + 87, + 84, + 91, + 47, + 47, + 73, + 94, + 63, + 35, + 41, + 75, + 54, + 77, + 71, + 73, + 13, + 10, + 77, + 43, + 35, + 41, + 79, + 62, + 80, + 56, + 81, + 71, + 62, + 80, + 63, + 71, + 79, + 58, + 71, + 57, + 94, + 63, + 83, + 73, + 70, + 80, + 55, + 66, + 67, + 34, + 92, + 42, + 59, + 74, + 36, + 58, + 87, + 37, + 81, + 86, + 63, + 63, + 93, + 85, + 56, + 93, + 89, + 52, + 93, + 55, + 34, + 52, + 73, + 58, + 35, + 62, + 48, + 80, + 66, + 44, + 73, + 39, + 55, + 13, + 10, + 77, + 47, + 95, + 79, + 94, + 85, + 94, + 94, + 59, + 54, + 53, + 47, + 54, + 48, + 72, + 38, + 37, + 58, + 80, + 77, + 67, + 78, + 75, + 82, + 93, + 79, + 75, + 78, + 95, + 63, + 95, + 34, + 85, + 53, + 66, + 91, + 62, + 83, + 51, + 84, + 54, + 54, + 73, + 48, + 39, + 63, + 95, + 91, + 94, + 78, + 95, + 38, + 91, + 85, + 58, + 43, + 51, + 65, + 42, + 95, + 44, + 13, + 10, + 77, + 67, + 49, + 81, + 70, + 51, + 90, + 42, + 61, + 83, + 57, + 93, + 63, + 38, + 68, + 93, + 82, + 58, + 77, + 44, + 76, + 51, + 64, + 57, + 43, + 69, + 87, + 55, + 53, + 64, + 37, + 49, + 32, + 34, + 90, + 76, + 73, + 67, + 95, + 85, + 87, + 62, + 71, + 76, + 76, + 74, + 41, + 53, + 77, + 54, + 53, + 58, + 87, + 45, + 61, + 33, + 50, + 58, + 60, + 43, + 92, + 13, + 10, + 77, + 94, + 53, + 57, + 70, + 56, + 74, + 42, + 70, + 61, + 61, + 85, + 34, + 50, + 56, + 72, + 46, + 66, + 44, + 46, + 50, + 38, + 80, + 77, + 83, + 69, + 74, + 74, + 69, + 37, + 37, + 40, + 78, + 46, + 74, + 79, + 84, + 58, + 85, + 57, + 36, + 57, + 75, + 52, + 68, + 54, + 40, + 34, + 43, + 43, + 37, + 54, + 86, + 90, + 90, + 82, + 85, + 42, + 79, + 54, + 36, + 13, + 10, + 77, + 85, + 83, + 53, + 95, + 66, + 35, + 32, + 39, + 85, + 36, + 72, + 73, + 71, + 53, + 43, + 34, + 66, + 82, + 64, + 57, + 34, + 40, + 72, + 70, + 39, + 87, + 45, + 34, + 42, + 55, + 84, + 69, + 71, + 40, + 94, + 33, + 85, + 66, + 78, + 78, + 83, + 34, + 38, + 51, + 81, + 80, + 55, + 67, + 71, + 35, + 46, + 88, + 61, + 91, + 45, + 73, + 59, + 55, + 88, + 86, + 13, + 10, + 77, + 56, + 41, + 41, + 39, + 68, + 33, + 80, + 70, + 32, + 70, + 86, + 51, + 81, + 80, + 32, + 57, + 64, + 88, + 84, + 41, + 87, + 94, + 55, + 77, + 59, + 79, + 85, + 75, + 64, + 46, + 32, + 57, + 80, + 38, + 84, + 45, + 81, + 54, + 90, + 86, + 73, + 94, + 69, + 51, + 94, + 56, + 66, + 91, + 88, + 91, + 76, + 35, + 95, + 80, + 36, + 52, + 53, + 44, + 83, + 56, + 13, + 10, + 77, + 70, + 54, + 68, + 46, + 79, + 80, + 32, + 32, + 32, + 34, + 53, + 84, + 49, + 53, + 65, + 84, + 48, + 86, + 93, + 77, + 59, + 54, + 53, + 78, + 61, + 32, + 33, + 67, + 59, + 38, + 69, + 80, + 44, + 70, + 61, + 73, + 57, + 66, + 33, + 86, + 43, + 67, + 32, + 78, + 45, + 66, + 33, + 66, + 62, + 50, + 33, + 57, + 61, + 70, + 53, + 83, + 40, + 37, + 33, + 73, + 13, + 10, + 52, + 57, + 87, + 53, + 69, + 61, + 35, + 57, + 83, + 46, + 91, + 80, + 32, + 32, + 32, + 32, + 32, + 50, + 52, + 53, + 46, + 49, + 42, + 89, + 34, + 56, + 40, + 40, + 32, + 13, + 10, + 101, + 110, + 100, + 13, + 10, + 13 + ] + } + } + ] +} \ No newline at end of file diff --git a/tests/legacy/049.txt b/tests/legacy/049.txt new file mode 100644 index 0000000..bc87dd1 --- /dev/null +++ b/tests/legacy/049.txt @@ -0,0 +1,184 @@ +From: "Doug Sauder" +To: "Joe Blow" +Subject: Test message from Microsoft Outlook 00 +Date: Wed, 17 May 2000 19:58:13 -0400 +Message-ID: +X-Priority: 3 (Normal) +X-MSMail-Priority: Normal +X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) +Importance: Normal +X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 + + +The Hare and the Tortoise + +A HARE one day ridiculed the short feet and slow pace of the Tortoise, who +replied, laughing: "Though you be swift as the wind, I will beat you in a +race." The Hare, believing her assertion to be simply impossible, assented +to the proposal; and they agreed that the Fox should choose the course and +fix the goal. On the day appointed for the race the two started together. +The Tortoise never for a moment stopped, but went on with a slow but steady +pace straight to the end of the course. The Hare, lying down by the +wayside, fell fast asleep. At last waking up, and moving as fast as he +could, he saw the Tortoise had reached the goal, and was comfortably dozing +after her fatigue. + +Slow but steady wins the race. + + +begin 666 blueball.png +MB5!.1PT*&@H````-24A$4@```!L````;" ,```"Z"@1G```#`%!,5$7___\` +M``@``! ``!@`````""D`$$(`$$H`"#$`$%(((7,(*7L(*80((6L`&%H`"#D( +M(6,0.9P80J480JT80K40.:40,90`&%(0,8PI4K4Y8\8Y8\XI6LX82LX80LX8 +M0KU":\9[G-:\ZMSMZESN]:C.\0,9Q:A-:MUN?.[^^,O>]*>^\8.:482L:, +MO>>UY^^4O>\``"E:C.=SI>]KG.\(*8PQ8^\I6N\((7L````````````````` +M```````````````````````````````````````````````````````````` +M```````````````````````````````````````````````````````````` +M```````````````````````````````````````````````````````````` +M```````````````````````````````````````````````````````````` +M```````````````````````````````````````````````````````````` +M```````````````````````````````````````````````````````````` +M```````````````````````````````````````````````````````````` +M```````````````````````````````````````````````````````````` +M```````````````````````````````````````````````````````````` +M```````````````````````````````````````````````````````````` +M```````````````````````````````````````````````````````````` +M``````````````````````````````````````````````````````````#! +M,@U5`````7123E,`0.;89@```!9T15AT4V]F='=AOF@```&(241!5'B<==)M5YLP& ;@$DZ )A!2DX;,"4RG!2+:JHO;K&_; +M?/G_ORA[TE;LL<>;+YQSG3LAY!F-A@0H1"APHYT$.(HA48+#CXS'A*80DK$H +M0=OHT(*,54I*9+0#>J23(LO^U\/RJJ64PV(!L1,[WT[//I^?#)K6MGI +M+#)O>P8QG>P?GO:G9^?SIFP7BC"\*;J$:W%QV??]U8]Y4]7"4I:#>0PB,I'7 +M/_O^U^^;65/60H&%:PMCNKR]OKN_?_"U5B[>S3T66I0'?_[^N_&[U:+3A*_, +MC1QF3Z*=S9]?&D]R:M,L3@9+EW75@%1 "ZLIC_UW>GLLJ)5M65:W-=!2:<+\ +M^59F8J*F==U"28H.B,.2&PMSEJJE%%(N.JOT:U9$9K4D6("++%6VZZRU*O6$ +MUS5_B# 'U$HIG5+"BR@9"(HF'W-"*7TEG(^!UBNNS"&3QP7CG#.X=[-I;7XV +M8))'D!PF`FV3QP`9@XT)W^7M;OUK@. 9P&T-Q6ZVI^E3^8B[X[L#_P$45,S8 +MF6D.OP```"5T15AT0V]M;65N= !C;&EP,F=I9B!V+C N-B!B>2!9=F5S(%!I +49W5E=#9S.[P`````245.1*Y"8((` +` +end + +begin 666 greenball.png +MB5!.1PT*&@H````-24A$4@```!L````;" ,```"Z"@1G```#`%!,5$7___\` +M````$ ``& ``(0``" ``,0``0@``4@``6@``2@`(8P`(P`0C `(:P`` +M.0``8P`0E `0G `AI0`0I0`AK0!"O1ACQC%CQCE2QB$IS@`8O0`0K0`8K0`A +MO0"4UF.MUGN$UE)*WA@AU@`8Q@`8M0``*0!"SA#.YY3>YZW&YY24YV-2YR$A +MW@`8S@!2WB&KRU;5>]/60`]SX,0^'\8HC[&`29]Y('?:!&F+.2< +MAR(@R.NVVF@02C4<#N-8#:LMN[^]G#XU-FDB)VC_PW8#K614(E9K+_6\Z7)DR)5 +M&]$:$C(QV7R9F9)&BH>4:+^V`8\38\HF1ZGD+*AN[TSC4*5)7LIWJN2V#52) +M6-AWSS)*"R>Q(T9Q!/W:?$T$ERJ.E9)RP\KW!$V2%B)"RQ XWX2"D@ZY1A=> +M0!EC0M"@W]+6K ]T1##&U$6K84.VWA,`-4*11EZU$YV]<1^^#V&Y+*TTV=K_ +MJK>-T@@L+ ```"5T15AT0V]M;65N= !C;&EP,F=I +F9B!V+C N-B!B>2!9=F5S(%!I9W5E=#9S.[P`````245.1*Y"8((` +` +end + +begin 666 redball.png +MB5!.1PT*&@H````-24A$4@```!L````;" ,```"Z"@1G```#`%!,5$7___\` +M```!```+```5```:```7```1```*```#```<```R``!$``!-``!(```]```C +M```6```F``!A``![``"&``"'``!]``!T``!@```Y```4```&```G``!+``!O +M``"0``"E``"[``"_``"K``"A``",``!S``!;```N```(``!,``!W``"9``"T +M&1G*.#C5/3W;*2G=!06X``"H``!Y```Q```8```$``!%``":``"[)"3186'? +MA(3F?W_F5E;J'Q_2``"Y``"C``!=``!"```H```)``!G``"Z#P_05%3>DY/E +MK*SIF9GM967O)277``#!``"Q``"<``!M``!3```V```;```%``!*``"!``#+ +M("#=9V?HG)SKIJ;MBHKO45'O%!31``##``"V``!X``!>``! ```B``!7``"2 +M``#"``#:&QOH557L>'CO>'CO5U?O)B;A``#.``"W``"G``"5``!'```K```/ +M``"=``#%``#A!07K*"CO/#SO-37O&QOC``#0``#)``"U``"7``"$``!L``!/ +M```2```"``!B``#I``#O`@+G``#8``#+``"Z``"P``!P```3```D``!8``#( +M``#3``#-``"S``"#``!N```>``!^``# ``"D``"-``!_``!I``!0```P``"1 +M``"I``"\``"J``";``!E``!)```J```.```T``"L``"O``"M``"F``")``!Z +M``!K``!:```^```I``!J``""``"?``">``"6``"/``!\```9```'``!5``". +M``"*```X```0```_``!R``" ``!<```W```L``!F``!#``!6```@```S```\ +M```Z```?```,```=```-```````````````````````````````````````` +M```````````````````````````````````````````````````````````` +M``````````````````````````````````````````````````````````#\ +M+ME%`````7123E,`0.;89@```!9T15AT4V]F='=AOF@```((241!5'B<8V" @_\0P( !F)A96%G9V#DX,:4YN+AY>'GY^+D% +M!#E0)?\S"_$(BXB*B4M(\DH)2?D%A47%R26E9E$=Y1258[C^3D&15=4UM77U#8U.SJWW[10_(IZTQ.W@($E7_+;BD#F\3WZ*P;-F1H[.WSI'D/29P'!J+__\? +MESUQV..DR*)3B[:J;SNM?49(V@(N%\%VEK_#Y=PV^?9=PIE\85.E(^")X_]_ +MCH.R8>=Y0S,OA&JGFV5T6B"EF___#TE?7'M)ZO+E*]P[KQ[O0DY20);%M2FL +MUR]>O7B=[09:<@.QF2QDM-S=M2PP4^)_5(":"/%(84W7`)A(.MC?YL?R```` +M)71%6'1#;VUM96YT`&-L:7 R9VEF('8N,"XV(&)Y(%EV97,@4&EG=65T-G,[ +-O ````!)14Y$KD)@@@`` +` +end + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 17, + "hour": 19, + "minute": 58, + "second": 13, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "doug@example.com" + } + }, + "message_id": "NDBBIAKOPKHFGPLCODIGIEKGCHAA.doug@example.com", + "subject": "Test message from Microsoft Outlook 00", + "to": { + "Address": { + "name": "Joe Blow", + "address": "jblow@example.com" + } + }, + "others": { + "X-Priority": [ + "3 (Normal)" + ], + "X-Mailer": [ + "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" + ], + "X-MSMail-Priority": [ + "Normal" + ], + "Importance": [ + "Normal" + ], + "X-MimeOLE": [ + "Produced By Microsoft MimeOLE V5.00.2314.1300" + ] + } + }, + "text_body": [ + { + "contents": "\r\nThe Hare and the Tortoise\r\n\r\nA HARE one day ridiculed the short feet and slow pace of the Tortoise, who\r\nreplied, laughing: \"Though you be swift as the wind, I will beat you in a\r\nrace.\" The Hare, believing her assertion to be simply impossible, assented\r\nto the proposal; and they agreed that the Fox should choose the course and\r\nfix the goal. On the day appointed for the race the two started together.\r\nThe Tortoise never for a moment stopped, but went on with a slow but steady\r\npace straight to the end of the course. The Hare, lying down by the\r\nwayside, fell fast asleep. At last waking up, and moving as fast as he\r\ncould, he saw the Tortoise had reached the goal, and was comfortably dozing\r\nafter her fatigue.\r\n\r\nSlow but steady wins the race.\r\n\r\n\r\nbegin 666 blueball.png\r\nMB5!.1PT*&@H````-24A$4@```!L````;\" ,```\"Z\"@1G```#`%!,5$7___\\`\r\nM``@``! ``!@`````\"\"D`$$(`$$H`\"#$`$%(((7,(*7L(*80((6L`&%H`\"#D(\r\nM(6,0.9P80J480JT80K40.:40,90`&%(0,8PI4K4Y8\\8Y8\\XI6LX82LX80LX8\r\nM0KU\":\\9[G-:\\ZMSMZESN]:C.\\0,9Q:A-:MUN?.[^^,O>]*>^\\8.:482L:,\r\nMO>>UY^^4O>\\``\"E:C.=SI>]KG.\\(*8PQ8^\\I6N\\((7L`````````````````\r\nM````````````````````````````````````````````````````````````\r\nM````````````````````````````````````````````````````````````\r\nM````````````````````````````````````````````````````````````\r\nM````````````````````````````````````````````````````````````\r\nM````````````````````````````````````````````````````````````\r\nM````````````````````````````````````````````````````````````\r\nM````````````````````````````````````````````````````````````\r\nM````````````````````````````````````````````````````````````\r\nM````````````````````````````````````````````````````````````\r\nM````````````````````````````````````````````````````````````\r\nM````````````````````````````````````````````````````````````\r\nM``````````````````````````````````````````````````````````#!\r\nM,@U5`````7123E,`0.;89@```!9T15AT4V]F='=AOF@```&(241!5'B<==)M5YLP& ;@$DZ )A!2DX;,\"4RG!2+:JHO;K&_;\r\nM?/G_ORA[TE;LL<>;+YQSG3LAY!F-A@0H1\"APHYT$.(HA48+#CXS'A*80DK$H\r\nM0=OHT(*,54I*9+0#>J23(LO^U\\/RJJ64PV(!L1,[WT[//I^?#)K6MGI\r\nM+#)O>P8QG>P?GO:G9^?SIFP7BC\"\\*;J$:W%QV??]U8]Y4]7\"4I:#>0PB,I'7\r\nM/_O^U^^;65/60H&%:PMCNKR]OKN_?_\"U5B[>S3T66I0'?_[^N_&[U:+3A*_,\r\nMC1QF3Z*=S9]?&D]R:M,L3@9+EW75@%1 \"ZLIC_UW>GLLJ)5M65:W-=!2:<+\\\r\nM^59F8J*F==U\"28H.B,.2&PMSEJJE%%(N.JOT:U9$9K4D6(\"++%6VZZRU*O6$\r\nMUS5_B# 'U$HIG5+\"BR@9\"(HF'W-\"*7TEG(^!UBNNS\"&3QP7CG#.X=[-I;7XV\r\nM8))'D!PF`FV3QP`9@XT)W^7M;OUK@. 9P&T-Q6ZVI^E3^8B[X[L#_P$45,S8\r\nMF6D.OP```\"5T15AT0V]M;65N= !C;&EP,F=I9B!V+C N-B!B>2!9=F5S(%!I\r\n49W5E=#9S.[P`````245.1*Y\"8((`\r\n`\r\nend\r\n\r\nbegin 666 greenball.png\r\nMB5!.1PT*&@H````-24A$4@```!L````;\" ,```\"Z\"@1G```#`%!,5$7___\\`\r\nM````$ ``& ``(0``\" ``,0``0@``4@``6@``2@`(8P`(P`0C `(:P``\r\nM.0``8P`0E `0G `AI0`0I0`AK0!\"O1ACQC%CQCE2QB$IS@`8O0`0K0`8K0`A\r\nMO0\"4UF.MUGN$UE)*WA@AU@`8Q@`8M0``*0!\"SA#.YY3>YZW&YY24YV-2YR$A\r\nMW@`8S@!2WB&KRU;5>]/60`]SX,0^'\\8HC[&`29]Y('?:!&F+.2<\r\nMAR(@R.NVVF@02C4<#N-8#:LMN[^]G#XU-FDB)VC_PW8#K614(E9K+_6\\Z7)DR)5\r\nM&]$:$C(QV7R9F9)&BH>4:+^V`8\\38\\HF1ZGD+*AN[TSC4*5)7LIWJN2V#52)\r\nM6-AWSS)*\"R>Q(T9Q!/W:?$T$ERJ.E9)RP\\KW!$V2%B)\"RQ XWX2\"D@ZY1A=>\r\nM0!EC0M\"@W]+6K ]T1##&U$6K84.VWA,`-4*11EZU$YV]<1^^#V&Y+*TTV=K_\r\nMJK>-T@@L+ ```\"5T15AT0V]M;65N= !C;&EP,F=I\r\nF9B!V+C N-B!B>2!9=F5S(%!I9W5E=#9S.[P`````245.1*Y\"8((`\r\n`\r\nend\r\n\r\nbegin 666 redball.png\r\nMB5!.1PT*&@H````-24A$4@```!L````;\" ,```\"Z\"@1G```#`%!,5$7___\\`\r\nM```!```+```5```:```7```1```*```#```<```R``!$``!-``!(```]```C\r\nM```6```F``!A``![``\"&``\"'``!]``!T``!@```Y```4```&```G``!+``!O\r\nM``\"0``\"E``\"[``\"_``\"K``\"A``\",``!S``!;```N```(``!,``!W``\"9``\"T\r\nM&1G*.#C5/3W;*2G=!06X``\"H``!Y```Q```8```$``!%``\":``\"[)\"3186'?\r\nMA(3F?W_F5E;J'Q_2``\"Y``\"C``!=``!\"```H```)``!G``\"Z#P_05%3>DY/E\r\nMK*SIF9GM967O)277``#!``\"Q``\"<``!M``!3```V```;```%``!*``\"!``#+\r\nM(\"#=9V?HG)SKIJ;MBHKO45'O%!31``##``\"V``!X``!>``! ```B``!7``\"2\r\nM``#\"``#:&QOH557L>'CO>'CO5U?O)B;A``#.``\"W``\"G``\"5``!'```K```/\r\nM``\"=``#%``#A!07K*\"CO/#SO-37O&QOC``#0``#)``\"U``\"7``\"$``!L``!/\r\nM```2```\"``!B``#I``#O`@+G``#8``#+``\"Z``\"P``!P```3```D``!8``#(\r\nM``#3``#-``\"S``\"#``!N```>``!^``# ``\"D``\"-``!_``!I``!0```P``\"1\r\nM``\"I``\"\\``\"J``\";``!E``!)```J```.```T``\"L``\"O``\"M``\"F``\")``!Z\r\nM``!K``!:```^```I``!J``\"\"``\"?``\">``\"6``\"/``!\\```9```'``!5``\".\r\nM``\"*```X```0```_``!R``\" ``!<```W```L``!F``!#``!6```@```S```\\\r\nM```Z```?```,```=```-````````````````````````````````````````\r\nM````````````````````````````````````````````````````````````\r\nM``````````````````````````````````````````````````````````#\\\r\nM+ME%`````7123E,`0.;89@```!9T15AT4V]F='=AOF@```((241!5'B<8V\" @_\\0P( !F)A96%G9V#DX,:4YN+AY>'GY^+D%\r\nM!#E0)?\\S\"_$(BXB*B4M(\\DH)2?D%A47%R26E9E$=Y1258[C^3D&15=4UM77U#8U.SJWW[10_(IZTQ.W@($E7_+;BD#F\\3WZ*P;-F1H[.WSI'D/29P'!J+__\\?\r\nMESUQV..DR*)3B[:J;SNM?49(V@(N%\\%VEK_#Y=PV^?9=PIE\\85.E(^\")X_]_\r\nMCH.R8>=Y0S,OA&JGFV5T6B\"EF___#TE?7'M)ZO+E*]P[KQ[O0DY20);%M2FL\r\nMUR]>O7B=[09:<@.QF2QDM-S=M2PP4^)_5(\":\"/%(84W7`)A(.MC?YL?R````\r\nM)71%6'1#;VUM96YT`&-L:7 R9VEF('8N,\"XV(&)Y(%EV97,@4&EG=65T-G,[\r\n-O ````!)14Y$KD)@@@``\r\n`\r\nend\r\n" + } + ] +} \ No newline at end of file diff --git a/tests/legacy/050.txt b/tests/legacy/050.txt new file mode 100644 index 0000000..dc683aa --- /dev/null +++ b/tests/legacy/050.txt @@ -0,0 +1,3001 @@ +Message-Id: <4.2.0.58.20000519003934.00a866f0@pop.example.com> +X-Sender: dwsauder@pop.example.com (Unverified) +X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 +X-Priority: 2 (High) +Date: Fri, 19 May 2000 00:39:36 -0400 +To: Heinz =?iso-8859-1?Q?Müller?= +From: Doug Sauder +Subject: =?iso-8859-1?Q?Die_Hasen_und_die_Frösche?= +Mime-Version: 1.0 +Content-Type: multipart/related; + type="text/html"; + boundary="=====================_715546120==_.REL" + +--=====================_715546120==_.REL +Content-Type: text/html; charset="iso-8859-1" +Content-Transfer-Encoding: quoted-printable + + +3D"2aa658b6.png"
+
+Die Hasen und = +die +Fr=F6sche
+
+
Die Hasen klagten einst =FCber +ihre mi=DFliche Lage; "wir leben", sprach ein Redner, "in +steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, +ja fast aller Raubtiere! Unsere stete Angst ist =E4rger als der Tod selbst. +Auf, la=DFt uns ein f=FCr allemal sterben."
+
+In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu; +allein das au=DFerordentliche Get=F6se und ihre wunderbare Gestalt +erschreckte eine Menge Fr=F6sche, die am Ufer sa=DFen, so sehr, da=DF sie au= +fs +schnellste untertauchten.
+
+"Halt", rief nun eben dieser Sprecher, "wir wollen das +Ers=E4ufen noch ein wenig aufschieben, denn auch uns f=FCrchten, wie ihr +seht, einige Tiere, welche also wohl noch ungl=FCcklicher sein m=FCssen als +wir."
+
+3D"2aa658c0.png"
+ +--=====================_715546120==_.REL +Content-Type: image/png; name="2aa658b6.png" +Content-ID: <4.2.0.58.20000519003934.00a866f0@pop.example.com.2> +Content-Transfer-Encoding: base64 +Content-Disposition: inline; filename="2aa658b6.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAgAABAAABgAAAAA +CCkAEEIAEEoACDEAEFIIIXMIKXsIKYQIIWsAGFoACDkIIWMQOZwYQqUYQq0YQrUQOaUQMZQAGFIQ +MYwpUrU5Y8Y5Y84pWs4YSs4YQs4YQr1Ca8Z7nNacvd6Mtd5jlOcxa94hUt4YStYYQsYQMaUAACHO +5+/n7++cxu9ShO8pWucQOa1Ke86tzt6lzu9ajO8QMZxahNat1ufO7++Mve9Ke+8YOaUYSsaMvee1 +5++Uve8AAClajOdzpe9rnO8IKYwxY+8pWu8IIXsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAADBMg1VAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAu +MT1evmgAAAGISURBVHicddJtV5swGAbgEk6AJhBSk4bMCUynBSLaqovbrG/bfPn/vyh70lbssceb +L5xznTsh5BmNhgQoRChwo50EOIohUYLDj4zHhKYQkrEoQdvock4ne0IKMVUpKZLQDeqSTIsv+18P +yqqWUw2IBsRM7307PPp+fDJrWtnpLDJvewYxnewfnvanZ+fzpmwXijC8KbqEa3Fx2ff91Y95U9XC +UpaDeQwiMpHXP/v+1++bWVPWQoGFawtjury9vru/f/C1Vi7ezT0WWpQHf/7+u/G71aLThK/MjRxm +T6KdzZ9fGk9yatMsTgZLl3XVgFRAC6spj/13enssqJVtWVa3NdBSacL8+VZmYqKmdd1CSYoOiMOS +GwtzlqqlFFIuOqv0a1ZEZrUkWICLLFW266y1KvWE1zV/iDAH1EopnVLCiygZCIomH3NCKX0lnI+B +1iuuzCGTxwXjnDO4d7NpbX42YJJHkBwmAm2TxwAZg40J3+Xtbv1rgOAZwG0NxW62p+lT+Yi747sD +/wEUVMzYmWkOvwAAACV0RVh0Q29tbWVudABjbGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZz +O7wAAAAASUVORK5CYII= +--=====================_715546120==_.REL +Content-Type: image/png; name="2aa658c0.png" +Content-ID: <4.2.0.58.20000519003934.00a866f0@pop.example.com.3> +Content-Transfer-Encoding: base64 +Content-Disposition: inline; filename="2aa658c0.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAABAAALAAAVAAAa +AAAXAAARAAAKAAADAAAcAAAyAABEAABNAABIAAA9AAAjAAAWAAAmAABhAAB7AACGAACHAAB9AAB0 +AABgAAA5AAAUAAAGAAAnAABLAABvAACQAAClAAC7AAC/AACrAAChAACMAABzAABbAAAuAAAIAABM +AAB3AACZAAC0GRnKODjVPT3bKSndBQW4AACoAAB5AAAxAAAYAAAEAABFAACaAAC7JCTRYWHfhITm +f3/mVlbqHx/SAAC5AACjAABdAABCAAAoAAAJAABnAAC6Dw/QVFTek5PlrKzpmZntZWXvJSXXAADB +AACxAACcAABtAABTAAA2AAAbAAAFAABKAACBAADLICDdZ2fonJzrpqbtiorvUVHvFBTRAADDAAC2 +AAB4AABeAABAAAAiAABXAACSAADCAADaGxvoVVXseHjveHjvV1fvJibhAADOAAC3AACnAACVAABH +AAArAAAPAACdAADFAADhBQXrKCjvPDzvNTXvGxvjAADQAADJAAC1AACXAACEAABsAABPAAASAAAC +AABiAADpAADvAgLnAADYAADLAAC6AACwAABwAAATAAAkAABYAADIAADTAADNAACzAACDAABuAAAe +AAB+AADAAACkAACNAAB/AABpAABQAAAwAACRAACpAAC8AACqAACbAABlAABJAAAqAAAOAAA0AACs +AACvAACtAACmAACJAAB6AABrAABaAAA+AAApAABqAACCAACfAACeAACWAACPAAB8AAAZAAAHAABV +AACOAACKAAA4AAAQAAA/AAByAACAAABcAAA3AAAsAABmAABDAABWAAAgAAAzAAA8AAA6AAAfAAAM +AAAdAAANAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAD8LtlFAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAu +MT1evmgAAAIISURBVHicY2CAg/8QwIABmJhZWFnZ2Dk4MaU5uLh5eHn5+LkFBDlQJf8zC/EIi4iK +iUtI8koJScsgyf5nlpWTV1BUUlZRVVPX4NFk1UJIyghp6+jq6RsYGhmbKJgK85mZW8Dk/rNaSlhZ +29ja2Ts4Ojkr6Li4urFDNf53N/Ow8vTy9vH18w8IDAoWDQkNC4+ASP5ni4wKio6JjYtPSExKTnFW +SE1LF4A69n9GZlZ2Tm5efkFhUXFySWlZlEd5RSVY7j+TkGRVdU1tXX1DY1Ozcktpa1t7h2YnOAj+ +d7l1tyo79vT29SdNSJ44SbFVdHIo9xSIHNPUaWqTpifNSJrZnK00S0U1a/acUG5piNz/uXLzVJ2q +m6dXz584S2WB1cJFi5cshZr539xVftnyFKUVTi2TVjqvyhJLXb1m7TqoHPt6F/HW0g0bN63crGqV +tWXrtu07BJihcsw71+zanRW8Z89eq337RQ/Ip60xO3gIElX/LbikDm8T36KwbNmRo7O3zpHkPSZw +HBqL//8flz1x2OOkyKJTi7aqbzutfUZI2gIuF8F2lr/D5dw2+fZdwpl8YVOlI+CJ4/9/joOyYed5 +QzMvhGqnm2V0WiClm///D0lfXHtJ6vLlK9w7rx7vQk5SQJbFtSms1y9evXid7QZacgOxmSxktNzd +tSwwU+J/VICaCPFIYU3XAJhIOtjf5sfyAAAAJXRFWHRDb21tZW50AGNsaXAyZ2lmIHYuMC42IGJ5 +IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg== +--=====================_715546120==_.REL-- + + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 19, + "hour": 0, + "minute": 39, + "second": 36, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "dwsauder@example.com" + } + }, + "message_id": "4.2.0.58.20000519003934.00a866f0@pop.example.com", + "mime_version": "1.0", + "subject": "Die Hasen und die Frösche", + "to": { + "Address": { + "name": "Heinz Müller", + "address": "mueller@example.com" + } + }, + "content_type": { + "c_type": "multipart", + "c_subtype": "related", + "attributes": { + "boundary": "=====================_715546120==_.REL", + "type": "text/html" + } + }, + "others": { + "X-Sender": [ + "dwsauder@pop.example.com (Unverified)" + ], + "X-Mailer": [ + "QUALCOMM Windows Eudora Pro Version 4.2.0.58" + ], + "X-Priority": [ + "2 (High)" + ] + } + }, + "html_body": [ + { + "header": { + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "html", + "attributes": { + "charset": "iso-8859-1" + } + } + }, + "contents": "\n\"2aa658b6.png\"
\n
\nDie Hasen und die\nFrösche
\n
\n
Die Hasen klagten einst über\nihre mißliche Lage; "wir leben", sprach ein Redner, "in\nsteter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler,\nja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst.\nAuf, laßt uns ein für allemal sterben."
\n
\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu;\nallein das außerordentliche Getöse und ihre wunderbare Gestalt\nerschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs\nschnellste untertauchten.
\n
\n"Halt", rief nun eben dieser Sprecher, "wir wollen das\nErsäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr\nseht, einige Tiere, welche also wohl noch unglücklicher sein müssen als\nwir."
\n
\n\"2aa658c0.png\"
\n" + } + ], + "attachments": [ + { + "File": { + "header": { + "content_disposition": { + "c_type": "inline", + "attributes": { + "filename": "2aa658b6.png" + } + }, + "content_id": "4.2.0.58.20000519003934.00a866f0@pop.example.com.2", + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "2aa658b6.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 8, + 0, + 0, + 16, + 0, + 0, + 24, + 0, + 0, + 0, + 0, + 8, + 41, + 0, + 16, + 66, + 0, + 16, + 74, + 0, + 8, + 49, + 0, + 16, + 82, + 8, + 33, + 115, + 8, + 41, + 123, + 8, + 41, + 132, + 8, + 33, + 107, + 0, + 24, + 90, + 0, + 8, + 57, + 8, + 33, + 99, + 16, + 57, + 156, + 24, + 66, + 165, + 24, + 66, + 173, + 24, + 66, + 181, + 16, + 57, + 165, + 16, + 49, + 148, + 0, + 24, + 82, + 16, + 49, + 140, + 41, + 82, + 181, + 57, + 99, + 198, + 57, + 99, + 206, + 41, + 90, + 206, + 24, + 74, + 206, + 24, + 66, + 206, + 24, + 66, + 189, + 66, + 107, + 198, + 123, + 156, + 214, + 156, + 189, + 222, + 140, + 181, + 222, + 99, + 148, + 231, + 49, + 107, + 222, + 33, + 82, + 222, + 24, + 74, + 214, + 24, + 66, + 198, + 16, + 49, + 165, + 0, + 0, + 33, + 206, + 231, + 239, + 231, + 239, + 239, + 156, + 198, + 239, + 82, + 132, + 239, + 41, + 90, + 231, + 16, + 57, + 173, + 74, + 123, + 206, + 173, + 206, + 222, + 165, + 206, + 239, + 90, + 140, + 239, + 16, + 49, + 156, + 90, + 132, + 214, + 173, + 214, + 231, + 206, + 239, + 239, + 140, + 189, + 239, + 74, + 123, + 239, + 24, + 57, + 165, + 24, + 74, + 198, + 140, + 189, + 231, + 181, + 231, + 239, + 148, + 189, + 239, + 0, + 0, + 41, + 90, + 140, + 231, + 115, + 165, + 239, + 107, + 156, + 239, + 8, + 41, + 140, + 49, + 99, + 239, + 41, + 90, + 239, + 8, + 33, + 123, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 193, + 50, + 13, + 85, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 1, + 136, + 73, + 68, + 65, + 84, + 120, + 156, + 117, + 210, + 109, + 87, + 155, + 48, + 24, + 6, + 224, + 18, + 78, + 128, + 38, + 16, + 82, + 147, + 134, + 204, + 9, + 76, + 167, + 5, + 34, + 218, + 170, + 139, + 219, + 172, + 111, + 219, + 124, + 249, + 255, + 191, + 40, + 123, + 210, + 86, + 236, + 177, + 199, + 155, + 47, + 156, + 115, + 157, + 59, + 33, + 228, + 25, + 141, + 134, + 4, + 40, + 68, + 40, + 112, + 163, + 157, + 4, + 56, + 138, + 33, + 81, + 130, + 195, + 143, + 140, + 199, + 132, + 166, + 16, + 146, + 177, + 40, + 65, + 219, + 232, + 114, + 78, + 39, + 123, + 66, + 10, + 49, + 85, + 41, + 41, + 146, + 208, + 13, + 234, + 146, + 76, + 139, + 47, + 251, + 95, + 15, + 202, + 170, + 150, + 83, + 13, + 136, + 6, + 196, + 76, + 239, + 125, + 59, + 60, + 250, + 126, + 124, + 50, + 107, + 90, + 217, + 233, + 44, + 50, + 111, + 123, + 6, + 49, + 157, + 236, + 31, + 158, + 246, + 167, + 103, + 231, + 243, + 166, + 108, + 23, + 138, + 48, + 188, + 41, + 186, + 132, + 107, + 113, + 113, + 217, + 247, + 253, + 213, + 143, + 121, + 83, + 213, + 194, + 82, + 150, + 131, + 121, + 12, + 34, + 50, + 145, + 215, + 63, + 251, + 254, + 215, + 239, + 155, + 89, + 83, + 214, + 66, + 129, + 133, + 107, + 11, + 99, + 186, + 188, + 189, + 190, + 187, + 191, + 127, + 240, + 181, + 86, + 46, + 222, + 205, + 61, + 22, + 90, + 148, + 7, + 127, + 254, + 254, + 187, + 241, + 187, + 213, + 162, + 211, + 132, + 175, + 204, + 141, + 28, + 102, + 79, + 162, + 157, + 205, + 159, + 95, + 26, + 79, + 114, + 106, + 211, + 44, + 78, + 6, + 75, + 151, + 117, + 213, + 128, + 84, + 64, + 11, + 171, + 41, + 143, + 253, + 119, + 122, + 123, + 44, + 168, + 149, + 109, + 89, + 86, + 183, + 53, + 208, + 82, + 105, + 194, + 252, + 249, + 86, + 102, + 98, + 162, + 166, + 117, + 221, + 66, + 73, + 138, + 14, + 136, + 195, + 146, + 27, + 11, + 115, + 150, + 170, + 165, + 20, + 82, + 46, + 58, + 171, + 244, + 107, + 86, + 68, + 102, + 181, + 36, + 88, + 128, + 139, + 44, + 85, + 182, + 235, + 172, + 181, + 42, + 245, + 132, + 215, + 53, + 127, + 136, + 48, + 7, + 212, + 74, + 41, + 157, + 82, + 194, + 139, + 40, + 25, + 8, + 138, + 38, + 31, + 115, + 66, + 41, + 125, + 37, + 156, + 143, + 129, + 214, + 43, + 174, + 204, + 33, + 147, + 199, + 5, + 227, + 156, + 51, + 184, + 119, + 179, + 105, + 109, + 126, + 54, + 96, + 146, + 71, + 144, + 28, + 38, + 2, + 109, + 147, + 199, + 0, + 25, + 131, + 141, + 9, + 223, + 229, + 237, + 110, + 253, + 107, + 128, + 224, + 25, + 192, + 109, + 13, + 197, + 110, + 182, + 167, + 233, + 83, + 249, + 136, + 187, + 227, + 187, + 3, + 255, + 1, + 20, + 84, + 204, + 216, + 153, + 105, + 14, + 191, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + }, + { + "File": { + "header": { + "content_disposition": { + "c_type": "inline", + "attributes": { + "filename": "2aa658c0.png" + } + }, + "content_id": "4.2.0.58.20000519003934.00a866f0@pop.example.com.3", + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "2aa658c0.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 0, + 1, + 0, + 0, + 11, + 0, + 0, + 21, + 0, + 0, + 26, + 0, + 0, + 23, + 0, + 0, + 17, + 0, + 0, + 10, + 0, + 0, + 3, + 0, + 0, + 28, + 0, + 0, + 50, + 0, + 0, + 68, + 0, + 0, + 77, + 0, + 0, + 72, + 0, + 0, + 61, + 0, + 0, + 35, + 0, + 0, + 22, + 0, + 0, + 38, + 0, + 0, + 97, + 0, + 0, + 123, + 0, + 0, + 134, + 0, + 0, + 135, + 0, + 0, + 125, + 0, + 0, + 116, + 0, + 0, + 96, + 0, + 0, + 57, + 0, + 0, + 20, + 0, + 0, + 6, + 0, + 0, + 39, + 0, + 0, + 75, + 0, + 0, + 111, + 0, + 0, + 144, + 0, + 0, + 165, + 0, + 0, + 187, + 0, + 0, + 191, + 0, + 0, + 171, + 0, + 0, + 161, + 0, + 0, + 140, + 0, + 0, + 115, + 0, + 0, + 91, + 0, + 0, + 46, + 0, + 0, + 8, + 0, + 0, + 76, + 0, + 0, + 119, + 0, + 0, + 153, + 0, + 0, + 180, + 25, + 25, + 202, + 56, + 56, + 213, + 61, + 61, + 219, + 41, + 41, + 221, + 5, + 5, + 184, + 0, + 0, + 168, + 0, + 0, + 121, + 0, + 0, + 49, + 0, + 0, + 24, + 0, + 0, + 4, + 0, + 0, + 69, + 0, + 0, + 154, + 0, + 0, + 187, + 36, + 36, + 209, + 97, + 97, + 223, + 132, + 132, + 230, + 127, + 127, + 230, + 86, + 86, + 234, + 31, + 31, + 210, + 0, + 0, + 185, + 0, + 0, + 163, + 0, + 0, + 93, + 0, + 0, + 66, + 0, + 0, + 40, + 0, + 0, + 9, + 0, + 0, + 103, + 0, + 0, + 186, + 15, + 15, + 208, + 84, + 84, + 222, + 147, + 147, + 229, + 172, + 172, + 233, + 153, + 153, + 237, + 101, + 101, + 239, + 37, + 37, + 215, + 0, + 0, + 193, + 0, + 0, + 177, + 0, + 0, + 156, + 0, + 0, + 109, + 0, + 0, + 83, + 0, + 0, + 54, + 0, + 0, + 27, + 0, + 0, + 5, + 0, + 0, + 74, + 0, + 0, + 129, + 0, + 0, + 203, + 32, + 32, + 221, + 103, + 103, + 232, + 156, + 156, + 235, + 166, + 166, + 237, + 138, + 138, + 239, + 81, + 81, + 239, + 20, + 20, + 209, + 0, + 0, + 195, + 0, + 0, + 182, + 0, + 0, + 120, + 0, + 0, + 94, + 0, + 0, + 64, + 0, + 0, + 34, + 0, + 0, + 87, + 0, + 0, + 146, + 0, + 0, + 194, + 0, + 0, + 218, + 27, + 27, + 232, + 85, + 85, + 236, + 120, + 120, + 239, + 120, + 120, + 239, + 87, + 87, + 239, + 38, + 38, + 225, + 0, + 0, + 206, + 0, + 0, + 183, + 0, + 0, + 167, + 0, + 0, + 149, + 0, + 0, + 71, + 0, + 0, + 43, + 0, + 0, + 15, + 0, + 0, + 157, + 0, + 0, + 197, + 0, + 0, + 225, + 5, + 5, + 235, + 40, + 40, + 239, + 60, + 60, + 239, + 53, + 53, + 239, + 27, + 27, + 227, + 0, + 0, + 208, + 0, + 0, + 201, + 0, + 0, + 181, + 0, + 0, + 151, + 0, + 0, + 132, + 0, + 0, + 108, + 0, + 0, + 79, + 0, + 0, + 18, + 0, + 0, + 2, + 0, + 0, + 98, + 0, + 0, + 233, + 0, + 0, + 239, + 2, + 2, + 231, + 0, + 0, + 216, + 0, + 0, + 203, + 0, + 0, + 186, + 0, + 0, + 176, + 0, + 0, + 112, + 0, + 0, + 19, + 0, + 0, + 36, + 0, + 0, + 88, + 0, + 0, + 200, + 0, + 0, + 211, + 0, + 0, + 205, + 0, + 0, + 179, + 0, + 0, + 131, + 0, + 0, + 110, + 0, + 0, + 30, + 0, + 0, + 126, + 0, + 0, + 192, + 0, + 0, + 164, + 0, + 0, + 141, + 0, + 0, + 127, + 0, + 0, + 105, + 0, + 0, + 80, + 0, + 0, + 48, + 0, + 0, + 145, + 0, + 0, + 169, + 0, + 0, + 188, + 0, + 0, + 170, + 0, + 0, + 155, + 0, + 0, + 101, + 0, + 0, + 73, + 0, + 0, + 42, + 0, + 0, + 14, + 0, + 0, + 52, + 0, + 0, + 172, + 0, + 0, + 175, + 0, + 0, + 173, + 0, + 0, + 166, + 0, + 0, + 137, + 0, + 0, + 122, + 0, + 0, + 107, + 0, + 0, + 90, + 0, + 0, + 62, + 0, + 0, + 41, + 0, + 0, + 106, + 0, + 0, + 130, + 0, + 0, + 159, + 0, + 0, + 158, + 0, + 0, + 150, + 0, + 0, + 143, + 0, + 0, + 124, + 0, + 0, + 25, + 0, + 0, + 7, + 0, + 0, + 85, + 0, + 0, + 142, + 0, + 0, + 138, + 0, + 0, + 56, + 0, + 0, + 16, + 0, + 0, + 63, + 0, + 0, + 114, + 0, + 0, + 128, + 0, + 0, + 92, + 0, + 0, + 55, + 0, + 0, + 44, + 0, + 0, + 102, + 0, + 0, + 67, + 0, + 0, + 86, + 0, + 0, + 32, + 0, + 0, + 51, + 0, + 0, + 60, + 0, + 0, + 58, + 0, + 0, + 31, + 0, + 0, + 12, + 0, + 0, + 29, + 0, + 0, + 13, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 252, + 46, + 217, + 69, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 2, + 8, + 73, + 68, + 65, + 84, + 120, + 156, + 99, + 96, + 128, + 131, + 255, + 16, + 192, + 128, + 1, + 152, + 152, + 89, + 88, + 89, + 217, + 216, + 57, + 56, + 49, + 165, + 57, + 184, + 184, + 121, + 120, + 121, + 249, + 248, + 185, + 5, + 4, + 57, + 80, + 37, + 255, + 51, + 11, + 241, + 8, + 139, + 136, + 138, + 137, + 75, + 72, + 242, + 74, + 9, + 73, + 203, + 32, + 201, + 254, + 103, + 150, + 149, + 147, + 87, + 80, + 84, + 82, + 86, + 81, + 85, + 83, + 215, + 224, + 209, + 100, + 213, + 66, + 72, + 202, + 8, + 105, + 235, + 232, + 234, + 233, + 27, + 24, + 26, + 25, + 155, + 40, + 152, + 10, + 243, + 153, + 153, + 91, + 192, + 228, + 254, + 179, + 90, + 74, + 88, + 89, + 219, + 216, + 218, + 217, + 59, + 56, + 58, + 57, + 43, + 232, + 184, + 184, + 186, + 177, + 67, + 53, + 254, + 119, + 55, + 243, + 176, + 242, + 244, + 242, + 246, + 241, + 245, + 243, + 15, + 8, + 12, + 10, + 22, + 13, + 9, + 13, + 11, + 143, + 128, + 72, + 254, + 103, + 139, + 140, + 10, + 138, + 142, + 137, + 141, + 139, + 79, + 72, + 76, + 74, + 78, + 113, + 86, + 72, + 77, + 75, + 23, + 128, + 58, + 246, + 127, + 70, + 102, + 86, + 118, + 78, + 110, + 94, + 126, + 65, + 97, + 81, + 113, + 114, + 73, + 105, + 89, + 148, + 71, + 121, + 69, + 37, + 88, + 238, + 63, + 147, + 144, + 100, + 85, + 117, + 77, + 109, + 93, + 125, + 67, + 99, + 83, + 179, + 114, + 75, + 105, + 107, + 91, + 123, + 135, + 102, + 39, + 56, + 8, + 254, + 119, + 185, + 117, + 183, + 42, + 59, + 246, + 244, + 246, + 245, + 39, + 77, + 72, + 158, + 56, + 73, + 177, + 85, + 116, + 114, + 40, + 247, + 20, + 136, + 28, + 211, + 212, + 105, + 106, + 147, + 166, + 39, + 205, + 72, + 154, + 217, + 156, + 173, + 52, + 75, + 69, + 53, + 107, + 246, + 156, + 80, + 110, + 105, + 136, + 220, + 255, + 185, + 114, + 243, + 84, + 157, + 170, + 155, + 167, + 87, + 207, + 159, + 56, + 75, + 101, + 129, + 213, + 194, + 69, + 139, + 151, + 44, + 133, + 154, + 249, + 223, + 220, + 85, + 126, + 217, + 242, + 20, + 165, + 21, + 78, + 45, + 147, + 86, + 58, + 175, + 202, + 18, + 75, + 93, + 189, + 102, + 237, + 58, + 168, + 28, + 251, + 122, + 23, + 241, + 214, + 210, + 13, + 27, + 55, + 173, + 220, + 172, + 106, + 149, + 181, + 101, + 235, + 182, + 237, + 59, + 4, + 152, + 161, + 114, + 204, + 59, + 215, + 236, + 218, + 157, + 21, + 188, + 103, + 207, + 94, + 171, + 125, + 251, + 69, + 15, + 200, + 167, + 173, + 49, + 59, + 120, + 8, + 18, + 85, + 255, + 45, + 184, + 164, + 14, + 111, + 19, + 223, + 162, + 176, + 108, + 217, + 145, + 163, + 179, + 183, + 206, + 145, + 228, + 61, + 38, + 112, + 28, + 26, + 139, + 255, + 255, + 31, + 151, + 61, + 113, + 216, + 227, + 164, + 200, + 162, + 83, + 139, + 182, + 170, + 111, + 59, + 173, + 125, + 70, + 72, + 218, + 2, + 46, + 23, + 193, + 118, + 150, + 191, + 195, + 229, + 220, + 54, + 249, + 246, + 93, + 194, + 153, + 124, + 97, + 83, + 165, + 35, + 224, + 137, + 227, + 255, + 127, + 142, + 131, + 178, + 97, + 231, + 121, + 67, + 51, + 47, + 132, + 106, + 167, + 155, + 101, + 116, + 90, + 32, + 165, + 155, + 255, + 255, + 15, + 73, + 95, + 92, + 123, + 73, + 234, + 242, + 229, + 43, + 220, + 59, + 175, + 30, + 239, + 66, + 78, + 82, + 64, + 150, + 197, + 181, + 41, + 172, + 215, + 47, + 94, + 189, + 120, + 157, + 237, + 6, + 90, + 114, + 3, + 177, + 153, + 44, + 100, + 180, + 220, + 221, + 181, + 44, + 48, + 83, + 226, + 127, + 84, + 128, + 154, + 8, + 241, + 72, + 97, + 77, + 215, + 0, + 152, + 72, + 58, + 216, + 223, + 230, + 199, + 242, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + } + ] +} \ No newline at end of file diff --git a/tests/legacy/051.txt b/tests/legacy/051.txt new file mode 100644 index 0000000..cef04cf --- /dev/null +++ b/tests/legacy/051.txt @@ -0,0 +1,5719 @@ +Message-Id: <4.2.0.58.20000519003903.00a859b0@pop.example.com> +X-Sender: dwsauder@pop.example.com (Unverified) +X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 +X-Priority: 2 (High) +Date: Fri, 19 May 2000 00:39:05 -0400 +To: Heinz =?iso-8859-1?Q?Müller?= +From: Doug Sauder +Subject: =?iso-8859-1?Q?Die_Hasen_und_die_Frösche?= +Mime-Version: 1.0 +Content-Type: multipart/mixed; + boundary="=====================_715515186==_" + +--=====================_715515186==_ +Content-Type: multipart/related; + type="text/plain"; + boundary="=====================_715515186==_.REL" + +--=====================_715515186==_.REL +Content-Type: text/plain; charset="iso-8859-1" +Content-Transfer-Encoding: quoted-printable + +Die Hasen und die Fr=F6sche + +Die Hasen klagten einst =FCber ihre mi=DFliche Lage; "wir leben", sprach ein= + Redner, "in steter Furcht vor Menschen und Tieren, eine Beute der Hunde,= + der Adler, ja fast aller Raubtiere! Unsere stete Angst ist =E4rger als der= + Tod selbst. Auf, la=DFt uns ein f=FCr allemal sterben."=20 + +In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu;= + allein das au=DFerordentliche Get=F6se und ihre wunderbare Gestalt= + erschreckte eine Menge Fr=F6sche, die am Ufer sa=DFen, so sehr, da=DF sie= + aufs schnellste untertauchten.=20 + +"Halt", rief nun eben dieser Sprecher, "wir wollen das Ers=E4ufen noch ein= + wenig aufschieben, denn auch uns f=FCrchten, wie ihr seht, einige Tiere,= + welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."=20 + +2aa5e03a.png2aa5e044.png +--=====================_715515186==_.REL +Content-Type: image/png; name="2aa5e03a.png" +Content-ID: <4.2.0.58.20000519003903.00a859b0@pop.example.com.2> +Content-Transfer-Encoding: base64 +Content-Disposition: inline; filename="2aa5e03a.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAgAABAAABgAAAAA +CCkAEEIAEEoACDEAEFIIIXMIKXsIKYQIIWsAGFoACDkIIWMQOZwYQqUYQq0YQrUQOaUQMZQAGFIQ +MYwpUrU5Y8Y5Y84pWs4YSs4YQs4YQr1Ca8Z7nNacvd6Mtd5jlOcxa94hUt4YStYYQsYQMaUAACHO +5+/n7++cxu9ShO8pWucQOa1Ke86tzt6lzu9ajO8QMZxahNat1ufO7++Mve9Ke+8YOaUYSsaMvee1 +5++Uve8AAClajOdzpe9rnO8IKYwxY+8pWu8IIXsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAADBMg1VAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAu +MT1evmgAAAGISURBVHicddJtV5swGAbgEk6AJhBSk4bMCUynBSLaqovbrG/bfPn/vyh70lbssceb +L5xznTsh5BmNhgQoRChwo50EOIohUYLDj4zHhKYQkrEoQdvock4ne0IKMVUpKZLQDeqSTIsv+18P +yqqWUw2IBsRM7307PPp+fDJrWtnpLDJvewYxnewfnvanZ+fzpmwXijC8KbqEa3Fx2ff91Y95U9XC +UpaDeQwiMpHXP/v+1++bWVPWQoGFawtjury9vru/f/C1Vi7ezT0WWpQHf/7+u/G71aLThK/MjRxm +T6KdzZ9fGk9yatMsTgZLl3XVgFRAC6spj/13enssqJVtWVa3NdBSacL8+VZmYqKmdd1CSYoOiMOS +GwtzlqqlFFIuOqv0a1ZEZrUkWICLLFW266y1KvWE1zV/iDAH1EopnVLCiygZCIomH3NCKX0lnI+B +1iuuzCGTxwXjnDO4d7NpbX42YJJHkBwmAm2TxwAZg40J3+Xtbv1rgOAZwG0NxW62p+lT+Yi747sD +/wEUVMzYmWkOvwAAACV0RVh0Q29tbWVudABjbGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZz +O7wAAAAASUVORK5CYII= +--=====================_715515186==_.REL +Content-Type: image/png; name="2aa5e044.png" +Content-ID: <4.2.0.58.20000519003903.00a859b0@pop.example.com.3> +Content-Transfer-Encoding: base64 +Content-Disposition: inline; filename="2aa5e044.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAABAAALAAAVAAAa +AAAXAAARAAAKAAADAAAcAAAyAABEAABNAABIAAA9AAAjAAAWAAAmAABhAAB7AACGAACHAAB9AAB0 +AABgAAA5AAAUAAAGAAAnAABLAABvAACQAAClAAC7AAC/AACrAAChAACMAABzAABbAAAuAAAIAABM +AAB3AACZAAC0GRnKODjVPT3bKSndBQW4AACoAAB5AAAxAAAYAAAEAABFAACaAAC7JCTRYWHfhITm +f3/mVlbqHx/SAAC5AACjAABdAABCAAAoAAAJAABnAAC6Dw/QVFTek5PlrKzpmZntZWXvJSXXAADB +AACxAACcAABtAABTAAA2AAAbAAAFAABKAACBAADLICDdZ2fonJzrpqbtiorvUVHvFBTRAADDAAC2 +AAB4AABeAABAAAAiAABXAACSAADCAADaGxvoVVXseHjveHjvV1fvJibhAADOAAC3AACnAACVAABH +AAArAAAPAACdAADFAADhBQXrKCjvPDzvNTXvGxvjAADQAADJAAC1AACXAACEAABsAABPAAASAAAC +AABiAADpAADvAgLnAADYAADLAAC6AACwAABwAAATAAAkAABYAADIAADTAADNAACzAACDAABuAAAe +AAB+AADAAACkAACNAAB/AABpAABQAAAwAACRAACpAAC8AACqAACbAABlAABJAAAqAAAOAAA0AACs +AACvAACtAACmAACJAAB6AABrAABaAAA+AAApAABqAACCAACfAACeAACWAACPAAB8AAAZAAAHAABV +AACOAACKAAA4AAAQAAA/AAByAACAAABcAAA3AAAsAABmAABDAABWAAAgAAAzAAA8AAA6AAAfAAAM +AAAdAAANAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAD8LtlFAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAu +MT1evmgAAAIISURBVHicY2CAg/8QwIABmJhZWFnZ2Dk4MaU5uLh5eHn5+LkFBDlQJf8zC/EIi4iK +iUtI8koJScsgyf5nlpWTV1BUUlZRVVPX4NFk1UJIyghp6+jq6RsYGhmbKJgK85mZW8Dk/rNaSlhZ +29ja2Ts4Ojkr6Li4urFDNf53N/Ow8vTy9vH18w8IDAoWDQkNC4+ASP5ni4wKio6JjYtPSExKTnFW +SE1LF4A69n9GZlZ2Tm5efkFhUXFySWlZlEd5RSVY7j+TkGRVdU1tXX1DY1Ozcktpa1t7h2YnOAj+ +d7l1tyo79vT29SdNSJ44SbFVdHIo9xSIHNPUaWqTpifNSJrZnK00S0U1a/acUG5piNz/uXLzVJ2q +m6dXz584S2WB1cJFi5cshZr539xVftnyFKUVTi2TVjqvyhJLXb1m7TqoHPt6F/HW0g0bN63crGqV +tWXrtu07BJihcsw71+zanRW8Z89eq337RQ/Ip60xO3gIElX/LbikDm8T36KwbNmRo7O3zpHkPSZw +HBqL//8flz1x2OOkyKJTi7aqbzutfUZI2gIuF8F2lr/D5dw2+fZdwpl8YVOlI+CJ4/9/joOyYed5 +QzMvhGqnm2V0WiClm///D0lfXHtJ6vLlK9w7rx7vQk5SQJbFtSms1y9evXid7QZacgOxmSxktNzd +tSwwU+J/VICaCPFIYU3XAJhIOtjf5sfyAAAAJXRFWHRDb21tZW50AGNsaXAyZ2lmIHYuMC42IGJ5 +IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg== +--=====================_715515186==_.REL-- + +--=====================_715515186==_ +Content-Type: image/png; name="blueball.png" +Content-Transfer-Encoding: base64 +Content-Disposition: attachment; filename="blueball.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAgAABAAABgAAAAA +CCkAEEIAEEoACDEAEFIIIXMIKXsIKYQIIWsAGFoACDkIIWMQOZwYQqUYQq0YQrUQOaUQMZQAGFIQ +MYwpUrU5Y8Y5Y84pWs4YSs4YQs4YQr1Ca8Z7nNacvd6Mtd5jlOcxa94hUt4YStYYQsYQMaUAACHO +5+/n7++cxu9ShO8pWucQOa1Ke86tzt6lzu9ajO8QMZxahNat1ufO7++Mve9Ke+8YOaUYSsaMvee1 +5++Uve8AAClajOdzpe9rnO8IKYwxY+8pWu8IIXsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAADBMg1VAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAu +MT1evmgAAAGISURBVHicddJtV5swGAbgEk6AJhBSk4bMCUynBSLaqovbrG/bfPn/vyh70lbssceb +L5xznTsh5BmNhgQoRChwo50EOIohUYLDj4zHhKYQkrEoQdvock4ne0IKMVUpKZLQDeqSTIsv+18P +yqqWUw2IBsRM7307PPp+fDJrWtnpLDJvewYxnewfnvanZ+fzpmwXijC8KbqEa3Fx2ff91Y95U9XC +UpaDeQwiMpHXP/v+1++bWVPWQoGFawtjury9vru/f/C1Vi7ezT0WWpQHf/7+u/G71aLThK/MjRxm +T6KdzZ9fGk9yatMsTgZLl3XVgFRAC6spj/13enssqJVtWVa3NdBSacL8+VZmYqKmdd1CSYoOiMOS +GwtzlqqlFFIuOqv0a1ZEZrUkWICLLFW266y1KvWE1zV/iDAH1EopnVLCiygZCIomH3NCKX0lnI+B +1iuuzCGTxwXjnDO4d7NpbX42YJJHkBwmAm2TxwAZg40J3+Xtbv1rgOAZwG0NxW62p+lT+Yi747sD +/wEUVMzYmWkOvwAAACV0RVh0Q29tbWVudABjbGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZz +O7wAAAAASUVORK5CYII= +--=====================_715515186==_ +Content-Type: image/png; name="greenball.png" +Content-Transfer-Encoding: base64 +Content-Disposition: attachment; filename="greenball.png" + +iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAAAEAAAGAAAIQAA +CAAAMQAAQgAAUgAAWgAASgAIYwAIcwAIewAQjAAIawAAOQAAYwAQlAAQnAAhpQAQpQAhrQBCvRhj +xjFjxjlSxiEpzgAYvQAQrQAYrQAhvQCU1mOt1nuE1lJK3hgh1gAYxgAYtQAAKQBCzhDO55Te563G +55SU52NS5yEh3gAYzgBS3iGc52vW75y974yE71JC7xCt73ul3nNa7ykh5wAY1gAx5wBS7yFr7zlK +7xgp5wAp7wAx7wAIhAAQtQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA +AAAAAAAAAAAAAAAp1fnZAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAu +MT1evmgAAAFtSURBVHicddJtV8IgFAdwD2zIgMEE1+NcqdsoK+m5tCyz7/+ZiLmHsyzvq53zO/cy ++N9ery1bVe9PWQA9z4MQ+H8Yoj7GASZ95IHfaBGmLOSchyIgyOu22mgQSjUcDuNYcoGjLiLK1cHh +0fHJaTKKOcMItgYxT89OzsfjyTTLC8UF0c2ZNmKquJhczq6ub+YmSVUYRF59GeDastu7+9nD41Nm +kiJ2jc2J3kAWZ9Pr55fH18XSmRuKUTXUaqHy7O19tfr4NFle/w3YDrWRUIlZrL/W86XJkyJVG9Ea +EjIx2XyZmZJGioeUaL+2AY8TY8omR6nkLKhu70zjUKVJXsp3quS2DVSJWNh3zzJKCyexI0ZxBP3a +fE0ElyqOlZJyw8r3BE2SFiJCyxA434SCkg65RhdeQBljQtCg39LWrA90RDDG1EWrYUO23hMANUKR +Rl61E529cR++D2G5LK002dr/qrcfu9u0V3bxn/XdhR/NYeeN0ggsLAAAACV0RVh0Q29tbWVudABj +bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII= +--=====================_715515186==_-- + + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 19, + "hour": 0, + "minute": 39, + "second": 5, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "dwsauder@example.com" + } + }, + "message_id": "4.2.0.58.20000519003903.00a859b0@pop.example.com", + "mime_version": "1.0", + "subject": "Die Hasen und die Frösche", + "to": { + "Address": { + "name": "Heinz Müller", + "address": "mueller@example.com" + } + }, + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "=====================_715515186==_" + } + }, + "others": { + "X-Sender": [ + "dwsauder@pop.example.com (Unverified)" + ], + "X-Mailer": [ + "QUALCOMM Windows Eudora Pro Version 4.2.0.58" + ], + "X-Priority": [ + "2 (High)" + ] + } + }, + "text_body": [ + { + "header": { + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "iso-8859-1" + } + } + }, + "contents": "Die Hasen und die Frösche\n\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst. Auf, laßt uns ein für allemal sterben.\" \n\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; allein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste untertauchten. \n\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, welche also wohl noch unglücklicher sein müssen als wir.\" \n\n2aa5e03a.png2aa5e044.png" + } + ], + "attachments": [ + { + "File": { + "header": { + "content_disposition": { + "c_type": "inline", + "attributes": { + "filename": "2aa5e03a.png" + } + }, + "content_id": "4.2.0.58.20000519003903.00a859b0@pop.example.com.2", + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "2aa5e03a.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 8, + 0, + 0, + 16, + 0, + 0, + 24, + 0, + 0, + 0, + 0, + 8, + 41, + 0, + 16, + 66, + 0, + 16, + 74, + 0, + 8, + 49, + 0, + 16, + 82, + 8, + 33, + 115, + 8, + 41, + 123, + 8, + 41, + 132, + 8, + 33, + 107, + 0, + 24, + 90, + 0, + 8, + 57, + 8, + 33, + 99, + 16, + 57, + 156, + 24, + 66, + 165, + 24, + 66, + 173, + 24, + 66, + 181, + 16, + 57, + 165, + 16, + 49, + 148, + 0, + 24, + 82, + 16, + 49, + 140, + 41, + 82, + 181, + 57, + 99, + 198, + 57, + 99, + 206, + 41, + 90, + 206, + 24, + 74, + 206, + 24, + 66, + 206, + 24, + 66, + 189, + 66, + 107, + 198, + 123, + 156, + 214, + 156, + 189, + 222, + 140, + 181, + 222, + 99, + 148, + 231, + 49, + 107, + 222, + 33, + 82, + 222, + 24, + 74, + 214, + 24, + 66, + 198, + 16, + 49, + 165, + 0, + 0, + 33, + 206, + 231, + 239, + 231, + 239, + 239, + 156, + 198, + 239, + 82, + 132, + 239, + 41, + 90, + 231, + 16, + 57, + 173, + 74, + 123, + 206, + 173, + 206, + 222, + 165, + 206, + 239, + 90, + 140, + 239, + 16, + 49, + 156, + 90, + 132, + 214, + 173, + 214, + 231, + 206, + 239, + 239, + 140, + 189, + 239, + 74, + 123, + 239, + 24, + 57, + 165, + 24, + 74, + 198, + 140, + 189, + 231, + 181, + 231, + 239, + 148, + 189, + 239, + 0, + 0, + 41, + 90, + 140, + 231, + 115, + 165, + 239, + 107, + 156, + 239, + 8, + 41, + 140, + 49, + 99, + 239, + 41, + 90, + 239, + 8, + 33, + 123, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 193, + 50, + 13, + 85, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 1, + 136, + 73, + 68, + 65, + 84, + 120, + 156, + 117, + 210, + 109, + 87, + 155, + 48, + 24, + 6, + 224, + 18, + 78, + 128, + 38, + 16, + 82, + 147, + 134, + 204, + 9, + 76, + 167, + 5, + 34, + 218, + 170, + 139, + 219, + 172, + 111, + 219, + 124, + 249, + 255, + 191, + 40, + 123, + 210, + 86, + 236, + 177, + 199, + 155, + 47, + 156, + 115, + 157, + 59, + 33, + 228, + 25, + 141, + 134, + 4, + 40, + 68, + 40, + 112, + 163, + 157, + 4, + 56, + 138, + 33, + 81, + 130, + 195, + 143, + 140, + 199, + 132, + 166, + 16, + 146, + 177, + 40, + 65, + 219, + 232, + 114, + 78, + 39, + 123, + 66, + 10, + 49, + 85, + 41, + 41, + 146, + 208, + 13, + 234, + 146, + 76, + 139, + 47, + 251, + 95, + 15, + 202, + 170, + 150, + 83, + 13, + 136, + 6, + 196, + 76, + 239, + 125, + 59, + 60, + 250, + 126, + 124, + 50, + 107, + 90, + 217, + 233, + 44, + 50, + 111, + 123, + 6, + 49, + 157, + 236, + 31, + 158, + 246, + 167, + 103, + 231, + 243, + 166, + 108, + 23, + 138, + 48, + 188, + 41, + 186, + 132, + 107, + 113, + 113, + 217, + 247, + 253, + 213, + 143, + 121, + 83, + 213, + 194, + 82, + 150, + 131, + 121, + 12, + 34, + 50, + 145, + 215, + 63, + 251, + 254, + 215, + 239, + 155, + 89, + 83, + 214, + 66, + 129, + 133, + 107, + 11, + 99, + 186, + 188, + 189, + 190, + 187, + 191, + 127, + 240, + 181, + 86, + 46, + 222, + 205, + 61, + 22, + 90, + 148, + 7, + 127, + 254, + 254, + 187, + 241, + 187, + 213, + 162, + 211, + 132, + 175, + 204, + 141, + 28, + 102, + 79, + 162, + 157, + 205, + 159, + 95, + 26, + 79, + 114, + 106, + 211, + 44, + 78, + 6, + 75, + 151, + 117, + 213, + 128, + 84, + 64, + 11, + 171, + 41, + 143, + 253, + 119, + 122, + 123, + 44, + 168, + 149, + 109, + 89, + 86, + 183, + 53, + 208, + 82, + 105, + 194, + 252, + 249, + 86, + 102, + 98, + 162, + 166, + 117, + 221, + 66, + 73, + 138, + 14, + 136, + 195, + 146, + 27, + 11, + 115, + 150, + 170, + 165, + 20, + 82, + 46, + 58, + 171, + 244, + 107, + 86, + 68, + 102, + 181, + 36, + 88, + 128, + 139, + 44, + 85, + 182, + 235, + 172, + 181, + 42, + 245, + 132, + 215, + 53, + 127, + 136, + 48, + 7, + 212, + 74, + 41, + 157, + 82, + 194, + 139, + 40, + 25, + 8, + 138, + 38, + 31, + 115, + 66, + 41, + 125, + 37, + 156, + 143, + 129, + 214, + 43, + 174, + 204, + 33, + 147, + 199, + 5, + 227, + 156, + 51, + 184, + 119, + 179, + 105, + 109, + 126, + 54, + 96, + 146, + 71, + 144, + 28, + 38, + 2, + 109, + 147, + 199, + 0, + 25, + 131, + 141, + 9, + 223, + 229, + 237, + 110, + 253, + 107, + 128, + 224, + 25, + 192, + 109, + 13, + 197, + 110, + 182, + 167, + 233, + 83, + 249, + 136, + 187, + 227, + 187, + 3, + 255, + 1, + 20, + 84, + 204, + 216, + 153, + 105, + 14, + 191, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + }, + { + "File": { + "header": { + "content_disposition": { + "c_type": "inline", + "attributes": { + "filename": "2aa5e044.png" + } + }, + "content_id": "4.2.0.58.20000519003903.00a859b0@pop.example.com.3", + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "2aa5e044.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 0, + 1, + 0, + 0, + 11, + 0, + 0, + 21, + 0, + 0, + 26, + 0, + 0, + 23, + 0, + 0, + 17, + 0, + 0, + 10, + 0, + 0, + 3, + 0, + 0, + 28, + 0, + 0, + 50, + 0, + 0, + 68, + 0, + 0, + 77, + 0, + 0, + 72, + 0, + 0, + 61, + 0, + 0, + 35, + 0, + 0, + 22, + 0, + 0, + 38, + 0, + 0, + 97, + 0, + 0, + 123, + 0, + 0, + 134, + 0, + 0, + 135, + 0, + 0, + 125, + 0, + 0, + 116, + 0, + 0, + 96, + 0, + 0, + 57, + 0, + 0, + 20, + 0, + 0, + 6, + 0, + 0, + 39, + 0, + 0, + 75, + 0, + 0, + 111, + 0, + 0, + 144, + 0, + 0, + 165, + 0, + 0, + 187, + 0, + 0, + 191, + 0, + 0, + 171, + 0, + 0, + 161, + 0, + 0, + 140, + 0, + 0, + 115, + 0, + 0, + 91, + 0, + 0, + 46, + 0, + 0, + 8, + 0, + 0, + 76, + 0, + 0, + 119, + 0, + 0, + 153, + 0, + 0, + 180, + 25, + 25, + 202, + 56, + 56, + 213, + 61, + 61, + 219, + 41, + 41, + 221, + 5, + 5, + 184, + 0, + 0, + 168, + 0, + 0, + 121, + 0, + 0, + 49, + 0, + 0, + 24, + 0, + 0, + 4, + 0, + 0, + 69, + 0, + 0, + 154, + 0, + 0, + 187, + 36, + 36, + 209, + 97, + 97, + 223, + 132, + 132, + 230, + 127, + 127, + 230, + 86, + 86, + 234, + 31, + 31, + 210, + 0, + 0, + 185, + 0, + 0, + 163, + 0, + 0, + 93, + 0, + 0, + 66, + 0, + 0, + 40, + 0, + 0, + 9, + 0, + 0, + 103, + 0, + 0, + 186, + 15, + 15, + 208, + 84, + 84, + 222, + 147, + 147, + 229, + 172, + 172, + 233, + 153, + 153, + 237, + 101, + 101, + 239, + 37, + 37, + 215, + 0, + 0, + 193, + 0, + 0, + 177, + 0, + 0, + 156, + 0, + 0, + 109, + 0, + 0, + 83, + 0, + 0, + 54, + 0, + 0, + 27, + 0, + 0, + 5, + 0, + 0, + 74, + 0, + 0, + 129, + 0, + 0, + 203, + 32, + 32, + 221, + 103, + 103, + 232, + 156, + 156, + 235, + 166, + 166, + 237, + 138, + 138, + 239, + 81, + 81, + 239, + 20, + 20, + 209, + 0, + 0, + 195, + 0, + 0, + 182, + 0, + 0, + 120, + 0, + 0, + 94, + 0, + 0, + 64, + 0, + 0, + 34, + 0, + 0, + 87, + 0, + 0, + 146, + 0, + 0, + 194, + 0, + 0, + 218, + 27, + 27, + 232, + 85, + 85, + 236, + 120, + 120, + 239, + 120, + 120, + 239, + 87, + 87, + 239, + 38, + 38, + 225, + 0, + 0, + 206, + 0, + 0, + 183, + 0, + 0, + 167, + 0, + 0, + 149, + 0, + 0, + 71, + 0, + 0, + 43, + 0, + 0, + 15, + 0, + 0, + 157, + 0, + 0, + 197, + 0, + 0, + 225, + 5, + 5, + 235, + 40, + 40, + 239, + 60, + 60, + 239, + 53, + 53, + 239, + 27, + 27, + 227, + 0, + 0, + 208, + 0, + 0, + 201, + 0, + 0, + 181, + 0, + 0, + 151, + 0, + 0, + 132, + 0, + 0, + 108, + 0, + 0, + 79, + 0, + 0, + 18, + 0, + 0, + 2, + 0, + 0, + 98, + 0, + 0, + 233, + 0, + 0, + 239, + 2, + 2, + 231, + 0, + 0, + 216, + 0, + 0, + 203, + 0, + 0, + 186, + 0, + 0, + 176, + 0, + 0, + 112, + 0, + 0, + 19, + 0, + 0, + 36, + 0, + 0, + 88, + 0, + 0, + 200, + 0, + 0, + 211, + 0, + 0, + 205, + 0, + 0, + 179, + 0, + 0, + 131, + 0, + 0, + 110, + 0, + 0, + 30, + 0, + 0, + 126, + 0, + 0, + 192, + 0, + 0, + 164, + 0, + 0, + 141, + 0, + 0, + 127, + 0, + 0, + 105, + 0, + 0, + 80, + 0, + 0, + 48, + 0, + 0, + 145, + 0, + 0, + 169, + 0, + 0, + 188, + 0, + 0, + 170, + 0, + 0, + 155, + 0, + 0, + 101, + 0, + 0, + 73, + 0, + 0, + 42, + 0, + 0, + 14, + 0, + 0, + 52, + 0, + 0, + 172, + 0, + 0, + 175, + 0, + 0, + 173, + 0, + 0, + 166, + 0, + 0, + 137, + 0, + 0, + 122, + 0, + 0, + 107, + 0, + 0, + 90, + 0, + 0, + 62, + 0, + 0, + 41, + 0, + 0, + 106, + 0, + 0, + 130, + 0, + 0, + 159, + 0, + 0, + 158, + 0, + 0, + 150, + 0, + 0, + 143, + 0, + 0, + 124, + 0, + 0, + 25, + 0, + 0, + 7, + 0, + 0, + 85, + 0, + 0, + 142, + 0, + 0, + 138, + 0, + 0, + 56, + 0, + 0, + 16, + 0, + 0, + 63, + 0, + 0, + 114, + 0, + 0, + 128, + 0, + 0, + 92, + 0, + 0, + 55, + 0, + 0, + 44, + 0, + 0, + 102, + 0, + 0, + 67, + 0, + 0, + 86, + 0, + 0, + 32, + 0, + 0, + 51, + 0, + 0, + 60, + 0, + 0, + 58, + 0, + 0, + 31, + 0, + 0, + 12, + 0, + 0, + 29, + 0, + 0, + 13, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 252, + 46, + 217, + 69, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 2, + 8, + 73, + 68, + 65, + 84, + 120, + 156, + 99, + 96, + 128, + 131, + 255, + 16, + 192, + 128, + 1, + 152, + 152, + 89, + 88, + 89, + 217, + 216, + 57, + 56, + 49, + 165, + 57, + 184, + 184, + 121, + 120, + 121, + 249, + 248, + 185, + 5, + 4, + 57, + 80, + 37, + 255, + 51, + 11, + 241, + 8, + 139, + 136, + 138, + 137, + 75, + 72, + 242, + 74, + 9, + 73, + 203, + 32, + 201, + 254, + 103, + 150, + 149, + 147, + 87, + 80, + 84, + 82, + 86, + 81, + 85, + 83, + 215, + 224, + 209, + 100, + 213, + 66, + 72, + 202, + 8, + 105, + 235, + 232, + 234, + 233, + 27, + 24, + 26, + 25, + 155, + 40, + 152, + 10, + 243, + 153, + 153, + 91, + 192, + 228, + 254, + 179, + 90, + 74, + 88, + 89, + 219, + 216, + 218, + 217, + 59, + 56, + 58, + 57, + 43, + 232, + 184, + 184, + 186, + 177, + 67, + 53, + 254, + 119, + 55, + 243, + 176, + 242, + 244, + 242, + 246, + 241, + 245, + 243, + 15, + 8, + 12, + 10, + 22, + 13, + 9, + 13, + 11, + 143, + 128, + 72, + 254, + 103, + 139, + 140, + 10, + 138, + 142, + 137, + 141, + 139, + 79, + 72, + 76, + 74, + 78, + 113, + 86, + 72, + 77, + 75, + 23, + 128, + 58, + 246, + 127, + 70, + 102, + 86, + 118, + 78, + 110, + 94, + 126, + 65, + 97, + 81, + 113, + 114, + 73, + 105, + 89, + 148, + 71, + 121, + 69, + 37, + 88, + 238, + 63, + 147, + 144, + 100, + 85, + 117, + 77, + 109, + 93, + 125, + 67, + 99, + 83, + 179, + 114, + 75, + 105, + 107, + 91, + 123, + 135, + 102, + 39, + 56, + 8, + 254, + 119, + 185, + 117, + 183, + 42, + 59, + 246, + 244, + 246, + 245, + 39, + 77, + 72, + 158, + 56, + 73, + 177, + 85, + 116, + 114, + 40, + 247, + 20, + 136, + 28, + 211, + 212, + 105, + 106, + 147, + 166, + 39, + 205, + 72, + 154, + 217, + 156, + 173, + 52, + 75, + 69, + 53, + 107, + 246, + 156, + 80, + 110, + 105, + 136, + 220, + 255, + 185, + 114, + 243, + 84, + 157, + 170, + 155, + 167, + 87, + 207, + 159, + 56, + 75, + 101, + 129, + 213, + 194, + 69, + 139, + 151, + 44, + 133, + 154, + 249, + 223, + 220, + 85, + 126, + 217, + 242, + 20, + 165, + 21, + 78, + 45, + 147, + 86, + 58, + 175, + 202, + 18, + 75, + 93, + 189, + 102, + 237, + 58, + 168, + 28, + 251, + 122, + 23, + 241, + 214, + 210, + 13, + 27, + 55, + 173, + 220, + 172, + 106, + 149, + 181, + 101, + 235, + 182, + 237, + 59, + 4, + 152, + 161, + 114, + 204, + 59, + 215, + 236, + 218, + 157, + 21, + 188, + 103, + 207, + 94, + 171, + 125, + 251, + 69, + 15, + 200, + 167, + 173, + 49, + 59, + 120, + 8, + 18, + 85, + 255, + 45, + 184, + 164, + 14, + 111, + 19, + 223, + 162, + 176, + 108, + 217, + 145, + 163, + 179, + 183, + 206, + 145, + 228, + 61, + 38, + 112, + 28, + 26, + 139, + 255, + 255, + 31, + 151, + 61, + 113, + 216, + 227, + 164, + 200, + 162, + 83, + 139, + 182, + 170, + 111, + 59, + 173, + 125, + 70, + 72, + 218, + 2, + 46, + 23, + 193, + 118, + 150, + 191, + 195, + 229, + 220, + 54, + 249, + 246, + 93, + 194, + 153, + 124, + 97, + 83, + 165, + 35, + 224, + 137, + 227, + 255, + 127, + 142, + 131, + 178, + 97, + 231, + 121, + 67, + 51, + 47, + 132, + 106, + 167, + 155, + 101, + 116, + 90, + 32, + 165, + 155, + 255, + 255, + 15, + 73, + 95, + 92, + 123, + 73, + 234, + 242, + 229, + 43, + 220, + 59, + 175, + 30, + 239, + 66, + 78, + 82, + 64, + 150, + 197, + 181, + 41, + 172, + 215, + 47, + 94, + 189, + 120, + 157, + 237, + 6, + 90, + 114, + 3, + 177, + 153, + 44, + 100, + 180, + 220, + 221, + 181, + 44, + 48, + 83, + 226, + 127, + 84, + 128, + 154, + 8, + 241, + 72, + 97, + 77, + 215, + 0, + 152, + 72, + 58, + 216, + 223, + 230, + 199, + 242, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + }, + { + "File": { + "header": { + "content_disposition": { + "c_type": "attachment", + "attributes": { + "filename": "blueball.png" + } + }, + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "blueball.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 8, + 0, + 0, + 16, + 0, + 0, + 24, + 0, + 0, + 0, + 0, + 8, + 41, + 0, + 16, + 66, + 0, + 16, + 74, + 0, + 8, + 49, + 0, + 16, + 82, + 8, + 33, + 115, + 8, + 41, + 123, + 8, + 41, + 132, + 8, + 33, + 107, + 0, + 24, + 90, + 0, + 8, + 57, + 8, + 33, + 99, + 16, + 57, + 156, + 24, + 66, + 165, + 24, + 66, + 173, + 24, + 66, + 181, + 16, + 57, + 165, + 16, + 49, + 148, + 0, + 24, + 82, + 16, + 49, + 140, + 41, + 82, + 181, + 57, + 99, + 198, + 57, + 99, + 206, + 41, + 90, + 206, + 24, + 74, + 206, + 24, + 66, + 206, + 24, + 66, + 189, + 66, + 107, + 198, + 123, + 156, + 214, + 156, + 189, + 222, + 140, + 181, + 222, + 99, + 148, + 231, + 49, + 107, + 222, + 33, + 82, + 222, + 24, + 74, + 214, + 24, + 66, + 198, + 16, + 49, + 165, + 0, + 0, + 33, + 206, + 231, + 239, + 231, + 239, + 239, + 156, + 198, + 239, + 82, + 132, + 239, + 41, + 90, + 231, + 16, + 57, + 173, + 74, + 123, + 206, + 173, + 206, + 222, + 165, + 206, + 239, + 90, + 140, + 239, + 16, + 49, + 156, + 90, + 132, + 214, + 173, + 214, + 231, + 206, + 239, + 239, + 140, + 189, + 239, + 74, + 123, + 239, + 24, + 57, + 165, + 24, + 74, + 198, + 140, + 189, + 231, + 181, + 231, + 239, + 148, + 189, + 239, + 0, + 0, + 41, + 90, + 140, + 231, + 115, + 165, + 239, + 107, + 156, + 239, + 8, + 41, + 140, + 49, + 99, + 239, + 41, + 90, + 239, + 8, + 33, + 123, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 193, + 50, + 13, + 85, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 1, + 136, + 73, + 68, + 65, + 84, + 120, + 156, + 117, + 210, + 109, + 87, + 155, + 48, + 24, + 6, + 224, + 18, + 78, + 128, + 38, + 16, + 82, + 147, + 134, + 204, + 9, + 76, + 167, + 5, + 34, + 218, + 170, + 139, + 219, + 172, + 111, + 219, + 124, + 249, + 255, + 191, + 40, + 123, + 210, + 86, + 236, + 177, + 199, + 155, + 47, + 156, + 115, + 157, + 59, + 33, + 228, + 25, + 141, + 134, + 4, + 40, + 68, + 40, + 112, + 163, + 157, + 4, + 56, + 138, + 33, + 81, + 130, + 195, + 143, + 140, + 199, + 132, + 166, + 16, + 146, + 177, + 40, + 65, + 219, + 232, + 114, + 78, + 39, + 123, + 66, + 10, + 49, + 85, + 41, + 41, + 146, + 208, + 13, + 234, + 146, + 76, + 139, + 47, + 251, + 95, + 15, + 202, + 170, + 150, + 83, + 13, + 136, + 6, + 196, + 76, + 239, + 125, + 59, + 60, + 250, + 126, + 124, + 50, + 107, + 90, + 217, + 233, + 44, + 50, + 111, + 123, + 6, + 49, + 157, + 236, + 31, + 158, + 246, + 167, + 103, + 231, + 243, + 166, + 108, + 23, + 138, + 48, + 188, + 41, + 186, + 132, + 107, + 113, + 113, + 217, + 247, + 253, + 213, + 143, + 121, + 83, + 213, + 194, + 82, + 150, + 131, + 121, + 12, + 34, + 50, + 145, + 215, + 63, + 251, + 254, + 215, + 239, + 155, + 89, + 83, + 214, + 66, + 129, + 133, + 107, + 11, + 99, + 186, + 188, + 189, + 190, + 187, + 191, + 127, + 240, + 181, + 86, + 46, + 222, + 205, + 61, + 22, + 90, + 148, + 7, + 127, + 254, + 254, + 187, + 241, + 187, + 213, + 162, + 211, + 132, + 175, + 204, + 141, + 28, + 102, + 79, + 162, + 157, + 205, + 159, + 95, + 26, + 79, + 114, + 106, + 211, + 44, + 78, + 6, + 75, + 151, + 117, + 213, + 128, + 84, + 64, + 11, + 171, + 41, + 143, + 253, + 119, + 122, + 123, + 44, + 168, + 149, + 109, + 89, + 86, + 183, + 53, + 208, + 82, + 105, + 194, + 252, + 249, + 86, + 102, + 98, + 162, + 166, + 117, + 221, + 66, + 73, + 138, + 14, + 136, + 195, + 146, + 27, + 11, + 115, + 150, + 170, + 165, + 20, + 82, + 46, + 58, + 171, + 244, + 107, + 86, + 68, + 102, + 181, + 36, + 88, + 128, + 139, + 44, + 85, + 182, + 235, + 172, + 181, + 42, + 245, + 132, + 215, + 53, + 127, + 136, + 48, + 7, + 212, + 74, + 41, + 157, + 82, + 194, + 139, + 40, + 25, + 8, + 138, + 38, + 31, + 115, + 66, + 41, + 125, + 37, + 156, + 143, + 129, + 214, + 43, + 174, + 204, + 33, + 147, + 199, + 5, + 227, + 156, + 51, + 184, + 119, + 179, + 105, + 109, + 126, + 54, + 96, + 146, + 71, + 144, + 28, + 38, + 2, + 109, + 147, + 199, + 0, + 25, + 131, + 141, + 9, + 223, + 229, + 237, + 110, + 253, + 107, + 128, + 224, + 25, + 192, + 109, + 13, + 197, + 110, + 182, + 167, + 233, + 83, + 249, + 136, + 187, + 227, + 187, + 3, + 255, + 1, + 20, + 84, + 204, + 216, + 153, + 105, + 14, + 191, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + }, + { + "File": { + "header": { + "content_disposition": { + "c_type": "attachment", + "attributes": { + "filename": "greenball.png" + } + }, + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "png", + "attributes": { + "name": "greenball.png" + } + } + }, + "contents": [ + 137, + 80, + 78, + 71, + 13, + 10, + 26, + 10, + 0, + 0, + 0, + 13, + 73, + 72, + 68, + 82, + 0, + 0, + 0, + 27, + 0, + 0, + 0, + 27, + 8, + 3, + 0, + 0, + 0, + 186, + 10, + 4, + 103, + 0, + 0, + 3, + 0, + 80, + 76, + 84, + 69, + 255, + 255, + 255, + 0, + 0, + 0, + 0, + 16, + 0, + 0, + 24, + 0, + 0, + 33, + 0, + 0, + 8, + 0, + 0, + 49, + 0, + 0, + 66, + 0, + 0, + 82, + 0, + 0, + 90, + 0, + 0, + 74, + 0, + 8, + 99, + 0, + 8, + 115, + 0, + 8, + 123, + 0, + 16, + 140, + 0, + 8, + 107, + 0, + 0, + 57, + 0, + 0, + 99, + 0, + 16, + 148, + 0, + 16, + 156, + 0, + 33, + 165, + 0, + 16, + 165, + 0, + 33, + 173, + 0, + 66, + 189, + 24, + 99, + 198, + 49, + 99, + 198, + 57, + 82, + 198, + 33, + 41, + 206, + 0, + 24, + 189, + 0, + 16, + 173, + 0, + 24, + 173, + 0, + 33, + 189, + 0, + 148, + 214, + 99, + 173, + 214, + 123, + 132, + 214, + 82, + 74, + 222, + 24, + 33, + 214, + 0, + 24, + 198, + 0, + 24, + 181, + 0, + 0, + 41, + 0, + 66, + 206, + 16, + 206, + 231, + 148, + 222, + 231, + 173, + 198, + 231, + 148, + 148, + 231, + 99, + 82, + 231, + 33, + 33, + 222, + 0, + 24, + 206, + 0, + 82, + 222, + 33, + 156, + 231, + 107, + 214, + 239, + 156, + 189, + 239, + 140, + 132, + 239, + 82, + 66, + 239, + 16, + 173, + 239, + 123, + 165, + 222, + 115, + 90, + 239, + 41, + 33, + 231, + 0, + 24, + 214, + 0, + 49, + 231, + 0, + 82, + 239, + 33, + 107, + 239, + 57, + 74, + 239, + 24, + 41, + 231, + 0, + 41, + 239, + 0, + 49, + 239, + 0, + 8, + 132, + 0, + 16, + 181, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 41, + 213, + 249, + 217, + 0, + 0, + 0, + 1, + 116, + 82, + 78, + 83, + 0, + 64, + 230, + 216, + 102, + 0, + 0, + 0, + 22, + 116, + 69, + 88, + 116, + 83, + 111, + 102, + 116, + 119, + 97, + 114, + 101, + 0, + 103, + 105, + 102, + 50, + 112, + 110, + 103, + 32, + 50, + 46, + 48, + 46, + 49, + 61, + 94, + 190, + 104, + 0, + 0, + 1, + 109, + 73, + 68, + 65, + 84, + 120, + 156, + 117, + 210, + 109, + 87, + 194, + 32, + 20, + 7, + 112, + 15, + 108, + 200, + 128, + 193, + 4, + 215, + 227, + 92, + 169, + 219, + 40, + 43, + 233, + 185, + 180, + 44, + 179, + 239, + 255, + 153, + 136, + 185, + 135, + 179, + 44, + 239, + 171, + 157, + 243, + 59, + 247, + 50, + 248, + 223, + 94, + 175, + 45, + 91, + 85, + 239, + 79, + 89, + 0, + 61, + 207, + 131, + 16, + 248, + 127, + 24, + 162, + 62, + 198, + 1, + 38, + 125, + 228, + 129, + 223, + 104, + 17, + 166, + 44, + 228, + 156, + 135, + 34, + 32, + 200, + 235, + 182, + 218, + 104, + 16, + 74, + 53, + 28, + 14, + 227, + 88, + 114, + 129, + 163, + 46, + 34, + 202, + 213, + 193, + 225, + 209, + 241, + 201, + 105, + 50, + 138, + 57, + 195, + 8, + 182, + 6, + 49, + 79, + 207, + 78, + 206, + 199, + 227, + 201, + 52, + 203, + 11, + 197, + 5, + 209, + 205, + 153, + 54, + 98, + 170, + 184, + 152, + 92, + 206, + 174, + 174, + 111, + 230, + 38, + 73, + 85, + 24, + 68, + 94, + 125, + 25, + 224, + 218, + 178, + 219, + 187, + 251, + 217, + 195, + 227, + 83, + 102, + 146, + 34, + 118, + 141, + 205, + 137, + 222, + 64, + 22, + 103, + 211, + 235, + 231, + 151, + 199, + 215, + 197, + 210, + 153, + 27, + 138, + 81, + 53, + 212, + 106, + 161, + 242, + 236, + 237, + 125, + 181, + 250, + 248, + 52, + 89, + 94, + 255, + 13, + 216, + 14, + 181, + 145, + 80, + 137, + 89, + 172, + 191, + 214, + 243, + 165, + 201, + 147, + 34, + 85, + 27, + 209, + 26, + 18, + 50, + 49, + 217, + 124, + 153, + 153, + 146, + 70, + 138, + 135, + 148, + 104, + 191, + 182, + 1, + 143, + 19, + 99, + 202, + 38, + 71, + 169, + 228, + 44, + 168, + 110, + 239, + 76, + 227, + 80, + 165, + 73, + 94, + 202, + 119, + 170, + 228, + 182, + 13, + 84, + 137, + 88, + 216, + 119, + 207, + 50, + 74, + 11, + 39, + 177, + 35, + 70, + 113, + 4, + 253, + 218, + 124, + 77, + 4, + 151, + 42, + 142, + 149, + 146, + 114, + 195, + 202, + 247, + 4, + 77, + 146, + 22, + 34, + 66, + 203, + 16, + 56, + 223, + 132, + 130, + 146, + 14, + 185, + 70, + 23, + 94, + 64, + 25, + 99, + 66, + 208, + 160, + 223, + 210, + 214, + 172, + 15, + 116, + 68, + 48, + 198, + 212, + 69, + 171, + 97, + 67, + 182, + 222, + 19, + 0, + 53, + 66, + 145, + 70, + 94, + 181, + 19, + 157, + 189, + 113, + 31, + 190, + 15, + 97, + 185, + 44, + 173, + 52, + 217, + 218, + 255, + 170, + 183, + 31, + 187, + 219, + 180, + 87, + 118, + 241, + 159, + 245, + 221, + 133, + 31, + 205, + 97, + 231, + 141, + 210, + 8, + 44, + 44, + 0, + 0, + 0, + 37, + 116, + 69, + 88, + 116, + 67, + 111, + 109, + 109, + 101, + 110, + 116, + 0, + 99, + 108, + 105, + 112, + 50, + 103, + 105, + 102, + 32, + 118, + 46, + 48, + 46, + 54, + 32, + 98, + 121, + 32, + 89, + 118, + 101, + 115, + 32, + 80, + 105, + 103, + 117, + 101, + 116, + 54, + 115, + 59, + 188, + 0, + 0, + 0, + 0, + 73, + 69, + 78, + 68, + 174, + 66, + 96, + 130 + ] + } + } + ] +} \ No newline at end of file diff --git a/tests/legacy/052.txt b/tests/legacy/052.txt new file mode 100644 index 0000000..f123fef --- /dev/null +++ b/tests/legacy/052.txt @@ -0,0 +1,80 @@ +From: "Doug Sauder" +To: "Heinz Müller" +Subject: Die Hasen und die Frösche (Microsoft Outlook 00) +Date: Wed, 17 May 2000 19:28:40 -0400 +Message-ID: +X-Priority: 3 (Normal) +X-MSMail-Priority: Normal +X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) +Importance: Normal +X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 + +Die Hasen und die Frösche + +Die Hasen klagten einst über ihre mißliche Lage; "wir leben", sprach ein +Redner, "in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der +Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod +selbst. Auf, laßt uns ein für allemal sterben." + +In einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; +allein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte +eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste +untertauchten. + +"Halt", rief nun eben dieser Sprecher, "wir wollen das Ersäufen noch ein +wenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, +welche also wohl noch unglücklicher sein müssen als wir." + + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 17, + "hour": 19, + "minute": 28, + "second": 40, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "doug@example.com" + } + }, + "message_id": "NDBBIAKOPKHFGPLCODIGOEKDCHAA.doug@example.com", + "subject": "Die Hasen und die Fr�sche (Microsoft Outlook 00)", + "to": { + "Address": { + "name": "Heinz M�ller", + "address": "mueller@example.com" + } + }, + "others": { + "X-Priority": [ + "3 (Normal)" + ], + "X-MimeOLE": [ + "Produced By Microsoft MimeOLE V5.00.2314.1300" + ], + "X-MSMail-Priority": [ + "Normal" + ], + "X-Mailer": [ + "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" + ], + "Importance": [ + "Normal" + ] + } + }, + "text_body": [ + { + "contents": "Die Hasen und die Fr�sche\r\n\r\nDie Hasen klagten einst �ber ihre mi�liche Lage; \"wir leben\", sprach ein\r\nRedner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der\r\nAdler, ja fast aller Raubtiere! Unsere stete Angst ist �rger als der Tod\r\nselbst. Auf, la�t uns ein f�r allemal sterben.\"\r\n\r\nIn einem nahen Teich wollten sie sich nun ers�ufen; sie eilten ihm zu;\r\nallein das au�erordentliche Get�se und ihre wunderbare Gestalt erschreckte\r\neine Menge Fr�sche, die am Ufer sa�en, so sehr, da� sie aufs schnellste\r\nuntertauchten.\r\n\r\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ers�ufen noch ein\r\nwenig aufschieben, denn auch uns f�rchten, wie ihr seht, einige Tiere,\r\nwelche also wohl noch ungl�cklicher sein m�ssen als wir.\"\r\n\r\n" + } + ] +} \ No newline at end of file diff --git a/tests/legacy/053.txt b/tests/legacy/053.txt new file mode 100644 index 0000000..1949433 --- /dev/null +++ b/tests/legacy/053.txt @@ -0,0 +1,94 @@ +From: "Doug Sauder" +To: =?utf-8?Q?Heinz_M=C3=BCller?= +Subject: =?utf-8?Q?Die_Hasen_und_die_Fr=C3=B6sche_=28Microsoft_Outlook_00=29?= +Date: Wed, 17 May 2000 19:27:04 -0400 +Message-ID: +MIME-Version: 1.0 +Content-Type: text/plain; + charset="utf-8" +Content-Transfer-Encoding: quoted-printable +X-Priority: 3 (Normal) +X-MSMail-Priority: Normal +X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) +Importance: Normal +X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 + +Die Hasen und die Fr=C3=B6sche + +Die Hasen klagten einst =C3=BCber ihre mi=C3=9Fliche Lage; "wir leben", = +sprach ein Redner, "in steter Furcht vor Menschen und Tieren, eine Beute = +der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist = +=C3=A4rger als der Tod selbst. Auf, la=C3=9Ft uns ein f=C3=BCr allemal = +sterben."=20 + +In einem nahen Teich wollten sie sich nun ers=C3=A4ufen; sie eilten ihm = +zu; allein das au=C3=9Ferordentliche Get=C3=B6se und ihre wunderbare = +Gestalt erschreckte eine Menge Fr=C3=B6sche, die am Ufer sa=C3=9Fen, so = +sehr, da=C3=9F sie aufs schnellste untertauchten.=20 + +"Halt", rief nun eben dieser Sprecher, "wir wollen das Ers=C3=A4ufen = +noch ein wenig aufschieben, denn auch uns f=C3=BCrchten, wie ihr seht, = +einige Tiere, welche also wohl noch ungl=C3=BCcklicher sein m=C3=BCssen = +als wir."=20 + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2000, + "month": 5, + "day": 17, + "hour": 19, + "minute": 27, + "second": 4, + "tz_before_gmt": true, + "tz_hour": 4, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Doug Sauder", + "address": "doug@example.com" + } + }, + "message_id": "NDBBIAKOPKHFGPLCODIGKEKDCHAA.doug@example.com", + "mime_version": "1.0", + "subject": "Die Hasen und die Frösche (Microsoft Outlook 00)", + "to": { + "Address": { + "name": "Heinz Müller", + "address": "mueller@example.com" + } + }, + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "utf-8" + } + }, + "others": { + "X-Priority": [ + "3 (Normal)" + ], + "X-Mailer": [ + "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)" + ], + "X-MimeOLE": [ + "Produced By Microsoft MimeOLE V5.00.2314.1300" + ], + "X-MSMail-Priority": [ + "Normal" + ], + "Importance": [ + "Normal" + ] + } + }, + "text_body": [ + { + "contents": "Die Hasen und die Frösche\n\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst. Auf, laßt uns ein für allemal sterben.\" \n\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; allein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste untertauchten. \n\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, welche also wohl noch unglücklicher sein müssen als wir.\" \n" + } + ] +} \ No newline at end of file diff --git a/tests/malformed/000.txt b/tests/malformed/000.txt new file mode 100644 index 0000000..c332dfe --- /dev/null +++ b/tests/malformed/000.txt @@ -0,0 +1,23 @@ +Content-Type: multipart/mixed; boundary=":foo" + +--:foo +--:foo +Content-Type: text/plain +--:foo +Content-Type: text/plain +--:foo +Content-Type: text/html +--:foo-- + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": ":foo" + } + } + } +} \ No newline at end of file diff --git a/tests/malformed/001.txt b/tests/malformed/001.txt new file mode 100644 index 0000000..df120a7 --- /dev/null +++ b/tests/malformed/001.txt @@ -0,0 +1,28 @@ +Content-Type: multipart/mixed; boundary="ab" + +--ab +Content-Type: multipart/mixed; boundary="a" + +--ab +Content-Type: text/plain + +--a + + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "ab" + } + } + }, + "text_body": [ + { + "contents": "Content-Type: text/plain\n" + } + ] +} \ No newline at end of file diff --git a/tests/malformed/002.txt b/tests/malformed/002.txt new file mode 100644 index 0000000..dd9fed9 --- /dev/null +++ b/tests/malformed/002.txt @@ -0,0 +1,23 @@ +Content-Type: multipart/mixed; boundary="ab" + +body + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "ab" + } + } + }, + "attachments": [ + { + "Text": { + "contents": "body\n" + } + } + ] +} \ No newline at end of file diff --git a/tests/malformed/003.txt b/tests/malformed/003.txt new file mode 100644 index 0000000..377c9a5 --- /dev/null +++ b/tests/malformed/003.txt @@ -0,0 +1,35 @@ +Content-Type: multipart/mixed; boundary="a" + +--a +Content-Type: multipart/mixed; boundary="a" + +--a +Content-Type: text/plain + +body + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "a" + } + } + }, + "attachments": [ + { + "Text": { + "header": { + "content_type": { + "c_type": "text", + "c_subtype": "plain" + } + }, + "contents": "body\n" + } + } + ] +} \ No newline at end of file diff --git a/tests/malformed/004.txt b/tests/malformed/004.txt new file mode 100644 index 0000000..0502e2a --- /dev/null +++ b/tests/malformed/004.txt @@ -0,0 +1,29 @@ +Content-Type: multipart/mixed; boundary="a" + +--ab +Content-Type: multipart/mixed; boundary="a" + +--ac +Content-Type: text/plain + +body + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "a" + } + } + }, + "attachments": [ + { + "Text": { + "contents": "Content-Type: multipart/mixed; boundary=\"a\"\n\n--ac\nContent-Type: text/plain\n\nbody\n" + } + } + ] +} \ No newline at end of file diff --git a/tests/malformed/005.txt b/tests/malformed/005.txt new file mode 100644 index 0000000..3981bac --- /dev/null +++ b/tests/malformed/005.txt @@ -0,0 +1,37 @@ +Content-Type: multipart/mixed; boundary="a--" + +--a-- +Content-Type: multipart/mixed; boundary="a----" + +--a---- +Content-Type: text/plain + +body +--a------ +Content-Type: text/html + +body2 +--a---- +---- EXPECTED STRUCTURE ---- +{ + "header": { + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "a--" + } + } + }, + "text_body": [ + { + "header": { + "content_type": { + "c_type": "text", + "c_subtype": "plain" + } + }, + "contents": "body" + } + ] +} \ No newline at end of file diff --git a/tests/malformed/006.txt b/tests/malformed/006.txt new file mode 100644 index 0000000..a33d936 --- /dev/null +++ b/tests/malformed/006.txt @@ -0,0 +1,35 @@ +Content-Type: multipart/mixed; boundary="a" + +--a +Content-Type: multipart/mixed; boundary="ab" + +--ab +Content-Type: text/plain + +body + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "a" + } + } + }, + "attachments": [ + { + "Text": { + "header": { + "content_type": { + "c_type": "text", + "c_subtype": "plain" + } + }, + "contents": "body\n" + } + } + ] +} \ No newline at end of file diff --git a/tests/malformed/007.txt b/tests/malformed/007.txt new file mode 100644 index 0000000..c202f63 --- /dev/null +++ b/tests/malformed/007.txt @@ -0,0 +1,31 @@ +Content-Type: multipart/mixed; boundary="a" + +--a +Content-Type: multipart/mixed; boundary="ab" +MIME-Version: 1.0 +--ab +Content-Type: text/plain + +--ab-- +--a-- + + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "a" + } + } + }, + "attachments": [ + { + "Text": { + "contents": "--a--\n\n" + } + } + ] +} \ No newline at end of file diff --git a/tests/malformed/008.txt b/tests/malformed/008.txt new file mode 100644 index 0000000..22afbcc --- /dev/null +++ b/tests/malformed/008.txt @@ -0,0 +1,39 @@ +Content-Type: multipart/mixed; boundary="ab" + +--ab +Content-Type: multipart/mixed; boundary="a" + +--a +Content-Type: text/plain + +body +--ab +Content-Type: text/html + +body2 + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "ab" + } + } + }, + "attachments": [ + { + "Text": { + "header": { + "content_type": { + "c_type": "text", + "c_subtype": "plain" + } + }, + "contents": "body\n--ab\nContent-Type: text/html\n\nbody2\n" + } + } + ] +} \ No newline at end of file diff --git a/tests/malformed/009.txt b/tests/malformed/009.txt new file mode 100644 index 0000000..451023f --- /dev/null +++ b/tests/malformed/009.txt @@ -0,0 +1,54 @@ +Content-Type: multipart/mixed; boundary="1" + +--1 +Content-Type: multipart/mixed; boundary="2" + +--2 +Content-Type: text/plain + +1 +--2 +Content-Type: text/plain + +22 +--1 +Content-Type: text/plain + +333 + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "1" + } + } + }, + "text_body": [ + { + "header": { + "content_type": { + "c_type": "text", + "c_subtype": "plain" + } + }, + "contents": "1" + } + ], + "attachments": [ + { + "Text": { + "header": { + "content_type": { + "c_type": "text", + "c_subtype": "plain" + } + }, + "contents": "22\n--1\nContent-Type: text/plain\n\n333\n" + } + } + ] +} \ No newline at end of file diff --git a/tests/malformed/010.txt b/tests/malformed/010.txt new file mode 100644 index 0000000..3850e8c --- /dev/null +++ b/tests/malformed/010.txt @@ -0,0 +1,22 @@ +Content-Type: message/rfc822 + +Content-Type: message/rfc822 + +Content-Type: text/plain + +1 + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "content_type": { + "c_type": "text", + "c_subtype": "plain" + } + }, + "text_body": [ + { + "contents": "1\n" + } + ] +} \ No newline at end of file diff --git a/tests/malformed/011.txt b/tests/malformed/011.txt new file mode 100644 index 0000000..451023f --- /dev/null +++ b/tests/malformed/011.txt @@ -0,0 +1,54 @@ +Content-Type: multipart/mixed; boundary="1" + +--1 +Content-Type: multipart/mixed; boundary="2" + +--2 +Content-Type: text/plain + +1 +--2 +Content-Type: text/plain + +22 +--1 +Content-Type: text/plain + +333 + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "1" + } + } + }, + "text_body": [ + { + "header": { + "content_type": { + "c_type": "text", + "c_subtype": "plain" + } + }, + "contents": "1" + } + ], + "attachments": [ + { + "Text": { + "header": { + "content_type": { + "c_type": "text", + "c_subtype": "plain" + } + }, + "contents": "22\n--1\nContent-Type: text/plain\n\n333\n" + } + } + ] +} \ No newline at end of file diff --git a/tests/malformed/012.txt b/tests/malformed/012.txt new file mode 100644 index 0000000..87a1921 --- /dev/null +++ b/tests/malformed/012.txt @@ -0,0 +1,70 @@ +Content-Type: multipart/mixed; boundary="1" + +--1 +Content-Type: multipart/mixed; boundary="2" + +--2 +Content-Type: message/rfc822 + +Content-Type: text/plain + +1 +--2 +Content-Type: message/rfc822 + +Content-Type: text/plain + +22 +--1 +Content-Type: message/rfc822 + +Content-Type: text/plain + +333 + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "1" + } + } + }, + "attachments": [ + { + "Message": { + "header": { + "content_type": { + "c_type": "text", + "c_subtype": "plain" + } + }, + "text_body": [ + { + "contents": "1" + } + ] + } + }, + { + "Message": { + "header": { + "content_type": { + "c_type": "text", + "c_subtype": "plain" + } + }, + "attachments": [ + { + "Text": { + "contents": "22\n--1\nContent-Type: message/rfc822\n\nContent-Type: text/plain\n\n333\n" + } + } + ] + } + } + ] +} \ No newline at end of file diff --git a/tests/malformed/013.txt b/tests/malformed/013.txt new file mode 100644 index 0000000..de5baec --- /dev/null +++ b/tests/malformed/013.txt @@ -0,0 +1,84 @@ +Content-Type: multipart/mixed; boundary="1" +MIME-Version: 1.0 + +--1 +Content-Type: text/plain + +hello, world +--1 +Content-Type: multipart/mixed; boundary="1" +MIME-Version: 2.0 + +--1 +Content-Type: text/plain + +hello, world +--1 +Content-Type: multipart/mixed; boundary="1" +MIME-Version: abc + +--1 +Content-Type: text/plain + +hello, world +--1 +Content-Type: multipart/mixed; boundary="1" +MIME-Version: + +--1 +Content-Type: text/plain + +hello, world +--1 + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "mime_version": "1.0", + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "1" + } + } + }, + "text_body": [ + { + "header": { + "content_type": { + "c_type": "text", + "c_subtype": "plain" + } + }, + "contents": "hello, world" + }, + { + "header": { + "content_type": { + "c_type": "text", + "c_subtype": "plain" + } + }, + "contents": "hello, world" + }, + { + "header": { + "content_type": { + "c_type": "text", + "c_subtype": "plain" + } + }, + "contents": "hello, world" + }, + { + "header": { + "content_type": { + "c_type": "text", + "c_subtype": "plain" + } + }, + "contents": "hello, world" + } + ] +} \ No newline at end of file diff --git a/tests/malformed/014.txt b/tests/malformed/014.txt new file mode 100644 index 0000000..244c32f --- /dev/null +++ b/tests/malformed/014.txt @@ -0,0 +1,31 @@ +Content-Type: multipart/mixed; boundary="1" + +--1 +Content-Type: text/plain + +hello, world +--1 + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "1" + } + } + }, + "text_body": [ + { + "header": { + "content_type": { + "c_type": "text", + "c_subtype": "plain" + } + }, + "contents": "hello, world" + } + ] +} \ No newline at end of file diff --git a/tests/malformed/015.txt b/tests/malformed/015.txt new file mode 100644 index 0000000..f139522 --- /dev/null +++ b/tests/malformed/015.txt @@ -0,0 +1,106 @@ +Return-Path: +Subject: Hello world +From: Test User +To: Another User +Message-Id: <1.2.3.4@example> +Mime-Version: 1.0 +Date: Sun, 23 May 2007 04:58:08 +0300 +Content-Type: multipart/signed; micalg=pgp-sha1; + protocol="application/pgp-signature"; + boundary="=-GNQXLhuj24Pl1aCkk4/d" + +--=-GNQXLhuj24Pl1aCkk4/d +Content-Type: text/plain +Content-Transfer-Encoding: quoted-printable + +There was a day=20 +a happy=20day + +--=-GNQXLhuj24Pl1aCkk4/d +Content-Type: application/pgp-signature; name=signature.asc + +invalid + +--=-GNQXLhuj24Pl1aCkk4/d-- + + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 2007, + "month": 5, + "day": 23, + "hour": 4, + "minute": 58, + "second": 8, + "tz_before_gmt": false, + "tz_hour": 3, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Test User", + "address": "test@example.org" + } + }, + "message_id": "1.2.3.4@example", + "mime_version": "1.0", + "return_path": [ + "test@example.org" + ], + "subject": "Hello world", + "to": { + "Address": { + "name": "Another User", + "address": "test2@example.org" + } + }, + "content_type": { + "c_type": "multipart", + "c_subtype": "signed", + "attributes": { + "micalg": "pgp-sha1", + "protocol": "application/pgp-signature", + "boundary": "=-GNQXLhuj24Pl1aCkk4/d" + } + } + }, + "text_body": [ + { + "header": { + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "plain" + } + }, + "contents": "There was a day \na happy day\n" + } + ], + "attachments": [ + { + "File": { + "header": { + "content_type": { + "c_type": "application", + "c_subtype": "pgp-signature", + "attributes": { + "name": "signature.asc" + } + } + }, + "contents": [ + 105, + 110, + 118, + 97, + 108, + 105, + 100, + 10 + ] + } + } + ] +} \ No newline at end of file diff --git a/tests/malformed/016.txt b/tests/malformed/016.txt new file mode 100644 index 0000000..fb41cc1 --- /dev/null +++ b/tests/malformed/016.txt @@ -0,0 +1,61 @@ +Content-Type: multipart/mixed; boundary="1234567890123456789012345678901234567890123456789012345678901234567890123456789012" + +--1234567890123456789012345678901234567890123456789012345678901234567890123456789012 +Content-Type: multipart/mixed; boundary="123456789012345678901234567890123456789012345678901234567890123456789012345678901" + +--123456789012345678901234567890123456789012345678901234567890123456789012345678901 +Content-Type: multipart/mixed; boundary="12345678901234567890123456789012345678901234567890123456789012345678901234567890" + +--12345678901234567890123456789012345678901234567890123456789012345678901234567890 +Content-Type: text/plain + +1 +--1234567890123456789012345678901234567890123456789012345678901234567890123456789012 +Content-Type: text/plain + +22 +--123456789012345678901234567890123456789012345678901234567890123456789012345678901 +Content-Type: text/plain + +333 +--12345678901234567890123456789012345678901234567890123456789012345678901234567890 +Content-Type: text/plain + +4444 + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "1234567890123456789012345678901234567890123456789012345678901234567890123456789012" + } + } + }, + "text_body": [ + { + "header": { + "content_type": { + "c_type": "text", + "c_subtype": "plain" + } + }, + "contents": "1\n--1234567890123456789012345678901234567890123456789012345678901234567890123456789012\nContent-Type: text/plain\n\n22\n--123456789012345678901234567890123456789012345678901234567890123456789012345678901\nContent-Type: text/plain\n\n333" + } + ], + "attachments": [ + { + "Text": { + "header": { + "content_type": { + "c_type": "text", + "c_subtype": "plain" + } + }, + "contents": "4444\n" + } + } + ] +} \ No newline at end of file diff --git a/tests/rfc/000.txt b/tests/rfc/000.txt new file mode 100644 index 0000000..c8f6b9e --- /dev/null +++ b/tests/rfc/000.txt @@ -0,0 +1,194 @@ +MIME-Version: 1.0 +From: Nathaniel Borenstein +To: Ned Freed +Date: Fri, 07 Oct 1994 16:15:05 -0700 (PDT) +Subject: A multipart example +Content-Type: multipart/mixed; + boundary=unique-boundary-1 + +This is the preamble area of a 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. + +--unique-boundary-1 + +... Some text appears here ... + +[Note that the blank between the boundary and the start +of the text in this part means no header fields were +given and this is text in the US-ASCII character set. +It could have been done with explicit typing as in the +next part.] + +--unique-boundary-1 +Content-type: text/plain; charset=US-ASCII + +This could have been part of the previous part, but +illustrates explicit versus implicit typing of body +parts. + +--unique-boundary-1 +Content-Type: multipart/parallel; boundary=unique-boundary-2 + +--unique-boundary-2 +Content-Type: audio/basic +Content-Transfer-Encoding: base64 + +... base64-encoded 8000 Hz single-channel + mu-law-format audio data goes here ... + +--unique-boundary-2 +Content-Type: image/jpeg +Content-Transfer-Encoding: base64 + +... base64-encoded image data goes here ... + +--unique-boundary-2-- + +--unique-boundary-1 +Content-type: text/enriched + +This is enriched. +as defined in RFC 1896 + +Isn't it +cool? + +--unique-boundary-1 +Content-Type: message/rfc822 + +From: (mailbox in US-ASCII) +To: (address in US-ASCII) +Subject: (subject in US-ASCII) +Content-Type: Text/plain; charset=ISO-8859-1 +Content-Transfer-Encoding: Quoted-printable + +... Additional text in ISO-8859-1 goes here ... + +--unique-boundary-1-- + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 1994, + "month": 10, + "day": 7, + "hour": 16, + "minute": 15, + "second": 5, + "tz_before_gmt": true, + "tz_hour": 7, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Nathaniel Borenstein", + "address": "nsb@nsb.fv.com" + } + }, + "mime_version": "1.0", + "subject": "A multipart example", + "to": { + "Address": { + "name": "Ned Freed", + "address": "ned@innosoft.com" + } + }, + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "unique-boundary-1" + } + } + }, + "text_body": [ + { + "contents": "... Some text appears here ...\n\n[Note that the blank between the boundary and the start\nof the text in this part means no header fields were\ngiven and this is text in the US-ASCII character set.\nIt could have been done with explicit typing as in the\nnext part.]\n" + }, + { + "header": { + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "US-ASCII" + } + } + }, + "contents": "This could have been part of the previous part, but\nillustrates explicit versus implicit typing of body\nparts.\n" + } + ], + "attachments": [ + { + "Text": { + "header": { + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "audio", + "c_subtype": "basic" + } + }, + "contents": ".. base64-encoded 8000 Hz single-channel\n mu-law-format audio data goes here ...\n" + } + }, + { + "Text": { + "header": { + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "jpeg" + } + }, + "contents": ".. base64-encoded image data goes here ...\n" + } + }, + { + "Text": { + "header": { + "content_type": { + "c_type": "text", + "c_subtype": "enriched" + } + }, + "contents": "This is enriched.\nas defined in RFC 1896\n\nIsn't it\ncool?\n" + } + }, + { + "Message": { + "header": { + "from": { + "Address": { + "name": "mailbox in US-ASCII" + } + }, + "subject": "(subject in US-ASCII)", + "to": { + "Address": { + "name": "address in US-ASCII" + } + }, + "content_transfer_encoding": "Quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "ISO-8859-1" + } + } + }, + "text_body": [ + { + "contents": "... Additional text in ISO-8859-1 goes here ...\n" + } + ] + } + } + ] +} \ No newline at end of file diff --git a/tests/rfc/001.txt b/tests/rfc/001.txt new file mode 100644 index 0000000..6fadcbd --- /dev/null +++ b/tests/rfc/001.txt @@ -0,0 +1,379 @@ +From: Whomever +To: Someone +Date: Whenever +Subject: whatever +MIME-Version: 1.0 +Message-ID: +Content-Type: multipart/alternative; boundary=42 +Content-ID: + +--42 +Content-Type: message/external-body; name="BodyFormats.ps"; + site="thumper.bellcore.com"; mode="image"; + access-type=ANON-FTP; directory="pub"; + expiration="Fri, 14 Jun 1991 19:13:14 -0400 (EDT)" + +Content-type: application/postscript +Content-ID: + +--42 +Content-Type: message/external-body; access-type=local-file; + name="/u/nsb/writing/rfcs/RFC-MIME.ps"; + site="thumper.bellcore.com"; + expiration="Fri, 14 Jun 1991 19:13:14 -0400 (EDT)" + +Content-type: application/postscript +Content-ID: + +--42 +Content-Type: message/external-body; + access-type=mail-server + server="listserv@bogus.bitnet"; + expiration="Fri, 14 Jun 1991 19:13:14 -0400 (EDT)" + +Content-type: application/postscript +Content-ID: + +get RFC-MIME.DOC + +--42-- + + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "from": { + "Address": { + "name": "Whomever" + } + }, + "message_id": "id1@host.com", + "mime_version": "1.0", + "subject": "whatever", + "to": { + "Address": { + "name": "Someone" + } + }, + "content_id": "id001@guppylake.bellcore.com", + "content_type": { + "c_type": "multipart", + "c_subtype": "alternative", + "attributes": { + "boundary": "42" + } + } + }, + "attachments": [ + { + "File": { + "header": { + "content_type": { + "c_type": "message", + "c_subtype": "external-body", + "attributes": { + "name": "BodyFormats.ps", + "site": "thumper.bellcore.com", + "mode": "image", + "access-type": "ANON-FTP", + "directory": "pub", + "expiration": "Fri, 14 Jun 1991 19:13:14 -0400 (EDT)" + } + } + }, + "contents": [ + 67, + 111, + 110, + 116, + 101, + 110, + 116, + 45, + 116, + 121, + 112, + 101, + 58, + 32, + 97, + 112, + 112, + 108, + 105, + 99, + 97, + 116, + 105, + 111, + 110, + 47, + 112, + 111, + 115, + 116, + 115, + 99, + 114, + 105, + 112, + 116, + 10, + 67, + 111, + 110, + 116, + 101, + 110, + 116, + 45, + 73, + 68, + 58, + 32, + 60, + 105, + 100, + 52, + 50, + 64, + 103, + 117, + 112, + 112, + 121, + 108, + 97, + 107, + 101, + 46, + 98, + 101, + 108, + 108, + 99, + 111, + 114, + 101, + 46, + 99, + 111, + 109, + 62, + 10 + ] + } + }, + { + "File": { + "header": { + "content_type": { + "c_type": "message", + "c_subtype": "external-body", + "attributes": { + "access-type": "local-file", + "site": "thumper.bellcore.com", + "expiration": "Fri, 14 Jun 1991 19:13:14 -0400 (EDT)", + "name": "/u/nsb/writing/rfcs/RFC-MIME.ps" + } + } + }, + "contents": [ + 67, + 111, + 110, + 116, + 101, + 110, + 116, + 45, + 116, + 121, + 112, + 101, + 58, + 32, + 97, + 112, + 112, + 108, + 105, + 99, + 97, + 116, + 105, + 111, + 110, + 47, + 112, + 111, + 115, + 116, + 115, + 99, + 114, + 105, + 112, + 116, + 10, + 67, + 111, + 110, + 116, + 101, + 110, + 116, + 45, + 73, + 68, + 58, + 32, + 60, + 105, + 100, + 52, + 50, + 64, + 103, + 117, + 112, + 112, + 121, + 108, + 97, + 107, + 101, + 46, + 98, + 101, + 108, + 108, + 99, + 111, + 114, + 101, + 46, + 99, + 111, + 109, + 62, + 10 + ] + } + }, + { + "File": { + "header": { + "content_type": { + "c_type": "message", + "c_subtype": "external-body", + "attributes": { + "expiration": "Fri, 14 Jun 1991 19:13:14 -0400 (EDT)", + "access-type": "mail-server", + "server": "listserv@bogus.bitnet" + } + } + }, + "contents": [ + 67, + 111, + 110, + 116, + 101, + 110, + 116, + 45, + 116, + 121, + 112, + 101, + 58, + 32, + 97, + 112, + 112, + 108, + 105, + 99, + 97, + 116, + 105, + 111, + 110, + 47, + 112, + 111, + 115, + 116, + 115, + 99, + 114, + 105, + 112, + 116, + 10, + 67, + 111, + 110, + 116, + 101, + 110, + 116, + 45, + 73, + 68, + 58, + 32, + 60, + 105, + 100, + 52, + 50, + 64, + 103, + 117, + 112, + 112, + 121, + 108, + 97, + 107, + 101, + 46, + 98, + 101, + 108, + 108, + 99, + 111, + 114, + 101, + 46, + 99, + 111, + 109, + 62, + 10, + 10, + 103, + 101, + 116, + 32, + 82, + 70, + 67, + 45, + 77, + 73, + 77, + 69, + 46, + 68, + 79, + 67, + 10 + ] + } + } + ] +} \ No newline at end of file diff --git a/tests/rfc/002.txt b/tests/rfc/002.txt new file mode 100644 index 0000000..7a54016 --- /dev/null +++ b/tests/rfc/002.txt @@ -0,0 +1,488 @@ +From: Al Gore +To: White House Transportation Coordinator + +Subject: [Fwd: Map of Argentina with Description] +Content-Type: multipart/mixed; + boundary="D7F------------D7FD5A0B8AB9C65CCDBFA872" + +This is a multi-part message in MIME format. +--D7F------------D7FD5A0B8AB9C65CCDBFA872 +Content-Type: text/plain; charset=us-ascii +Content-Transfer-Encoding: 7bit + +Fred, + +Fire up Air Force One! We're going South! + +Thanks, +Al +--D7F------------D7FD5A0B8AB9C65CCDBFA872 +Content-Type: message/rfc822 +Content-Transfer-Encoding: 7bit +Content-Disposition: inline + +Return-Path: +Received: from mailhost.whitehouse.gov ([192.168.51.200]) + by heartbeat.whitehouse.gov (8.8.8/8.8.8) with ESMTP id SAA22453 + for ; + Mon, 13 Aug 1998 l8:14:23 +1000 +Received: from the_big_box.whitehouse.gov ([192.168.51.50]) + by mailhost.whitehouse.gov (8.8.8/8.8.7) with ESMTP id RAA20366 + for vice-president@whitehouse.gov; Mon, 13 Aug 1998 17:42:41 +1000 +Date: Mon, 13 Aug 1998 17:42:41 +1000 +Message-Id: <199804130742.RAA20366@mai1host.whitehouse.gov> +From: Bill Clinton +To: A1 (The Enforcer) Gore +Subject: Map of Argentina with Description +MIME-Version: 1.0 +Content-Type: multipart/mixed; + boundary="DC8------------DC8638F443D87A7F0726DEF7" + +This is a multi-part message in MIME format. +--DC8------------DC8638F443D87A7F0726DEF7 +Content-Type: text/plain; charset=us-ascii +Content-Transfer-Encoding: 7bit + +Hi A1, + +I finally figured out this MIME thing. Pretty cool. I'll send you +some sax music in .au files next week! + +Anyway, the attached image is really too small to get a good look at +Argentina. Try this for a much better map: + + http://www.1one1yp1anet.com/dest/sam/graphics/map-arg.htm + +Then again, shouldn't the CIA have something like that? + +Bill +--DC8------------DC8638F443D87A7F0726DEF7 +Content-Type: image/gif; name="map_of_Argentina.gif" +Content-Transfer-Encoding: base64 +Content-Disposition: inline; fi1ename="map_of_Argentina.gif" + +R01GOD1hJQA1AKIAAP/////78P/omn19fQAAAAAAAAAAAAAAACwAAAAAJQA1AAAD7Qi63P5w +wEmjBCLrnQnhYCgM1wh+pkgqqeC9XrutmBm7hAK3tP31gFcAiFKVQrGFR6kscnonTe7FAAad +GugmRu3CmiBt57fsVq3Y0VFKnpYdxPC6M7Ze4crnnHum4oN6LFJ1bn5NXTN7OF5fQkN5WYow +BEN2dkGQGWJtSzqGTICJgnQuTJN/WJsojad9qXMuhIWdjXKjY4tenjo6tjVssk2gaWq3uGNX +U6ZGxseyk8SasGw3J9GRzdTQky1iHNvcPNNI4TLeKdfMvy0vMqLrItvuxfDW8ubjueDtJufz +7itICBxISKDBgwgTKjyYAAA7 +--DC8------------DC8638F443D87A7F0726DEF7-- + +--D7F------------D7FD5A0B8AB9C65CCDBFA872-- + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "from": { + "Address": { + "name": "Al Gore", + "address": "vice-president@whitehouse.gov" + } + }, + "subject": "[Fwd: Map of Argentina with Description]", + "to": { + "Address": { + "name": "White House Transportation Coordinator", + "address": "transport@whitehouse.gov" + } + }, + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "D7F------------D7FD5A0B8AB9C65CCDBFA872" + } + } + }, + "text_body": [ + { + "header": { + "content_transfer_encoding": "7bit", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "us-ascii" + } + } + }, + "contents": "Fred,\n\nFire up Air Force One! We're going South!\n\nThanks,\nAl" + } + ], + "attachments": [ + { + "Message": { + "header": { + "date": { + "year": 1998, + "month": 8, + "day": 13, + "hour": 17, + "minute": 42, + "second": 41, + "tz_before_gmt": false, + "tz_hour": 10, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Bill Clinton", + "address": "president@whitehouse.gov" + } + }, + "message_id": "199804130742.RAA20366@mai1host.whitehouse.gov", + "mime_version": "1.0", + "received": [ + "from mailhost.whitehouse.gov ([192.168.51.200])\n by heartbeat.whitehouse.gov (8.8.8/8.8.8) with ESMTP id SAA22453\n for ;\n Mon, 13 Aug 1998 l8:14:23 +1000", + "from the_big_box.whitehouse.gov ([192.168.51.50])\n by mailhost.whitehouse.gov (8.8.8/8.8.7) with ESMTP id RAA20366\n for vice-president@whitehouse.gov; Mon, 13 Aug 1998 17:42:41 +1000" + ], + "return_path": [ + "president@whitehouse.gov" + ], + "subject": "Map of Argentina with Description", + "to": { + "Address": { + "name": "A1 Gore (The Enforcer)", + "address": "vice-president@whitehouse.gov" + } + }, + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "DC8------------DC8638F443D87A7F0726DEF7" + } + } + }, + "text_body": [ + { + "header": { + "content_transfer_encoding": "7bit", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "us-ascii" + } + } + }, + "contents": "Hi A1,\n\nI finally figured out this MIME thing. Pretty cool. I'll send you\nsome sax music in .au files next week!\n\nAnyway, the attached image is really too small to get a good look at\nArgentina. Try this for a much better map:\n\n http://www.1one1yp1anet.com/dest/sam/graphics/map-arg.htm\n\nThen again, shouldn't the CIA have something like that?\n\nBill" + } + ], + "attachments": [ + { + "File": { + "header": { + "content_disposition": { + "c_type": "inline", + "attributes": { + "fi1ename": "map_of_Argentina.gif" + } + }, + "content_transfer_encoding": "base64", + "content_type": { + "c_type": "image", + "c_subtype": "gif", + "attributes": { + "name": "map_of_Argentina.gif" + } + } + }, + "contents": [ + 71, + 77, + 70, + 56, + 61, + 97, + 37, + 0, + 53, + 0, + 162, + 0, + 0, + 255, + 255, + 255, + 255, + 251, + 240, + 255, + 232, + 154, + 125, + 125, + 125, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 44, + 0, + 0, + 0, + 0, + 37, + 0, + 53, + 0, + 0, + 3, + 237, + 8, + 186, + 220, + 254, + 112, + 192, + 73, + 163, + 4, + 34, + 235, + 157, + 9, + 225, + 96, + 40, + 12, + 215, + 8, + 126, + 166, + 72, + 42, + 169, + 224, + 189, + 94, + 187, + 173, + 152, + 25, + 187, + 132, + 2, + 183, + 180, + 253, + 245, + 128, + 87, + 0, + 136, + 82, + 149, + 66, + 177, + 133, + 71, + 169, + 44, + 114, + 122, + 39, + 77, + 238, + 197, + 0, + 6, + 157, + 26, + 232, + 38, + 70, + 237, + 194, + 154, + 32, + 109, + 231, + 183, + 236, + 86, + 173, + 216, + 209, + 81, + 74, + 158, + 150, + 29, + 196, + 240, + 186, + 51, + 182, + 94, + 225, + 202, + 231, + 156, + 123, + 166, + 226, + 131, + 122, + 44, + 82, + 117, + 110, + 126, + 77, + 93, + 51, + 123, + 56, + 94, + 95, + 66, + 67, + 121, + 89, + 138, + 48, + 4, + 67, + 118, + 118, + 65, + 144, + 25, + 98, + 109, + 75, + 58, + 134, + 76, + 128, + 137, + 130, + 116, + 46, + 76, + 147, + 127, + 88, + 155, + 40, + 141, + 167, + 125, + 169, + 115, + 46, + 132, + 133, + 157, + 141, + 114, + 163, + 99, + 139, + 94, + 158, + 58, + 58, + 182, + 53, + 108, + 178, + 77, + 160, + 105, + 106, + 183, + 184, + 99, + 87, + 83, + 166, + 70, + 198, + 199, + 178, + 147, + 196, + 154, + 176, + 108, + 55, + 39, + 209, + 145, + 205, + 212, + 208, + 147, + 45, + 98, + 28, + 219, + 220, + 60, + 211, + 72, + 225, + 50, + 222, + 41, + 215, + 204, + 191, + 45, + 47, + 50, + 162, + 235, + 34, + 219, + 238, + 197, + 240, + 214, + 242, + 230, + 227, + 185, + 224, + 237, + 38, + 231, + 243, + 238, + 43, + 72, + 8, + 28, + 72, + 72, + 160, + 193, + 131, + 8, + 19, + 42, + 60, + 152, + 0, + 0, + 59 + ] + } + } + ] + } + } + ] +} \ No newline at end of file diff --git a/tests/rfc/003.txt b/tests/rfc/003.txt new file mode 100644 index 0000000..fcda964 --- /dev/null +++ b/tests/rfc/003.txt @@ -0,0 +1,157 @@ +From: Nathaniel Borenstein +To: Ned Freed +Date: Mon, 22 Mar 1993 09:41:09 -0800 (PST) +Subject: Formatted text mail +MIME-Version: 1.0 +Content-Type: multipart/alternative; boundary=boundary42 + +--boundary42 +Content-Type: text/plain; charset=us-ascii + +... plain text version of message goes here ... + +--boundary42 +Content-Type: text/enriched + +... RFC 1896 text/enriched version of same message + goes here ... + +--boundary42 +Content-Type: application/x-whatever + +... fanciest version of same message goes here ... + +--boundary42-- + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 1993, + "month": 3, + "day": 22, + "hour": 9, + "minute": 41, + "second": 9, + "tz_before_gmt": true, + "tz_hour": 8, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Nathaniel Borenstein", + "address": "nsb@bellcore.com" + } + }, + "mime_version": "1.0", + "subject": "Formatted text mail", + "to": { + "Address": { + "name": "Ned Freed", + "address": "ned@innosoft.com" + } + }, + "content_type": { + "c_type": "multipart", + "c_subtype": "alternative", + "attributes": { + "boundary": "boundary42" + } + } + }, + "html_body": [ + { + "contents": "... plain text version of message goes here ...
" + } + ], + "text_body": [ + { + "header": { + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "us-ascii" + } + } + }, + "contents": "... plain text version of message goes here ...\n" + } + ], + "attachments": [ + { + "Text": { + "header": { + "content_type": { + "c_type": "text", + "c_subtype": "enriched" + } + }, + "contents": "... RFC 1896 text/enriched version of same message\n goes here ...\n" + } + }, + { + "File": { + "header": { + "content_type": { + "c_type": "application", + "c_subtype": "x-whatever" + } + }, + "contents": [ + 46, + 46, + 46, + 32, + 102, + 97, + 110, + 99, + 105, + 101, + 115, + 116, + 32, + 118, + 101, + 114, + 115, + 105, + 111, + 110, + 32, + 111, + 102, + 32, + 115, + 97, + 109, + 101, + 32, + 109, + 101, + 115, + 115, + 97, + 103, + 101, + 32, + 103, + 111, + 101, + 115, + 32, + 104, + 101, + 114, + 101, + 32, + 46, + 46, + 46, + 10 + ] + } + } + ] +} \ No newline at end of file diff --git a/tests/rfc/004.txt b/tests/rfc/004.txt new file mode 100644 index 0000000..ee07be4 --- /dev/null +++ b/tests/rfc/004.txt @@ -0,0 +1,134 @@ +From: Moderator-Address +To: Recipient-List +Date: Mon, 22 Mar 1994 13:34:51 +0000 +Subject: Internet Digest, volume 42 +MIME-Version: 1.0 +Content-Type: multipart/mixed; + boundary="---- main boundary ----" + +------ main boundary ---- + +...Introductory text or table of contents... + +------ main boundary ---- +Content-Type: multipart/digest; + boundary="---- next message ----" + +------ next message ---- + +From: someone-else +Date: Fri, 26 Mar 1993 11:13:32 +0200 +Subject: my opinion + +...body goes here ... + +------ next message ---- + +From: someone-else-again +Date: Fri, 26 Mar 1993 10:07:13 -0500 +Subject: my different opinion + +... another body goes here ... + +------ next message ------ + +------ main boundary ------ + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 1994, + "month": 3, + "day": 22, + "hour": 13, + "minute": 34, + "second": 51, + "tz_before_gmt": false, + "tz_hour": 0, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Moderator-Address" + } + }, + "mime_version": "1.0", + "subject": "Internet Digest, volume 42", + "to": { + "Address": { + "name": "Recipient-List" + } + }, + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "---- main boundary ----" + } + } + }, + "text_body": [ + { + "contents": "...Introductory text or table of contents...\n" + } + ], + "attachments": [ + { + "Message": { + "header": { + "date": { + "year": 1993, + "month": 3, + "day": 26, + "hour": 11, + "minute": 13, + "second": 32, + "tz_before_gmt": false, + "tz_hour": 2, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "someone-else" + } + }, + "subject": "my opinion" + }, + "text_body": [ + { + "contents": "...body goes here ...\n" + } + ] + } + }, + { + "Message": { + "header": { + "date": { + "year": 1993, + "month": 3, + "day": 26, + "hour": 10, + "minute": 7, + "second": 13, + "tz_before_gmt": true, + "tz_hour": 5, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "someone-else-again" + } + }, + "subject": "my different opinion" + }, + "text_body": [ + { + "contents": "... another body goes here ...\n" + } + ] + } + } + ] +} \ No newline at end of file diff --git a/tests/rfc/005.txt b/tests/rfc/005.txt new file mode 100644 index 0000000..912cf7e --- /dev/null +++ b/tests/rfc/005.txt @@ -0,0 +1,79 @@ +From: Nathaniel Borenstein +To: Ned Freed +Date: Sun, 21 Mar 1993 23:56:48 -0800 (PST) +Subject: Sample message +MIME-Version: 1.0 +Content-type: multipart/mixed; boundary="simple boundary" + +This is the preamble. It is to be ignored, though it +is a handy place for composition agents to include an +explanatory note to non-MIME conformant readers. + +--simple boundary + +This is implicitly typed plain US-ASCII text. +It does NOT end with a linebreak. +--simple boundary +Content-type: text/plain; charset=us-ascii + +This is explicitly typed plain US-ASCII text. +It DOES end with a linebreak. + +--simple boundary-- + +This is the epilogue. It is also to be ignored. + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "date": { + "year": 1993, + "month": 3, + "day": 21, + "hour": 23, + "minute": 56, + "second": 48, + "tz_before_gmt": true, + "tz_hour": 8, + "tz_minute": 0 + }, + "from": { + "Address": { + "name": "Nathaniel Borenstein", + "address": "nsb@bellcore.com" + } + }, + "mime_version": "1.0", + "subject": "Sample message", + "to": { + "Address": { + "name": "Ned Freed", + "address": "ned@innosoft.com" + } + }, + "content_type": { + "c_type": "multipart", + "c_subtype": "mixed", + "attributes": { + "boundary": "simple boundary" + } + } + }, + "text_body": [ + { + "contents": "This is implicitly typed plain US-ASCII text.\nIt does NOT end with a linebreak." + }, + { + "header": { + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "us-ascii" + } + } + }, + "contents": "This is explicitly typed plain US-ASCII text.\nIt DOES end with a linebreak.\n" + } + ] +} \ No newline at end of file diff --git a/tests/rfc/006.txt b/tests/rfc/006.txt new file mode 100644 index 0000000..4956f16 --- /dev/null +++ b/tests/rfc/006.txt @@ -0,0 +1,82 @@ +From: sender@example.com +To: recipient@example.com +Subject: Multipart Email Example +Content-Type: multipart/alternative; boundary="boundary-string" + +--boundary-string +Content-Type: text/plain; charset="utf-8" +Content-Transfer-Encoding: quoted-printable +Content-Disposition: inline + +Plain text email goes here! +This is the fallback if email client does not support HTML + +--boundary-string +Content-Type: text/html; charset="utf-8" +Content-Transfer-Encoding: quoted-printable +Content-Disposition: inline + +

This is the HTML Section!

+

This is what displays in most modern email clients

+ +--boundary-string-- + +---- EXPECTED STRUCTURE ---- +{ + "header": { + "from": { + "Address": { + "address": "sender@example.com" + } + }, + "subject": "Multipart Email Example", + "to": { + "Address": { + "address": "recipient@example.com" + } + }, + "content_type": { + "c_type": "multipart", + "c_subtype": "alternative", + "attributes": { + "boundary": "boundary-string" + } + } + }, + "html_body": [ + { + "header": { + "content_disposition": { + "c_type": "inline" + }, + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "html", + "attributes": { + "charset": "utf-8" + } + } + }, + "contents": "

This is the HTML Section!

\n

This is what displays in most modern email clients

\n" + } + ], + "text_body": [ + { + "header": { + "content_disposition": { + "c_type": "inline" + }, + "content_transfer_encoding": "quoted-printable", + "content_type": { + "c_type": "text", + "c_subtype": "plain", + "attributes": { + "charset": "utf-8" + } + } + }, + "contents": "Plain text email goes here!\nThis is the fallback if email client does not support HTML\n" + } + ] +} \ No newline at end of file diff --git a/tests/rfc/007.txt b/tests/rfc/007.txt new file mode 100644 index 0000000..196b539 --- /dev/null +++ b/tests/rfc/007.txt @@ -0,0 +1,69 @@ +Subject: RFC 8621 Section 4.1.4 test +Content-Type: multipart/mixed; boundary="1" + +--1 +Content-Type: text/plain; content-disposition=inline + +A +--1 +Content-Type: multipart/mixed; boundary="2" + +--2 +Content-Type: multipart/alternative; boundary="3" + +--3 +Content-Type: multipart/mixed; boundary="4" + +--4 +Content-Type: text/plain; content-disposition=inline + +B +--4 +Content-Type: image/jpeg; content-disposition=inline + +C +--4 +Content-Type: text/plain; content-disposition=inline + +D +--4-- + +--3 +Content-Type: multipart/related; boundary="5" + +--5 +Content-Type: text/html + +E +--5 +Content-Type: image/jpeg + +F +--5-- + +--3-- + +--2 +Content-Type: image/jpeg; content-disposition=attachment + +G +--2 +Content-Type: application/x-excel + +H +--2 +Content-Type: message/rfc822 + +Subject: J + +J +--2-- + +--1 +Content-Type: text/plain; content-disposition=inline + +K +--1-- + +---- EXPECTED STRUCTURE ---- +