mirror of
https://github.com/stalwartlabs/mail-parser.git
synced 2026-11-29 00:01:49 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f16aca7ee0 | ||
|
|
d4f45b7e34 | ||
|
|
ae62000a98 | ||
|
|
f080b911df | ||
|
|
1e868fd683 | ||
|
|
09960ef610 | ||
|
|
a9694def15 | ||
|
|
20ecc490f2 | ||
|
|
402ee4c4db | ||
|
|
e922562b1c | ||
|
|
215d5aa9ac | ||
|
|
d230fce62f | ||
|
|
3a7126f64e | ||
|
|
bb0e3366da | ||
|
|
4e49dff9e5 | ||
|
|
6b23f08ee0 | ||
|
|
7f86ea13f9 | ||
|
|
371d0ff12e | ||
|
|
5d4c0538ca | ||
|
|
ff1e2ee70a | ||
|
|
aeb02dcc4d | ||
|
|
db61a0364c | ||
|
|
6dc27dd69b | ||
|
|
b76c9f510c | ||
|
|
c391056b92 | ||
|
|
0064d3443a | ||
|
|
e604f8fcec | ||
|
|
907984861e | ||
|
|
28fe4d3aff | ||
|
|
0891cb0292 | ||
|
|
2805e029ff | ||
|
|
35b4846c7e | ||
|
|
75d9a9e96a | ||
|
|
1e8dfd31cf | ||
|
|
0be5ed4a41 | ||
|
|
62057172d0 | ||
|
|
a963f0caa7 | ||
|
|
e2b33a90f3 | ||
|
|
d157525b1c | ||
|
|
9f1edeed33 | ||
|
|
509fb718f3 | ||
|
|
eab28c0b2d | ||
|
|
2cae61c6d2 | ||
|
|
da4a9d9a47 | ||
|
|
c3b36dd0d6 | ||
|
|
2f380451f5 | ||
|
|
1a2ac1d027 | ||
|
|
beb21b3d03 | ||
|
|
c77f3e2cb4 | ||
|
|
94522f1179 |
@@ -1,3 +1,41 @@
|
||||
mail-parser 0.6.0
|
||||
================================
|
||||
- Maildir parsing support.
|
||||
- Headers and attributes are now stored in a `Vec` instead of a `HashMap` for tiny performance enhancement.
|
||||
- Support for Content-Type attributes spanning multiple lines.
|
||||
- Support for malformed Thunderbird messages (#27).
|
||||
- Fixed raw offset range for body parts.
|
||||
|
||||
mail-parser 0.5.0
|
||||
================================
|
||||
- `Message` headers are now stored as a `MessagePart` with index 0.
|
||||
- Improved `MessagePart` API.
|
||||
- Nested base64/quoted-printable encoded message/rfc822 parts are automatically parsed when calling `get_message`.
|
||||
- Better handling of malformed MIME messages.
|
||||
- Added raw offsets to MIME parts.
|
||||
|
||||
mail-parser 0.4.8
|
||||
================================
|
||||
- get_bytes_to_boundary fix (#21)
|
||||
|
||||
mail-parser 0.4.7
|
||||
================================
|
||||
- Retrieving message headers in order (#19)
|
||||
- Added `get_raw_headers` and `get_header` methods.
|
||||
- Added `get_return_address` method to obtain the return address from the Return-Path or From headers.
|
||||
- Support for malformed Return-Path headers.
|
||||
- Support for ks_c_5601 charsets (#20)
|
||||
|
||||
mail-parser 0.4.6
|
||||
================================
|
||||
- DateTime is_valid() fix (#15)
|
||||
|
||||
mail-parser 0.4.5
|
||||
================================
|
||||
- DateTime to UNIX timestamp conversion.
|
||||
- Ord, PartialOrd support for DateTime (#13).
|
||||
- Fixed Message::parse() panic on duplicate Content-Type headers (#14).
|
||||
|
||||
mail-parser 0.4.4
|
||||
================================
|
||||
- Support for multi-line headers.
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
Copyright (C) 2020-2022, Stalwart Labs, Minter Ltd.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
|
||||
* Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
|
||||
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
Generated
+226
-40
@@ -3,10 +3,19 @@
|
||||
version = 3
|
||||
|
||||
[[package]]
|
||||
name = "autocfg"
|
||||
version = "1.0.1"
|
||||
name = "android_system_properties"
|
||||
version = "0.1.4"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a"
|
||||
checksum = "d7ed72e1635e121ca3e79420540282af22da58be50de153d36f81ddc6b83aa9e"
|
||||
dependencies = [
|
||||
"libc",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "autocfg"
|
||||
version = "1.1.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
|
||||
|
||||
[[package]]
|
||||
name = "bincode"
|
||||
@@ -17,6 +26,12 @@ dependencies = [
|
||||
"serde",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "bumpalo"
|
||||
version = "3.11.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "c1ad822118d20d2c234f427000d5acc36eabe1e29a348c89b63dd60b13f28e5d"
|
||||
|
||||
[[package]]
|
||||
name = "cfg-if"
|
||||
version = "1.0.0"
|
||||
@@ -24,31 +39,59 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
||||
|
||||
[[package]]
|
||||
name = "dtoa"
|
||||
version = "0.4.8"
|
||||
name = "chrono"
|
||||
version = "0.4.22"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "56899898ce76aaf4a0f24d914c97ea6ed976d42fec6ad33fcbb0a1103e07b2b0"
|
||||
checksum = "bfd4d1b31faaa3a89d7934dbded3111da0d2ef28e3ebccdb4f0179f5929d1ef1"
|
||||
dependencies = [
|
||||
"iana-time-zone",
|
||||
"js-sys",
|
||||
"num-integer",
|
||||
"num-traits",
|
||||
"time",
|
||||
"wasm-bindgen",
|
||||
"winapi",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "core-foundation-sys"
|
||||
version = "0.8.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc"
|
||||
|
||||
[[package]]
|
||||
name = "encoding_rs"
|
||||
version = "0.8.28"
|
||||
version = "0.8.31"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "80df024fbc5ac80f87dfef0d9f5209a252f2a497f7f42944cff24d8253cac065"
|
||||
checksum = "9852635589dc9f9ea1b6fe9f05b50ef208c85c834a562f0c6abb1c475736ec2b"
|
||||
dependencies = [
|
||||
"cfg-if",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "hashbrown"
|
||||
version = "0.11.2"
|
||||
version = "0.12.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e"
|
||||
checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
|
||||
|
||||
[[package]]
|
||||
name = "iana-time-zone"
|
||||
version = "0.1.46"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "ad2bfd338099682614d3ee3fe0cd72e0b6a41ca6a87f6a74a3bd593c91650501"
|
||||
dependencies = [
|
||||
"android_system_properties",
|
||||
"core-foundation-sys",
|
||||
"js-sys",
|
||||
"wasm-bindgen",
|
||||
"winapi",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "indexmap"
|
||||
version = "1.7.0"
|
||||
version = "1.9.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "bc633605454125dec4b66843673f01c7df2b89479b32e0ed634e43a91cff62a5"
|
||||
checksum = "10a35a97730320ffe8e2d410b5d3b69279b98d2c14bdb8b70ea89ecf7888d41e"
|
||||
dependencies = [
|
||||
"autocfg",
|
||||
"hashbrown",
|
||||
@@ -56,21 +99,46 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "itoa"
|
||||
version = "0.4.8"
|
||||
version = "1.0.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b71991ff56294aa922b450139ee08b3bfc70982c6b2c7562771375cf73542dd4"
|
||||
checksum = "6c8af84674fe1f223a982c933a0ee1086ac4d4052aa0fb8060c12c6ad838e754"
|
||||
|
||||
[[package]]
|
||||
name = "js-sys"
|
||||
version = "0.3.59"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "258451ab10b34f8af53416d1fdab72c22e805f0c92a1136d59470ec0b11138b2"
|
||||
dependencies = [
|
||||
"wasm-bindgen",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "libc"
|
||||
version = "0.2.132"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "8371e4e5341c3a96db127eb2465ac681ced4c433e01dd0e938adbef26ba93ba5"
|
||||
|
||||
[[package]]
|
||||
name = "linked-hash-map"
|
||||
version = "0.5.4"
|
||||
version = "0.5.6"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "7fb9b38af92608140b86b693604b9ffcc5824240a484d1ecd4795bacb2fe88f3"
|
||||
checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f"
|
||||
|
||||
[[package]]
|
||||
name = "log"
|
||||
version = "0.4.17"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "abb12e687cfb44aa40f41fc3978ef76448f9b6038cad6aef4259d3c095a2382e"
|
||||
dependencies = [
|
||||
"cfg-if",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "mail-parser"
|
||||
version = "0.4.4"
|
||||
version = "0.6.0"
|
||||
dependencies = [
|
||||
"bincode",
|
||||
"chrono",
|
||||
"encoding_rs",
|
||||
"serde",
|
||||
"serde_json",
|
||||
@@ -78,43 +146,68 @@ dependencies = [
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "proc-macro2"
|
||||
version = "1.0.30"
|
||||
name = "num-integer"
|
||||
version = "0.1.45"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "edc3358ebc67bc8b7fa0c007f945b0b18226f78437d61bec735a9eb96b61ee70"
|
||||
checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9"
|
||||
dependencies = [
|
||||
"unicode-xid",
|
||||
"autocfg",
|
||||
"num-traits",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "num-traits"
|
||||
version = "0.2.15"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd"
|
||||
dependencies = [
|
||||
"autocfg",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "once_cell"
|
||||
version = "1.13.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "074864da206b4973b84eb91683020dbefd6a8c3f0f38e054d93954e891935e4e"
|
||||
|
||||
[[package]]
|
||||
name = "proc-macro2"
|
||||
version = "1.0.43"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0a2ca2c61bc9f3d74d2886294ab7b9853abd9c1ad903a3ac7815c58989bb7bab"
|
||||
dependencies = [
|
||||
"unicode-ident",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "quote"
|
||||
version = "1.0.10"
|
||||
version = "1.0.21"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "38bc8cc6a5f2e3655e0899c1b848643b2562f853f114bfec7be120678e3ace05"
|
||||
checksum = "bbe448f377a7d6961e30f5955f9b8d106c3f5e449d493ee1b125c1d43c2b5179"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "ryu"
|
||||
version = "1.0.5"
|
||||
version = "1.0.11"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "71d301d4193d031abdd79ff7e3dd721168a9572ef3fe51a1517aba235bd8f86e"
|
||||
checksum = "4501abdff3ae82a1c1b477a17252eb69cee9e66eb915c1abaa4f44d873df9f09"
|
||||
|
||||
[[package]]
|
||||
name = "serde"
|
||||
version = "1.0.130"
|
||||
version = "1.0.144"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "f12d06de37cf59146fbdecab66aa99f9fe4f78722e3607577a5375d66bd0c913"
|
||||
checksum = "0f747710de3dcd43b88c9168773254e809d8ddbdf9653b84e2554ab219f17860"
|
||||
dependencies = [
|
||||
"serde_derive",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "serde_derive"
|
||||
version = "1.0.130"
|
||||
version = "1.0.144"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d7bc1a1ab1961464eae040d96713baa5a724a8152c1222492465b54322ec508b"
|
||||
checksum = "94ed3a816fb1d101812f83e789f888322c34e291f894f19590dc310963e87a00"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
@@ -123,9 +216,9 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "serde_json"
|
||||
version = "1.0.68"
|
||||
version = "1.0.83"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "0f690853975602e1bfe1ccbf50504d67174e3bcf340f23b5ea9992e0587a52d8"
|
||||
checksum = "38dd04e3c8279e75b31ef29dbdceebfe5ad89f4d0937213c53f7d49d01b3d5a7"
|
||||
dependencies = [
|
||||
"itoa",
|
||||
"ryu",
|
||||
@@ -134,32 +227,125 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "serde_yaml"
|
||||
version = "0.8.21"
|
||||
version = "0.8.26"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d8c608a35705a5d3cdc9fbe403147647ff34b921f8e833e49306df898f9b20af"
|
||||
checksum = "578a7433b776b56a35785ed5ce9a7e777ac0598aac5a6dd1b4b18a307c7fc71b"
|
||||
dependencies = [
|
||||
"dtoa",
|
||||
"indexmap",
|
||||
"ryu",
|
||||
"serde",
|
||||
"yaml-rust",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "syn"
|
||||
version = "1.0.80"
|
||||
version = "1.0.99"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d010a1623fbd906d51d650a9916aaefc05ffa0e4053ff7fe601167f3e715d194"
|
||||
checksum = "58dbef6ec655055e20b86b15a8cc6d439cca19b667537ac6a1369572d151ab13"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"unicode-xid",
|
||||
"unicode-ident",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "unicode-xid"
|
||||
version = "0.2.2"
|
||||
name = "time"
|
||||
version = "0.1.44"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3"
|
||||
checksum = "6db9e6914ab8b1ae1c260a4ae7a49b6c5611b40328a735b21862567685e73255"
|
||||
dependencies = [
|
||||
"libc",
|
||||
"wasi",
|
||||
"winapi",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "unicode-ident"
|
||||
version = "1.0.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "c4f5b37a154999a8f3f98cc23a628d850e154479cd94decf3414696e12e31aaf"
|
||||
|
||||
[[package]]
|
||||
name = "wasi"
|
||||
version = "0.10.0+wasi-snapshot-preview1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f"
|
||||
|
||||
[[package]]
|
||||
name = "wasm-bindgen"
|
||||
version = "0.2.82"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "fc7652e3f6c4706c8d9cd54832c4a4ccb9b5336e2c3bd154d5cccfbf1c1f5f7d"
|
||||
dependencies = [
|
||||
"cfg-if",
|
||||
"wasm-bindgen-macro",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "wasm-bindgen-backend"
|
||||
version = "0.2.82"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "662cd44805586bd52971b9586b1df85cdbbd9112e4ef4d8f41559c334dc6ac3f"
|
||||
dependencies = [
|
||||
"bumpalo",
|
||||
"log",
|
||||
"once_cell",
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn",
|
||||
"wasm-bindgen-shared",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "wasm-bindgen-macro"
|
||||
version = "0.2.82"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b260f13d3012071dfb1512849c033b1925038373aea48ced3012c09df952c602"
|
||||
dependencies = [
|
||||
"quote",
|
||||
"wasm-bindgen-macro-support",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "wasm-bindgen-macro-support"
|
||||
version = "0.2.82"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5be8e654bdd9b79216c2929ab90721aa82faf65c48cdf08bdc4e7f51357b80da"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"quote",
|
||||
"syn",
|
||||
"wasm-bindgen-backend",
|
||||
"wasm-bindgen-shared",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "wasm-bindgen-shared"
|
||||
version = "0.2.82"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "6598dd0bd3c7d51095ff6531a5b23e02acdc81804e30d8f07afb77b7215a140a"
|
||||
|
||||
[[package]]
|
||||
name = "winapi"
|
||||
version = "0.3.9"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
|
||||
dependencies = [
|
||||
"winapi-i686-pc-windows-gnu",
|
||||
"winapi-x86_64-pc-windows-gnu",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "winapi-i686-pc-windows-gnu"
|
||||
version = "0.4.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
|
||||
|
||||
[[package]]
|
||||
name = "winapi-x86_64-pc-windows-gnu"
|
||||
version = "0.4.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
|
||||
|
||||
[[package]]
|
||||
name = "yaml-rust"
|
||||
|
||||
+3
-2
@@ -1,7 +1,7 @@
|
||||
[package]
|
||||
name = "mail-parser"
|
||||
description = "Fast and robust e-mail parsing library for Rust"
|
||||
version = "0.4.4"
|
||||
version = "0.6.0"
|
||||
edition = "2018"
|
||||
authors = [ "Stalwart Labs <hello@stalw.art>"]
|
||||
license = "Apache-2.0 OR MIT"
|
||||
@@ -16,9 +16,10 @@ encoding_rs = {version="0.8", optional=true}
|
||||
serde = { version = "1.0", features = ["derive"], optional=true}
|
||||
|
||||
[dev-dependencies]
|
||||
serde_yaml = "0.8"
|
||||
serde_yaml = "0.8" # Version 0.9 fails to parse certain inputs
|
||||
serde_json = "1.0"
|
||||
bincode = "1.3.3"
|
||||
chrono = "0.4"
|
||||
|
||||
[features]
|
||||
default = ["serde_support", "full_encoding"]
|
||||
|
||||
@@ -104,7 +104,7 @@ R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7
|
||||
);
|
||||
|
||||
assert_eq!(
|
||||
message.get_date().unwrap().to_iso8601(),
|
||||
message.get_date().unwrap().to_rfc3339(),
|
||||
"2021-11-20T14:22:01-08:00"
|
||||
);
|
||||
|
||||
@@ -137,7 +137,8 @@ R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7
|
||||
let nested_message = message
|
||||
.get_attachment(0)
|
||||
.unwrap()
|
||||
.unwrap_message();
|
||||
.get_message();
|
||||
.unwrap();
|
||||
|
||||
assert_eq!(
|
||||
nested_message.get_subject().unwrap(),
|
||||
@@ -154,7 +155,7 @@ R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7
|
||||
"<html><body>ℌ𝔢𝔩𝔭 𝔪𝔢 𝔢𝔵𝔭𝔬𝔯𝔱 𝔪𝔶 𝔟𝔬𝔬𝔨 𝔭𝔩𝔢𝔞𝔰𝔢!</body></html>"
|
||||
);
|
||||
|
||||
let nested_attachment = nested_message.get_attachment(0).unwrap().unwrap_binary();
|
||||
let nested_attachment = nested_message.get_attachment(0).unwrap();
|
||||
|
||||
assert_eq!(nested_attachment.len(), 42);
|
||||
|
||||
@@ -277,7 +278,7 @@ at your option.
|
||||
|
||||
## Copyright
|
||||
|
||||
Copyright (C) 2020-2022, Stalwart Labs, Minter Ltd.
|
||||
Copyright (C) 2020-2022, Stalwart Labs Ltd.
|
||||
|
||||
See [COPYING] for the license.
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright Stalwart Labs, Minter Ltd. See the COPYING
|
||||
* Copyright Stalwart Labs Ltd. See the COPYING
|
||||
* file at the top-level directory of this distribution.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
* Copyright Stalwart Labs Ltd. See the COPYING
|
||||
* file at the top-level directory of this distribution.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
* https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
||||
* <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
|
||||
* option. This file may not be copied, modified, or distributed
|
||||
* except according to those terms.
|
||||
*/
|
||||
|
||||
use std::path::PathBuf;
|
||||
|
||||
use mail_parser::mailbox::maildir::FolderIterator;
|
||||
|
||||
fn main() {
|
||||
// Iterates a Maildir++ structure printing the results to stdout.
|
||||
let mut test_dir = PathBuf::from(env!("CARGO_MANIFEST_DIR"));
|
||||
test_dir.push("tests");
|
||||
test_dir.push("maildir");
|
||||
|
||||
for folder in FolderIterator::new(test_dir, ".".into()).unwrap() {
|
||||
let folder = folder.unwrap();
|
||||
println!("------\nMailbox: {:?}", folder.name().unwrap_or("INBOX"));
|
||||
|
||||
for message in folder {
|
||||
let message = message.unwrap();
|
||||
println!(
|
||||
"Message with internal date {}, flags {:?} and content {:?}.",
|
||||
message.internal_date(),
|
||||
message.flags(),
|
||||
String::from_utf8_lossy(message.contents())
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright Stalwart Labs, Minter Ltd. See the COPYING
|
||||
* Copyright Stalwart Labs Ltd. See the COPYING
|
||||
* file at the top-level directory of this distribution.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
@@ -9,13 +9,14 @@
|
||||
* except according to those terms.
|
||||
*/
|
||||
|
||||
use mail_parser::{parsers::mbox::MBoxParser, Message};
|
||||
use mail_parser::{mailbox::mbox::MessageIterator, Message};
|
||||
|
||||
fn main() {
|
||||
// Read an MBox mailbox from stdin and prints each message as YAML.
|
||||
// Reads an MBox mailbox from stdin and prints each message as YAML.
|
||||
for raw_message in MessageIterator::new(std::io::stdin()) {
|
||||
let raw_message = raw_message.unwrap();
|
||||
let message = Message::parse(raw_message.contents()).unwrap();
|
||||
|
||||
for raw_message in MBoxParser::new(std::io::stdin()) {
|
||||
let message = Message::parse(&raw_message).unwrap();
|
||||
println!("{}", serde_yaml::to_string(&message).unwrap());
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright Stalwart Labs, Minter Ltd. See the COPYING
|
||||
* Copyright Stalwart Labs Ltd. See the COPYING
|
||||
* file at the top-level directory of this distribution.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
@@ -82,7 +82,7 @@ R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7
|
||||
);
|
||||
|
||||
assert_eq!(
|
||||
message.get_date().unwrap().to_iso8601(),
|
||||
message.get_date().unwrap().to_rfc3339(),
|
||||
"2021-11-20T14:22:01-08:00"
|
||||
);
|
||||
|
||||
@@ -112,7 +112,7 @@ R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7
|
||||
);
|
||||
|
||||
// Supports nested messages as well as multipart/digest
|
||||
let nested_message = message.get_attachment(0).unwrap().unwrap_message();
|
||||
let nested_message = message.get_attachment(0).unwrap().get_message().unwrap();
|
||||
|
||||
assert_eq!(
|
||||
nested_message.get_subject().unwrap(),
|
||||
@@ -129,7 +129,7 @@ R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7
|
||||
"<html><body>ℌ𝔢𝔩𝔭 𝔪𝔢 𝔢𝔵𝔭𝔬𝔯𝔱 𝔪𝔶 𝔟𝔬𝔬𝔨 𝔭𝔩𝔢𝔞𝔰𝔢!</body></html>"
|
||||
);
|
||||
|
||||
let nested_attachment = nested_message.get_attachment(0).unwrap().unwrap_binary();
|
||||
let nested_attachment = nested_message.get_attachment(0).unwrap();
|
||||
|
||||
assert_eq!(nested_attachment.len(), 42);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright Stalwart Labs, Minter Ltd. See the COPYING
|
||||
* Copyright Stalwart Labs Ltd. See the COPYING
|
||||
* file at the top-level directory of this distribution.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
@@ -60,30 +60,14 @@ R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7
|
||||
|
||||
fn write_attachments(message: &Message) {
|
||||
for attachment in message.get_attachments() {
|
||||
match attachment {
|
||||
MessagePart::Text(text) | MessagePart::Html(text) => write_part(text),
|
||||
MessagePart::Binary(blob) | MessagePart::InlineBinary(blob) => write_part(blob),
|
||||
MessagePart::Message(attached_message) => {
|
||||
// Write attachments of nested messages
|
||||
match &attached_message.body {
|
||||
MessageAttachment::Parsed(message) => write_attachments(message.as_ref()),
|
||||
MessageAttachment::Raw(_) => {
|
||||
write_attachments(&attached_message.parse_raw().unwrap())
|
||||
}
|
||||
}
|
||||
|
||||
// Write raw message
|
||||
write_part(attached_message);
|
||||
}
|
||||
_ => (),
|
||||
if !attachment.is_message() {
|
||||
std::fs::write(
|
||||
attachment.get_attachment_name().unwrap_or("Untitled"),
|
||||
attachment.get_contents(),
|
||||
)
|
||||
.unwrap();
|
||||
} else {
|
||||
write_attachments(&attachment.get_message().unwrap());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
fn write_part<'x>(part: &'x impl BodyPart<'x>) {
|
||||
std::fs::write(
|
||||
part.get_attachment_name().unwrap_or("Untitled"),
|
||||
part.get_contents(),
|
||||
)
|
||||
.unwrap();
|
||||
}
|
||||
Generated
+1
-11
@@ -42,11 +42,10 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "mail-parser"
|
||||
version = "0.4.2"
|
||||
version = "0.5.0"
|
||||
dependencies = [
|
||||
"encoding_rs",
|
||||
"serde",
|
||||
"serde_bytes",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
@@ -90,15 +89,6 @@ 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"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright Stalwart Labs, Minter Ltd. See the COPYING
|
||||
* Copyright Stalwart Labs Ltd. See the COPYING
|
||||
* file at the top-level directory of this distribution.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright Stalwart Labs, Minter Ltd. See the COPYING
|
||||
* Copyright Stalwart Labs Ltd. See the COPYING
|
||||
* file at the top-level directory of this distribution.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
@@ -16,7 +16,7 @@ use super::{
|
||||
DecoderFnc,
|
||||
};
|
||||
|
||||
pub fn get_charset_decoder<'x>(charset: &[u8]) -> Option<DecoderFnc<'x>> {
|
||||
pub fn get_charset_decoder(charset: &[u8]) -> Option<DecoderFnc> {
|
||||
if (2..=45).contains(&charset.len()) {
|
||||
let mut l_charset = [0u8; 45];
|
||||
let mut hash: u32 = charset.len() as u32;
|
||||
@@ -550,7 +550,7 @@ static CH_MAP: &[&[u8]; 758] = &[
|
||||
b"",
|
||||
b"",
|
||||
b"",
|
||||
b"",
|
||||
b"ks_c_5601-1989",
|
||||
b"",
|
||||
b"",
|
||||
b"",
|
||||
@@ -660,7 +660,7 @@ static CH_MAP: &[&[u8]; 758] = &[
|
||||
b"",
|
||||
b"",
|
||||
b"",
|
||||
b"",
|
||||
b"ks_c_5601-1987",
|
||||
b"",
|
||||
b"",
|
||||
b"",
|
||||
@@ -1312,7 +1312,7 @@ static FNC_MAP: &[for<'x> fn(&'x [u8]) -> String; 758] = &[
|
||||
no_op,
|
||||
no_op,
|
||||
no_op,
|
||||
no_op,
|
||||
decoder_euc_kr,
|
||||
no_op,
|
||||
no_op,
|
||||
no_op,
|
||||
@@ -1422,7 +1422,7 @@ static FNC_MAP: &[for<'x> fn(&'x [u8]) -> String; 758] = &[
|
||||
no_op,
|
||||
no_op,
|
||||
no_op,
|
||||
no_op,
|
||||
decoder_euc_kr,
|
||||
no_op,
|
||||
no_op,
|
||||
no_op,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright Stalwart Labs, Minter Ltd. See the COPYING
|
||||
* Copyright Stalwart Labs Ltd. See the COPYING
|
||||
* file at the top-level directory of this distribution.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
@@ -14,7 +14,7 @@ pub mod multi_byte;
|
||||
pub mod single_byte;
|
||||
pub mod utf;
|
||||
|
||||
pub type DecoderFnc<'x> = fn(&'x [u8]) -> String;
|
||||
pub type DecoderFnc = fn(&[u8]) -> String;
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright Stalwart Labs, Minter Ltd. See the COPYING
|
||||
* Copyright Stalwart Labs Ltd. See the COPYING
|
||||
* file at the top-level directory of this distribution.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
@@ -12,9 +12,6 @@
|
||||
#[cfg(feature = "full_encoding")]
|
||||
use encoding_rs::*;
|
||||
|
||||
#[cfg(not(feature = "full_encoding"))]
|
||||
use super::map::decoder_default;
|
||||
|
||||
#[cfg(feature = "full_encoding")]
|
||||
fn multi_byte_decoder(mut decoder: Decoder, bytes: &[u8]) -> String {
|
||||
let mut result = String::with_capacity(bytes.len() * 3);
|
||||
@@ -35,7 +32,7 @@ pub fn decoder_shift_jis(bytes: &[u8]) -> String {
|
||||
|
||||
#[cfg(not(feature = "full_encoding"))]
|
||||
{
|
||||
decoder_default(bytes)
|
||||
String::from_utf8_lossy(bytes).into_owned()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -47,7 +44,7 @@ pub fn decoder_big5(bytes: &[u8]) -> String {
|
||||
|
||||
#[cfg(not(feature = "full_encoding"))]
|
||||
{
|
||||
decoder_default(bytes)
|
||||
String::from_utf8_lossy(bytes).into_owned()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -59,7 +56,7 @@ pub fn decoder_euc_jp(bytes: &[u8]) -> String {
|
||||
|
||||
#[cfg(not(feature = "full_encoding"))]
|
||||
{
|
||||
decoder_default(bytes)
|
||||
String::from_utf8_lossy(bytes).into_owned()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -71,7 +68,7 @@ pub fn decoder_euc_kr(bytes: &[u8]) -> String {
|
||||
|
||||
#[cfg(not(feature = "full_encoding"))]
|
||||
{
|
||||
decoder_default(bytes)
|
||||
String::from_utf8_lossy(bytes).into_owned()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -83,7 +80,7 @@ pub fn decoder_gb18030(bytes: &[u8]) -> String {
|
||||
|
||||
#[cfg(not(feature = "full_encoding"))]
|
||||
{
|
||||
decoder_default(bytes)
|
||||
String::from_utf8_lossy(bytes).into_owned()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -95,7 +92,7 @@ pub fn decoder_gbk(bytes: &[u8]) -> String {
|
||||
|
||||
#[cfg(not(feature = "full_encoding"))]
|
||||
{
|
||||
decoder_default(bytes)
|
||||
String::from_utf8_lossy(bytes).into_owned()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -107,7 +104,7 @@ pub fn decoder_iso2022_jp(bytes: &[u8]) -> String {
|
||||
|
||||
#[cfg(not(feature = "full_encoding"))]
|
||||
{
|
||||
decoder_default(bytes)
|
||||
String::from_utf8_lossy(bytes).into_owned()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -119,7 +116,7 @@ pub fn decoder_windows874(bytes: &[u8]) -> String {
|
||||
|
||||
#[cfg(not(feature = "full_encoding"))]
|
||||
{
|
||||
decoder_default(bytes)
|
||||
String::from_utf8_lossy(bytes).into_owned()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -131,6 +128,6 @@ pub fn decoder_ibm866(bytes: &[u8]) -> String {
|
||||
|
||||
#[cfg(not(feature = "full_encoding"))]
|
||||
{
|
||||
decoder_default(bytes)
|
||||
String::from_utf8_lossy(bytes).into_owned()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright Stalwart Labs, Minter Ltd. See the COPYING
|
||||
* Copyright Stalwart Labs Ltd. See the COPYING
|
||||
* file at the top-level directory of this distribution.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright Stalwart Labs, Minter Ltd. See the COPYING
|
||||
* Copyright Stalwart Labs Ltd. See the COPYING
|
||||
* file at the top-level directory of this distribution.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright Stalwart Labs, Minter Ltd. See the COPYING
|
||||
* Copyright Stalwart Labs Ltd. See the COPYING
|
||||
* file at the top-level directory of this distribution.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright Stalwart Labs, Minter Ltd. See the COPYING
|
||||
* Copyright Stalwart Labs Ltd. See the COPYING
|
||||
* file at the top-level directory of this distribution.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright Stalwart Labs, Minter Ltd. See the COPYING
|
||||
* Copyright Stalwart Labs Ltd. See the COPYING
|
||||
* file at the top-level directory of this distribution.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright Stalwart Labs, Minter Ltd. See the COPYING
|
||||
* Copyright Stalwart Labs Ltd. See the COPYING
|
||||
* file at the top-level directory of this distribution.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright Stalwart Labs, Minter Ltd. See the COPYING
|
||||
* Copyright Stalwart Labs Ltd. See the COPYING
|
||||
* file at the top-level directory of this distribution.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
@@ -35,6 +35,7 @@ pub fn decode_quoted_printable<'x>(
|
||||
let mut state = QuotedPrintableState::None;
|
||||
let mut match_count = 0;
|
||||
let mut hex1 = 0;
|
||||
let mut lf_pos = 0;
|
||||
|
||||
debug_assert!(boundary.is_empty() || boundary.len() >= 2);
|
||||
|
||||
@@ -53,6 +54,9 @@ pub fn decode_quoted_printable<'x>(
|
||||
} else {
|
||||
is_boundary_end =
|
||||
crate::parsers::mime::is_boundary_end(stream, start_pos + bytes_read);
|
||||
if is_boundary_end && bytes_read - boundary.len() == lf_pos {
|
||||
buf.pop();
|
||||
}
|
||||
is_boundary_end
|
||||
};
|
||||
|
||||
@@ -66,8 +70,8 @@ pub fn decode_quoted_printable<'x>(
|
||||
}
|
||||
|
||||
if match_count > 0 {
|
||||
for ch in boundary[..match_count].iter() {
|
||||
if *ch != b'\n' || QuotedPrintableState::Eq != state {
|
||||
if QuotedPrintableState::Eq != state {
|
||||
for ch in boundary[..match_count].iter() {
|
||||
buf.push(*ch);
|
||||
}
|
||||
}
|
||||
@@ -110,6 +114,7 @@ pub fn decode_quoted_printable<'x>(
|
||||
state = QuotedPrintableState::None;
|
||||
} else {
|
||||
buf.push(b'\n');
|
||||
lf_pos = bytes_read;
|
||||
}
|
||||
}
|
||||
b'_' if is_word => {
|
||||
@@ -191,19 +196,19 @@ mod tests {
|
||||
(
|
||||
"=E2=80=94=E2=80=89Antoine de Saint-Exup=C3=A9ry\n--boundary",
|
||||
"— Antoine de Saint-Exupéry",
|
||||
"\n--boundary",
|
||||
"--boundary",
|
||||
false,
|
||||
),
|
||||
(
|
||||
"=E2=80=94=E2=80=89Antoine de Saint-Exup=C3=A9ry\n--\n--boundary",
|
||||
"— Antoine de Saint-Exupéry\n--",
|
||||
"\n--boundary",
|
||||
"--boundary",
|
||||
false,
|
||||
),
|
||||
(
|
||||
"=E2=80=94=E2=80=89Antoine de Saint-Exup=C3=A9ry=\n--\n--boundary",
|
||||
"— Antoine de Saint-Exupéry--",
|
||||
"\n--boundary",
|
||||
"--boundary",
|
||||
false,
|
||||
),
|
||||
(
|
||||
|
||||
+633
-519
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,361 @@
|
||||
/*
|
||||
* Copyright Stalwart Labs Ltd. See the COPYING
|
||||
* file at the top-level directory of this distribution.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
* https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
||||
* <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
|
||||
* option. This file may not be copied, modified, or distributed
|
||||
* except according to those terms.
|
||||
*/
|
||||
|
||||
use std::{
|
||||
fs, io,
|
||||
path::{Path, PathBuf},
|
||||
};
|
||||
|
||||
/// Maildir folder iterator
|
||||
pub struct FolderIterator<'x> {
|
||||
inbox: Option<MessageIterator>,
|
||||
it_stack: Vec<fs::ReadDir>,
|
||||
name_stack: Vec<String>,
|
||||
prefix: Option<&'x str>,
|
||||
}
|
||||
|
||||
/// Maildir message iterator
|
||||
pub struct MessageIterator {
|
||||
name: Option<String>,
|
||||
cur_it: fs::ReadDir,
|
||||
new_it: fs::ReadDir,
|
||||
}
|
||||
|
||||
/// Maildir message contents and metadata
|
||||
#[derive(Debug, PartialEq, Eq, Clone, PartialOrd, Ord)]
|
||||
pub struct Message {
|
||||
internal_date: u64,
|
||||
flags: Vec<Flag>,
|
||||
contents: Vec<u8>,
|
||||
path: PathBuf,
|
||||
}
|
||||
|
||||
/// Flags of Maildir message
|
||||
#[derive(Debug, PartialEq, Eq, Clone, Copy, PartialOrd, Ord)]
|
||||
pub enum Flag {
|
||||
Passed,
|
||||
Replied,
|
||||
Seen,
|
||||
Trashed,
|
||||
Draft,
|
||||
Flagged,
|
||||
}
|
||||
|
||||
impl FolderIterator<'_> {
|
||||
/// Creates a new Maildir folder iterator.
|
||||
/// For Maildir++ mailboxes use `Some(".")` as the prefix.
|
||||
/// For Dovecot Maildir mailboxes using LAYOUT=fs, use `None` as the prefix.
|
||||
pub fn new(
|
||||
path: impl Into<PathBuf>,
|
||||
sub_folder_prefix: Option<&str>,
|
||||
) -> io::Result<FolderIterator> {
|
||||
let path = path.into();
|
||||
|
||||
Ok(FolderIterator {
|
||||
it_stack: vec![fs::read_dir(&path)?],
|
||||
name_stack: Vec::new(),
|
||||
inbox: match MessageIterator::new_(&path, None) {
|
||||
Ok(inbox) => inbox.into(),
|
||||
Err(err) => {
|
||||
if err.kind() == io::ErrorKind::NotFound {
|
||||
None
|
||||
} else {
|
||||
return Err(err);
|
||||
}
|
||||
}
|
||||
},
|
||||
prefix: sub_folder_prefix,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
impl MessageIterator {
|
||||
/// Creates a new Maildir message iterator
|
||||
pub fn new(path: impl Into<PathBuf>) -> io::Result<MessageIterator> {
|
||||
MessageIterator::new_(&path.into(), None)
|
||||
}
|
||||
|
||||
fn new_(path: &Path, name: Option<String>) -> io::Result<MessageIterator> {
|
||||
let mut cur_path = path.to_path_buf();
|
||||
cur_path.push("cur");
|
||||
if !cur_path.exists() {
|
||||
return Err(io::Error::new(
|
||||
io::ErrorKind::NotFound,
|
||||
"Invalid Maildir format, 'cur' directory not found.",
|
||||
));
|
||||
}
|
||||
let mut new_path = path.to_path_buf();
|
||||
new_path.push("new");
|
||||
if !new_path.exists() {
|
||||
return Err(io::Error::new(
|
||||
io::ErrorKind::NotFound,
|
||||
"Invalid Maildir format, 'new' directory not found.",
|
||||
));
|
||||
}
|
||||
|
||||
Ok(MessageIterator {
|
||||
name,
|
||||
cur_it: fs::read_dir(cur_path)?,
|
||||
new_it: fs::read_dir(new_path)?,
|
||||
})
|
||||
}
|
||||
|
||||
/// Returns the mailbox name of None for 'INBOX'.
|
||||
pub fn name(&self) -> Option<&str> {
|
||||
self.name.as_deref()
|
||||
}
|
||||
}
|
||||
|
||||
impl Iterator for FolderIterator<'_> {
|
||||
type Item = io::Result<MessageIterator>;
|
||||
|
||||
fn next(&mut self) -> Option<Self::Item> {
|
||||
if let Some(inbox) = self.inbox.take() {
|
||||
return Some(Ok(inbox));
|
||||
}
|
||||
|
||||
loop {
|
||||
let entry = match self.it_stack.last_mut().unwrap().next() {
|
||||
Some(Ok(entry)) => entry,
|
||||
Some(Err(err)) => return Some(Err(err)),
|
||||
None => {
|
||||
self.it_stack.pop();
|
||||
self.name_stack.pop();
|
||||
|
||||
if !self.it_stack.is_empty() {
|
||||
continue;
|
||||
} else {
|
||||
return None;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
let path = entry.path();
|
||||
if path.is_dir() {
|
||||
if let Some(name) =
|
||||
path.file_name()
|
||||
.and_then(|name| name.to_str())
|
||||
.and_then(|name| {
|
||||
if !["cur", "new", "tmp"].contains(&name) {
|
||||
if let Some(prefix) = self.prefix {
|
||||
name.strip_prefix(prefix)
|
||||
} else {
|
||||
name.into()
|
||||
}
|
||||
} else {
|
||||
None
|
||||
}
|
||||
})
|
||||
{
|
||||
match fs::read_dir(&path) {
|
||||
Ok(next_it) => {
|
||||
self.it_stack.push(next_it);
|
||||
self.name_stack.push(name.to_string());
|
||||
}
|
||||
Err(err) => {
|
||||
return Some(Err(err));
|
||||
}
|
||||
}
|
||||
|
||||
match MessageIterator::new_(
|
||||
&path,
|
||||
self.name_stack.join(self.prefix.unwrap_or("/")).into(),
|
||||
) {
|
||||
Ok(folder) => return Some(Ok(folder)),
|
||||
Err(err) => {
|
||||
if err.kind() != io::ErrorKind::NotFound {
|
||||
return Some(Err(err));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl Iterator for MessageIterator {
|
||||
type Item = io::Result<Message>;
|
||||
|
||||
fn next(&mut self) -> Option<Self::Item> {
|
||||
loop {
|
||||
let entry = match self.cur_it.next().or_else(|| self.new_it.next()) {
|
||||
Some(Ok(entry)) => entry,
|
||||
Some(Err(err)) => return Some(Err(err)),
|
||||
None => return None,
|
||||
};
|
||||
let path = entry.path();
|
||||
if path.is_file() {
|
||||
if let Some(name) = path.file_name().and_then(|name| name.to_str()) {
|
||||
if !name.starts_with('.') {
|
||||
let internal_date =
|
||||
match fs::metadata(&path).and_then(|m| m.created()).and_then(|d| {
|
||||
d.duration_since(std::time::UNIX_EPOCH)
|
||||
.map(|d| d.as_secs())
|
||||
.map_err(|e| {
|
||||
io::Error::new(io::ErrorKind::InvalidData, e.to_string())
|
||||
})
|
||||
}) {
|
||||
Ok(metadata) => metadata,
|
||||
Err(err) => return Some(Err(err)),
|
||||
};
|
||||
let contents = match fs::read(&path) {
|
||||
Ok(contents) => contents,
|
||||
Err(err) => return Some(Err(err)),
|
||||
};
|
||||
let mut flags = Vec::new();
|
||||
if let Some((_, part)) = name.rsplit_once("2,") {
|
||||
for &ch in part.as_bytes() {
|
||||
match ch {
|
||||
b'P' => flags.push(Flag::Passed),
|
||||
b'R' => flags.push(Flag::Replied),
|
||||
b'S' => flags.push(Flag::Seen),
|
||||
b'T' => flags.push(Flag::Trashed),
|
||||
b'D' => flags.push(Flag::Draft),
|
||||
b'F' => flags.push(Flag::Flagged),
|
||||
_ => {
|
||||
if !ch.is_ascii_alphanumeric() {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return Some(Ok(Message {
|
||||
contents,
|
||||
internal_date,
|
||||
flags,
|
||||
path: path.to_path_buf(),
|
||||
}));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl Message {
|
||||
/// Returns the message creation date in seconds since UNIX epoch
|
||||
pub fn internal_date(&self) -> u64 {
|
||||
self.internal_date
|
||||
}
|
||||
|
||||
/// Returns the message flags
|
||||
pub fn flags(&self) -> &[Flag] {
|
||||
&self.flags
|
||||
}
|
||||
|
||||
/// Returns the path to the message file
|
||||
pub fn path(&self) -> &Path {
|
||||
&self.path
|
||||
}
|
||||
|
||||
/// Returns the message contents
|
||||
pub fn contents(&self) -> &[u8] {
|
||||
&self.contents
|
||||
}
|
||||
|
||||
/// Unwraps the message contents
|
||||
pub fn unwrap_contents(self) -> Vec<u8> {
|
||||
self.contents
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use std::path::PathBuf;
|
||||
|
||||
use crate::mailbox::maildir::{Flag, Message};
|
||||
|
||||
use super::FolderIterator;
|
||||
|
||||
#[test]
|
||||
fn parse_maildir() {
|
||||
let mut test_dir = PathBuf::from(env!("CARGO_MANIFEST_DIR"));
|
||||
test_dir.push("tests");
|
||||
test_dir.push("maildir");
|
||||
|
||||
let mut messages = Vec::new();
|
||||
let expected_messages = vec![
|
||||
(
|
||||
"INBOX".to_string(),
|
||||
Message {
|
||||
internal_date: 0,
|
||||
flags: vec![Flag::Seen],
|
||||
contents: vec![98, 10],
|
||||
path: "unknown".into(),
|
||||
},
|
||||
),
|
||||
(
|
||||
"INBOX".to_string(),
|
||||
Message {
|
||||
internal_date: 0,
|
||||
flags: vec![Flag::Seen, Flag::Trashed],
|
||||
contents: vec![97, 10],
|
||||
path: "unknown".into(),
|
||||
},
|
||||
),
|
||||
(
|
||||
"My Folder".to_string(),
|
||||
Message {
|
||||
internal_date: 0,
|
||||
flags: vec![],
|
||||
contents: vec![100, 10],
|
||||
path: "unknown".into(),
|
||||
},
|
||||
),
|
||||
(
|
||||
"My Folder".to_string(),
|
||||
Message {
|
||||
internal_date: 0,
|
||||
flags: vec![Flag::Trashed, Flag::Draft, Flag::Replied],
|
||||
contents: vec![99, 10],
|
||||
path: "unknown".into(),
|
||||
},
|
||||
),
|
||||
(
|
||||
"My Folder.Nested Folder".to_string(),
|
||||
Message {
|
||||
internal_date: 0,
|
||||
flags: vec![Flag::Replied, Flag::Draft, Flag::Flagged],
|
||||
contents: vec![102, 10],
|
||||
path: "unknown".into(),
|
||||
},
|
||||
),
|
||||
(
|
||||
"My Folder.Nested Folder".to_string(),
|
||||
Message {
|
||||
internal_date: 0,
|
||||
flags: vec![Flag::Flagged, Flag::Passed],
|
||||
contents: vec![101, 10],
|
||||
path: "unknown".into(),
|
||||
},
|
||||
),
|
||||
];
|
||||
|
||||
for folder in FolderIterator::new(test_dir, ".".into()).unwrap() {
|
||||
let folder = folder.unwrap();
|
||||
let name = folder.name().unwrap_or("INBOX").to_string();
|
||||
|
||||
for message in folder {
|
||||
let mut message = message.unwrap();
|
||||
assert_ne!(message.internal_date(), 0);
|
||||
assert!(message.path.exists());
|
||||
message.internal_date = 0;
|
||||
message.path = PathBuf::from("unknown");
|
||||
messages.push((name.clone(), message));
|
||||
}
|
||||
}
|
||||
|
||||
messages.sort_unstable();
|
||||
assert_eq!(messages, expected_messages);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,279 @@
|
||||
/*
|
||||
* Copyright Stalwart Labs Ltd. See the COPYING
|
||||
* file at the top-level directory of this distribution.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
* https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
||||
* <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
|
||||
* option. This file may not be copied, modified, or distributed
|
||||
* except according to those terms.
|
||||
*/
|
||||
|
||||
use crate::DateTime;
|
||||
use std::io::{BufRead, BufReader, Read};
|
||||
|
||||
/// Parses an Mbox mailbox from a `Read` stream, returning each message as a
|
||||
/// `Vec<u8>`.
|
||||
/// supports >From quoting as defined in the [QMail mbox specification](http://qmail.org/qmail-manual-html/man5/mbox.html).
|
||||
pub struct MessageIterator<T: Read> {
|
||||
reader: BufReader<T>,
|
||||
message: Option<Message>,
|
||||
}
|
||||
|
||||
/// Mbox message contents and metadata
|
||||
#[derive(Debug, PartialEq, Eq, Clone, PartialOrd, Ord)]
|
||||
pub struct Message {
|
||||
internal_date: u64,
|
||||
from: String,
|
||||
contents: Vec<u8>,
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct ParseError {}
|
||||
|
||||
impl<T> MessageIterator<T>
|
||||
where
|
||||
T: Read,
|
||||
{
|
||||
pub fn new(reader: T) -> MessageIterator<T> {
|
||||
MessageIterator {
|
||||
reader: BufReader::new(reader),
|
||||
message: None,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl<T> Iterator for MessageIterator<T>
|
||||
where
|
||||
T: Read,
|
||||
{
|
||||
type Item = Result<Message, ParseError>;
|
||||
|
||||
fn next(&mut self) -> Option<Self::Item> {
|
||||
let mut message_line = Vec::with_capacity(80);
|
||||
|
||||
loop {
|
||||
match self.reader.read_until(b'\n', &mut message_line) {
|
||||
Ok(bytes_read) => {
|
||||
if bytes_read == 0 {
|
||||
break;
|
||||
}
|
||||
}
|
||||
Err(_) => {
|
||||
return Some(Err(ParseError {}));
|
||||
}
|
||||
}
|
||||
|
||||
let is_from = message_line
|
||||
.get(..5)
|
||||
.map(|line| line == b"From ")
|
||||
.unwrap_or(false);
|
||||
|
||||
if let Some(message) = &mut self.message {
|
||||
if !is_from {
|
||||
if message_line[0] != b'>' {
|
||||
message.contents.append(&mut message_line);
|
||||
} else if message_line
|
||||
.iter()
|
||||
.skip_while(|&&ch| ch == b'>')
|
||||
.take(5)
|
||||
.copied()
|
||||
.collect::<Vec<u8>>()
|
||||
== b"From "
|
||||
{
|
||||
message.contents.extend_from_slice(&message_line[1..]);
|
||||
message_line.clear();
|
||||
} else {
|
||||
message.contents.append(&mut message_line);
|
||||
}
|
||||
} else {
|
||||
let message = self.message.take().map(Ok);
|
||||
self.message =
|
||||
Message::new(std::str::from_utf8(&message_line).unwrap_or("")).into();
|
||||
return message;
|
||||
}
|
||||
} else {
|
||||
if is_from {
|
||||
self.message =
|
||||
Message::new(std::str::from_utf8(&message_line).unwrap_or("")).into();
|
||||
}
|
||||
message_line.clear();
|
||||
}
|
||||
}
|
||||
|
||||
self.message.take().map(Ok)
|
||||
}
|
||||
}
|
||||
|
||||
impl Message {
|
||||
fn new(hdr: &str) -> Self {
|
||||
let (internal_date, from) = if let Some((from, date)) = hdr
|
||||
.strip_prefix("From ")
|
||||
.and_then(|hdr| hdr.split_once(' '))
|
||||
{
|
||||
let mut dt = DateTime {
|
||||
year: u16::MAX,
|
||||
month: u8::MAX,
|
||||
day: u8::MAX,
|
||||
hour: u8::MAX,
|
||||
minute: u8::MAX,
|
||||
second: u8::MAX,
|
||||
tz_before_gmt: false,
|
||||
tz_hour: 0,
|
||||
tz_minute: 0,
|
||||
};
|
||||
|
||||
for (pos, part) in date.split_whitespace().enumerate() {
|
||||
match pos {
|
||||
1 => {
|
||||
dt.month = if part.eq_ignore_ascii_case("jan") {
|
||||
1
|
||||
} else if part.eq_ignore_ascii_case("feb") {
|
||||
2
|
||||
} else if part.eq_ignore_ascii_case("mar") {
|
||||
3
|
||||
} else if part.eq_ignore_ascii_case("apr") {
|
||||
4
|
||||
} else if part.eq_ignore_ascii_case("may") {
|
||||
5
|
||||
} else if part.eq_ignore_ascii_case("jun") {
|
||||
6
|
||||
} else if part.eq_ignore_ascii_case("jul") {
|
||||
7
|
||||
} else if part.eq_ignore_ascii_case("aug") {
|
||||
8
|
||||
} else if part.eq_ignore_ascii_case("sep") {
|
||||
9
|
||||
} else if part.eq_ignore_ascii_case("oct") {
|
||||
10
|
||||
} else if part.eq_ignore_ascii_case("nov") {
|
||||
11
|
||||
} else if part.eq_ignore_ascii_case("dec") {
|
||||
12
|
||||
} else {
|
||||
u8::MAX
|
||||
};
|
||||
}
|
||||
2 => {
|
||||
dt.day = part.parse().unwrap_or(u8::MAX);
|
||||
}
|
||||
3 => {
|
||||
for (pos, part) in part.split(':').enumerate() {
|
||||
match pos {
|
||||
0 => {
|
||||
dt.hour = part.parse().unwrap_or(u8::MAX);
|
||||
}
|
||||
1 => {
|
||||
dt.minute = part.parse().unwrap_or(u8::MAX);
|
||||
}
|
||||
2 => {
|
||||
dt.second = part.parse().unwrap_or(u8::MAX);
|
||||
}
|
||||
_ => {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
4 => {
|
||||
dt.year = part.parse().unwrap_or(u16::MAX);
|
||||
}
|
||||
_ => (),
|
||||
}
|
||||
}
|
||||
|
||||
(
|
||||
if dt.is_valid() {
|
||||
dt.to_timestamp() as u64
|
||||
} else {
|
||||
0
|
||||
},
|
||||
from.trim().to_string(),
|
||||
)
|
||||
} else {
|
||||
(0, "".to_string())
|
||||
};
|
||||
|
||||
Self {
|
||||
internal_date,
|
||||
from,
|
||||
contents: Vec::with_capacity(1024),
|
||||
}
|
||||
}
|
||||
|
||||
/// Returns the message creation date in UTC seconds since UNIX epoch
|
||||
pub fn internal_date(&self) -> u64 {
|
||||
self.internal_date
|
||||
}
|
||||
|
||||
/// Returns the message sender address
|
||||
pub fn from(&self) -> &str {
|
||||
&self.from
|
||||
}
|
||||
|
||||
/// Returns the message contents
|
||||
pub fn contents(&self) -> &[u8] {
|
||||
&self.contents
|
||||
}
|
||||
|
||||
/// Unwraps the message contents
|
||||
pub fn unwrap_contents(self) -> Vec<u8> {
|
||||
self.contents
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use crate::mailbox::mbox::Message;
|
||||
|
||||
use super::MessageIterator;
|
||||
|
||||
#[test]
|
||||
fn parse_mbox() {
|
||||
let message = br#"From god@heaven.af.mil Sat Jan 3 01:05:34 1996
|
||||
Message 1
|
||||
|
||||
From cras@irccrew.org Tue Jul 23 19:39:23 2002
|
||||
Message 2
|
||||
|
||||
From test@test.com Tue Aug 6 13:34:34 2002
|
||||
Message 3
|
||||
>From hello
|
||||
>>From world
|
||||
>>>From test
|
||||
|
||||
From other@domain.com Mon Jan 15 15:30:00 2018
|
||||
Message 4
|
||||
> From
|
||||
>F
|
||||
"#;
|
||||
|
||||
let parser = MessageIterator::new(&message[..]);
|
||||
let expected_messages = vec![
|
||||
Message {
|
||||
internal_date: 820631134,
|
||||
from: "god@heaven.af.mil".to_string(),
|
||||
contents: b"Message 1\n\n".to_vec(),
|
||||
},
|
||||
Message {
|
||||
internal_date: 1027453163,
|
||||
from: "cras@irccrew.org".to_string(),
|
||||
contents: b"Message 2\n\n".to_vec(),
|
||||
},
|
||||
Message {
|
||||
internal_date: 1028640874,
|
||||
from: "test@test.com".to_string(),
|
||||
contents: b"Message 3\nFrom hello\n>From world\n>>From test\n\n".to_vec(),
|
||||
},
|
||||
Message {
|
||||
internal_date: 1516030200,
|
||||
from: "other@domain.com".to_string(),
|
||||
contents: b"Message 4\n> From\n>F\n".to_vec(),
|
||||
},
|
||||
];
|
||||
|
||||
for (message, expected_messages) in parser.zip(expected_messages) {
|
||||
assert_eq!(message.unwrap(), expected_messages);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
pub mod maildir;
|
||||
pub mod mbox;
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright Stalwart Labs, Minter Ltd. See the COPYING
|
||||
* Copyright Stalwart Labs Ltd. See the COPYING
|
||||
* file at the top-level directory of this distribution.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright Stalwart Labs, Minter Ltd. See the COPYING
|
||||
* Copyright Stalwart Labs Ltd. See the COPYING
|
||||
* file at the top-level directory of this distribution.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
@@ -9,10 +9,7 @@
|
||||
* except according to those terms.
|
||||
*/
|
||||
|
||||
use std::{
|
||||
borrow::Cow,
|
||||
collections::{hash_map::Entry, HashMap},
|
||||
};
|
||||
use std::borrow::Cow;
|
||||
|
||||
use crate::{
|
||||
decoders::{charsets::map::get_charset_decoder, encoded_word::decode_rfc2047, hex::decode_hex},
|
||||
@@ -44,7 +41,7 @@ struct ContentTypeParser<'x> {
|
||||
attr_position: u32,
|
||||
|
||||
values: Vec<Cow<'x, str>>,
|
||||
attributes: HashMap<Cow<'x, str>, Cow<'x, str>>,
|
||||
attributes: Vec<(Cow<'x, str>, Cow<'x, str>)>,
|
||||
continuations: Option<Vec<Continuation<'x>>>,
|
||||
|
||||
token_start: usize,
|
||||
@@ -53,6 +50,7 @@ struct ContentTypeParser<'x> {
|
||||
is_continuation: bool,
|
||||
is_encoded_attribute: bool,
|
||||
is_escaped: bool,
|
||||
remove_crlf: bool,
|
||||
is_lower_case: bool,
|
||||
is_token_start: bool,
|
||||
}
|
||||
@@ -95,18 +93,20 @@ fn add_attribute_parameter<'x>(parser: &mut ContentTypeParser<'x>, stream: &Mess
|
||||
|
||||
if parser.attr_charset.is_none() {
|
||||
parser.attr_charset = attr_part.into();
|
||||
} else if let Entry::Vacant(e) = parser.attributes.entry(
|
||||
parser
|
||||
} else {
|
||||
let attr_name = parser
|
||||
.attr_name
|
||||
.as_ref()
|
||||
.unwrap_or(&"unknown".into())
|
||||
.clone()
|
||||
+ "-language",
|
||||
) {
|
||||
e.insert(attr_part);
|
||||
} else {
|
||||
parser.values.push("'".into());
|
||||
parser.values.push(attr_part);
|
||||
+ "-language";
|
||||
|
||||
if !parser.attributes.iter().any(|(name, _)| name == &attr_name) {
|
||||
parser.attributes.push((attr_name, attr_part));
|
||||
} else {
|
||||
parser.values.push("'".into());
|
||||
parser.values.push(attr_part);
|
||||
}
|
||||
}
|
||||
|
||||
reset_parser(parser);
|
||||
@@ -143,9 +143,22 @@ fn add_value<'x>(parser: &mut ContentTypeParser<'x>, stream: &MessageStream<'x>)
|
||||
|
||||
let has_values = !parser.values.is_empty();
|
||||
let value = if parser.token_start > 0 {
|
||||
Some(String::from_utf8_lossy(
|
||||
&stream.data[parser.token_start - 1..parser.token_end],
|
||||
))
|
||||
let value = &stream.data[parser.token_start - 1..parser.token_end];
|
||||
Some(if !parser.remove_crlf {
|
||||
String::from_utf8_lossy(value)
|
||||
} else {
|
||||
parser.remove_crlf = false;
|
||||
match String::from_utf8(
|
||||
value
|
||||
.iter()
|
||||
.filter(|&&ch| ch != b'\r' && ch != b'\n')
|
||||
.copied()
|
||||
.collect::<Vec<_>>(),
|
||||
) {
|
||||
Ok(value) => value.into(),
|
||||
Err(err) => String::from_utf8_lossy(err.as_bytes()).into_owned().into(),
|
||||
}
|
||||
})
|
||||
} else {
|
||||
if !has_values {
|
||||
return;
|
||||
@@ -154,7 +167,7 @@ fn add_value<'x>(parser: &mut ContentTypeParser<'x>, stream: &MessageStream<'x>)
|
||||
};
|
||||
|
||||
if !parser.is_continuation {
|
||||
parser.attributes.insert(
|
||||
parser.attributes.push((
|
||||
parser.attr_name.take().unwrap(),
|
||||
if !has_values {
|
||||
value.unwrap()
|
||||
@@ -164,7 +177,7 @@ fn add_value<'x>(parser: &mut ContentTypeParser<'x>, stream: &MessageStream<'x>)
|
||||
}
|
||||
parser.values.concat().into()
|
||||
},
|
||||
);
|
||||
));
|
||||
} else {
|
||||
let attr_name = parser.attr_name.take().unwrap();
|
||||
let mut value = if let Some(value) = value {
|
||||
@@ -204,7 +217,7 @@ fn add_value<'x>(parser: &mut ContentTypeParser<'x>, stream: &MessageStream<'x>)
|
||||
|
||||
parser.attr_position = 0;
|
||||
} else {
|
||||
parser.attributes.insert(attr_name, value);
|
||||
parser.attributes.push((attr_name, value));
|
||||
}
|
||||
parser.is_continuation = false;
|
||||
parser.attr_charset = None;
|
||||
@@ -235,12 +248,11 @@ fn merge_continuations(parser: &mut ContentTypeParser) {
|
||||
let continuations = parser.continuations.as_mut().unwrap();
|
||||
continuations.sort();
|
||||
for (key, _, value) in continuations.drain(..) {
|
||||
let value = if let Some(old_value) = parser.attributes.get(&key) {
|
||||
old_value.to_owned() + value
|
||||
if let Some((_, old_value)) = parser.attributes.iter_mut().find(|(name, _)| name == &key) {
|
||||
*old_value = format!("{}{}", old_value.to_owned(), value).into();
|
||||
} else {
|
||||
value
|
||||
};
|
||||
parser.attributes.insert(key, value);
|
||||
parser.attributes.push((key, value));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -256,7 +268,7 @@ pub fn parse_content_type<'x>(stream: &mut MessageStream<'x>) -> HeaderValue<'x>
|
||||
attr_charset: None,
|
||||
attr_position: 0,
|
||||
|
||||
attributes: HashMap::new(),
|
||||
attributes: Vec::new(),
|
||||
values: Vec::new(),
|
||||
continuations: None,
|
||||
|
||||
@@ -265,6 +277,7 @@ pub fn parse_content_type<'x>(stream: &mut MessageStream<'x>) -> HeaderValue<'x>
|
||||
is_lower_case: true,
|
||||
is_token_start: true,
|
||||
is_escaped: false,
|
||||
remove_crlf: false,
|
||||
|
||||
token_start: 0,
|
||||
token_end: 0,
|
||||
@@ -300,46 +313,52 @@ pub fn parse_content_type<'x>(stream: &mut MessageStream<'x>) -> HeaderValue<'x>
|
||||
}
|
||||
}
|
||||
b'\n' => {
|
||||
let next_is_space = matches!(stream.data.get(stream.pos), Some(b' ' | b'\t'));
|
||||
match parser.state {
|
||||
ContentState::Type | ContentState::AttributeName | ContentState::SubType => {
|
||||
add_attribute(&mut parser, stream);
|
||||
}
|
||||
ContentState::AttributeValue | ContentState::AttributeQuotedValue => {
|
||||
ContentState::AttributeValue => {
|
||||
add_value(&mut parser, stream);
|
||||
}
|
||||
ContentState::AttributeQuotedValue => {
|
||||
if next_is_space {
|
||||
parser.remove_crlf = true;
|
||||
continue;
|
||||
} else {
|
||||
add_value(&mut parser, stream);
|
||||
}
|
||||
}
|
||||
_ => (),
|
||||
}
|
||||
|
||||
match stream.data.get(stream.pos) {
|
||||
Some(b' ' | b'\t') => {
|
||||
parser.state = ContentState::AttributeName;
|
||||
stream.pos += 1;
|
||||
iter.next();
|
||||
if next_is_space {
|
||||
parser.state = ContentState::AttributeName;
|
||||
stream.pos += 1;
|
||||
iter.next();
|
||||
|
||||
if !parser.is_token_start {
|
||||
parser.is_token_start = true;
|
||||
}
|
||||
continue;
|
||||
if !parser.is_token_start {
|
||||
parser.is_token_start = true;
|
||||
}
|
||||
continue;
|
||||
} else {
|
||||
if parser.continuations.is_some() {
|
||||
merge_continuations(&mut parser);
|
||||
}
|
||||
_ => {
|
||||
if parser.continuations.is_some() {
|
||||
merge_continuations(&mut parser);
|
||||
}
|
||||
|
||||
return if let Some(content_type) = parser.c_type {
|
||||
HeaderValue::ContentType(ContentType {
|
||||
c_type: content_type,
|
||||
c_subtype: parser.c_subtype.take(),
|
||||
attributes: if !parser.attributes.is_empty() {
|
||||
Some(parser.attributes)
|
||||
} else {
|
||||
None
|
||||
},
|
||||
})
|
||||
} else {
|
||||
HeaderValue::Empty
|
||||
};
|
||||
}
|
||||
return if let Some(content_type) = parser.c_type {
|
||||
HeaderValue::ContentType(ContentType {
|
||||
c_type: content_type,
|
||||
c_subtype: parser.c_subtype.take(),
|
||||
attributes: if !parser.attributes.is_empty() {
|
||||
Some(parser.attributes)
|
||||
} else {
|
||||
None
|
||||
},
|
||||
})
|
||||
} else {
|
||||
HeaderValue::Empty
|
||||
};
|
||||
}
|
||||
}
|
||||
b'/' if parser.state == ContentState::Type => {
|
||||
@@ -501,8 +520,25 @@ pub fn parse_content_type<'x>(stream: &mut MessageStream<'x>) -> HeaderValue<'x>
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use std::{borrow::Cow, collections::HashMap};
|
||||
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
use crate::{parsers::message::MessageStream, HeaderValue};
|
||||
|
||||
#[derive(Serialize, Deserialize, PartialEq, Eq, Debug)]
|
||||
pub struct ContentTypeMap<'x> {
|
||||
pub c_type: Cow<'x, str>,
|
||||
pub c_subtype: Option<Cow<'x, str>>,
|
||||
pub attributes: Option<HashMap<Cow<'x, str>, Cow<'x, str>>>,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, PartialEq, Eq, Debug)]
|
||||
pub enum HeaderValueMap<'x> {
|
||||
ContentType(ContentTypeMap<'x>),
|
||||
Empty,
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn parse_content_fields() {
|
||||
use super::parse_content_type;
|
||||
@@ -661,6 +697,17 @@ mod tests {
|
||||
" boundary: simple boundary\n"
|
||||
),
|
||||
),
|
||||
(
|
||||
"multipart/mixed; boundary=\"foo\n bar\"\n",
|
||||
concat!(
|
||||
"---\n",
|
||||
"ContentType:\n",
|
||||
" c_type: multipart\n",
|
||||
" c_subtype: mixed\n",
|
||||
" attributes:\n",
|
||||
" boundary: \"foo bar\"\n"
|
||||
),
|
||||
),
|
||||
(
|
||||
"multipart/alternative; boundary=boundary42\n",
|
||||
concat!(
|
||||
@@ -1103,7 +1150,7 @@ mod tests {
|
||||
" c_type: inva\n",
|
||||
" c_subtype: lid\n",
|
||||
" attributes:\n",
|
||||
" name: \" \"\n"
|
||||
" name: \" \"\n"
|
||||
),
|
||||
),
|
||||
(
|
||||
@@ -1115,7 +1162,7 @@ mod tests {
|
||||
" c_subtype: lid\n",
|
||||
" attributes:\n",
|
||||
" test: test\n",
|
||||
" name: \" \"\n"
|
||||
" name: \" \"\n"
|
||||
),
|
||||
),
|
||||
(
|
||||
@@ -1523,8 +1570,18 @@ mod tests {
|
||||
for input in inputs {
|
||||
let str = input.0.to_string();
|
||||
|
||||
let result = parse_content_type(&mut MessageStream::new(str.as_bytes()));
|
||||
let expected: HeaderValue = serde_yaml::from_str(input.1).unwrap_or(HeaderValue::Empty);
|
||||
// TODO: Redo tests without using hashmaps.
|
||||
let result = match parse_content_type(&mut MessageStream::new(str.as_bytes())) {
|
||||
HeaderValue::ContentType(ct) => HeaderValueMap::ContentType(ContentTypeMap {
|
||||
c_type: ct.c_type,
|
||||
c_subtype: ct.c_subtype,
|
||||
attributes: ct.attributes.map(|a| a.into_iter().collect()),
|
||||
}),
|
||||
HeaderValue::Empty => HeaderValueMap::Empty,
|
||||
_ => unreachable!(),
|
||||
};
|
||||
let expected: HeaderValueMap =
|
||||
serde_yaml::from_str(input.1).unwrap_or(HeaderValueMap::Empty);
|
||||
|
||||
/*
|
||||
if input.0.len() >= 70 {
|
||||
|
||||
+137
-33
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright Stalwart Labs, Minter Ltd. See the COPYING
|
||||
* Copyright Stalwart Labs Ltd. See the COPYING
|
||||
* file at the top-level directory of this distribution.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
@@ -14,26 +14,96 @@ use std::fmt;
|
||||
use crate::{parsers::message::MessageStream, DateTime, HeaderValue};
|
||||
|
||||
impl DateTime {
|
||||
/// Returns an ISO-8601 representation of the parsed RFC5322 datetime field
|
||||
pub fn to_iso8601(&self) -> String {
|
||||
format!(
|
||||
"{:04}-{:02}-{:02}T{:02}:{:02}:{:02}{}{:02}:{:02}",
|
||||
self.year,
|
||||
self.month,
|
||||
self.day,
|
||||
self.hour,
|
||||
self.minute,
|
||||
self.second,
|
||||
if self.tz_before_gmt { "-" } else { "+" },
|
||||
self.tz_hour,
|
||||
self.tz_minute
|
||||
)
|
||||
/// Parses an RFC822 date
|
||||
pub fn parse_rfc822(&self, value: &str) -> Option<Self> {
|
||||
match parse_date(&mut MessageStream {
|
||||
data: value.as_bytes(),
|
||||
pos: 0,
|
||||
}) {
|
||||
HeaderValue::DateTime(dt) => dt.into(),
|
||||
_ => None,
|
||||
}
|
||||
}
|
||||
|
||||
/// Returns an RFC3339 representation of the parsed RFC5322 datetime field
|
||||
pub fn to_rfc3339(&self) -> String {
|
||||
if self.tz_hour != 0 || self.tz_minute != 0 {
|
||||
format!(
|
||||
"{:04}-{:02}-{:02}T{:02}:{:02}:{:02}{}{:02}:{:02}",
|
||||
self.year,
|
||||
self.month,
|
||||
self.day,
|
||||
self.hour,
|
||||
self.minute,
|
||||
self.second,
|
||||
if self.tz_before_gmt && (self.tz_hour > 0 || self.tz_minute > 0) {
|
||||
"-"
|
||||
} else {
|
||||
"+"
|
||||
},
|
||||
self.tz_hour,
|
||||
self.tz_minute
|
||||
)
|
||||
} else {
|
||||
format!(
|
||||
"{:04}-{:02}-{:02}T{:02}:{:02}:{:02}Z",
|
||||
self.year, self.month, self.day, self.hour, self.minute, self.second,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
/// Returns true if the date is valid
|
||||
pub fn is_valid(&self) -> bool {
|
||||
(0..=23).contains(&self.tz_hour)
|
||||
&& (1970..=3000).contains(&self.year)
|
||||
&& (0..=59).contains(&self.tz_minute)
|
||||
&& (1..=12).contains(&self.month)
|
||||
&& (1..=31).contains(&self.day)
|
||||
&& (0..=23).contains(&self.hour)
|
||||
&& (0..=59).contains(&self.minute)
|
||||
&& (0..=59).contains(&self.second)
|
||||
}
|
||||
|
||||
/// Returns the numbers of seconds since 1970-01-01T00:00:00Z (Unix epoch)
|
||||
/// or None if the date is invalid.
|
||||
pub fn to_timestamp(&self) -> i64 {
|
||||
// Ported from https://github.com/protocolbuffers/upb/blob/22182e6e/upb/json_decode.c#L982-L992
|
||||
let month = self.month as u32;
|
||||
let year_base = 4800; /* Before min year, multiple of 400. */
|
||||
let m_adj = month.wrapping_sub(3); /* March-based month. */
|
||||
let carry = if m_adj > month { 1 } else { 0 };
|
||||
let adjust = if carry > 0 { 12 } else { 0 };
|
||||
let y_adj = self.year as i64 + year_base - carry;
|
||||
let month_days = ((m_adj.wrapping_add(adjust)) * 62719 + 769) / 2048;
|
||||
let leap_days = y_adj / 4 - y_adj / 100 + y_adj / 400;
|
||||
(y_adj * 365 + leap_days + month_days as i64 + (self.day as i64 - 1) - 2472632) * 86400
|
||||
+ self.hour as i64 * 3600
|
||||
+ self.minute as i64 * 60
|
||||
+ self.second as i64
|
||||
+ ((self.tz_hour as i64 * 3600 + self.tz_minute as i64 * 60)
|
||||
* if self.tz_before_gmt { 1 } else { -1 })
|
||||
}
|
||||
}
|
||||
|
||||
impl PartialOrd for DateTime {
|
||||
fn partial_cmp(&self, other: &Self) -> Option<std::cmp::Ordering> {
|
||||
self.cmp(other).into()
|
||||
}
|
||||
}
|
||||
|
||||
impl Ord for DateTime {
|
||||
fn cmp(&self, other: &Self) -> std::cmp::Ordering {
|
||||
match self.to_timestamp() - other.to_timestamp() {
|
||||
0 => std::cmp::Ordering::Equal,
|
||||
x if x > 0 => std::cmp::Ordering::Greater,
|
||||
_ => std::cmp::Ordering::Less,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl fmt::Display for DateTime {
|
||||
fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
|
||||
fmt.write_str(&self.to_iso8601())
|
||||
fmt.write_str(&self.to_rfc3339())
|
||||
}
|
||||
}
|
||||
|
||||
@@ -156,18 +226,18 @@ pub fn parse_date<'x>(stream: &mut MessageStream<'x>) -> HeaderValue<'x> {
|
||||
parts[2] + 1900
|
||||
} else {
|
||||
parts[2]
|
||||
},
|
||||
} as u16,
|
||||
month: if month_pos == 3 && month_hash <= 30 {
|
||||
MONTH_MAP[month_hash] as u32
|
||||
MONTH_MAP[month_hash] as u8
|
||||
} else {
|
||||
parts[1]
|
||||
parts[1] as u8
|
||||
},
|
||||
day: parts[0],
|
||||
hour: parts[3],
|
||||
minute: parts[4],
|
||||
second: parts[5],
|
||||
tz_hour: parts[6] / 100,
|
||||
tz_minute: parts[6] % 100,
|
||||
day: parts[0] as u8,
|
||||
hour: parts[3] as u8,
|
||||
minute: parts[4] as u8,
|
||||
second: parts[5] as u8,
|
||||
tz_hour: (parts[6] / 100) as u8,
|
||||
tz_minute: (parts[6] % 100) as u8,
|
||||
tz_before_gmt: !is_plus,
|
||||
})
|
||||
} else {
|
||||
@@ -195,6 +265,8 @@ pub static MONTH_MAP: &[u8; 31] = &[
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use chrono::{FixedOffset, LocalResult, SecondsFormat, TimeZone, Utc};
|
||||
|
||||
use crate::{
|
||||
parsers::{fields::date::parse_date, message::MessageStream},
|
||||
HeaderValue,
|
||||
@@ -235,7 +307,7 @@ mod tests {
|
||||
"Tue, 1 Jul 2003 ((tricky)\n comment) 10:52:37 +0200",
|
||||
"2003-07-01T10:52:37+02:00",
|
||||
),
|
||||
("21 Nov 97 09:55:06 GMT", "1997-11-21T09:55:06+00:00"),
|
||||
("21 Nov 97 09:55:06 GMT", "1997-11-21T09:55:06Z"),
|
||||
(
|
||||
"20 11 (some \n 44 comments(more comments\n )) 79 05:34:27 -0300",
|
||||
"1979-11-20T05:34:27-03:00",
|
||||
@@ -262,16 +334,48 @@ mod tests {
|
||||
("13 zzz 2021 09:55:06 +0200", "2021-00-13T09:55:06+02:00"),
|
||||
];
|
||||
|
||||
for input in inputs {
|
||||
let str = input.0.to_string();
|
||||
match parse_date(&mut MessageStream::new(str.as_bytes())) {
|
||||
HeaderValue::DateTime(date) => {
|
||||
//println!("{} -> {}", input.0.escape_debug(), date.to_iso8601());
|
||||
assert_eq!(input.1, date.to_iso8601());
|
||||
for (input, expected_result) in inputs {
|
||||
match parse_date(&mut MessageStream::new(input.as_bytes())) {
|
||||
HeaderValue::DateTime(datetime) => {
|
||||
assert_eq!(expected_result, datetime.to_rfc3339());
|
||||
|
||||
if datetime.is_valid() {
|
||||
if let LocalResult::Single(chrono_datetime)
|
||||
| LocalResult::Ambiguous(chrono_datetime, _) = FixedOffset::west_opt(
|
||||
((datetime.tz_hour as i32 * 3600i32) + datetime.tz_minute as i32 * 60)
|
||||
* if datetime.tz_before_gmt { 1i32 } else { -1i32 },
|
||||
)
|
||||
.unwrap_or_else(|| FixedOffset::east(0))
|
||||
.ymd_opt(
|
||||
datetime.year as i32,
|
||||
datetime.month as u32,
|
||||
datetime.day as u32,
|
||||
)
|
||||
.and_hms_opt(
|
||||
datetime.hour as u32,
|
||||
datetime.minute as u32,
|
||||
datetime.second as u32,
|
||||
) {
|
||||
assert_eq!(
|
||||
chrono_datetime.timestamp(),
|
||||
datetime.to_timestamp(),
|
||||
"{} -> {} ({}) -> {} ({})",
|
||||
input.escape_debug(),
|
||||
datetime.to_timestamp(),
|
||||
Utc.timestamp_opt(datetime.to_timestamp(), 0)
|
||||
.unwrap()
|
||||
.to_rfc3339_opts(SecondsFormat::Secs, true),
|
||||
chrono_datetime.timestamp(),
|
||||
Utc.timestamp_opt(chrono_datetime.timestamp(), 0)
|
||||
.unwrap()
|
||||
.to_rfc3339_opts(SecondsFormat::Secs, true)
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
HeaderValue::Empty => {
|
||||
//println!("{} -> None", input.0.escape_debug());
|
||||
assert!(input.1.is_empty());
|
||||
assert!(expected_result.is_empty());
|
||||
}
|
||||
_ => panic!("Unexpected result"),
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright Stalwart Labs, Minter Ltd. See the COPYING
|
||||
* Copyright Stalwart Labs Ltd. See the COPYING
|
||||
* file at the top-level directory of this distribution.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
@@ -14,6 +14,8 @@ use crate::{parsers::message::MessageStream, HeaderValue};
|
||||
pub fn parse_id<'x>(stream: &mut MessageStream<'x>) -> HeaderValue<'x> {
|
||||
let mut token_start: usize = 0;
|
||||
let mut token_end: usize = 0;
|
||||
let mut token_invalid_start: usize = 0; // Handle broken clients
|
||||
let mut token_invalid_end: usize = 0; // Handle broken clients
|
||||
let mut is_id_part = false;
|
||||
let mut ids = Vec::new();
|
||||
|
||||
@@ -31,7 +33,15 @@ pub fn parse_id<'x>(stream: &mut MessageStream<'x>) -> HeaderValue<'x> {
|
||||
_ => {
|
||||
return match ids.len() {
|
||||
1 => HeaderValue::Text(ids.pop().unwrap()),
|
||||
0 => HeaderValue::Empty,
|
||||
0 => {
|
||||
if token_invalid_start > 0 {
|
||||
HeaderValue::Text(String::from_utf8_lossy(
|
||||
&stream.data[token_invalid_start - 1..token_invalid_end],
|
||||
))
|
||||
} else {
|
||||
HeaderValue::Empty
|
||||
}
|
||||
}
|
||||
_ => HeaderValue::TextList(ids),
|
||||
};
|
||||
}
|
||||
@@ -52,13 +62,18 @@ pub fn parse_id<'x>(stream: &mut MessageStream<'x>) -> HeaderValue<'x> {
|
||||
}
|
||||
}
|
||||
b' ' | b'\t' | b'\r' => continue,
|
||||
_ => (),
|
||||
_ => {}
|
||||
}
|
||||
if is_id_part {
|
||||
if token_start == 0 {
|
||||
token_start = stream.pos;
|
||||
}
|
||||
token_end = stream.pos;
|
||||
} else {
|
||||
if token_invalid_start == 0 {
|
||||
token_invalid_start = stream.pos;
|
||||
}
|
||||
token_invalid_end = stream.pos;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -102,6 +117,17 @@ mod tests {
|
||||
"<1234 @ local(blah) .machine .example>\n",
|
||||
vec!["1234 @ local(blah) .machine .example"],
|
||||
),
|
||||
("<>\n", vec![""]),
|
||||
// Malformed Ids should be parsed anyway
|
||||
(
|
||||
"malformed@id.machine.example\n",
|
||||
vec!["malformed@id.machine.example"],
|
||||
),
|
||||
(
|
||||
" malformed2@id.machine.example \t \n",
|
||||
vec!["malformed2@id.machine.example"],
|
||||
),
|
||||
(" m \n", vec!["m"]),
|
||||
];
|
||||
|
||||
for input in inputs {
|
||||
@@ -114,7 +140,8 @@ mod tests {
|
||||
assert!(input.1.len() == 1, "Failed to parse '{:?}'", input.0);
|
||||
assert_eq!(id, input.1[0], "Failed to parse '{:?}'", input.0);
|
||||
}
|
||||
_ => panic!("Unexpected result"),
|
||||
HeaderValue::Empty if input.1[0].is_empty() => {}
|
||||
result => panic!("Unexpected result: {:?}", result),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright Stalwart Labs, Minter Ltd. See the COPYING
|
||||
* Copyright Stalwart Labs Ltd. See the COPYING
|
||||
* file at the top-level directory of this distribution.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright Stalwart Labs, Minter Ltd. See the COPYING
|
||||
* Copyright Stalwart Labs Ltd. See the COPYING
|
||||
* file at the top-level directory of this distribution.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright Stalwart Labs, Minter Ltd. See the COPYING
|
||||
* Copyright Stalwart Labs Ltd. See the COPYING
|
||||
* file at the top-level directory of this distribution.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
@@ -73,6 +73,7 @@ pub fn parse_and_ignore(stream: &mut MessageStream) {
|
||||
mod tests {
|
||||
use crate::parsers::fields::raw::parse_raw;
|
||||
use crate::parsers::message::MessageStream;
|
||||
use crate::Message;
|
||||
|
||||
#[test]
|
||||
fn parse_raw_text() {
|
||||
@@ -103,4 +104,38 @@ mod tests {
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn ordered_raw_headers() {
|
||||
let input = br#"From: Art Vandelay <art@vandelay.com>
|
||||
To: jane@example.com
|
||||
Date: Sat, 20 Nov 2021 14:22:01 -0800
|
||||
Subject: Why not both importing AND exporting? =?utf-8?b?4pi6?=
|
||||
Content-Type: multipart/mixed; boundary="festivus";
|
||||
|
||||
Here's a message body.
|
||||
"#;
|
||||
let message = Message::parse(input).unwrap();
|
||||
let mut iter = message.get_headers_raw();
|
||||
assert_eq!(
|
||||
iter.next().unwrap(),
|
||||
("From", " Art Vandelay <art@vandelay.com>\n")
|
||||
);
|
||||
assert_eq!(iter.next().unwrap(), ("To", " jane@example.com\n"));
|
||||
assert_eq!(
|
||||
iter.next().unwrap(),
|
||||
("Date", " Sat, 20 Nov 2021 14:22:01 -0800\n")
|
||||
);
|
||||
assert_eq!(
|
||||
iter.next().unwrap(),
|
||||
(
|
||||
"Subject",
|
||||
" Why not both importing AND exporting? =?utf-8?b?4pi6?=\n"
|
||||
)
|
||||
);
|
||||
assert_eq!(
|
||||
iter.next().unwrap(),
|
||||
("Content-Type", " multipart/mixed; boundary=\"festivus\";\n")
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright Stalwart Labs, Minter Ltd. See the COPYING
|
||||
* Copyright Stalwart Labs Ltd. See the COPYING
|
||||
* file at the top-level directory of this distribution.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright Stalwart Labs, Minter Ltd. See the COPYING
|
||||
* Copyright Stalwart Labs Ltd. See the COPYING
|
||||
* file at the top-level directory of this distribution.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
|
||||
+42
-60
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright Stalwart Labs, Minter Ltd. See the COPYING
|
||||
* Copyright Stalwart Labs Ltd. See the COPYING
|
||||
* file at the top-level directory of this distribution.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
@@ -9,9 +9,9 @@
|
||||
* except according to those terms.
|
||||
*/
|
||||
|
||||
use std::{borrow::Cow, collections::hash_map::Entry};
|
||||
use std::borrow::Cow;
|
||||
|
||||
use crate::{HeaderName, HeaderOffset, HeaderValue, RawHeaders, RfcHeader, RfcHeaders};
|
||||
use crate::{Header, HeaderName, HeaderValue, RfcHeader};
|
||||
|
||||
use super::{
|
||||
fields::{
|
||||
@@ -26,7 +26,7 @@ use super::{
|
||||
message::MessageStream,
|
||||
};
|
||||
|
||||
#[derive(Debug, PartialEq)]
|
||||
#[derive(Debug, PartialEq, Eq)]
|
||||
pub enum HeaderParserResult<'x> {
|
||||
Rfc(RfcHeader),
|
||||
Other(Cow<'x, str>),
|
||||
@@ -34,11 +34,7 @@ pub enum HeaderParserResult<'x> {
|
||||
Eof,
|
||||
}
|
||||
|
||||
pub fn parse_headers<'x>(
|
||||
headers_rfc: &mut RfcHeaders<'x>,
|
||||
headers_raw: &mut RawHeaders<'x>,
|
||||
stream: &mut MessageStream<'x>,
|
||||
) -> bool {
|
||||
pub fn parse_headers<'x>(headers: &mut Vec<Header<'x>>, stream: &mut MessageStream<'x>) -> bool {
|
||||
loop {
|
||||
let (bytes_read, result) = parse_header_name(&stream.data[stream.pos..]);
|
||||
stream.pos += bytes_read;
|
||||
@@ -46,44 +42,27 @@ pub fn parse_headers<'x>(
|
||||
match result {
|
||||
HeaderParserResult::Rfc(name) => {
|
||||
let (_, parser) = HDR_PARSER[name as usize];
|
||||
|
||||
let from_offset = stream.pos;
|
||||
let value = parser(stream);
|
||||
headers_raw
|
||||
.entry(HeaderName::Rfc(name))
|
||||
.or_insert_with(Vec::new)
|
||||
.push(HeaderOffset {
|
||||
start: from_offset,
|
||||
end: stream.pos,
|
||||
});
|
||||
|
||||
if !value.is_empty() {
|
||||
match headers_rfc.entry(name) {
|
||||
Entry::Occupied(mut e) => {
|
||||
if let HeaderValue::Collection(col) = e.get_mut() {
|
||||
col.push(value);
|
||||
} else {
|
||||
let old_value = e.remove();
|
||||
headers_rfc
|
||||
.insert(name, HeaderValue::Collection(vec![old_value, value]));
|
||||
}
|
||||
}
|
||||
Entry::Vacant(e) => {
|
||||
e.insert(value);
|
||||
}
|
||||
}
|
||||
}
|
||||
headers.push(Header {
|
||||
name: HeaderName::Rfc(name),
|
||||
value: parser(stream),
|
||||
offset_start: from_offset,
|
||||
offset_end: stream.pos,
|
||||
});
|
||||
}
|
||||
HeaderParserResult::Other(name) => {
|
||||
let from_offset = stream.pos;
|
||||
parse_and_ignore(stream);
|
||||
headers_raw
|
||||
.entry(HeaderName::Other(name))
|
||||
.or_insert_with(Vec::new)
|
||||
.push(HeaderOffset {
|
||||
start: from_offset,
|
||||
end: stream.pos,
|
||||
});
|
||||
|
||||
headers.push(Header {
|
||||
name: HeaderName::Other(name),
|
||||
value: HeaderValue::Text(String::from_utf8_lossy(
|
||||
&stream.data[from_offset..stream.pos],
|
||||
)),
|
||||
offset_start: from_offset,
|
||||
offset_end: stream.pos,
|
||||
});
|
||||
}
|
||||
HeaderParserResult::Lf => return true,
|
||||
HeaderParserResult::Eof => return false,
|
||||
@@ -105,24 +84,7 @@ pub fn parse_header_name(data: &[u8]) -> (usize, HeaderParserResult) {
|
||||
match ch {
|
||||
b':' => {
|
||||
if token_start != 0 {
|
||||
let field = &data[token_start - 1..token_end];
|
||||
|
||||
if (2..=25).contains(&token_len) {
|
||||
token_hash +=
|
||||
token_len + HDR_HASH[last_ch.to_ascii_lowercase() as usize] as usize;
|
||||
|
||||
if (4..=72).contains(&token_hash) {
|
||||
let token_hash = token_hash - 4;
|
||||
|
||||
if field.eq_ignore_ascii_case(HDR_NAMES[token_hash]) {
|
||||
return (bytes_read, HeaderParserResult::Rfc(HDR_MAP[token_hash]));
|
||||
}
|
||||
}
|
||||
}
|
||||
return (
|
||||
bytes_read,
|
||||
HeaderParserResult::Other(String::from_utf8_lossy(field)),
|
||||
);
|
||||
break;
|
||||
}
|
||||
}
|
||||
b'\n' => {
|
||||
@@ -147,7 +109,27 @@ pub fn parse_header_name(data: &[u8]) -> (usize, HeaderParserResult) {
|
||||
}
|
||||
}
|
||||
|
||||
(bytes_read, HeaderParserResult::Eof)
|
||||
if token_start != 0 {
|
||||
let field = &data[token_start - 1..token_end];
|
||||
|
||||
if (2..=25).contains(&token_len) {
|
||||
token_hash += token_len + HDR_HASH[last_ch.to_ascii_lowercase() as usize] as usize;
|
||||
|
||||
if (4..=72).contains(&token_hash) {
|
||||
let token_hash = token_hash - 4;
|
||||
|
||||
if field.eq_ignore_ascii_case(HDR_NAMES[token_hash]) {
|
||||
return (bytes_read, HeaderParserResult::Rfc(HDR_MAP[token_hash]));
|
||||
}
|
||||
}
|
||||
}
|
||||
return (
|
||||
bytes_read,
|
||||
HeaderParserResult::Other(String::from_utf8_lossy(field)),
|
||||
);
|
||||
} else {
|
||||
(bytes_read, HeaderParserResult::Eof)
|
||||
}
|
||||
}
|
||||
|
||||
impl From<RfcHeader> for u8 {
|
||||
|
||||
@@ -1,126 +0,0 @@
|
||||
/*
|
||||
* Copyright Stalwart Labs, Minter Ltd. See the COPYING
|
||||
* file at the top-level directory of this distribution.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
* https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
||||
* <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
|
||||
* option. This file may not be copied, modified, or distributed
|
||||
* except according to those terms.
|
||||
*/
|
||||
|
||||
use std::io::{BufRead, BufReader, Read};
|
||||
|
||||
/// Parses an MBox mailbox from a `Read` stream, returning each message as a
|
||||
/// `Vec<u8>`.
|
||||
/// supports >From quoting as defined in the [QMail mbox specification](http://qmail.org/qmail-manual-html/man5/mbox.html).
|
||||
pub struct MBoxParser<T: Read> {
|
||||
reader: BufReader<T>,
|
||||
found_from: bool,
|
||||
}
|
||||
|
||||
impl<T> MBoxParser<T>
|
||||
where
|
||||
T: Read,
|
||||
{
|
||||
pub fn new(reader: T) -> MBoxParser<T> {
|
||||
MBoxParser {
|
||||
reader: BufReader::new(reader),
|
||||
found_from: false,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl<T> Iterator for MBoxParser<T>
|
||||
where
|
||||
T: Read,
|
||||
{
|
||||
type Item = Vec<u8>;
|
||||
|
||||
fn next(&mut self) -> Option<Vec<u8>> {
|
||||
let mut message = Vec::with_capacity(1024);
|
||||
let mut message_line = Vec::with_capacity(80);
|
||||
|
||||
while self
|
||||
.reader
|
||||
.read_until(b'\n', &mut message_line)
|
||||
.expect("Error while reading Mbox")
|
||||
> 0
|
||||
{
|
||||
let is_from = message_line
|
||||
.get(..5)
|
||||
.map(|line| line == b"From ")
|
||||
.unwrap_or(false);
|
||||
|
||||
if self.found_from {
|
||||
if !is_from {
|
||||
if message_line[0] != b'>' {
|
||||
message.append(&mut message_line);
|
||||
} else if message_line
|
||||
.iter()
|
||||
.skip_while(|&&ch| ch == b'>')
|
||||
.take(5)
|
||||
.copied()
|
||||
.collect::<Vec<u8>>()
|
||||
== b"From "
|
||||
{
|
||||
message.extend_from_slice(&message_line[1..]);
|
||||
message_line.clear();
|
||||
} else {
|
||||
message.append(&mut message_line);
|
||||
}
|
||||
} else {
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
if is_from {
|
||||
self.found_from = true;
|
||||
}
|
||||
message_line.clear();
|
||||
}
|
||||
}
|
||||
|
||||
if !message.is_empty() {
|
||||
Some(message)
|
||||
} else {
|
||||
None
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::MBoxParser;
|
||||
|
||||
#[test]
|
||||
fn parse_mbox() {
|
||||
let message = br#"From Mon, 15 Jan 2018 15:30:00 +0100
|
||||
Message 1
|
||||
|
||||
From Mon, 15 Jan 2018 15:30:00 +0100
|
||||
Message 2
|
||||
|
||||
From Mon, 15 Jan 2018 15:30:00 +0100
|
||||
Message 3
|
||||
>From hello
|
||||
>>From world
|
||||
>>>From test
|
||||
|
||||
From Mon, 15 Jan 2018 15:30:00 +0100
|
||||
Message 4
|
||||
> From
|
||||
>F
|
||||
"#;
|
||||
|
||||
let mut parser = MBoxParser::new(&message[..]);
|
||||
|
||||
assert_eq!(parser.next().unwrap(), b"Message 1\n\n");
|
||||
assert_eq!(parser.next().unwrap(), b"Message 2\n\n");
|
||||
assert_eq!(
|
||||
parser.next().unwrap(),
|
||||
b"Message 3\nFrom hello\n>From world\n>>From test\n\n"
|
||||
);
|
||||
assert_eq!(parser.next().unwrap(), b"Message 4\n> From\n>F\n");
|
||||
assert!(parser.next().is_none());
|
||||
}
|
||||
}
|
||||
+236
-362
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright Stalwart Labs, Minter Ltd. See the COPYING
|
||||
* file at the top-level directory of this distribution.
|
||||
* Copyright Stalwart Labs Ltd. See the COPYING
|
||||
* file at the top-level dir&ectory of this distribution.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
* https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
||||
@@ -16,13 +16,13 @@ use crate::{
|
||||
base64::decode_base64, charsets::map::get_charset_decoder,
|
||||
quoted_printable::decode_quoted_printable, DecodeFnc, DecodeResult,
|
||||
},
|
||||
ContentType, HeaderName, HeaderValue, Message, MessageAttachment, MessagePart, MessagePartId,
|
||||
MessageStructure, MultiPart, Part, RawHeaders, RfcHeader, RfcHeaders,
|
||||
ContentType, Encoding, GetHeader, HeaderValue, Message, MessageAttachment, MessagePart,
|
||||
MessagePartId, PartType, RfcHeader,
|
||||
};
|
||||
|
||||
use super::{
|
||||
header::parse_headers,
|
||||
mime::{get_bytes_to_boundary, seek_crlf_end, seek_next_part, skip_crlf, skip_multipart_end},
|
||||
mime::{get_bytes_to_boundary, seek_crlf, seek_next_part, skip_crlf, skip_multipart_end},
|
||||
};
|
||||
|
||||
#[derive(Debug, PartialEq)]
|
||||
@@ -102,7 +102,7 @@ fn get_mime_type(
|
||||
_ => (false, false, true, MimeType::TextOther),
|
||||
},
|
||||
"image" | "audio" | "video" => (false, true, false, MimeType::Inline),
|
||||
"message" if content_type.get_subtype() == Some("rfc822") => {
|
||||
"message" if [Some("rfc822"), Some("global")].contains(&content_type.get_subtype()) => {
|
||||
(false, false, false, MimeType::Message)
|
||||
}
|
||||
_ => (false, false, false, MimeType::Other),
|
||||
@@ -114,9 +114,9 @@ fn get_mime_type(
|
||||
}
|
||||
}
|
||||
|
||||
#[inline(always)]
|
||||
/*#[inline(always)]
|
||||
fn add_missing_type<'x>(
|
||||
headers: &mut RfcHeaders<'x>,
|
||||
headers: &mut Vec<Header<'x>>,
|
||||
c_type: Cow<'x, str>,
|
||||
c_subtype: Cow<'x, str>,
|
||||
) {
|
||||
@@ -130,9 +130,9 @@ fn add_missing_type<'x>(
|
||||
}),
|
||||
);
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
#[derive(Default)]
|
||||
#[derive(Default, Debug)]
|
||||
struct MessageParserState {
|
||||
mime_type: MimeType,
|
||||
mime_boundary: Option<Vec<u8>>,
|
||||
@@ -142,8 +142,11 @@ struct MessageParserState {
|
||||
text_parts: usize,
|
||||
need_html_body: bool,
|
||||
need_text_body: bool,
|
||||
header_id: Option<MessagePartId>,
|
||||
structure: Vec<MessageStructure>,
|
||||
part_id: MessagePartId,
|
||||
sub_part_ids: Vec<MessagePartId>,
|
||||
offset_header: usize,
|
||||
offset_body: usize,
|
||||
offset_end: usize,
|
||||
}
|
||||
|
||||
impl MessageParserState {
|
||||
@@ -160,18 +163,6 @@ impl MessageParserState {
|
||||
..Default::default()
|
||||
}
|
||||
}
|
||||
|
||||
pub fn get_structure(&mut self) -> MessageStructure {
|
||||
if let Some(header_id) = self.header_id {
|
||||
MessageStructure::MultiPart((header_id, std::mem::take(&mut self.structure)))
|
||||
} else if self.structure.len() > 1 {
|
||||
MessageStructure::List(std::mem::take(&mut self.structure))
|
||||
} else if self.structure.len() == 1 {
|
||||
self.structure.pop().unwrap()
|
||||
} else {
|
||||
MessageStructure::List(vec![])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pub struct MessageStream<'x> {
|
||||
@@ -194,7 +185,7 @@ impl<'x> Message<'x> {
|
||||
|
||||
/// Returns `false` if at least one header field was successfully parsed.
|
||||
pub fn is_empty(&self) -> bool {
|
||||
self.headers_rfc.is_empty() && self.headers_raw.is_empty()
|
||||
self.parts.is_empty()
|
||||
}
|
||||
|
||||
/// Parses a byte slice containing the RFC5322 raw message and returns a
|
||||
@@ -207,42 +198,24 @@ impl<'x> Message<'x> {
|
||||
let mut stream = MessageStream::new(raw_message);
|
||||
|
||||
let mut message = Message::new();
|
||||
let mut message_stack = Vec::new();
|
||||
|
||||
let mut state = MessageParserState::new();
|
||||
let mut state_stack = Vec::new();
|
||||
let mut state_stack = Vec::with_capacity(4);
|
||||
|
||||
let mut mime_part_header = RfcHeaders::new();
|
||||
let mut mime_part_header_raw = RawHeaders::new();
|
||||
let mut part_headers = Vec::new();
|
||||
|
||||
'outer: loop {
|
||||
// Parse headers
|
||||
let (is_message, header) = if let MimeType::Message = state.mime_type {
|
||||
message.offset_header = stream.pos;
|
||||
if !parse_headers(
|
||||
&mut message.headers_rfc,
|
||||
&mut message.headers_raw,
|
||||
&mut stream,
|
||||
) {
|
||||
break;
|
||||
}
|
||||
message.offset_body = seek_crlf_end(&stream, stream.pos);
|
||||
(true, &mut message.headers_rfc)
|
||||
} else {
|
||||
if !parse_headers(
|
||||
&mut mime_part_header,
|
||||
&mut mime_part_header_raw,
|
||||
&mut stream,
|
||||
) {
|
||||
break;
|
||||
}
|
||||
(false, &mut mime_part_header)
|
||||
};
|
||||
state.offset_header = stream.pos;
|
||||
if !parse_headers(&mut part_headers, &mut stream) {
|
||||
break;
|
||||
}
|
||||
|
||||
state.parts += 1;
|
||||
state.sub_part_ids.push(message.parts.len());
|
||||
|
||||
let content_type = header
|
||||
.get(&RfcHeader::ContentType)
|
||||
let content_type = part_headers
|
||||
.get_rfc(&RfcHeader::ContentType)
|
||||
.and_then(|c| c.as_content_type_ref());
|
||||
|
||||
let (is_multipart, mut is_inline, mut is_text, mut mime_type) =
|
||||
@@ -252,9 +225,12 @@ impl<'x> Message<'x> {
|
||||
if let Some(mime_boundary) =
|
||||
content_type.map_or_else(|| None, |f| f.get_attribute("boundary"))
|
||||
{
|
||||
let mime_boundary = ("\n--".to_string() + mime_boundary).into_bytes();
|
||||
//let mime_boundary = format!("\n--{}", mime_boundary).into_bytes();
|
||||
let mime_boundary = format!("--{}", mime_boundary).into_bytes();
|
||||
state.offset_body = seek_crlf(&stream, stream.pos);
|
||||
|
||||
if seek_next_part(&mut stream, mime_boundary.as_ref()) {
|
||||
let part_id = message.parts.len();
|
||||
let new_state = MessageParserState {
|
||||
in_alternative: state.in_alternative
|
||||
|| mime_type == MimeType::MultipartAlernative,
|
||||
@@ -264,21 +240,20 @@ impl<'x> Message<'x> {
|
||||
text_parts: message.text_body.len(),
|
||||
need_html_body: state.need_html_body,
|
||||
need_text_body: state.need_text_body,
|
||||
header_id: if !is_message {
|
||||
Some(message.parts.len())
|
||||
} else {
|
||||
None
|
||||
},
|
||||
part_id,
|
||||
..Default::default()
|
||||
};
|
||||
if !is_message {
|
||||
add_missing_type(&mut mime_part_header, "text".into(), "plain".into());
|
||||
message.parts.push(MessagePart::Multipart(MultiPart::new(
|
||||
std::mem::take(&mut mime_part_header),
|
||||
std::mem::take(&mut mime_part_header_raw),
|
||||
)));
|
||||
}
|
||||
state_stack.push(state);
|
||||
//add_missing_type(&mut part_header, "text".into(), "plain".into());
|
||||
message.parts.push(MessagePart {
|
||||
headers: std::mem::take(&mut part_headers),
|
||||
offset_header: state.offset_header,
|
||||
offset_body: state.offset_body,
|
||||
offset_end: 0,
|
||||
is_encoding_problem: false,
|
||||
encoding: Encoding::None,
|
||||
body: PartType::default(),
|
||||
});
|
||||
state_stack.push((state, None));
|
||||
state = new_state;
|
||||
skip_crlf(&mut stream);
|
||||
continue;
|
||||
@@ -290,24 +265,22 @@ impl<'x> Message<'x> {
|
||||
}
|
||||
|
||||
skip_crlf(&mut stream);
|
||||
state.offset_body = stream.pos;
|
||||
|
||||
let (is_binary, decode_fnc): (bool, DecodeFnc) = match header
|
||||
.get(&RfcHeader::ContentTransferEncoding)
|
||||
{
|
||||
Some(HeaderValue::Text(encoding)) if encoding.eq_ignore_ascii_case("base64") => {
|
||||
(false, decode_base64)
|
||||
}
|
||||
Some(HeaderValue::Text(encoding))
|
||||
if encoding.eq_ignore_ascii_case("quoted-printable") =>
|
||||
{
|
||||
(false, decode_quoted_printable)
|
||||
}
|
||||
_ => (true, get_bytes_to_boundary),
|
||||
};
|
||||
|
||||
state
|
||||
.structure
|
||||
.push(MessageStructure::Part(message.parts.len()));
|
||||
let (is_binary, mut encoding, decode_fnc): (bool, Encoding, DecodeFnc) =
|
||||
match part_headers.get_rfc(&RfcHeader::ContentTransferEncoding) {
|
||||
Some(HeaderValue::Text(encoding))
|
||||
if encoding.eq_ignore_ascii_case("base64") =>
|
||||
{
|
||||
(false, Encoding::Base64, decode_base64)
|
||||
}
|
||||
Some(HeaderValue::Text(encoding))
|
||||
if encoding.eq_ignore_ascii_case("quoted-printable") =>
|
||||
{
|
||||
(false, Encoding::QuotedPrintable, decode_quoted_printable)
|
||||
}
|
||||
_ => (true, Encoding::None, get_bytes_to_boundary),
|
||||
};
|
||||
|
||||
if is_binary && mime_type == MimeType::Message {
|
||||
let new_state = MessageParserState {
|
||||
@@ -315,15 +288,20 @@ impl<'x> Message<'x> {
|
||||
mime_boundary: state.mime_boundary.take(),
|
||||
need_html_body: true,
|
||||
need_text_body: true,
|
||||
part_id: message.parts.len(),
|
||||
..Default::default()
|
||||
};
|
||||
add_missing_type(&mut mime_part_header, "message".into(), "rfc822".into());
|
||||
message_stack.push((
|
||||
message,
|
||||
std::mem::take(&mut mime_part_header),
|
||||
std::mem::take(&mut mime_part_header_raw),
|
||||
));
|
||||
state_stack.push(state);
|
||||
message.attachments.push(message.parts.len());
|
||||
message.parts.push(MessagePart {
|
||||
headers: std::mem::take(&mut part_headers),
|
||||
encoding,
|
||||
is_encoding_problem: false,
|
||||
offset_header: state.offset_header,
|
||||
offset_body: state.offset_body,
|
||||
offset_end: 0,
|
||||
body: PartType::default(), // Temp value, will be replaced later.
|
||||
});
|
||||
state_stack.push((state, message.into()));
|
||||
message = Message::new();
|
||||
state = new_state;
|
||||
continue;
|
||||
@@ -342,57 +320,93 @@ impl<'x> Message<'x> {
|
||||
// Attempt to recover contents of an invalid message
|
||||
let is_encoding_problem = bytes_read == 0;
|
||||
if is_encoding_problem {
|
||||
if stream.pos >= stream.data.len() || (is_binary && state.mime_boundary.is_none()) {
|
||||
state.structure.pop();
|
||||
break;
|
||||
}
|
||||
encoding = Encoding::None;
|
||||
|
||||
// Get raw MIME part
|
||||
let (bytes_read, r_bytes) = if !is_binary {
|
||||
get_bytes_to_boundary(
|
||||
&stream,
|
||||
stream.pos,
|
||||
state
|
||||
.mime_boundary
|
||||
.as_ref()
|
||||
.map_or_else(|| &[][..], |b| &b[..]),
|
||||
false,
|
||||
)
|
||||
} else {
|
||||
(0, DecodeResult::Empty)
|
||||
};
|
||||
let did_recover = if !(stream.pos >= stream.data.len()
|
||||
|| (is_binary && state.mime_boundary.is_none()))
|
||||
{
|
||||
// Get raw MIME part
|
||||
let (bytes_read, r_bytes) = if !is_binary {
|
||||
get_bytes_to_boundary(
|
||||
&stream,
|
||||
stream.pos,
|
||||
state
|
||||
.mime_boundary
|
||||
.as_ref()
|
||||
.map_or_else(|| &[][..], |b| &b[..]),
|
||||
false,
|
||||
)
|
||||
} else {
|
||||
(0, DecodeResult::Empty)
|
||||
};
|
||||
|
||||
if bytes_read == 0 {
|
||||
// If there is MIME boundary, ignore it and get raw message
|
||||
if state.mime_boundary.is_some() {
|
||||
let (bytes_read, r_bytes) =
|
||||
get_bytes_to_boundary(&stream, stream.pos, &[][..], false);
|
||||
if bytes_read > 0 {
|
||||
bytes = r_bytes;
|
||||
stream.pos += bytes_read;
|
||||
if bytes_read == 0 {
|
||||
// If there is a MIME boundary, ignore it and get raw message
|
||||
if state.mime_boundary.is_some() {
|
||||
let (bytes_read, r_bytes) =
|
||||
get_bytes_to_boundary(&stream, stream.pos, &[][..], false);
|
||||
if bytes_read > 0 {
|
||||
bytes = r_bytes;
|
||||
stream.pos += bytes_read;
|
||||
state.mime_boundary = None;
|
||||
true
|
||||
} else {
|
||||
false
|
||||
}
|
||||
} else {
|
||||
state.structure.pop();
|
||||
break;
|
||||
false
|
||||
}
|
||||
} else {
|
||||
state.structure.pop();
|
||||
break;
|
||||
bytes = r_bytes;
|
||||
stream.pos += bytes_read;
|
||||
true
|
||||
}
|
||||
} else {
|
||||
bytes = r_bytes;
|
||||
stream.pos += bytes_read;
|
||||
false
|
||||
};
|
||||
|
||||
if did_recover {
|
||||
mime_type = MimeType::TextOther;
|
||||
is_inline = false;
|
||||
is_text = true;
|
||||
} else {
|
||||
// Could not recover error, add part and abort
|
||||
message.parts.push(MessagePart {
|
||||
headers: std::mem::take(&mut part_headers),
|
||||
encoding: Encoding::None,
|
||||
is_encoding_problem: true,
|
||||
body: PartType::Binary((&[][..]).into()),
|
||||
offset_header: state.offset_header,
|
||||
offset_body: state.offset_body,
|
||||
offset_end: stream.pos,
|
||||
});
|
||||
break;
|
||||
}
|
||||
mime_type = MimeType::TextOther;
|
||||
is_inline = false;
|
||||
is_text = true;
|
||||
} else {
|
||||
stream.pos += bytes_read;
|
||||
}
|
||||
|
||||
if mime_type != MimeType::Message {
|
||||
// Obtain offset end
|
||||
state.offset_end = if let Some(mime_boundary) = &state.mime_boundary {
|
||||
let pos = stream.pos.saturating_sub(mime_boundary.len());
|
||||
std::cmp::max(
|
||||
stream.data.get(pos - 2).map_or(pos - 1, |&ch| {
|
||||
if ch == b'\r' {
|
||||
pos - 2
|
||||
} else {
|
||||
pos - 1
|
||||
}
|
||||
}),
|
||||
state.offset_body,
|
||||
)
|
||||
} else {
|
||||
stream.pos
|
||||
};
|
||||
|
||||
let body_part = if mime_type != MimeType::Message {
|
||||
let is_inline = is_inline
|
||||
&& header
|
||||
.get(&RfcHeader::ContentDisposition)
|
||||
&& part_headers
|
||||
.get_rfc(&RfcHeader::ContentDisposition)
|
||||
.map_or_else(|| true, |d| !d.get_content_type().is_attachment())
|
||||
&& (state.parts == 1
|
||||
|| (state.mime_type != MimeType::MultipartRelated
|
||||
@@ -425,39 +439,8 @@ impl<'x> Message<'x> {
|
||||
};
|
||||
|
||||
if is_text {
|
||||
let text = result_to_string(bytes, stream.data, content_type);
|
||||
let is_html = mime_type == MimeType::TextHtml;
|
||||
let mut text_part = Part {
|
||||
body: result_to_string(bytes, stream.data, content_type),
|
||||
headers_rfc: std::mem::take(&mut mime_part_header),
|
||||
headers_raw: std::mem::take(&mut mime_part_header_raw),
|
||||
is_encoding_problem,
|
||||
};
|
||||
|
||||
// If there is a single part in the message, move MIME headers
|
||||
// to the part
|
||||
if is_message {
|
||||
for header_name in [
|
||||
RfcHeader::ContentType,
|
||||
RfcHeader::ContentDisposition,
|
||||
RfcHeader::ContentId,
|
||||
RfcHeader::ContentLanguage,
|
||||
RfcHeader::ContentLocation,
|
||||
RfcHeader::ContentTransferEncoding,
|
||||
RfcHeader::ContentDescription,
|
||||
] {
|
||||
if let Some(value) = message.headers_rfc.remove(&header_name) {
|
||||
text_part.headers_rfc.insert(header_name, value);
|
||||
}
|
||||
if let Some(value) =
|
||||
message.headers_raw.get(&HeaderName::Rfc(header_name))
|
||||
{
|
||||
text_part
|
||||
.headers_raw
|
||||
.insert(HeaderName::Rfc(header_name), value.to_vec());
|
||||
}
|
||||
}
|
||||
}
|
||||
add_missing_type(&mut text_part.headers_rfc, "text".into(), "plain".into());
|
||||
|
||||
if add_to_html && !is_html {
|
||||
message.html_body.push(message.parts.len());
|
||||
@@ -473,11 +456,11 @@ impl<'x> Message<'x> {
|
||||
message.attachments.push(message.parts.len());
|
||||
}
|
||||
|
||||
message.parts.push(if is_html {
|
||||
MessagePart::Html(text_part)
|
||||
if is_html {
|
||||
PartType::Html(text)
|
||||
} else {
|
||||
MessagePart::Text(text_part)
|
||||
});
|
||||
PartType::Text(text)
|
||||
}
|
||||
} else {
|
||||
if add_to_html {
|
||||
message.html_body.push(message.parts.len());
|
||||
@@ -488,78 +471,60 @@ impl<'x> Message<'x> {
|
||||
|
||||
message.attachments.push(message.parts.len());
|
||||
|
||||
let mut binary_part = Part::new(
|
||||
std::mem::take(&mut mime_part_header),
|
||||
std::mem::take(&mut mime_part_header_raw),
|
||||
result_to_bytes(bytes, stream.data),
|
||||
is_encoding_problem,
|
||||
);
|
||||
|
||||
// If there is a single part in the message, move MIME headers
|
||||
// to the part
|
||||
if is_message {
|
||||
for header_name in [
|
||||
RfcHeader::ContentType,
|
||||
RfcHeader::ContentDisposition,
|
||||
RfcHeader::ContentId,
|
||||
RfcHeader::ContentLanguage,
|
||||
RfcHeader::ContentLocation,
|
||||
RfcHeader::ContentTransferEncoding,
|
||||
RfcHeader::ContentDescription,
|
||||
] {
|
||||
if let Some(value) = message.headers_rfc.remove(&header_name) {
|
||||
binary_part.headers_rfc.insert(header_name, value);
|
||||
}
|
||||
if let Some(value) =
|
||||
message.headers_raw.get(&HeaderName::Rfc(header_name))
|
||||
{
|
||||
binary_part
|
||||
.headers_raw
|
||||
.insert(HeaderName::Rfc(header_name), value.to_vec());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
message.parts.push(if !is_inline {
|
||||
MessagePart::Binary(binary_part)
|
||||
let bytes = result_to_bytes(bytes, stream.data);
|
||||
if !is_inline {
|
||||
PartType::Binary(bytes)
|
||||
} else {
|
||||
MessagePart::InlineBinary(binary_part)
|
||||
});
|
||||
};
|
||||
PartType::InlineBinary(bytes)
|
||||
}
|
||||
}
|
||||
} else {
|
||||
add_missing_type(&mut mime_part_header, "message".into(), "rfc822".into());
|
||||
message.attachments.push(message.parts.len());
|
||||
message.parts.push(MessagePart::Message(Part::new(
|
||||
std::mem::take(&mut mime_part_header),
|
||||
std::mem::take(&mut mime_part_header_raw),
|
||||
MessageAttachment::Raw(result_to_bytes(bytes, stream.data)),
|
||||
is_encoding_problem,
|
||||
)));
|
||||
}
|
||||
PartType::Message(MessageAttachment::Raw(result_to_bytes(bytes, stream.data)))
|
||||
};
|
||||
|
||||
// Add part
|
||||
message.parts.push(MessagePart {
|
||||
headers: std::mem::take(&mut part_headers),
|
||||
encoding,
|
||||
is_encoding_problem,
|
||||
body: body_part,
|
||||
offset_header: state.offset_header,
|
||||
offset_body: state.offset_body,
|
||||
offset_end: state.offset_end,
|
||||
});
|
||||
|
||||
if state.mime_boundary.is_some() {
|
||||
// Currently processing a MIME part
|
||||
let mut last_part_offset = stream.pos;
|
||||
|
||||
'inner: loop {
|
||||
if let MimeType::Message = state.mime_type {
|
||||
// Finished processing nested message, restore parent message from stack
|
||||
if let (
|
||||
Some((mut prev_message, headers, headers_raw)),
|
||||
Some(mut prev_state),
|
||||
) = (message_stack.pop(), state_stack.pop())
|
||||
{
|
||||
message.structure = state.get_structure();
|
||||
message.offset_end = seek_crlf_end(&stream, last_part_offset);
|
||||
// Finished processing a nested message, restore parent message from stack
|
||||
if let Some((mut prev_state, Some(mut prev_message))) = state_stack.pop() {
|
||||
let offset_end = state
|
||||
.mime_boundary
|
||||
.as_ref()
|
||||
.map(|b| {
|
||||
let pos = stream.pos.saturating_sub(b.len());
|
||||
stream.data.get(pos - 2).map_or(pos - 1, |&ch| {
|
||||
if ch == b'\r' {
|
||||
pos - 2
|
||||
} else {
|
||||
pos - 1
|
||||
}
|
||||
})
|
||||
})
|
||||
.unwrap_or(stream.pos);
|
||||
message.raw_message =
|
||||
raw_message[message.offset_header..message.offset_end].into();
|
||||
prev_message.attachments.push(prev_message.parts.len());
|
||||
prev_message.parts.push(MessagePart::Message(Part::new(
|
||||
headers,
|
||||
headers_raw,
|
||||
MessageAttachment::Parsed(Box::new(message)),
|
||||
false,
|
||||
)));
|
||||
raw_message[state.offset_header..offset_end].as_ref().into();
|
||||
|
||||
if let Some(part) = prev_message.parts.get_mut(state.part_id) {
|
||||
part.body =
|
||||
PartType::Message(MessageAttachment::Parsed(Box::new(message)));
|
||||
part.offset_end = offset_end;
|
||||
} else {
|
||||
debug_assert!(false, "Invalid part ID, could not find message.");
|
||||
}
|
||||
|
||||
message = prev_message;
|
||||
prev_state.mime_boundary = state.mime_boundary;
|
||||
state = prev_state;
|
||||
@@ -595,13 +560,19 @@ impl<'x> Message<'x> {
|
||||
}
|
||||
}
|
||||
|
||||
if let Some(mut prev_state) = state_stack.pop() {
|
||||
if let Some(part) = message.parts.get_mut(state.part_id) {
|
||||
// Update end offset
|
||||
part.offset_end = seek_crlf(&stream, stream.pos);
|
||||
// Add headers and substructure to parent part
|
||||
prev_state.structure.push(state.get_structure());
|
||||
part.body =
|
||||
PartType::Multipart(std::mem::take(&mut state.sub_part_ids));
|
||||
} else {
|
||||
debug_assert!(false, "Invalid part ID, could not find multipart.");
|
||||
}
|
||||
|
||||
if let Some((prev_state, _)) = state_stack.pop() {
|
||||
// Restore ancestor's state
|
||||
state = prev_state;
|
||||
last_part_offset = stream.pos;
|
||||
|
||||
if let Some(ref mime_boundary) = state.mime_boundary {
|
||||
// Ancestor has a MIME boundary, seek it.
|
||||
@@ -610,6 +581,7 @@ impl<'x> Message<'x> {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
break 'outer;
|
||||
} else {
|
||||
skip_crlf(&mut stream);
|
||||
@@ -622,46 +594,45 @@ impl<'x> Message<'x> {
|
||||
}
|
||||
}
|
||||
|
||||
while let (Some((mut prev_message, headers, headers_raw)), Some(prev_state)) =
|
||||
(message_stack.pop(), state_stack.pop())
|
||||
{
|
||||
message.offset_end = stream.pos;
|
||||
if !message.is_empty() {
|
||||
message.structure = state.get_structure();
|
||||
message.raw_message = raw_message[message.offset_header..message.offset_end].into();
|
||||
prev_message.attachments.push(prev_message.parts.len());
|
||||
prev_message.parts.push(MessagePart::Message(Part::new(
|
||||
headers,
|
||||
headers_raw,
|
||||
MessageAttachment::Parsed(Box::new(message)),
|
||||
false,
|
||||
)));
|
||||
// Corrupted MIME message, try to recover whatever is possible.
|
||||
while let Some((prev_state, prev_message)) = state_stack.pop() {
|
||||
if let Some(mut prev_message) = prev_message {
|
||||
message.raw_message = raw_message[state.offset_header..stream.pos].as_ref().into();
|
||||
|
||||
if let Some(part) = prev_message.parts.get_mut(state.part_id) {
|
||||
part.body = PartType::Message(MessageAttachment::Parsed(Box::new(message)));
|
||||
part.offset_end = stream.pos;
|
||||
} else {
|
||||
debug_assert!(false, "Invalid part ID, could not find message.");
|
||||
}
|
||||
|
||||
message = prev_message;
|
||||
} else if let Some(part) = message.parts.get_mut(state.part_id) {
|
||||
part.offset_end = stream.pos;
|
||||
part.body = PartType::Multipart(state.sub_part_ids);
|
||||
} else {
|
||||
debug_assert!(false, "This should not have happened.");
|
||||
}
|
||||
message = prev_message;
|
||||
state = prev_state;
|
||||
}
|
||||
|
||||
message.raw_message = raw_message.into();
|
||||
message.structure = state.get_structure();
|
||||
message.offset_end = stream.pos;
|
||||
|
||||
if !message.is_empty() {
|
||||
message.parts[0].offset_end = message.raw_message.len();
|
||||
Some(message)
|
||||
} else {
|
||||
None
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use std::{fs, path::PathBuf};
|
||||
|
||||
use serde_json::Value;
|
||||
|
||||
use crate::parsers::message::Message;
|
||||
|
||||
const SEPARATOR: &[u8] = "\n---- EXPECTED STRUCTURE ----".as_bytes();
|
||||
|
||||
#[test]
|
||||
fn parse_full_messages() {
|
||||
for test_suite in ["rfc", "legacy", "thirdparty", "malformed"] {
|
||||
@@ -672,40 +643,25 @@ mod tests {
|
||||
let mut tests_run = 0;
|
||||
|
||||
for file_name in fs::read_dir(&test_dir).unwrap() {
|
||||
let file_name = file_name.as_ref().unwrap().path();
|
||||
if file_name.extension().map_or(false, |e| e == "txt") {
|
||||
let mut input = fs::read(&file_name).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 in test file '{}'.",
|
||||
file_name.display()
|
||||
);
|
||||
let mut file_name = file_name.unwrap().path();
|
||||
if file_name.extension().map_or(false, |e| e == "eml") {
|
||||
let raw_message = fs::read(&file_name).unwrap();
|
||||
file_name.set_extension("json");
|
||||
let expected_result = fs::read(&file_name).unwrap();
|
||||
|
||||
tests_run += 1;
|
||||
|
||||
let input = input.split_at_mut(pos);
|
||||
let message = Message::parse(input.0).unwrap();
|
||||
let message = Message::parse(&raw_message).unwrap();
|
||||
let json_message = serde_json::to_string_pretty(&message).unwrap();
|
||||
|
||||
assert_eq!(
|
||||
serde_json::from_str::<Value>(&json_message).unwrap(),
|
||||
serde_json::from_str::<Value>(
|
||||
std::str::from_utf8(&input.1[SEPARATOR.len()..]).unwrap()
|
||||
)
|
||||
.unwrap(),
|
||||
"Test failed for '{}', result was:\n{}",
|
||||
file_name.display(),
|
||||
json_message
|
||||
);
|
||||
if json_message.as_bytes() != expected_result {
|
||||
file_name.set_extension("failed");
|
||||
fs::write(&file_name, json_message.as_bytes()).unwrap();
|
||||
panic!(
|
||||
"Test failed, parsed message saved to {}",
|
||||
file_name.display()
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -716,86 +672,4 @@ mod tests {
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
/*#[test]
|
||||
fn message_to_yaml() {
|
||||
let mut file_name = PathBuf::from(env!("CARGO_MANIFEST_DIR"));
|
||||
file_name.push("tests");
|
||||
file_name.push("rfc");
|
||||
file_name.push("003.txt");
|
||||
|
||||
let mut input = fs::read(&file_name).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 in test file '{}'.",
|
||||
file_name.display()
|
||||
);
|
||||
|
||||
let input = input.split_at_mut(pos).0;
|
||||
let message = Message::parse(input).unwrap();
|
||||
let result = serde_yaml::to_string(&message).unwrap();
|
||||
|
||||
fs::write("test.yaml", &result).unwrap();
|
||||
|
||||
println!("{:}", result);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn generate_test_samples() {
|
||||
const SEPARATOR: &[u8] = "\n---- EXPECTED STRUCTURE ----\n".as_bytes();
|
||||
|
||||
for test_suite in ["legacy", "malformed", "rfc", "thirdparty"] {
|
||||
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("COPYING")
|
||||
{
|
||||
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_json::to_string_pretty(&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())
|
||||
.unwrap()
|
||||
.as_bytes(),
|
||||
);
|
||||
fs::write(file_name.as_ref().unwrap().path(), &output).unwrap();
|
||||
}
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
+32
-12
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright Stalwart Labs, Minter Ltd. See the COPYING
|
||||
* Copyright Stalwart Labs Ltd. See the COPYING
|
||||
* file at the top-level directory of this distribution.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
@@ -13,7 +13,7 @@ use crate::decoders::DecodeResult;
|
||||
|
||||
use super::message::MessageStream;
|
||||
|
||||
pub fn seek_next_part(stream: &mut MessageStream, boundary: &[u8]) -> bool {
|
||||
pub(crate) fn seek_next_part(stream: &mut MessageStream, boundary: &[u8]) -> bool {
|
||||
if !boundary.is_empty() {
|
||||
let mut pos = stream.pos;
|
||||
|
||||
@@ -44,7 +44,7 @@ pub fn seek_next_part(stream: &mut MessageStream, boundary: &[u8]) -> bool {
|
||||
false
|
||||
}
|
||||
|
||||
pub fn get_bytes_to_boundary<'x>(
|
||||
pub(crate) fn get_bytes_to_boundary<'x>(
|
||||
stream: &MessageStream<'x>,
|
||||
start_pos: usize,
|
||||
boundary: &[u8],
|
||||
@@ -54,6 +54,8 @@ pub fn get_bytes_to_boundary<'x>(
|
||||
|
||||
if !boundary.is_empty() {
|
||||
let mut match_count = 0;
|
||||
let mut cr_pos = 0;
|
||||
let mut lf_pos = 0;
|
||||
|
||||
for ch in &stream.data[read_pos..] {
|
||||
read_pos += 1;
|
||||
@@ -62,7 +64,15 @@ pub fn get_bytes_to_boundary<'x>(
|
||||
match_count += 1;
|
||||
if match_count == boundary.len() {
|
||||
if is_boundary_end(stream, read_pos) {
|
||||
let match_pos = read_pos - match_count;
|
||||
let mut match_pos = read_pos - match_count;
|
||||
|
||||
if match_pos > 0 && match_pos == lf_pos {
|
||||
if lf_pos == cr_pos + 1 {
|
||||
match_pos -= 2;
|
||||
} else {
|
||||
match_pos -= 1;
|
||||
}
|
||||
}
|
||||
|
||||
return (
|
||||
read_pos - start_pos,
|
||||
@@ -85,6 +95,12 @@ pub fn get_bytes_to_boundary<'x>(
|
||||
match_count = 0;
|
||||
}
|
||||
}
|
||||
|
||||
if ch == &b'\r' {
|
||||
cr_pos = read_pos;
|
||||
} else if ch == &b'\n' {
|
||||
lf_pos = read_pos;
|
||||
}
|
||||
}
|
||||
|
||||
(0, DecodeResult::Empty)
|
||||
@@ -99,14 +115,14 @@ pub fn get_bytes_to_boundary<'x>(
|
||||
}
|
||||
|
||||
#[inline(always)]
|
||||
pub fn is_boundary_end(stream: &MessageStream, pos: usize) -> bool {
|
||||
pub(crate) fn is_boundary_end(stream: &MessageStream, pos: usize) -> bool {
|
||||
matches!(
|
||||
stream.data.get(pos..),
|
||||
Some([b'\n' | b'\r' | b' ' | b'\t', ..]) | Some([b'-', b'-', ..]) | Some([]) | None
|
||||
)
|
||||
}
|
||||
|
||||
pub fn skip_multipart_end(stream: &mut MessageStream) -> bool {
|
||||
pub(crate) fn skip_multipart_end(stream: &mut MessageStream) -> bool {
|
||||
match stream.data.get(stream.pos..stream.pos + 2) {
|
||||
Some(b"--") => {
|
||||
if let Some(byte) = stream.data.get(stream.pos + 2) {
|
||||
@@ -122,7 +138,7 @@ pub fn skip_multipart_end(stream: &mut MessageStream) -> bool {
|
||||
}
|
||||
|
||||
#[inline(always)]
|
||||
pub fn skip_crlf(stream: &mut MessageStream) {
|
||||
pub(crate) fn skip_crlf(stream: &mut MessageStream) {
|
||||
for ch in &stream.data[stream.pos..] {
|
||||
match ch {
|
||||
b'\r' | b' ' | b'\t' => stream.pos += 1,
|
||||
@@ -136,13 +152,17 @@ pub fn skip_crlf(stream: &mut MessageStream) {
|
||||
}
|
||||
|
||||
#[inline(always)]
|
||||
pub fn seek_crlf_end(stream: &MessageStream, mut start_pos: usize) -> usize {
|
||||
pub(crate) fn seek_crlf(stream: &MessageStream, mut start_pos: usize) -> usize {
|
||||
for ch in &stream.data[start_pos..] {
|
||||
if ch.is_ascii_whitespace() {
|
||||
start_pos += 1;
|
||||
} else {
|
||||
break;
|
||||
match ch {
|
||||
b'\r' | b' ' | b'\t' => start_pos += 1,
|
||||
b'\n' => {
|
||||
start_pos += 1;
|
||||
break;
|
||||
}
|
||||
_ => break,
|
||||
}
|
||||
}
|
||||
|
||||
start_pos
|
||||
}
|
||||
|
||||
+1
-2
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright Stalwart Labs, Minter Ltd. See the COPYING
|
||||
* Copyright Stalwart Labs Ltd. See the COPYING
|
||||
* file at the top-level directory of this distribution.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
@@ -11,7 +11,6 @@
|
||||
|
||||
pub mod fields;
|
||||
pub mod header;
|
||||
pub mod mbox;
|
||||
pub mod message;
|
||||
pub mod mime;
|
||||
pub mod preview;
|
||||
|
||||
+20
-7
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright Stalwart Labs, Minter Ltd. See the COPYING
|
||||
* Copyright Stalwart Labs Ltd. See the COPYING
|
||||
* file at the top-level directory of this distribution.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
@@ -17,16 +17,22 @@ pub fn preview_html<'x, 'y>(html: Cow<'y, str>, max_len: usize) -> Cow<'x, str>
|
||||
preview_text(html_to_text(html.as_ref()).into(), max_len)
|
||||
}
|
||||
|
||||
pub fn preview_text<'x, 'y>(text: Cow<'y, str>, max_len: usize) -> Cow<'x, str> {
|
||||
pub fn preview_text<'x, 'y>(text: Cow<'y, str>, mut max_len: usize) -> Cow<'x, str> {
|
||||
if text.len() > max_len {
|
||||
let add_dots = max_len > 6;
|
||||
if add_dots {
|
||||
max_len -= 3;
|
||||
}
|
||||
let mut result = String::with_capacity(max_len);
|
||||
for ch in text.chars() {
|
||||
if ch.len_utf8() + result.len() + 3 > max_len {
|
||||
if ch.len_utf8() + result.len() > max_len {
|
||||
break;
|
||||
}
|
||||
result.push(ch);
|
||||
}
|
||||
result.push_str("...");
|
||||
if add_dots {
|
||||
result.push_str("...");
|
||||
}
|
||||
result.into()
|
||||
} else {
|
||||
text.into_owned().into()
|
||||
@@ -37,8 +43,13 @@ pub fn truncate_text<'x, 'y>(text: Cow<'y, str>, max_len: usize) -> Cow<'x, str>
|
||||
preview_text(text, max_len)
|
||||
}
|
||||
|
||||
pub fn truncate_html<'x, 'y>(html: Cow<'y, str>, max_len: usize) -> Cow<'x, str> {
|
||||
pub fn truncate_html<'x, 'y>(html: Cow<'y, str>, mut max_len: usize) -> Cow<'x, str> {
|
||||
if html.len() > max_len {
|
||||
let add_dots = max_len > 6;
|
||||
if add_dots {
|
||||
max_len -= 3;
|
||||
}
|
||||
|
||||
let mut result = String::with_capacity(max_len);
|
||||
let mut in_tag = false;
|
||||
let mut in_comment = false;
|
||||
@@ -67,7 +78,7 @@ pub fn truncate_html<'x, 'y>(html: Cow<'y, str>, max_len: usize) -> Cow<'x, str>
|
||||
}
|
||||
_ => (),
|
||||
}
|
||||
if ch.len_utf8() + pos + 3 > max_len {
|
||||
if ch.len_utf8() + pos > max_len {
|
||||
result.push_str(
|
||||
&html[0..if (in_tag || set_last_tag > 0) && last_tag_end_pos > 0 {
|
||||
last_tag_end_pos
|
||||
@@ -75,7 +86,9 @@ pub fn truncate_html<'x, 'y>(html: Cow<'y, str>, max_len: usize) -> Cow<'x, str>
|
||||
pos
|
||||
}],
|
||||
);
|
||||
result.push_str("...");
|
||||
if add_dots {
|
||||
result.push_str("...");
|
||||
}
|
||||
break;
|
||||
} else if set_last_tag > 0 {
|
||||
last_tag_end_pos = set_last_tag;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright Stalwart Labs, Minter Ltd. See the COPYING
|
||||
* Copyright Stalwart Labs Ltd. See the COPYING
|
||||
* file at the top-level directory of this distribution.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
@@ -57,9 +57,11 @@ R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7
|
||||
let message = Message::parse(input).unwrap();
|
||||
|
||||
assert_eq!(
|
||||
bincode::deserialize::<RfcHeaders>(&bincode::serialize(&message.headers_rfc).unwrap())
|
||||
.unwrap(),
|
||||
message.headers_rfc
|
||||
bincode::deserialize::<Vec<Header>>(
|
||||
&bincode::serialize(&message.parts[0].headers).unwrap()
|
||||
)
|
||||
.unwrap(),
|
||||
message.parts[0].headers
|
||||
);
|
||||
|
||||
assert_eq!(
|
||||
@@ -88,7 +90,7 @@ R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7
|
||||
);
|
||||
|
||||
assert_eq!(
|
||||
message.get_date().unwrap().to_iso8601(),
|
||||
message.get_date().unwrap().to_rfc3339(),
|
||||
"2021-11-20T14:22:01-08:00"
|
||||
);
|
||||
|
||||
@@ -114,7 +116,7 @@ R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7
|
||||
)
|
||||
);
|
||||
|
||||
let nested_message = message.get_attachment(0).unwrap().unwrap_message();
|
||||
let nested_message = message.get_attachment(0).unwrap().get_message().unwrap();
|
||||
|
||||
assert_eq!(
|
||||
nested_message.get_subject().unwrap(),
|
||||
@@ -131,7 +133,7 @@ R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7
|
||||
"<html><body>ℌ𝔢𝔩𝔭 𝔪𝔢 𝔢𝔵𝔭𝔬𝔯𝔱 𝔪𝔶 𝔟𝔬𝔬𝔨 𝔭𝔩𝔢𝔞𝔰𝔢!</body></html>"
|
||||
);
|
||||
|
||||
let nested_attachment = nested_message.get_attachment(0).unwrap().unwrap_binary();
|
||||
let nested_attachment = nested_message.get_attachment(0).unwrap();
|
||||
|
||||
assert_eq!(nested_attachment.len(), 42);
|
||||
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
From: "Doug Sauder" <doug@example.com>
|
||||
To: "Joe Blow" <jblow@example.com>
|
||||
Subject: Test message from Microsoft Outlook 00
|
||||
Date: Wed, 17 May 2000 19:35:05 -0400
|
||||
Message-ID: <NDBBIAKOPKHFGPLCODIGKEKECHAA.doug@example.com>
|
||||
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==
|
||||
@@ -1,84 +1,4 @@
|
||||
From: "Doug Sauder" <doug@example.com>
|
||||
To: "Joe Blow" <jblow@example.com>
|
||||
Subject: Test message from Microsoft Outlook 00
|
||||
Date: Wed, 17 May 2000 19:35:05 -0400
|
||||
Message-ID: <NDBBIAKOPKHFGPLCODIGKEKECHAA.doug@example.com>
|
||||
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 ----{
|
||||
"headers_rfc": {
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 17,
|
||||
"hour": 19,
|
||||
"minute": 35,
|
||||
"second": 5,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Joe Blow",
|
||||
"address": "jblow@example.com"
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGKEKECHAA.doug@example.com"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Test message from Microsoft Outlook 00"
|
||||
}
|
||||
},
|
||||
{
|
||||
"html_body": [],
|
||||
"text_body": [],
|
||||
"attachments": [
|
||||
@@ -86,32 +6,185 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
],
|
||||
"parts": [
|
||||
{
|
||||
"Binary": {
|
||||
"headers_rfc": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "from"
|
||||
},
|
||||
"content_type": {
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 5,
|
||||
"offset_end": 40
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "to"
|
||||
},
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Joe Blow",
|
||||
"address": "jblow@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 43,
|
||||
"offset_end": 76
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "subject"
|
||||
},
|
||||
"value": {
|
||||
"Text": "Test message from Microsoft Outlook 00"
|
||||
},
|
||||
"offset_start": 84,
|
||||
"offset_end": 125
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "date"
|
||||
},
|
||||
"value": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 17,
|
||||
"hour": 19,
|
||||
"minute": 35,
|
||||
"second": 5,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"offset_start": 130,
|
||||
"offset_end": 164
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "message_id"
|
||||
},
|
||||
"value": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGKEKECHAA.doug@example.com"
|
||||
},
|
||||
"offset_start": 175,
|
||||
"offset_end": 225
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "mime_version"
|
||||
},
|
||||
"value": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"offset_start": 238,
|
||||
"offset_end": 244
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
"c_subtype": "png",
|
||||
"attributes": {
|
||||
"name": "redball.png"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"name",
|
||||
"redball.png"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"content_disposition": {
|
||||
"offset_start": 257,
|
||||
"offset_end": 291
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"offset_start": 317,
|
||||
"offset_end": 326
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_disposition"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "redball.png"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"filename",
|
||||
"redball.png"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"offset_start": 346,
|
||||
"offset_end": 385
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": [
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Priority"
|
||||
},
|
||||
"value": {
|
||||
"Text": " 3 (Normal)\r\n"
|
||||
},
|
||||
"offset_start": 396,
|
||||
"offset_end": 409
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-MSMail-Priority"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Normal\r\n"
|
||||
},
|
||||
"offset_start": 427,
|
||||
"offset_end": 436
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Mailer"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n"
|
||||
},
|
||||
"offset_start": 445,
|
||||
"offset_end": 498
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "Importance"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Normal\r\n"
|
||||
},
|
||||
"offset_start": 509,
|
||||
"offset_end": 518
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-MimeOLE"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n"
|
||||
},
|
||||
"offset_start": 528,
|
||||
"offset_end": 576
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Binary": [
|
||||
137,
|
||||
80,
|
||||
78,
|
||||
@@ -1566,13 +1639,10 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
96,
|
||||
130
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 578,
|
||||
"offset_end": 2570
|
||||
}
|
||||
],
|
||||
"structure": {
|
||||
"Part": 0
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 578,
|
||||
"offset_end": 2570
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,34 @@
|
||||
From: "Doug Sauder" <doug@example.com>
|
||||
To: "Joe Blow" <jblow@example.com>,
|
||||
=?utf-7?B?SitBUHctcmdlbiBTY2htK0FQdy1yZ2Vu?= <schmuergen@example.com>
|
||||
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: <NDBBIAKOPKHFGPLCODIGMEKCCHAA.doug@example.com>
|
||||
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
|
||||
|
||||
@@ -0,0 +1,183 @@
|
||||
{
|
||||
"html_body": [
|
||||
0
|
||||
],
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "from"
|
||||
},
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 5,
|
||||
"offset_end": 39
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "to"
|
||||
},
|
||||
"value": {
|
||||
"AddressList": [
|
||||
{
|
||||
"name": "Joe Blow",
|
||||
"address": "jblow@example.com"
|
||||
},
|
||||
{
|
||||
"name": "Jürgen Schmürgen",
|
||||
"address": "schmuergen@example.com"
|
||||
}
|
||||
]
|
||||
},
|
||||
"offset_start": 42,
|
||||
"offset_end": 146
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "subject"
|
||||
},
|
||||
"value": {
|
||||
"Text": "Die Hasen und die Frösche (Microsoft Outlook 00)"
|
||||
},
|
||||
"offset_start": 154,
|
||||
"offset_end": 224
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "date"
|
||||
},
|
||||
"value": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 17,
|
||||
"hour": 19,
|
||||
"minute": 18,
|
||||
"second": 39,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"offset_start": 229,
|
||||
"offset_end": 262
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "message_id"
|
||||
},
|
||||
"value": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGMEKCCHAA.doug@example.com"
|
||||
},
|
||||
"offset_start": 273,
|
||||
"offset_end": 322
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "mime_version"
|
||||
},
|
||||
"value": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"offset_start": 335,
|
||||
"offset_end": 340
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": [
|
||||
[
|
||||
"charset",
|
||||
"utf-7"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_start": 353,
|
||||
"offset_end": 383
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"offset_start": 409,
|
||||
"offset_end": 427
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Priority"
|
||||
},
|
||||
"value": {
|
||||
"Text": " 3 (Normal)\n"
|
||||
},
|
||||
"offset_start": 438,
|
||||
"offset_end": 450
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-MSMail-Priority"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Normal\n"
|
||||
},
|
||||
"offset_start": 468,
|
||||
"offset_end": 476
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Mailer"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\n"
|
||||
},
|
||||
"offset_start": 485,
|
||||
"offset_end": 537
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "Importance"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Normal\n"
|
||||
},
|
||||
"offset_start": 548,
|
||||
"offset_end": 556
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-MimeOLE"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\n"
|
||||
},
|
||||
"offset_start": 566,
|
||||
"offset_end": 613
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Text": "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"
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 614,
|
||||
"offset_end": 1491
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,114 +0,0 @@
|
||||
From: "Doug Sauder" <doug@example.com>
|
||||
To: "Joe Blow" <jblow@example.com>,
|
||||
=?utf-7?B?SitBUHctcmdlbiBTY2htK0FQdy1yZ2Vu?= <schmuergen@example.com>
|
||||
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: <NDBBIAKOPKHFGPLCODIGMEKCCHAA.doug@example.com>
|
||||
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 ----{
|
||||
"headers_rfc": {
|
||||
"message_id": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGMEKCCHAA.doug@example.com"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"to": {
|
||||
"AddressList": [
|
||||
{
|
||||
"name": "Joe Blow",
|
||||
"address": "jblow@example.com"
|
||||
},
|
||||
{
|
||||
"name": "Jürgen Schmürgen",
|
||||
"address": "schmuergen@example.com"
|
||||
}
|
||||
]
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche (Microsoft Outlook 00)"
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 17,
|
||||
"hour": 19,
|
||||
"minute": 18,
|
||||
"second": 39,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
"html_body": [
|
||||
0
|
||||
],
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers_rfc": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"charset": "utf-7"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": "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"
|
||||
}
|
||||
}
|
||||
],
|
||||
"structure": {
|
||||
"Part": 0
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 614,
|
||||
"offset_end": 1491
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
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?= <mueller@example.com>
|
||||
From: Doug Sauder <dwsauder@example.com>
|
||||
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
|
||||
|
||||
<html>
|
||||
<font face=3D"Arial, Helvetica" size=3D5 color=3D"#0000FF"><b>Die Hasen und =
|
||||
die
|
||||
Fr=F6sche<br>
|
||||
<br>
|
||||
</font></b><font face=3D"Arial, Helvetica">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." <br>
|
||||
<br>
|
||||
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. <br>
|
||||
<br>
|
||||
"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." <br>
|
||||
<br>
|
||||
</font></html>
|
||||
|
||||
@@ -0,0 +1,157 @@
|
||||
{
|
||||
"html_body": [
|
||||
0
|
||||
],
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "message_id"
|
||||
},
|
||||
"value": {
|
||||
"Text": "4.2.0.58.20000519003052.00a89c40@pop.example.com"
|
||||
},
|
||||
"offset_start": 11,
|
||||
"offset_end": 64
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Sender"
|
||||
},
|
||||
"value": {
|
||||
"Text": " dwsauder@pop.example.com (Unverified)\r\n"
|
||||
},
|
||||
"offset_start": 73,
|
||||
"offset_end": 113
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Mailer"
|
||||
},
|
||||
"value": {
|
||||
"Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n"
|
||||
},
|
||||
"offset_start": 122,
|
||||
"offset_end": 170
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Priority"
|
||||
},
|
||||
"value": {
|
||||
"Text": " 2 (High)\r\n"
|
||||
},
|
||||
"offset_start": 181,
|
||||
"offset_end": 192
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "date"
|
||||
},
|
||||
"value": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 19,
|
||||
"hour": 0,
|
||||
"minute": 31,
|
||||
"second": 0,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"offset_start": 197,
|
||||
"offset_end": 231
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "to"
|
||||
},
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Heinz Müller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 234,
|
||||
"offset_end": 290
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "from"
|
||||
},
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 295,
|
||||
"offset_end": 332
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "subject"
|
||||
},
|
||||
"value": {
|
||||
"Text": "Die Hasen und die Frösche"
|
||||
},
|
||||
"offset_start": 340,
|
||||
"offset_end": 387
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "mime_version"
|
||||
},
|
||||
"value": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"offset_start": 400,
|
||||
"offset_end": 406
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "html",
|
||||
"attributes": [
|
||||
[
|
||||
"charset",
|
||||
"iso-8859-1"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_start": 419,
|
||||
"offset_end": 453
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"offset_start": 479,
|
||||
"offset_end": 498
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Html": "<html>\n<font face=\"Arial, Helvetica\" size=5 color=\"#0000FF\"><b>Die Hasen und die\nFrösche<br>\n<br>\n</font></b><font face=\"Arial, Helvetica\">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." <br>\n<br>\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. <br>\n<br>\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." <br>\n<br>\n</font></html>\n\n"
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 500,
|
||||
"offset_end": 1499
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,110 +0,0 @@
|
||||
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?= <mueller@example.com>
|
||||
From: Doug Sauder <dwsauder@example.com>
|
||||
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
|
||||
|
||||
<html>
|
||||
<font face=3D"Arial, Helvetica" size=3D5 color=3D"#0000FF"><b>Die Hasen und =
|
||||
die
|
||||
Fr=F6sche<br>
|
||||
<br>
|
||||
</font></b><font face=3D"Arial, Helvetica">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." <br>
|
||||
<br>
|
||||
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. <br>
|
||||
<br>
|
||||
"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." <br>
|
||||
<br>
|
||||
</font></html>
|
||||
|
||||
|
||||
---- EXPECTED STRUCTURE ----{
|
||||
"headers_rfc": {
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "4.2.0.58.20000519003052.00a89c40@pop.example.com"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Heinz Müller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche"
|
||||
}
|
||||
},
|
||||
"html_body": [
|
||||
0
|
||||
],
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Html": {
|
||||
"headers_rfc": {
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "html",
|
||||
"attributes": {
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
}
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": "<html>\n<font face=\"Arial, Helvetica\" size=5 color=\"#0000FF\"><b>Die Hasen und die\nFrösche<br>\n<br>\n</font></b><font face=\"Arial, Helvetica\">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." <br>\n<br>\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. <br>\n<br>\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." <br>\n<br>\n</font></html>\n\n"
|
||||
}
|
||||
}
|
||||
],
|
||||
"structure": {
|
||||
"Part": 0
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 500,
|
||||
"offset_end": 1499
|
||||
}
|
||||
@@ -0,0 +1,63 @@
|
||||
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?= <mueller@example.com>
|
||||
From: Doug Sauder <dwsauder@example.com>
|
||||
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
|
||||
|
||||
<html>
|
||||
<font face=3D"Arial, Helvetica" size=3D5 color=3D"#0000FF"><b>Die Hasen und =
|
||||
die
|
||||
Fr=F6sche<br>
|
||||
<br>
|
||||
</font></b><font face=3D"Arial, Helvetica">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." <br>
|
||||
<br>
|
||||
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. <br>
|
||||
<br>
|
||||
"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." <br>
|
||||
<br>
|
||||
</font></html>
|
||||
|
||||
--=====================_714967308==_.ALT--
|
||||
|
||||
@@ -0,0 +1,230 @@
|
||||
{
|
||||
"html_body": [
|
||||
2
|
||||
],
|
||||
"text_body": [
|
||||
1
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "message_id"
|
||||
},
|
||||
"value": {
|
||||
"Text": "4.2.0.58.20000519002557.00a88870@pop.example.com"
|
||||
},
|
||||
"offset_start": 11,
|
||||
"offset_end": 64
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Sender"
|
||||
},
|
||||
"value": {
|
||||
"Text": " dwsauder@pop.example.com (Unverified)\r\n"
|
||||
},
|
||||
"offset_start": 73,
|
||||
"offset_end": 113
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Mailer"
|
||||
},
|
||||
"value": {
|
||||
"Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n"
|
||||
},
|
||||
"offset_start": 122,
|
||||
"offset_end": 170
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Priority"
|
||||
},
|
||||
"value": {
|
||||
"Text": " 2 (High)\r\n"
|
||||
},
|
||||
"offset_start": 181,
|
||||
"offset_end": 192
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "date"
|
||||
},
|
||||
"value": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 19,
|
||||
"hour": 0,
|
||||
"minute": 29,
|
||||
"second": 55,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"offset_start": 197,
|
||||
"offset_end": 231
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "to"
|
||||
},
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Heinz Müller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 234,
|
||||
"offset_end": 290
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "from"
|
||||
},
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 295,
|
||||
"offset_end": 332
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "subject"
|
||||
},
|
||||
"value": {
|
||||
"Text": "Die Hasen und die Frösche"
|
||||
},
|
||||
"offset_start": 340,
|
||||
"offset_end": 387
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "mime_version"
|
||||
},
|
||||
"value": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"offset_start": 400,
|
||||
"offset_end": 406
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "alternative",
|
||||
"attributes": [
|
||||
[
|
||||
"boundary",
|
||||
"=====================_714967308==_.ALT"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_start": 419,
|
||||
"offset_end": 496
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Multipart": [
|
||||
1,
|
||||
2
|
||||
]
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 498,
|
||||
"offset_end": 2627
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": [
|
||||
[
|
||||
"charset",
|
||||
"iso-8859-1"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_start": 553,
|
||||
"offset_end": 588
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"offset_start": 614,
|
||||
"offset_end": 633
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Text": "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"
|
||||
},
|
||||
"offset_header": 540,
|
||||
"offset_body": 635,
|
||||
"offset_end": 1444
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "html",
|
||||
"attributes": [
|
||||
[
|
||||
"charset",
|
||||
"iso-8859-1"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_start": 1501,
|
||||
"offset_end": 1535
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"offset_start": 1561,
|
||||
"offset_end": 1580
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Html": "<html>\n<font face=\"Arial, Helvetica\" size=5 color=\"#0000FF\"><b>Die Hasen und die\nFrösche<br>\n<br>\n</font></b><font face=\"Arial, Helvetica\">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." <br>\n<br>\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. <br>\n<br>\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." <br>\n<br>\n</font></html>\n"
|
||||
},
|
||||
"offset_header": 1488,
|
||||
"offset_body": 1582,
|
||||
"offset_end": 2579
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,173 +0,0 @@
|
||||
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?= <mueller@example.com>
|
||||
From: Doug Sauder <dwsauder@example.com>
|
||||
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
|
||||
|
||||
<html>
|
||||
<font face=3D"Arial, Helvetica" size=3D5 color=3D"#0000FF"><b>Die Hasen und =
|
||||
die
|
||||
Fr=F6sche<br>
|
||||
<br>
|
||||
</font></b><font face=3D"Arial, Helvetica">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." <br>
|
||||
<br>
|
||||
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. <br>
|
||||
<br>
|
||||
"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." <br>
|
||||
<br>
|
||||
</font></html>
|
||||
|
||||
--=====================_714967308==_.ALT--
|
||||
|
||||
|
||||
---- EXPECTED STRUCTURE ----{
|
||||
"headers_rfc": {
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 19,
|
||||
"hour": 0,
|
||||
"minute": 29,
|
||||
"second": 55,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Heinz Müller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche"
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "4.2.0.58.20000519002557.00a88870@pop.example.com"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "alternative",
|
||||
"attributes": {
|
||||
"boundary": "=====================_714967308==_.ALT"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"html_body": [
|
||||
1
|
||||
],
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers_rfc": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": "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"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Html": {
|
||||
"headers_rfc": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "html",
|
||||
"attributes": {
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": "<html>\n<font face=\"Arial, Helvetica\" size=5 color=\"#0000FF\"><b>Die Hasen und die\nFrösche<br>\n<br>\n</font></b><font face=\"Arial, Helvetica\">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." <br>\n<br>\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. <br>\n<br>\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." <br>\n<br>\n</font></html>\n"
|
||||
}
|
||||
}
|
||||
],
|
||||
"structure": {
|
||||
"List": [
|
||||
{
|
||||
"Part": 0
|
||||
},
|
||||
{
|
||||
"Part": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 498,
|
||||
"offset_end": 2623
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
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 <blow@example.com>
|
||||
From: Doug Sauder <dwsauder@example.com>
|
||||
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.
|
||||
|
||||
@@ -0,0 +1,147 @@
|
||||
{
|
||||
"html_body": [
|
||||
0
|
||||
],
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "message_id"
|
||||
},
|
||||
"value": {
|
||||
"Text": "4.2.0.58.20000519011207.00a8cd70@pop.example.com"
|
||||
},
|
||||
"offset_start": 11,
|
||||
"offset_end": 64
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Sender"
|
||||
},
|
||||
"value": {
|
||||
"Text": " dwsauder@pop.example.com (Unverified)\r\n"
|
||||
},
|
||||
"offset_start": 73,
|
||||
"offset_end": 113
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Mailer"
|
||||
},
|
||||
"value": {
|
||||
"Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n"
|
||||
},
|
||||
"offset_start": 122,
|
||||
"offset_end": 170
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Priority"
|
||||
},
|
||||
"value": {
|
||||
"Text": " 5 (Lowest)\r\n"
|
||||
},
|
||||
"offset_start": 181,
|
||||
"offset_end": 194
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "date"
|
||||
},
|
||||
"value": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 19,
|
||||
"hour": 1,
|
||||
"minute": 13,
|
||||
"second": 19,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"offset_start": 199,
|
||||
"offset_end": 233
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "to"
|
||||
},
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Joe Blow",
|
||||
"address": "blow@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 236,
|
||||
"offset_end": 266
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "from"
|
||||
},
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 271,
|
||||
"offset_end": 308
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "subject"
|
||||
},
|
||||
"value": {
|
||||
"Text": "The Hare and the Tortoise"
|
||||
},
|
||||
"offset_start": 316,
|
||||
"offset_end": 344
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "mime_version"
|
||||
},
|
||||
"value": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"offset_start": 357,
|
||||
"offset_end": 363
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": [
|
||||
[
|
||||
"charset",
|
||||
"us-ascii"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_start": 376,
|
||||
"offset_end": 409
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Text": "\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"
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 411,
|
||||
"offset_end": 1177
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,89 +0,0 @@
|
||||
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 <blow@example.com>
|
||||
From: Doug Sauder <dwsauder@example.com>
|
||||
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 ----{
|
||||
"headers_rfc": {
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Joe Blow",
|
||||
"address": "blow@example.com"
|
||||
}
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 19,
|
||||
"hour": 1,
|
||||
"minute": 13,
|
||||
"second": 19,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "The Hare and the Tortoise"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "4.2.0.58.20000519011207.00a8cd70@pop.example.com"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
}
|
||||
},
|
||||
"html_body": [
|
||||
0
|
||||
],
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers_rfc": {
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"charset": "us-ascii"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": "\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"
|
||||
}
|
||||
}
|
||||
],
|
||||
"structure": {
|
||||
"Part": 0
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 413,
|
||||
"offset_end": 1177
|
||||
}
|
||||
@@ -0,0 +1,32 @@
|
||||
From: "Doug Sauder" <doug@example.com>
|
||||
To: =?utf-7?Q?Heinz_M+APw-ller?= <mueller@example.com>
|
||||
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: <NDBBIAKOPKHFGPLCODIGCEKDCHAA.doug@example.com>
|
||||
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
|
||||
@@ -0,0 +1,177 @@
|
||||
{
|
||||
"html_body": [
|
||||
0
|
||||
],
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "from"
|
||||
},
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 5,
|
||||
"offset_end": 40
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "to"
|
||||
},
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Heinz Müller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 43,
|
||||
"offset_end": 96
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "subject"
|
||||
},
|
||||
"value": {
|
||||
"Text": "Die Hasen und die Frösche (Microsoft Outlook 00)"
|
||||
},
|
||||
"offset_start": 104,
|
||||
"offset_end": 175
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "date"
|
||||
},
|
||||
"value": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 17,
|
||||
"hour": 19,
|
||||
"minute": 20,
|
||||
"second": 24,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"offset_start": 180,
|
||||
"offset_end": 214
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "message_id"
|
||||
},
|
||||
"value": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGCEKDCHAA.doug@example.com"
|
||||
},
|
||||
"offset_start": 225,
|
||||
"offset_end": 275
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "mime_version"
|
||||
},
|
||||
"value": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"offset_start": 288,
|
||||
"offset_end": 294
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": [
|
||||
[
|
||||
"charset",
|
||||
"utf-7"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_start": 307,
|
||||
"offset_end": 339
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"offset_start": 365,
|
||||
"offset_end": 384
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Priority"
|
||||
},
|
||||
"value": {
|
||||
"Text": " 3 (Normal)\r\n"
|
||||
},
|
||||
"offset_start": 395,
|
||||
"offset_end": 408
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-MSMail-Priority"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Normal\r\n"
|
||||
},
|
||||
"offset_start": 426,
|
||||
"offset_end": 435
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Mailer"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n"
|
||||
},
|
||||
"offset_start": 444,
|
||||
"offset_end": 497
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "Importance"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Normal\r\n"
|
||||
},
|
||||
"offset_start": 508,
|
||||
"offset_end": 517
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-MimeOLE"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n"
|
||||
},
|
||||
"offset_start": 527,
|
||||
"offset_end": 575
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Text": "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"
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 577,
|
||||
"offset_end": 1470
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,106 +0,0 @@
|
||||
From: "Doug Sauder" <doug@example.com>
|
||||
To: =?utf-7?Q?Heinz_M+APw-ller?= <mueller@example.com>
|
||||
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: <NDBBIAKOPKHFGPLCODIGCEKDCHAA.doug@example.com>
|
||||
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 ----{
|
||||
"headers_rfc": {
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Heinz Müller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGCEKDCHAA.doug@example.com"
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche (Microsoft Outlook 00)"
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 17,
|
||||
"hour": 19,
|
||||
"minute": 20,
|
||||
"second": 24,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
}
|
||||
},
|
||||
"html_body": [
|
||||
0
|
||||
],
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers_rfc": {
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"charset": "utf-7"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
}
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": "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"
|
||||
}
|
||||
}
|
||||
],
|
||||
"structure": {
|
||||
"Part": 0
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 577,
|
||||
"offset_end": 1470
|
||||
}
|
||||
@@ -0,0 +1,83 @@
|
||||
From: "Doug Sauder" <doug@example.com>
|
||||
To: "Joe Blow" <jblow@example.com>
|
||||
Subject: Test message from Microsoft Outlook 00
|
||||
Date: Wed, 17 May 2000 19:36:13 -0400
|
||||
Message-ID: <NDBBIAKOPKHFGPLCODIGOEKECHAA.doug@example.com>
|
||||
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--
|
||||
@@ -1,167 +1,224 @@
|
||||
From: "Doug Sauder" <doug@example.com>
|
||||
To: "Joe Blow" <jblow@example.com>
|
||||
Subject: Test message from Microsoft Outlook 00
|
||||
Date: Wed, 17 May 2000 19:36:13 -0400
|
||||
Message-ID: <NDBBIAKOPKHFGPLCODIGOEKECHAA.doug@example.com>
|
||||
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 ----{
|
||||
"headers_rfc": {
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "mixed",
|
||||
"attributes": {
|
||||
"boundary": "----=_NextPart_000_0004_01BFC037.28F2FA90"
|
||||
}
|
||||
}
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Test message from Microsoft Outlook 00"
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 17,
|
||||
"hour": 19,
|
||||
"minute": 36,
|
||||
"second": 13,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Joe Blow",
|
||||
"address": "jblow@example.com"
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGOEKECHAA.doug@example.com"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"html_body": [],
|
||||
"text_body": [],
|
||||
"attachments": [
|
||||
0,
|
||||
1
|
||||
1,
|
||||
2
|
||||
],
|
||||
"parts": [
|
||||
{
|
||||
"Binary": {
|
||||
"headers_rfc": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "from"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "blueball.png"
|
||||
}
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"offset_start": 5,
|
||||
"offset_end": 40
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "to"
|
||||
},
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Joe Blow",
|
||||
"address": "jblow@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 43,
|
||||
"offset_end": 76
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "subject"
|
||||
},
|
||||
"value": {
|
||||
"Text": "Test message from Microsoft Outlook 00"
|
||||
},
|
||||
"offset_start": 84,
|
||||
"offset_end": 125
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "date"
|
||||
},
|
||||
"value": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 17,
|
||||
"hour": 19,
|
||||
"minute": 36,
|
||||
"second": 13,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"offset_start": 130,
|
||||
"offset_end": 164
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "message_id"
|
||||
},
|
||||
"value": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGOEKECHAA.doug@example.com"
|
||||
},
|
||||
"offset_start": 175,
|
||||
"offset_end": 225
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "mime_version"
|
||||
},
|
||||
"value": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"offset_start": 238,
|
||||
"offset_end": 244
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "mixed",
|
||||
"attributes": [
|
||||
[
|
||||
"boundary",
|
||||
"----=_NextPart_000_0004_01BFC037.28F2FA90"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_start": 257,
|
||||
"offset_end": 331
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Priority"
|
||||
},
|
||||
"value": {
|
||||
"Text": " 3 (Normal)\r\n"
|
||||
},
|
||||
"offset_start": 342,
|
||||
"offset_end": 355
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-MSMail-Priority"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Normal\r\n"
|
||||
},
|
||||
"offset_start": 373,
|
||||
"offset_end": 382
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Mailer"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n"
|
||||
},
|
||||
"offset_start": 391,
|
||||
"offset_end": 444
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "Importance"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Normal\r\n"
|
||||
},
|
||||
"offset_start": 455,
|
||||
"offset_end": 464
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-MimeOLE"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n"
|
||||
},
|
||||
"offset_start": 474,
|
||||
"offset_end": 522
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Multipart": [
|
||||
1,
|
||||
2
|
||||
]
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 524,
|
||||
"offset_end": 4809
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
"c_subtype": "png",
|
||||
"attributes": {
|
||||
"name": "blueball.png"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"name",
|
||||
"blueball.png"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"offset_start": 630,
|
||||
"offset_end": 665
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"offset_start": 691,
|
||||
"offset_end": 700
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_disposition"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": [
|
||||
[
|
||||
"filename",
|
||||
"blueball.png"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_start": 720,
|
||||
"offset_end": 760
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Binary": [
|
||||
137,
|
||||
80,
|
||||
78,
|
||||
@@ -1488,35 +1545,65 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
96,
|
||||
130
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_header": 617,
|
||||
"offset_body": 762,
|
||||
"offset_end": 2578
|
||||
},
|
||||
{
|
||||
"Binary": {
|
||||
"headers_rfc": {
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "redball.png"
|
||||
}
|
||||
}
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"content_type": {
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
"c_subtype": "png",
|
||||
"attributes": {
|
||||
"name": "redball.png"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"name",
|
||||
"redball.png"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
}
|
||||
"offset_start": 2638,
|
||||
"offset_end": 2672
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"offset_start": 2698,
|
||||
"offset_end": 2707
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_disposition"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": [
|
||||
[
|
||||
"filename",
|
||||
"redball.png"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_start": 2727,
|
||||
"offset_end": 2766
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Binary": [
|
||||
137,
|
||||
80,
|
||||
78,
|
||||
@@ -2971,20 +3058,10 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
96,
|
||||
130
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"structure": {
|
||||
"List": [
|
||||
{
|
||||
"Part": 0
|
||||
},
|
||||
{
|
||||
"Part": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 524,
|
||||
"offset_end": 4807
|
||||
"offset_header": 2625,
|
||||
"offset_body": 2768,
|
||||
"offset_end": 4760
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
From: "Doug Sauder" <doug@example.com>
|
||||
To: =?iso-8859-1?B?SvxyZ2VuIFNjaG38cmdlbg==?= <schmuergen@example.com>
|
||||
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: <NDBBIAKOPKHFGPLCODIGIEKCCHAA.doug@example.com>
|
||||
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
|
||||
|
||||
@@ -0,0 +1,177 @@
|
||||
{
|
||||
"html_body": [
|
||||
0
|
||||
],
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "from"
|
||||
},
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 5,
|
||||
"offset_end": 40
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "to"
|
||||
},
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Jürgen Schmürgen",
|
||||
"address": "schmuergen@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 43,
|
||||
"offset_end": 112
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "subject"
|
||||
},
|
||||
"value": {
|
||||
"Text": "Die Hasen und die Frösche (Microsoft Outlook 00)"
|
||||
},
|
||||
"offset_start": 120,
|
||||
"offset_end": 194
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "date"
|
||||
},
|
||||
"value": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 17,
|
||||
"hour": 19,
|
||||
"minute": 15,
|
||||
"second": 35,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"offset_start": 199,
|
||||
"offset_end": 233
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "message_id"
|
||||
},
|
||||
"value": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGIEKCCHAA.doug@example.com"
|
||||
},
|
||||
"offset_start": 244,
|
||||
"offset_end": 294
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "mime_version"
|
||||
},
|
||||
"value": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"offset_start": 307,
|
||||
"offset_end": 313
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": [
|
||||
[
|
||||
"charset",
|
||||
"iso-8859-1"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_start": 326,
|
||||
"offset_end": 363
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"offset_start": 389,
|
||||
"offset_end": 408
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Priority"
|
||||
},
|
||||
"value": {
|
||||
"Text": " 3 (Normal)\r\n"
|
||||
},
|
||||
"offset_start": 419,
|
||||
"offset_end": 432
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-MSMail-Priority"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Normal\r\n"
|
||||
},
|
||||
"offset_start": 450,
|
||||
"offset_end": 459
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Mailer"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n"
|
||||
},
|
||||
"offset_start": 468,
|
||||
"offset_end": 521
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "Importance"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Normal\r\n"
|
||||
},
|
||||
"offset_start": 532,
|
||||
"offset_end": 541
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-MimeOLE"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n"
|
||||
},
|
||||
"offset_start": 551,
|
||||
"offset_end": 599
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Text": "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"
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 601,
|
||||
"offset_end": 1410
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,105 +0,0 @@
|
||||
From: "Doug Sauder" <doug@example.com>
|
||||
To: =?iso-8859-1?B?SvxyZ2VuIFNjaG38cmdlbg==?= <schmuergen@example.com>
|
||||
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: <NDBBIAKOPKHFGPLCODIGIEKCCHAA.doug@example.com>
|
||||
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 ----{
|
||||
"headers_rfc": {
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Jürgen Schmürgen",
|
||||
"address": "schmuergen@example.com"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche (Microsoft Outlook 00)"
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 17,
|
||||
"hour": 19,
|
||||
"minute": 15,
|
||||
"second": 35,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGIEKCCHAA.doug@example.com"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
}
|
||||
},
|
||||
"html_body": [
|
||||
0
|
||||
],
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers_rfc": {
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
}
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": "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"
|
||||
}
|
||||
}
|
||||
],
|
||||
"structure": {
|
||||
"Part": 0
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 601,
|
||||
"offset_end": 1410
|
||||
}
|
||||
@@ -0,0 +1,135 @@
|
||||
From: "Doug Sauder" <doug@example.com>
|
||||
To: =?iso-8859-1?Q?Heinz_M=FCller?= <mueller@example.com>
|
||||
Subject: Test message from Microsoft Outlook 00
|
||||
Date: Wed, 17 May 2000 19:32:47 -0400
|
||||
Message-ID: <NDBBIAKOPKHFGPLCODIGGEKECHAA.doug@example.com>
|
||||
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--
|
||||
@@ -1,244 +1,271 @@
|
||||
From: "Doug Sauder" <doug@example.com>
|
||||
To: =?iso-8859-1?Q?Heinz_M=FCller?= <mueller@example.com>
|
||||
Subject: Test message from Microsoft Outlook 00
|
||||
Date: Wed, 17 May 2000 19:32:47 -0400
|
||||
Message-ID: <NDBBIAKOPKHFGPLCODIGGEKECHAA.doug@example.com>
|
||||
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 ----{
|
||||
"headers_rfc": {
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "mixed",
|
||||
"attributes": {
|
||||
"boundary": "----=_NextPart_000_0002_01BFC036.AE309650"
|
||||
}
|
||||
}
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Test message from Microsoft Outlook 00"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Heinz Müller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 17,
|
||||
"hour": 19,
|
||||
"minute": 32,
|
||||
"second": 47,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGGEKECHAA.doug@example.com"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"html_body": [
|
||||
0
|
||||
1
|
||||
],
|
||||
"text_body": [
|
||||
0
|
||||
1
|
||||
],
|
||||
"attachments": [
|
||||
1,
|
||||
2,
|
||||
3
|
||||
3,
|
||||
4
|
||||
],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers_rfc": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "from"
|
||||
},
|
||||
"content_type": {
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 5,
|
||||
"offset_end": 40
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "to"
|
||||
},
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Heinz Müller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 43,
|
||||
"offset_end": 99
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "subject"
|
||||
},
|
||||
"value": {
|
||||
"Text": "Test message from Microsoft Outlook 00"
|
||||
},
|
||||
"offset_start": 107,
|
||||
"offset_end": 148
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "date"
|
||||
},
|
||||
"value": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 17,
|
||||
"hour": 19,
|
||||
"minute": 32,
|
||||
"second": 47,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"offset_start": 153,
|
||||
"offset_end": 187
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "message_id"
|
||||
},
|
||||
"value": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGGEKECHAA.doug@example.com"
|
||||
},
|
||||
"offset_start": 198,
|
||||
"offset_end": 248
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "mime_version"
|
||||
},
|
||||
"value": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"offset_start": 261,
|
||||
"offset_end": 267
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "mixed",
|
||||
"attributes": [
|
||||
[
|
||||
"boundary",
|
||||
"----=_NextPart_000_0002_01BFC036.AE309650"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_start": 280,
|
||||
"offset_end": 354
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Priority"
|
||||
},
|
||||
"value": {
|
||||
"Text": " 3 (Normal)\r\n"
|
||||
},
|
||||
"offset_start": 365,
|
||||
"offset_end": 378
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-MSMail-Priority"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Normal\r\n"
|
||||
},
|
||||
"offset_start": 396,
|
||||
"offset_end": 405
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Mailer"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n"
|
||||
},
|
||||
"offset_start": 414,
|
||||
"offset_end": 467
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "Importance"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Normal\r\n"
|
||||
},
|
||||
"offset_start": 478,
|
||||
"offset_end": 487
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-MimeOLE"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n"
|
||||
},
|
||||
"offset_start": 497,
|
||||
"offset_end": 545
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Multipart": [
|
||||
1,
|
||||
2,
|
||||
3,
|
||||
4
|
||||
]
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 547,
|
||||
"offset_end": 7747
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"charset",
|
||||
"iso-8859-1"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"offset_start": 653,
|
||||
"offset_end": 690
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": "\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"
|
||||
}
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"offset_start": 716,
|
||||
"offset_end": 735
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Text": "\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"
|
||||
},
|
||||
"offset_header": 640,
|
||||
"offset_body": 737,
|
||||
"offset_end": 1536
|
||||
},
|
||||
{
|
||||
"Binary": {
|
||||
"headers_rfc": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"content_type": {
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
"c_subtype": "png",
|
||||
"attributes": {
|
||||
"name": "blueball.png"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"name",
|
||||
"blueball.png"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"content_disposition": {
|
||||
"offset_start": 1596,
|
||||
"offset_end": 1631
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"offset_start": 1657,
|
||||
"offset_end": 1666
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_disposition"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "blueball.png"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"filename",
|
||||
"blueball.png"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": [
|
||||
},
|
||||
"offset_start": 1686,
|
||||
"offset_end": 1726
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Binary": [
|
||||
137,
|
||||
80,
|
||||
78,
|
||||
@@ -1565,35 +1592,65 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
96,
|
||||
130
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_header": 1583,
|
||||
"offset_body": 1728,
|
||||
"offset_end": 3544
|
||||
},
|
||||
{
|
||||
"Binary": {
|
||||
"headers_rfc": {
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "greenball.png"
|
||||
}
|
||||
}
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_type": {
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
"c_subtype": "png",
|
||||
"attributes": {
|
||||
"name": "greenball.png"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"name",
|
||||
"greenball.png"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"offset_start": 3604,
|
||||
"offset_end": 3640
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"offset_start": 3666,
|
||||
"offset_end": 3675
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_disposition"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": [
|
||||
[
|
||||
"filename",
|
||||
"greenball.png"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_start": 3695,
|
||||
"offset_end": 3736
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Binary": [
|
||||
137,
|
||||
80,
|
||||
78,
|
||||
@@ -2893,35 +2950,65 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
96,
|
||||
130
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_header": 3591,
|
||||
"offset_body": 3738,
|
||||
"offset_end": 5516
|
||||
},
|
||||
{
|
||||
"Binary": {
|
||||
"headers_rfc": {
|
||||
"content_type": {
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
"c_subtype": "png",
|
||||
"attributes": {
|
||||
"name": "redball.png"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"name",
|
||||
"redball.png"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"offset_start": 5576,
|
||||
"offset_end": 5610
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_disposition": {
|
||||
"offset_start": 5636,
|
||||
"offset_end": 5645
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_disposition"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "redball.png"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"filename",
|
||||
"redball.png"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": [
|
||||
},
|
||||
"offset_start": 5665,
|
||||
"offset_end": 5704
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Binary": [
|
||||
137,
|
||||
80,
|
||||
78,
|
||||
@@ -4376,26 +4463,10 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
96,
|
||||
130
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_header": 5563,
|
||||
"offset_body": 5706,
|
||||
"offset_end": 7698
|
||||
}
|
||||
],
|
||||
"structure": {
|
||||
"List": [
|
||||
{
|
||||
"Part": 0
|
||||
},
|
||||
{
|
||||
"Part": 1
|
||||
},
|
||||
{
|
||||
"Part": 2
|
||||
},
|
||||
{
|
||||
"Part": 3
|
||||
}
|
||||
]
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 547,
|
||||
"offset_end": 7745
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,36 @@
|
||||
Message-Id: <4.2.0.58.20000519010441.00a8d140@pop.example.com>
|
||||
X-Sender: dwsauder@pop.example.com (Unverified)
|
||||
Disposition-Notification-To: <dwsauder@example.com>
|
||||
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?=
|
||||
<jschmuergen@example.com>
|
||||
From: Doug Sauder <dwsauder@example.com>
|
||||
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."
|
||||
|
||||
|
||||
@@ -0,0 +1,171 @@
|
||||
{
|
||||
"html_body": [
|
||||
0
|
||||
],
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "message_id"
|
||||
},
|
||||
"value": {
|
||||
"Text": "4.2.0.58.20000519010441.00a8d140@pop.example.com"
|
||||
},
|
||||
"offset_start": 11,
|
||||
"offset_end": 64
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Sender"
|
||||
},
|
||||
"value": {
|
||||
"Text": " dwsauder@pop.example.com (Unverified)\r\n"
|
||||
},
|
||||
"offset_start": 73,
|
||||
"offset_end": 113
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "Disposition-Notification-To"
|
||||
},
|
||||
"value": {
|
||||
"Text": " <dwsauder@example.com>\r\n"
|
||||
},
|
||||
"offset_start": 141,
|
||||
"offset_end": 166
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Mailer"
|
||||
},
|
||||
"value": {
|
||||
"Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n"
|
||||
},
|
||||
"offset_start": 175,
|
||||
"offset_end": 223
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Priority"
|
||||
},
|
||||
"value": {
|
||||
"Text": " 1 (Highest)\r\n"
|
||||
},
|
||||
"offset_start": 234,
|
||||
"offset_end": 248
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "date"
|
||||
},
|
||||
"value": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 19,
|
||||
"hour": 1,
|
||||
"minute": 6,
|
||||
"second": 18,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"offset_start": 253,
|
||||
"offset_end": 287
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "to"
|
||||
},
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Jürgen Schmürgen",
|
||||
"address": "jschmuergen@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 290,
|
||||
"offset_end": 373
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "from"
|
||||
},
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 378,
|
||||
"offset_end": 415
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "subject"
|
||||
},
|
||||
"value": {
|
||||
"Text": "Die Hasen und die Frösche"
|
||||
},
|
||||
"offset_start": 423,
|
||||
"offset_end": 468
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "mime_version"
|
||||
},
|
||||
"value": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"offset_start": 481,
|
||||
"offset_end": 487
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": [
|
||||
[
|
||||
"charset",
|
||||
"iso-8859-1"
|
||||
],
|
||||
[
|
||||
"format",
|
||||
"flowed"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_start": 500,
|
||||
"offset_end": 550
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"offset_start": 576,
|
||||
"offset_end": 595
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Text": "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"
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 597,
|
||||
"offset_end": 1422
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,111 +0,0 @@
|
||||
Message-Id: <4.2.0.58.20000519010441.00a8d140@pop.example.com>
|
||||
X-Sender: dwsauder@pop.example.com (Unverified)
|
||||
Disposition-Notification-To: <dwsauder@example.com>
|
||||
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?=
|
||||
<jschmuergen@example.com>
|
||||
From: Doug Sauder <dwsauder@example.com>
|
||||
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 ----{
|
||||
"headers_rfc": {
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 19,
|
||||
"hour": 1,
|
||||
"minute": 6,
|
||||
"second": 18,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Jürgen Schmürgen",
|
||||
"address": "jschmuergen@example.com"
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "4.2.0.58.20000519010441.00a8d140@pop.example.com"
|
||||
}
|
||||
},
|
||||
"html_body": [
|
||||
0
|
||||
],
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers_rfc": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"charset": "iso-8859-1",
|
||||
"format": "flowed"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": "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"
|
||||
}
|
||||
}
|
||||
],
|
||||
"structure": {
|
||||
"Part": 0
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 597,
|
||||
"offset_end": 1422
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
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 <mueller@example.com>
|
||||
From: Doug Sauder <dwsauder@example.com>
|
||||
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."
|
||||
|
||||
|
||||
@@ -0,0 +1,157 @@
|
||||
{
|
||||
"html_body": [
|
||||
0
|
||||
],
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "message_id"
|
||||
},
|
||||
"value": {
|
||||
"Text": "4.2.0.58.20000519010842.00a8c7f0@pop.example.com"
|
||||
},
|
||||
"offset_start": 11,
|
||||
"offset_end": 64
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Sender"
|
||||
},
|
||||
"value": {
|
||||
"Text": " dwsauder@pop.example.com (Unverified)\r\n"
|
||||
},
|
||||
"offset_start": 73,
|
||||
"offset_end": 113
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Mailer"
|
||||
},
|
||||
"value": {
|
||||
"Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n"
|
||||
},
|
||||
"offset_start": 122,
|
||||
"offset_end": 170
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Priority"
|
||||
},
|
||||
"value": {
|
||||
"Text": " 1 (Highest)\r\n"
|
||||
},
|
||||
"offset_start": 181,
|
||||
"offset_end": 195
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "date"
|
||||
},
|
||||
"value": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 19,
|
||||
"hour": 1,
|
||||
"minute": 10,
|
||||
"second": 27,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"offset_start": 200,
|
||||
"offset_end": 234
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "to"
|
||||
},
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Heinz M�ller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 237,
|
||||
"offset_end": 274
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "from"
|
||||
},
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 279,
|
||||
"offset_end": 316
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "subject"
|
||||
},
|
||||
"value": {
|
||||
"Text": "Die Hasen und die Fr�sche"
|
||||
},
|
||||
"offset_start": 324,
|
||||
"offset_end": 352
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "mime_version"
|
||||
},
|
||||
"value": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"offset_start": 365,
|
||||
"offset_end": 371
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": [
|
||||
[
|
||||
"charset",
|
||||
"iso-8859-1"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_start": 384,
|
||||
"offset_end": 419
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "8bit"
|
||||
},
|
||||
"offset_start": 445,
|
||||
"offset_end": 452
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Text": "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"
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 454,
|
||||
"offset_end": 1203
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,95 +0,0 @@
|
||||
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 <mueller@example.com>
|
||||
From: Doug Sauder <dwsauder@example.com>
|
||||
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 ----{
|
||||
"headers_rfc": {
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Fr�sche"
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 19,
|
||||
"hour": 1,
|
||||
"minute": 10,
|
||||
"second": 27,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Heinz M�ller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "4.2.0.58.20000519010842.00a8c7f0@pop.example.com"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
}
|
||||
},
|
||||
"html_body": [
|
||||
0
|
||||
],
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers_rfc": {
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "8bit"
|
||||
}
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": "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"
|
||||
}
|
||||
}
|
||||
],
|
||||
"structure": {
|
||||
"Part": 0
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 454,
|
||||
"offset_end": 1203
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
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?=
|
||||
<jschmuergen@example.com>
|
||||
From: Doug Sauder <dwsauder@example.com>
|
||||
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
|
||||
|
||||
|
||||
@@ -0,0 +1,147 @@
|
||||
{
|
||||
"html_body": [
|
||||
0
|
||||
],
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "message_id"
|
||||
},
|
||||
"value": {
|
||||
"Text": "4.2.0.58.20000519001217.00a85b60@pop.example.com"
|
||||
},
|
||||
"offset_start": 11,
|
||||
"offset_end": 64
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Sender"
|
||||
},
|
||||
"value": {
|
||||
"Text": " dwsauder@pop.example.com (Unverified)\r\n"
|
||||
},
|
||||
"offset_start": 73,
|
||||
"offset_end": 113
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Mailer"
|
||||
},
|
||||
"value": {
|
||||
"Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n"
|
||||
},
|
||||
"offset_start": 122,
|
||||
"offset_end": 170
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "date"
|
||||
},
|
||||
"value": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 19,
|
||||
"hour": 0,
|
||||
"minute": 17,
|
||||
"second": 39,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"offset_start": 175,
|
||||
"offset_end": 209
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "to"
|
||||
},
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Jürgen Schmürgen",
|
||||
"address": "jschmuergen@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 212,
|
||||
"offset_end": 299
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "from"
|
||||
},
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 304,
|
||||
"offset_end": 341
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "subject"
|
||||
},
|
||||
"value": {
|
||||
"Text": "Die Hasen und die Frösche"
|
||||
},
|
||||
"offset_start": 349,
|
||||
"offset_end": 396
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "mime_version"
|
||||
},
|
||||
"value": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"offset_start": 409,
|
||||
"offset_end": 415
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": [
|
||||
[
|
||||
"charset",
|
||||
"iso-8859-1"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_start": 428,
|
||||
"offset_end": 463
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"offset_start": 489,
|
||||
"offset_end": 508
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Text": "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"
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 510,
|
||||
"offset_end": 1321
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,103 +0,0 @@
|
||||
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?=
|
||||
<jschmuergen@example.com>
|
||||
From: Doug Sauder <dwsauder@example.com>
|
||||
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 ----{
|
||||
"headers_rfc": {
|
||||
"message_id": {
|
||||
"Text": "4.2.0.58.20000519001217.00a85b60@pop.example.com"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Jürgen Schmürgen",
|
||||
"address": "jschmuergen@example.com"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche"
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 19,
|
||||
"hour": 0,
|
||||
"minute": 17,
|
||||
"second": 39,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
}
|
||||
},
|
||||
"html_body": [
|
||||
0
|
||||
],
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers_rfc": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": "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"
|
||||
}
|
||||
}
|
||||
],
|
||||
"structure": {
|
||||
"Part": 0
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 510,
|
||||
"offset_end": 1321
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
From: "Doug Sauder" <doug@example.com>
|
||||
To: =?Windows-1252?Q?Heinz_M=FCller?= <mueller@example.com>
|
||||
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: <NDBBIAKOPKHFGPLCODIGCEKECHAA.doug@example.com>
|
||||
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
|
||||
@@ -0,0 +1,177 @@
|
||||
{
|
||||
"html_body": [
|
||||
0
|
||||
],
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "from"
|
||||
},
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 5,
|
||||
"offset_end": 40
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "to"
|
||||
},
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Heinz Müller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 43,
|
||||
"offset_end": 101
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "subject"
|
||||
},
|
||||
"value": {
|
||||
"Text": "Die Hasen und die Frösche (Microsoft Outlook 00)"
|
||||
},
|
||||
"offset_start": 109,
|
||||
"offset_end": 185
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "date"
|
||||
},
|
||||
"value": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 17,
|
||||
"hour": 19,
|
||||
"minute": 30,
|
||||
"second": 20,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"offset_start": 190,
|
||||
"offset_end": 224
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "message_id"
|
||||
},
|
||||
"value": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGCEKECHAA.doug@example.com"
|
||||
},
|
||||
"offset_start": 235,
|
||||
"offset_end": 285
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "mime_version"
|
||||
},
|
||||
"value": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"offset_start": 298,
|
||||
"offset_end": 304
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": [
|
||||
[
|
||||
"charset",
|
||||
"Windows-1252"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_start": 317,
|
||||
"offset_end": 356
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"offset_start": 382,
|
||||
"offset_end": 401
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Priority"
|
||||
},
|
||||
"value": {
|
||||
"Text": " 3 (Normal)\r\n"
|
||||
},
|
||||
"offset_start": 412,
|
||||
"offset_end": 425
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-MSMail-Priority"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Normal\r\n"
|
||||
},
|
||||
"offset_start": 443,
|
||||
"offset_end": 452
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Mailer"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n"
|
||||
},
|
||||
"offset_start": 461,
|
||||
"offset_end": 514
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "Importance"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Normal\r\n"
|
||||
},
|
||||
"offset_start": 525,
|
||||
"offset_end": 534
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-MimeOLE"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n"
|
||||
},
|
||||
"offset_start": 544,
|
||||
"offset_end": 592
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Text": "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"
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 594,
|
||||
"offset_end": 1401
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,104 +0,0 @@
|
||||
From: "Doug Sauder" <doug@example.com>
|
||||
To: =?Windows-1252?Q?Heinz_M=FCller?= <mueller@example.com>
|
||||
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: <NDBBIAKOPKHFGPLCODIGCEKECHAA.doug@example.com>
|
||||
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 ----{
|
||||
"headers_rfc": {
|
||||
"message_id": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGCEKECHAA.doug@example.com"
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche (Microsoft Outlook 00)"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Heinz Müller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 17,
|
||||
"hour": 19,
|
||||
"minute": 30,
|
||||
"second": 20,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
}
|
||||
},
|
||||
"html_body": [
|
||||
0
|
||||
],
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers_rfc": {
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"charset": "Windows-1252"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
}
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": "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"
|
||||
}
|
||||
}
|
||||
],
|
||||
"structure": {
|
||||
"Part": 0
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 594,
|
||||
"offset_end": 1401
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
From: "Doug Sauder" <doug@example.com>
|
||||
To: =?iso-8859-1?B?SvxyZ2VuIFNjaG38cmdlbg==?= <schmuergen@example.com>
|
||||
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: <NDBBIAKOPKHFGPLCODIGEEKCCHAA.doug@example.com>
|
||||
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."
|
||||
|
||||
@@ -0,0 +1,177 @@
|
||||
{
|
||||
"html_body": [
|
||||
0
|
||||
],
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "from"
|
||||
},
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 5,
|
||||
"offset_end": 40
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "to"
|
||||
},
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Jürgen Schmürgen",
|
||||
"address": "schmuergen@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 43,
|
||||
"offset_end": 112
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "subject"
|
||||
},
|
||||
"value": {
|
||||
"Text": "Die Hasen und die Frösche (Microsoft Outlook 00)"
|
||||
},
|
||||
"offset_start": 120,
|
||||
"offset_end": 194
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "date"
|
||||
},
|
||||
"value": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 17,
|
||||
"hour": 19,
|
||||
"minute": 13,
|
||||
"second": 51,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"offset_start": 199,
|
||||
"offset_end": 233
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "message_id"
|
||||
},
|
||||
"value": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGEEKCCHAA.doug@example.com"
|
||||
},
|
||||
"offset_start": 244,
|
||||
"offset_end": 294
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "mime_version"
|
||||
},
|
||||
"value": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"offset_start": 307,
|
||||
"offset_end": 313
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": [
|
||||
[
|
||||
"charset",
|
||||
"iso-8859-1"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_start": 326,
|
||||
"offset_end": 363
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "8bit"
|
||||
},
|
||||
"offset_start": 389,
|
||||
"offset_end": 396
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Priority"
|
||||
},
|
||||
"value": {
|
||||
"Text": " 3 (Normal)\r\n"
|
||||
},
|
||||
"offset_start": 407,
|
||||
"offset_end": 420
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-MSMail-Priority"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Normal\r\n"
|
||||
},
|
||||
"offset_start": 438,
|
||||
"offset_end": 447
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Mailer"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n"
|
||||
},
|
||||
"offset_start": 456,
|
||||
"offset_end": 509
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "Importance"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Normal\r\n"
|
||||
},
|
||||
"offset_start": 520,
|
||||
"offset_end": 529
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-MimeOLE"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n"
|
||||
},
|
||||
"offset_start": 539,
|
||||
"offset_end": 587
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Text": "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"
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 589,
|
||||
"offset_end": 1341
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,105 +0,0 @@
|
||||
From: "Doug Sauder" <doug@example.com>
|
||||
To: =?iso-8859-1?B?SvxyZ2VuIFNjaG38cmdlbg==?= <schmuergen@example.com>
|
||||
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: <NDBBIAKOPKHFGPLCODIGEEKCCHAA.doug@example.com>
|
||||
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 ----{
|
||||
"headers_rfc": {
|
||||
"message_id": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGEEKCCHAA.doug@example.com"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Jürgen Schmürgen",
|
||||
"address": "schmuergen@example.com"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche (Microsoft Outlook 00)"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 17,
|
||||
"hour": 19,
|
||||
"minute": 13,
|
||||
"second": 51,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
"html_body": [
|
||||
0
|
||||
],
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers_rfc": {
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "8bit"
|
||||
}
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": "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"
|
||||
}
|
||||
}
|
||||
],
|
||||
"structure": {
|
||||
"Part": 0
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 589,
|
||||
"offset_end": 1341
|
||||
}
|
||||
@@ -0,0 +1,72 @@
|
||||
From: "Doug Sauder" <doug@example.com>
|
||||
To: "Joe Blow" <jblow@example.com>
|
||||
Subject: Test message from Microsoft Outlook 00
|
||||
Date: Wed, 17 May 2000 19:38:28 -0400
|
||||
Message-ID: <NDBBIAKOPKHFGPLCODIGCEKFCHAA.doug@example.com>
|
||||
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
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<HTML><HEAD>
|
||||
<META content=3D"text/html; charset=3Diso-8859-1" =
|
||||
http-equiv=3DContent-Type>
|
||||
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR></HEAD>
|
||||
<BODY>
|
||||
<DIV><FONT face=3DArial size=3D2><BR>The Hare and the Tortoise =
|
||||
<BR> <BR>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. <BR> <BR>Slow but steady wins the =
|
||||
race. =20
|
||||
<BR></FONT></DIV></BODY></HTML>
|
||||
|
||||
------=_NextPart_000_0005_01BFC037.799BEF60--
|
||||
@@ -0,0 +1,250 @@
|
||||
{
|
||||
"html_body": [
|
||||
2
|
||||
],
|
||||
"text_body": [
|
||||
1
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "from"
|
||||
},
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 5,
|
||||
"offset_end": 40
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "to"
|
||||
},
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Joe Blow",
|
||||
"address": "jblow@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 43,
|
||||
"offset_end": 76
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "subject"
|
||||
},
|
||||
"value": {
|
||||
"Text": "Test message from Microsoft Outlook 00"
|
||||
},
|
||||
"offset_start": 84,
|
||||
"offset_end": 125
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "date"
|
||||
},
|
||||
"value": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 17,
|
||||
"hour": 19,
|
||||
"minute": 38,
|
||||
"second": 28,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"offset_start": 130,
|
||||
"offset_end": 164
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "message_id"
|
||||
},
|
||||
"value": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGCEKFCHAA.doug@example.com"
|
||||
},
|
||||
"offset_start": 175,
|
||||
"offset_end": 225
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "mime_version"
|
||||
},
|
||||
"value": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"offset_start": 238,
|
||||
"offset_end": 244
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "alternative",
|
||||
"attributes": [
|
||||
[
|
||||
"boundary",
|
||||
"----=_NextPart_000_0005_01BFC037.799BEF60"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_start": 257,
|
||||
"offset_end": 337
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Priority"
|
||||
},
|
||||
"value": {
|
||||
"Text": " 3 (Normal)\r\n"
|
||||
},
|
||||
"offset_start": 348,
|
||||
"offset_end": 361
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-MSMail-Priority"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Normal\r\n"
|
||||
},
|
||||
"offset_start": 379,
|
||||
"offset_end": 388
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Mailer"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n"
|
||||
},
|
||||
"offset_start": 397,
|
||||
"offset_end": 450
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "Importance"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Normal\r\n"
|
||||
},
|
||||
"offset_start": 461,
|
||||
"offset_end": 470
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-MimeOLE"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n"
|
||||
},
|
||||
"offset_start": 480,
|
||||
"offset_end": 528
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Multipart": [
|
||||
1,
|
||||
2
|
||||
]
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 530,
|
||||
"offset_end": 2903
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": [
|
||||
[
|
||||
"charset",
|
||||
"iso-8859-1"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_start": 636,
|
||||
"offset_end": 673
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"offset_start": 699,
|
||||
"offset_end": 718
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Text": "\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"
|
||||
},
|
||||
"offset_header": 623,
|
||||
"offset_body": 720,
|
||||
"offset_end": 1521
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "html",
|
||||
"attributes": [
|
||||
[
|
||||
"charset",
|
||||
"iso-8859-1"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_start": 1581,
|
||||
"offset_end": 1617
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"offset_start": 1643,
|
||||
"offset_end": 1662
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Html": "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">\n<HTML><HEAD>\n<META content=\"text/html; charset=iso-8859-1\" http-equiv=Content-Type>\n<META content=\"MSHTML 5.00.2314.1000\" name=GENERATOR></HEAD>\n<BODY>\n<DIV><FONT face=Arial size=2><BR>The Hare and the Tortoise <BR> <BR>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. <BR> <BR>Slow but steady wins the race. \n<BR></FONT></DIV></BODY></HTML>\n"
|
||||
},
|
||||
"offset_header": 1568,
|
||||
"offset_body": 1664,
|
||||
"offset_end": 2854
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,182 +0,0 @@
|
||||
From: "Doug Sauder" <doug@example.com>
|
||||
To: "Joe Blow" <jblow@example.com>
|
||||
Subject: Test message from Microsoft Outlook 00
|
||||
Date: Wed, 17 May 2000 19:38:28 -0400
|
||||
Message-ID: <NDBBIAKOPKHFGPLCODIGCEKFCHAA.doug@example.com>
|
||||
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
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<HTML><HEAD>
|
||||
<META content=3D"text/html; charset=3Diso-8859-1" =
|
||||
http-equiv=3DContent-Type>
|
||||
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR></HEAD>
|
||||
<BODY>
|
||||
<DIV><FONT face=3DArial size=3D2><BR>The Hare and the Tortoise =
|
||||
<BR> <BR>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. <BR> <BR>Slow but steady wins the =
|
||||
race. =20
|
||||
<BR></FONT></DIV></BODY></HTML>
|
||||
|
||||
------=_NextPart_000_0005_01BFC037.799BEF60--
|
||||
|
||||
---- EXPECTED STRUCTURE ----{
|
||||
"headers_rfc": {
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Joe Blow",
|
||||
"address": "jblow@example.com"
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Test message from Microsoft Outlook 00"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "alternative",
|
||||
"attributes": {
|
||||
"boundary": "----=_NextPart_000_0005_01BFC037.799BEF60"
|
||||
}
|
||||
}
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"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": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGCEKFCHAA.doug@example.com"
|
||||
}
|
||||
},
|
||||
"html_body": [
|
||||
1
|
||||
],
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers_rfc": {
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
}
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": "\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"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Html": {
|
||||
"headers_rfc": {
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "html",
|
||||
"attributes": {
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
}
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">\n<HTML><HEAD>\n<META content=\"text/html; charset=iso-8859-1\" http-equiv=Content-Type>\n<META content=\"MSHTML 5.00.2314.1000\" name=GENERATOR></HEAD>\n<BODY>\n<DIV><FONT face=Arial size=2><BR>The Hare and the Tortoise <BR> <BR>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. <BR> <BR>Slow but steady wins the race. \n<BR></FONT></DIV></BODY></HTML>\n"
|
||||
}
|
||||
}
|
||||
],
|
||||
"structure": {
|
||||
"List": [
|
||||
{
|
||||
"Part": 0
|
||||
},
|
||||
{
|
||||
"Part": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 530,
|
||||
"offset_end": 2901
|
||||
}
|
||||
@@ -0,0 +1,198 @@
|
||||
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?= <mueller@example.com>
|
||||
From: Doug Sauder <dwsauder@example.com>
|
||||
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
|
||||
|
||||
<html>
|
||||
<font face=3D"Arial, Helvetica" size=3D5 color=3D"#0000FF"><b>Die Hasen und =
|
||||
die
|
||||
Fr=F6sche<br>
|
||||
<br>
|
||||
</font></b><font face=3D"Arial, Helvetica">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." <br>
|
||||
<br>
|
||||
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. <br>
|
||||
<br>
|
||||
"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." <br>
|
||||
<br>
|
||||
</font><img src=3D"cid:4.2.0.58.20000519003556.00a918e0@pop.example.com.2"=
|
||||
width=3D27 height=3D27 alt=3D"2aa3ed95.png"><img=
|
||||
src=3D"cid:4.2.0.58.20000519003556.00a918e0@pop.example.com.3" width=3D27=
|
||||
height=3D27 alt=3D"2aa3edd1.png"></html>
|
||||
|
||||
--=====================_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==_--
|
||||
|
||||
@@ -1,362 +1,372 @@
|
||||
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?= <mueller@example.com>
|
||||
From: Doug Sauder <dwsauder@example.com>
|
||||
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
|
||||
|
||||
<html>
|
||||
<font face=3D"Arial, Helvetica" size=3D5 color=3D"#0000FF"><b>Die Hasen und =
|
||||
die
|
||||
Fr=F6sche<br>
|
||||
<br>
|
||||
</font></b><font face=3D"Arial, Helvetica">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." <br>
|
||||
<br>
|
||||
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. <br>
|
||||
<br>
|
||||
"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." <br>
|
||||
<br>
|
||||
</font><img src=3D"cid:4.2.0.58.20000519003556.00a918e0@pop.example.com.2"=
|
||||
width=3D27 height=3D27 alt=3D"2aa3ed95.png"><img=
|
||||
src=3D"cid:4.2.0.58.20000519003556.00a918e0@pop.example.com.3" width=3D27=
|
||||
height=3D27 alt=3D"2aa3edd1.png"></html>
|
||||
|
||||
--=====================_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 ----{
|
||||
"headers_rfc": {
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 19,
|
||||
"hour": 0,
|
||||
"minute": 36,
|
||||
"second": 58,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Heinz Müller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "mixed",
|
||||
"attributes": {
|
||||
"boundary": "=====================_715392540==_"
|
||||
}
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche"
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "4.2.0.58.20000519003556.00a918e0@pop.example.com"
|
||||
}
|
||||
},
|
||||
{
|
||||
"html_body": [
|
||||
3
|
||||
4
|
||||
],
|
||||
"text_body": [
|
||||
2
|
||||
3
|
||||
],
|
||||
"attachments": [
|
||||
4,
|
||||
5,
|
||||
6,
|
||||
7
|
||||
7,
|
||||
8
|
||||
],
|
||||
"parts": [
|
||||
{
|
||||
"Multipart": {
|
||||
"headers_rfc": {
|
||||
"content_type": {
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "message_id"
|
||||
},
|
||||
"value": {
|
||||
"Text": "4.2.0.58.20000519003556.00a918e0@pop.example.com"
|
||||
},
|
||||
"offset_start": 11,
|
||||
"offset_end": 64
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Sender"
|
||||
},
|
||||
"value": {
|
||||
"Text": " dwsauder@pop.example.com (Unverified)\r\n"
|
||||
},
|
||||
"offset_start": 73,
|
||||
"offset_end": 113
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Mailer"
|
||||
},
|
||||
"value": {
|
||||
"Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n"
|
||||
},
|
||||
"offset_start": 122,
|
||||
"offset_end": 170
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Priority"
|
||||
},
|
||||
"value": {
|
||||
"Text": " 2 (High)\r\n"
|
||||
},
|
||||
"offset_start": 181,
|
||||
"offset_end": 192
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "date"
|
||||
},
|
||||
"value": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 19,
|
||||
"hour": 0,
|
||||
"minute": 36,
|
||||
"second": 58,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"offset_start": 197,
|
||||
"offset_end": 231
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "to"
|
||||
},
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Heinz Müller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 234,
|
||||
"offset_end": 288
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "from"
|
||||
},
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 293,
|
||||
"offset_end": 330
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "subject"
|
||||
},
|
||||
"value": {
|
||||
"Text": "Die Hasen und die Frösche"
|
||||
},
|
||||
"offset_start": 338,
|
||||
"offset_end": 383
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "mime_version"
|
||||
},
|
||||
"value": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"offset_start": 396,
|
||||
"offset_end": 402
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "mixed",
|
||||
"attributes": [
|
||||
[
|
||||
"boundary",
|
||||
"=====================_715392540==_"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_start": 415,
|
||||
"offset_end": 482
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Multipart": [
|
||||
1,
|
||||
7,
|
||||
8
|
||||
]
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 484,
|
||||
"offset_end": 11502
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "related",
|
||||
"attributes": {
|
||||
"type": "multipart/alternative",
|
||||
"boundary": "=====================_715392540==_.REL"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"type",
|
||||
"multipart/alternative"
|
||||
],
|
||||
[
|
||||
"boundary",
|
||||
"=====================_715392540==_.REL"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"offset_start": 535,
|
||||
"offset_end": 640
|
||||
}
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Multipart": [
|
||||
2,
|
||||
5,
|
||||
6
|
||||
]
|
||||
},
|
||||
"offset_header": 522,
|
||||
"offset_body": 642,
|
||||
"offset_end": 7504
|
||||
},
|
||||
{
|
||||
"Multipart": {
|
||||
"headers_rfc": {
|
||||
"content_type": {
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "alternative",
|
||||
"attributes": {
|
||||
"boundary": "=====================_715392550==_.ALT"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"boundary",
|
||||
"=====================_715392550==_.ALT"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"offset_start": 697,
|
||||
"offset_end": 774
|
||||
}
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Multipart": [
|
||||
3,
|
||||
4
|
||||
]
|
||||
},
|
||||
"offset_header": 684,
|
||||
"offset_body": 776,
|
||||
"offset_end": 3160
|
||||
},
|
||||
{
|
||||
"Text": {
|
||||
"headers_rfc": {
|
||||
"content_type": {
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"charset",
|
||||
"iso-8859-1"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
}
|
||||
"offset_start": 831,
|
||||
"offset_end": 866
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": "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"
|
||||
}
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"offset_start": 892,
|
||||
"offset_end": 911
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Text": "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"
|
||||
},
|
||||
"offset_header": 818,
|
||||
"offset_body": 913,
|
||||
"offset_end": 1746
|
||||
},
|
||||
{
|
||||
"Html": {
|
||||
"headers_rfc": {
|
||||
"content_type": {
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "html",
|
||||
"attributes": {
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"charset",
|
||||
"iso-8859-1"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
}
|
||||
"offset_start": 1803,
|
||||
"offset_end": 1837
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": "<html>\n<font face=\"Arial, Helvetica\" size=5 color=\"#0000FF\"><b>Die Hasen und die\nFrösche<br>\n<br>\n</font></b><font face=\"Arial, Helvetica\">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." <br>\n<br>\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. <br>\n<br>\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." <br>\n<br>\n</font><img src=\"cid:4.2.0.58.20000519003556.00a918e0@pop.example.com.2\" width=27 height=27 alt=\"2aa3ed95.png\"><img src=\"cid:4.2.0.58.20000519003556.00a918e0@pop.example.com.3\" width=27 height=27 alt=\"2aa3edd1.png\"></html>\n"
|
||||
}
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"offset_start": 1863,
|
||||
"offset_end": 1882
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Html": "<html>\n<font face=\"Arial, Helvetica\" size=5 color=\"#0000FF\"><b>Die Hasen und die\nFrösche<br>\n<br>\n</font></b><font face=\"Arial, Helvetica\">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." <br>\n<br>\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. <br>\n<br>\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." <br>\n<br>\n</font><img src=\"cid:4.2.0.58.20000519003556.00a918e0@pop.example.com.2\" width=27 height=27 alt=\"2aa3ed95.png\"><img src=\"cid:4.2.0.58.20000519003556.00a918e0@pop.example.com.3\" width=27 height=27 alt=\"2aa3edd1.png\"></html>\n"
|
||||
},
|
||||
"offset_header": 1790,
|
||||
"offset_body": 1884,
|
||||
"offset_end": 3114
|
||||
},
|
||||
{
|
||||
"Binary": {
|
||||
"headers_rfc": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"content_type": {
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
"c_subtype": "png",
|
||||
"attributes": {
|
||||
"name": "2aa3ed95.png"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"name",
|
||||
"2aa3ed95.png"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"content_disposition": {
|
||||
"offset_start": 3217,
|
||||
"offset_end": 3250
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_id"
|
||||
},
|
||||
"value": {
|
||||
"Text": "4.2.0.58.20000519003556.00a918e0@pop.example.com.2"
|
||||
},
|
||||
"offset_start": 3261,
|
||||
"offset_end": 3316
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"offset_start": 3342,
|
||||
"offset_end": 3351
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_disposition"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "2aa3ed95.png"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"filename",
|
||||
"2aa3ed95.png"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"content_id": {
|
||||
"Text": "4.2.0.58.20000519003556.00a918e0@pop.example.com.2"
|
||||
}
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": [
|
||||
"offset_start": 3371,
|
||||
"offset_end": 3405
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Binary": [
|
||||
137,
|
||||
80,
|
||||
78,
|
||||
@@ -1683,38 +1693,75 @@ bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
96,
|
||||
130
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_header": 3204,
|
||||
"offset_body": 3407,
|
||||
"offset_end": 5221
|
||||
},
|
||||
{
|
||||
"Binary": {
|
||||
"headers_rfc": {
|
||||
"content_id": {
|
||||
"Text": "4.2.0.58.20000519003556.00a918e0@pop.example.com.3"
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "2aa3edd1.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_type": {
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
"c_subtype": "png",
|
||||
"attributes": {
|
||||
"name": "2aa3edd1.png"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"name",
|
||||
"2aa3edd1.png"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"offset_start": 5278,
|
||||
"offset_end": 5311
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_id"
|
||||
},
|
||||
"value": {
|
||||
"Text": "4.2.0.58.20000519003556.00a918e0@pop.example.com.3"
|
||||
},
|
||||
"offset_start": 5322,
|
||||
"offset_end": 5377
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"offset_start": 5403,
|
||||
"offset_end": 5412
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_disposition"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": [
|
||||
[
|
||||
"filename",
|
||||
"2aa3edd1.png"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_start": 5432,
|
||||
"offset_end": 5466
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Binary": [
|
||||
137,
|
||||
80,
|
||||
78,
|
||||
@@ -3169,35 +3216,65 @@ bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
96,
|
||||
130
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_header": 5265,
|
||||
"offset_body": 5468,
|
||||
"offset_end": 7458
|
||||
},
|
||||
{
|
||||
"Binary": {
|
||||
"headers_rfc": {
|
||||
"content_type": {
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
"c_subtype": "png",
|
||||
"attributes": {
|
||||
"name": "blueball.png"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"name",
|
||||
"blueball.png"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"offset_start": 7557,
|
||||
"offset_end": 7590
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_disposition": {
|
||||
"offset_start": 7616,
|
||||
"offset_end": 7625
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_disposition"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "blueball.png"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"filename",
|
||||
"blueball.png"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": [
|
||||
},
|
||||
"offset_start": 7645,
|
||||
"offset_end": 7683
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Binary": [
|
||||
137,
|
||||
80,
|
||||
78,
|
||||
@@ -4524,35 +4601,65 @@ bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
96,
|
||||
130
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_header": 7544,
|
||||
"offset_body": 7685,
|
||||
"offset_end": 9499
|
||||
},
|
||||
{
|
||||
"Binary": {
|
||||
"headers_rfc": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "greenball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
"c_subtype": "png",
|
||||
"attributes": {
|
||||
"name": "greenball.png"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"name",
|
||||
"greenball.png"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"offset_start": 9552,
|
||||
"offset_end": 9586
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"offset_start": 9612,
|
||||
"offset_end": 9621
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_disposition"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": [
|
||||
[
|
||||
"filename",
|
||||
"greenball.png"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_start": 9641,
|
||||
"offset_end": 9680
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Binary": [
|
||||
137,
|
||||
80,
|
||||
78,
|
||||
@@ -5852,46 +5959,10 @@ bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
96,
|
||||
130
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_header": 9539,
|
||||
"offset_body": 9682,
|
||||
"offset_end": 11458
|
||||
}
|
||||
],
|
||||
"structure": {
|
||||
"List": [
|
||||
{
|
||||
"MultiPart": [
|
||||
0,
|
||||
[
|
||||
{
|
||||
"MultiPart": [
|
||||
1,
|
||||
[
|
||||
{
|
||||
"Part": 2
|
||||
},
|
||||
{
|
||||
"Part": 3
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"Part": 4
|
||||
},
|
||||
{
|
||||
"Part": 5
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"Part": 6
|
||||
},
|
||||
{
|
||||
"Part": 7
|
||||
}
|
||||
]
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 484,
|
||||
"offset_end": 11498
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,95 @@
|
||||
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?=
|
||||
<jschmuergen@example.com>
|
||||
From: Doug Sauder <dwsauder@example.com>
|
||||
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==_--
|
||||
|
||||
@@ -1,200 +1,229 @@
|
||||
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?=
|
||||
<jschmuergen@example.com>
|
||||
From: Doug Sauder <dwsauder@example.com>
|
||||
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 ----{
|
||||
"headers_rfc": {
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "mixed",
|
||||
"attributes": {
|
||||
"boundary": "=====================_716373961==_"
|
||||
}
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "4.2.0.58.20000519005150.00a85230@pop.example.com"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 19,
|
||||
"hour": 0,
|
||||
"minute": 53,
|
||||
"second": 25,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Jürgen Schmürgen",
|
||||
"address": "jschmuergen@example.com"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"html_body": [
|
||||
0
|
||||
1
|
||||
],
|
||||
"text_body": [
|
||||
0
|
||||
1
|
||||
],
|
||||
"attachments": [
|
||||
1,
|
||||
2
|
||||
2,
|
||||
3
|
||||
],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers_rfc": {
|
||||
"content_type": {
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "message_id"
|
||||
},
|
||||
"value": {
|
||||
"Text": "4.2.0.58.20000519005150.00a85230@pop.example.com"
|
||||
},
|
||||
"offset_start": 11,
|
||||
"offset_end": 64
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Sender"
|
||||
},
|
||||
"value": {
|
||||
"Text": " dwsauder@pop.example.com (Unverified)\r\n"
|
||||
},
|
||||
"offset_start": 73,
|
||||
"offset_end": 113
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Mailer"
|
||||
},
|
||||
"value": {
|
||||
"Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n"
|
||||
},
|
||||
"offset_start": 122,
|
||||
"offset_end": 170
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "date"
|
||||
},
|
||||
"value": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 19,
|
||||
"hour": 0,
|
||||
"minute": 53,
|
||||
"second": 25,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"offset_start": 175,
|
||||
"offset_end": 209
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "to"
|
||||
},
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Jürgen Schmürgen",
|
||||
"address": "jschmuergen@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 212,
|
||||
"offset_end": 295
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "from"
|
||||
},
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 300,
|
||||
"offset_end": 337
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "subject"
|
||||
},
|
||||
"value": {
|
||||
"Text": "Die Hasen und die Frösche"
|
||||
},
|
||||
"offset_start": 345,
|
||||
"offset_end": 390
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "mime_version"
|
||||
},
|
||||
"value": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"offset_start": 403,
|
||||
"offset_end": 409
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "mixed",
|
||||
"attributes": [
|
||||
[
|
||||
"boundary",
|
||||
"=====================_716373961==_"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_start": 422,
|
||||
"offset_end": 489
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Multipart": [
|
||||
1,
|
||||
2,
|
||||
3
|
||||
]
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 491,
|
||||
"offset_end": 4873
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"charset",
|
||||
"iso-8859-1"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"offset_start": 542,
|
||||
"offset_end": 577
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "quoted-printable"
|
||||
}
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": "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"
|
||||
}
|
||||
},
|
||||
"offset_start": 603,
|
||||
"offset_end": 622
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Text": "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"
|
||||
},
|
||||
"offset_header": 529,
|
||||
"offset_body": 624,
|
||||
"offset_end": 1433
|
||||
},
|
||||
{
|
||||
"Binary": {
|
||||
"headers_rfc": {
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "blueball.png"
|
||||
}
|
||||
}
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"content_type": {
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "application",
|
||||
"c_subtype": "mac-binhex40",
|
||||
"attributes": {
|
||||
"name": "blueball.png"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"name",
|
||||
"blueball.png"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"offset_start": 1486,
|
||||
"offset_end": 1534
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_disposition"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": [
|
||||
[
|
||||
"filename",
|
||||
"blueball.png"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_start": 1554,
|
||||
"offset_end": 1592
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Binary": [
|
||||
13,
|
||||
10,
|
||||
40,
|
||||
@@ -2123,35 +2152,57 @@ JB@ac)(GTFLiL)!d09'8!!!:
|
||||
33,
|
||||
58,
|
||||
13,
|
||||
10,
|
||||
13
|
||||
10
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_header": 1473,
|
||||
"offset_body": 1594,
|
||||
"offset_end": 3523
|
||||
},
|
||||
{
|
||||
"Binary": {
|
||||
"headers_rfc": {
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "HasenundFr�sche.txt"
|
||||
}
|
||||
}
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"content_type": {
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "application",
|
||||
"c_subtype": "mac-binhex40",
|
||||
"attributes": {
|
||||
"name": "HasenundFr�sche.txt"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"name",
|
||||
"HasenundFr�sche.txt"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"offset_start": 3576,
|
||||
"offset_end": 3631
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_disposition"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": [
|
||||
[
|
||||
"filename",
|
||||
"HasenundFr�sche.txt"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_start": 3651,
|
||||
"offset_end": 3696
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Binary": [
|
||||
13,
|
||||
10,
|
||||
40,
|
||||
@@ -3282,26 +3333,12 @@ JB@ac)(GTFLiL)!d09'8!!!:
|
||||
33,
|
||||
58,
|
||||
13,
|
||||
10,
|
||||
13
|
||||
10
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_header": 3563,
|
||||
"offset_body": 3698,
|
||||
"offset_end": 4829
|
||||
}
|
||||
],
|
||||
"structure": {
|
||||
"List": [
|
||||
{
|
||||
"Part": 0
|
||||
},
|
||||
{
|
||||
"Part": 1
|
||||
},
|
||||
{
|
||||
"Part": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 491,
|
||||
"offset_end": 4869
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,102 @@
|
||||
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 <jschmuergen@example.com>
|
||||
From: Doug Sauder <dwsauder@example.com>
|
||||
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`(>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&<YVO6[YR][XR$[U)"[Q"M[WNEWG-:[RDAYP`8U@`QYP!2[R%K
|
||||
M[SE*[Q@IYP`I[P`Q[P`(A``0M0``````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M```````````````````````````````````````````````````````````I
|
||||
MU?G9`````7123E,`0.;89@```!9T15AT4V]F='=A<F4`9VEF,G!N9R`R+C`N
|
||||
M,3U>OF@```%M241!5'B<==)M5\(@%`=P#VS(@,$$U^-<J=LH*^FYM"RS[_^9
|
||||
MB+F'LRSOJYWS._<R^-]>KRU;5>]/60`]SX,0^'\8HC[&`29]Y('?:!&F+.2<
|
||||
MAR(@R.NVVF@02C4<#N-8<H&C+B+*U<'AT?'):3**.<,(M@8Q3\].SL?CR33+
|
||||
M"\4%T<V9-F*JN)A<SJZN;^8F25481%Y]&>#:LMN[^]G#XU-FDB)VC<V)WD`6
|
||||
M9]/KYY?'U\72F1N*4374:J'R[.U]M?KX-%E>_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<?N]NT5W;QG_7=A1_-8>>-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-:<O=Z,M=YCE.<Q:]XA4MX82M880L80,:4``"'.Y^_G[^^<QN]2
|
||||
MA.\I6N<0.:U*>\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='=A<F4`9VEF,G!N9R`R+C`N
|
||||
M,3U>OF@```&(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=OH<DXG>T(*,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==_--
|
||||
|
||||
@@ -1,207 +1,229 @@
|
||||
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 <jschmuergen@example.com>
|
||||
From: Doug Sauder <dwsauder@example.com>
|
||||
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`(>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&<YVO6[YR][XR$[U)"[Q"M[WNEWG-:[RDAYP`8U@`QYP!2[R%K
|
||||
M[SE*[Q@IYP`I[P`Q[P`(A``0M0``````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M````````````````````````````````````````````````````````````
|
||||
M```````````````````````````````````````````````````````````I
|
||||
MU?G9`````7123E,`0.;89@```!9T15AT4V]F='=A<F4`9VEF,G!N9R`R+C`N
|
||||
M,3U>OF@```%M241!5'B<==)M5\(@%`=P#VS(@,$$U^-<J=LH*^FYM"RS[_^9
|
||||
MB+F'LRSOJYWS._<R^-]>KRU;5>]/60`]SX,0^'\8HC[&`29]Y('?:!&F+.2<
|
||||
MAR(@R.NVVF@02C4<#N-8<H&C+B+*U<'AT?'):3**.<,(M@8Q3\].SL?CR33+
|
||||
M"\4%T<V9-F*JN)A<SJZN;^8F25481%Y]&>#:LMN[^]G#XU-FDB)VC<V)WD`6
|
||||
M9]/KYY?'U\72F1N*4374:J'R[.U]M?KX-%E>_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<?N]NT5W;QG_7=A1_-8>>-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-:<O=Z,M=YCE.<Q:]XA4MX82M880L80,:4``"'.Y^_G[^^<QN]2
|
||||
MA.\I6N<0.:U*>\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='=A<F4`9VEF,G!N9R`R+C`N
|
||||
M,3U>OF@```&(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=OH<DXG>T(*,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 ----{
|
||||
"headers_rfc": {
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "J�rgen Schm�rgen",
|
||||
"address": "jschmuergen@example.com"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "The Hare and the Tortoise"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "mixed",
|
||||
"attributes": {
|
||||
"boundary": "=====================_716177458==_"
|
||||
}
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "4.2.0.58.20000519004755.00a86100@pop.example.com"
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 19,
|
||||
"hour": 0,
|
||||
"minute": 50,
|
||||
"second": 8,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"html_body": [
|
||||
0
|
||||
1
|
||||
],
|
||||
"text_body": [
|
||||
0
|
||||
1
|
||||
],
|
||||
"attachments": [
|
||||
1,
|
||||
2
|
||||
2,
|
||||
3
|
||||
],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers_rfc": {
|
||||
"content_type": {
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "message_id"
|
||||
},
|
||||
"value": {
|
||||
"Text": "4.2.0.58.20000519004755.00a86100@pop.example.com"
|
||||
},
|
||||
"offset_start": 11,
|
||||
"offset_end": 64
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Sender"
|
||||
},
|
||||
"value": {
|
||||
"Text": " dwsauder@pop.example.com (Unverified)\r\n"
|
||||
},
|
||||
"offset_start": 73,
|
||||
"offset_end": 113
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Mailer"
|
||||
},
|
||||
"value": {
|
||||
"Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n"
|
||||
},
|
||||
"offset_start": 122,
|
||||
"offset_end": 170
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "date"
|
||||
},
|
||||
"value": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 19,
|
||||
"hour": 0,
|
||||
"minute": 50,
|
||||
"second": 8,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"offset_start": 175,
|
||||
"offset_end": 209
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "to"
|
||||
},
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "J�rgen Schm�rgen",
|
||||
"address": "jschmuergen@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 212,
|
||||
"offset_end": 257
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "from"
|
||||
},
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 262,
|
||||
"offset_end": 299
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "subject"
|
||||
},
|
||||
"value": {
|
||||
"Text": "The Hare and the Tortoise"
|
||||
},
|
||||
"offset_start": 307,
|
||||
"offset_end": 335
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "mime_version"
|
||||
},
|
||||
"value": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"offset_start": 348,
|
||||
"offset_end": 354
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "mixed",
|
||||
"attributes": [
|
||||
[
|
||||
"boundary",
|
||||
"=====================_716177458==_"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_start": 367,
|
||||
"offset_end": 434
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Multipart": [
|
||||
1,
|
||||
2,
|
||||
3
|
||||
]
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 436,
|
||||
"offset_end": 5448
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"charset": "us-ascii"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": "\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"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Binary": {
|
||||
"headers_rfc": {
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "greenball.png"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"charset",
|
||||
"us-ascii"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"offset_start": 487,
|
||||
"offset_end": 520
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Text": "\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"
|
||||
},
|
||||
"offset_header": 474,
|
||||
"offset_body": 522,
|
||||
"offset_end": 1286
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
"c_subtype": "png",
|
||||
"attributes": {
|
||||
"name": "greenball.png"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"name",
|
||||
"greenball.png"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "x-uuencode"
|
||||
}
|
||||
"offset_start": 1339,
|
||||
"offset_end": 1373
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "x-uuencode"
|
||||
},
|
||||
"offset_start": 1399,
|
||||
"offset_end": 1412
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_disposition"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": [
|
||||
[
|
||||
"filename",
|
||||
"greenball.png"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_start": 1432,
|
||||
"offset_end": 1471
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Binary": [
|
||||
13,
|
||||
10,
|
||||
98,
|
||||
@@ -2055,38 +2077,67 @@ end
|
||||
110,
|
||||
100,
|
||||
13,
|
||||
10,
|
||||
13
|
||||
10
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_header": 1326,
|
||||
"offset_body": 1473,
|
||||
"offset_end": 3327
|
||||
},
|
||||
{
|
||||
"Binary": {
|
||||
"headers_rfc": {
|
||||
"content_type": {
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
"c_subtype": "png",
|
||||
"attributes": {
|
||||
"name": "blueball.png"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"name",
|
||||
"blueball.png"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"offset_start": 3380,
|
||||
"offset_end": 3413
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "x-uuencode"
|
||||
},
|
||||
"content_disposition": {
|
||||
"offset_start": 3439,
|
||||
"offset_end": 3452
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_disposition"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "blueball.png"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"filename",
|
||||
"blueball.png"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": [
|
||||
},
|
||||
"offset_start": 3472,
|
||||
"offset_end": 3510
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Binary": [
|
||||
13,
|
||||
10,
|
||||
98,
|
||||
@@ -3978,26 +4029,12 @@ end
|
||||
110,
|
||||
100,
|
||||
13,
|
||||
10,
|
||||
13
|
||||
10
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_header": 3367,
|
||||
"offset_body": 3512,
|
||||
"offset_end": 5404
|
||||
}
|
||||
],
|
||||
"structure": {
|
||||
"List": [
|
||||
{
|
||||
"Part": 0
|
||||
},
|
||||
{
|
||||
"Part": 1
|
||||
},
|
||||
{
|
||||
"Part": 2
|
||||
}
|
||||
]
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 436,
|
||||
"offset_end": 5444
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,138 @@
|
||||
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?= <mueller@example.com>
|
||||
From: Doug Sauder <dwsauder@example.com>
|
||||
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
|
||||
|
||||
<html>
|
||||
<img src=3D"cid:4.2.0.58.20000519003143.00a8d550@pop.example.com.0" width=3D27=
|
||||
height=3D27 alt=3D"blueball.png"><br>
|
||||
<br>
|
||||
<font face=3D"Arial, Helvetica" size=3D5 color=3D"#0000FF"><b>Die Hasen und =
|
||||
die
|
||||
Fr=F6sche<br>
|
||||
<br>
|
||||
</font></b><font face=3D"Arial, Helvetica">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." <br>
|
||||
<br>
|
||||
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. <br>
|
||||
<br>
|
||||
"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." <br>
|
||||
<br>
|
||||
<img src=3D"cid:4.2.0.58.20000519003143.00a8d550@pop.example.com.1" width=3D27=
|
||||
height=3D27 alt=3D"redball.png"></font></html>
|
||||
|
||||
--=====================_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--
|
||||
|
||||
@@ -1,285 +1,336 @@
|
||||
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?= <mueller@example.com>
|
||||
From: Doug Sauder <dwsauder@example.com>
|
||||
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
|
||||
|
||||
<html>
|
||||
<img src=3D"cid:4.2.0.58.20000519003143.00a8d550@pop.example.com.0" width=3D27=
|
||||
height=3D27 alt=3D"blueball.png"><br>
|
||||
<br>
|
||||
<font face=3D"Arial, Helvetica" size=3D5 color=3D"#0000FF"><b>Die Hasen und =
|
||||
die
|
||||
Fr=F6sche<br>
|
||||
<br>
|
||||
</font></b><font face=3D"Arial, Helvetica">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." <br>
|
||||
<br>
|
||||
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. <br>
|
||||
<br>
|
||||
"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." <br>
|
||||
<br>
|
||||
<img src=3D"cid:4.2.0.58.20000519003143.00a8d550@pop.example.com.1" width=3D27=
|
||||
height=3D27 alt=3D"redball.png"></font></html>
|
||||
|
||||
--=====================_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 ----{
|
||||
"headers_rfc": {
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "related",
|
||||
"attributes": {
|
||||
"type": "multipart/alternative",
|
||||
"boundary": "=====================_715157131==_.REL"
|
||||
}
|
||||
}
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Heinz Müller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche"
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 19,
|
||||
"hour": 0,
|
||||
"minute": 33,
|
||||
"second": 1,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "4.2.0.58.20000519003143.00a8d550@pop.example.com"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
}
|
||||
},
|
||||
{
|
||||
"html_body": [
|
||||
2
|
||||
3
|
||||
],
|
||||
"text_body": [
|
||||
1
|
||||
2
|
||||
],
|
||||
"attachments": [
|
||||
3,
|
||||
4
|
||||
4,
|
||||
5
|
||||
],
|
||||
"parts": [
|
||||
{
|
||||
"Multipart": {
|
||||
"headers_rfc": {
|
||||
"content_type": {
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "message_id"
|
||||
},
|
||||
"value": {
|
||||
"Text": "4.2.0.58.20000519003143.00a8d550@pop.example.com"
|
||||
},
|
||||
"offset_start": 11,
|
||||
"offset_end": 64
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Sender"
|
||||
},
|
||||
"value": {
|
||||
"Text": " dwsauder@pop.example.com (Unverified)\r\n"
|
||||
},
|
||||
"offset_start": 73,
|
||||
"offset_end": 113
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Mailer"
|
||||
},
|
||||
"value": {
|
||||
"Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n"
|
||||
},
|
||||
"offset_start": 122,
|
||||
"offset_end": 170
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Priority"
|
||||
},
|
||||
"value": {
|
||||
"Text": " 2 (High)\r\n"
|
||||
},
|
||||
"offset_start": 181,
|
||||
"offset_end": 192
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "date"
|
||||
},
|
||||
"value": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 19,
|
||||
"hour": 0,
|
||||
"minute": 33,
|
||||
"second": 1,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"offset_start": 197,
|
||||
"offset_end": 231
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "to"
|
||||
},
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Heinz Müller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 234,
|
||||
"offset_end": 288
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "from"
|
||||
},
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 293,
|
||||
"offset_end": 330
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "subject"
|
||||
},
|
||||
"value": {
|
||||
"Text": "Die Hasen und die Frösche"
|
||||
},
|
||||
"offset_start": 338,
|
||||
"offset_end": 383
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "mime_version"
|
||||
},
|
||||
"value": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"offset_start": 396,
|
||||
"offset_end": 402
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "related",
|
||||
"attributes": [
|
||||
[
|
||||
"type",
|
||||
"multipart/alternative"
|
||||
],
|
||||
[
|
||||
"boundary",
|
||||
"=====================_715157131==_.REL"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_start": 415,
|
||||
"offset_end": 520
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Multipart": [
|
||||
1,
|
||||
4,
|
||||
5
|
||||
]
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 522,
|
||||
"offset_end": 7395
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "alternative",
|
||||
"attributes": {
|
||||
"boundary": "=====================_715157141==_.ALT"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"boundary",
|
||||
"=====================_715157141==_.ALT"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"offset_start": 577,
|
||||
"offset_end": 654
|
||||
}
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Multipart": [
|
||||
2,
|
||||
3
|
||||
]
|
||||
},
|
||||
"offset_header": 564,
|
||||
"offset_body": 656,
|
||||
"offset_end": 3051
|
||||
},
|
||||
{
|
||||
"Text": {
|
||||
"headers_rfc": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"content_type": {
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"charset",
|
||||
"iso-8859-1"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"offset_start": 711,
|
||||
"offset_end": 746
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": "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"
|
||||
}
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"offset_start": 772,
|
||||
"offset_end": 791
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Text": "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"
|
||||
},
|
||||
"offset_header": 698,
|
||||
"offset_body": 793,
|
||||
"offset_end": 1629
|
||||
},
|
||||
{
|
||||
"Html": {
|
||||
"headers_rfc": {
|
||||
"content_type": {
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "html",
|
||||
"attributes": {
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"charset",
|
||||
"iso-8859-1"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
}
|
||||
"offset_start": 1686,
|
||||
"offset_end": 1720
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": "<html>\n<img src=\"cid:4.2.0.58.20000519003143.00a8d550@pop.example.com.0\" width=27 height=27 alt=\"blueball.png\"><br>\n<br>\n<font face=\"Arial, Helvetica\" size=5 color=\"#0000FF\"><b>Die Hasen und die\nFrösche<br>\n<br>\n</font></b><font face=\"Arial, Helvetica\">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." <br>\n<br>\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. <br>\n<br>\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." <br>\n<br>\n<img src=\"cid:4.2.0.58.20000519003143.00a8d550@pop.example.com.1\" width=27 height=27 alt=\"redball.png\"></font></html>\n"
|
||||
}
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"offset_start": 1746,
|
||||
"offset_end": 1765
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Html": "<html>\n<img src=\"cid:4.2.0.58.20000519003143.00a8d550@pop.example.com.0\" width=27 height=27 alt=\"blueball.png\"><br>\n<br>\n<font face=\"Arial, Helvetica\" size=5 color=\"#0000FF\"><b>Die Hasen und die\nFrösche<br>\n<br>\n</font></b><font face=\"Arial, Helvetica\">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." <br>\n<br>\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. <br>\n<br>\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." <br>\n<br>\n<img src=\"cid:4.2.0.58.20000519003143.00a8d550@pop.example.com.1\" width=27 height=27 alt=\"redball.png\"></font></html>\n"
|
||||
},
|
||||
"offset_header": 1673,
|
||||
"offset_body": 1767,
|
||||
"offset_end": 3005
|
||||
},
|
||||
{
|
||||
"Binary": {
|
||||
"headers_rfc": {
|
||||
"content_type": {
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
"c_subtype": "png",
|
||||
"attributes": {
|
||||
"name": "blueball.png"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"name",
|
||||
"blueball.png"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"content_disposition": {
|
||||
"offset_start": 3108,
|
||||
"offset_end": 3141
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_id"
|
||||
},
|
||||
"value": {
|
||||
"Text": "4.2.0.58.20000519003143.00a8d550@pop.example.com.0"
|
||||
},
|
||||
"offset_start": 3152,
|
||||
"offset_end": 3207
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"offset_start": 3233,
|
||||
"offset_end": 3242
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_disposition"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "blueball.png"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"filename",
|
||||
"blueball.png"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"content_id": {
|
||||
"Text": "4.2.0.58.20000519003143.00a8d550@pop.example.com.0"
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
}
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": [
|
||||
"offset_start": 3262,
|
||||
"offset_end": 3296
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Binary": [
|
||||
137,
|
||||
80,
|
||||
78,
|
||||
@@ -1606,38 +1657,75 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
96,
|
||||
130
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_header": 3095,
|
||||
"offset_body": 3298,
|
||||
"offset_end": 5112
|
||||
},
|
||||
{
|
||||
"Binary": {
|
||||
"headers_rfc": {
|
||||
"content_type": {
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
"c_subtype": "png",
|
||||
"attributes": {
|
||||
"name": "redball.png"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"name",
|
||||
"redball.png"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
"offset_start": 5169,
|
||||
"offset_end": 5201
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_id"
|
||||
},
|
||||
"content_id": {
|
||||
"value": {
|
||||
"Text": "4.2.0.58.20000519003143.00a8d550@pop.example.com.1"
|
||||
},
|
||||
"content_disposition": {
|
||||
"offset_start": 5212,
|
||||
"offset_end": 5267
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"offset_start": 5293,
|
||||
"offset_end": 5302
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_disposition"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "redball.png"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"filename",
|
||||
"redball.png"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": [
|
||||
},
|
||||
"offset_start": 5322,
|
||||
"offset_end": 5355
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Binary": [
|
||||
137,
|
||||
80,
|
||||
78,
|
||||
@@ -3092,33 +3180,10 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
96,
|
||||
130
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_header": 5156,
|
||||
"offset_body": 5357,
|
||||
"offset_end": 7347
|
||||
}
|
||||
],
|
||||
"structure": {
|
||||
"List": [
|
||||
{
|
||||
"MultiPart": [
|
||||
0,
|
||||
[
|
||||
{
|
||||
"Part": 1
|
||||
},
|
||||
{
|
||||
"Part": 2
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"Part": 3
|
||||
},
|
||||
{
|
||||
"Part": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 522,
|
||||
"offset_end": 7391
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,144 @@
|
||||
From: "Doug Sauder" <doug@example.com>
|
||||
To: "Joe Blow" <jblow@example.com>
|
||||
Subject: Test message from Microsoft Outlook 00
|
||||
Date: Wed, 17 May 2000 19:42:10 -0400
|
||||
Message-ID: <NDBBIAKOPKHFGPLCODIGGEKFCHAA.doug@example.com>
|
||||
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
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<HTML><HEAD>
|
||||
<META content=3D"text/html; charset=3Diso-8859-1" =
|
||||
http-equiv=3DContent-Type>
|
||||
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR></HEAD>
|
||||
<BODY>
|
||||
<DIV><BR><FONT face=3DArial size=3D2>The Hare and the Tortoise =
|
||||
<BR> <BR>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. <BR> <BR>Slow but steady wins the =
|
||||
race. =20
|
||||
<BR></FONT></DIV></BODY></HTML>
|
||||
|
||||
------=_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--
|
||||
@@ -1,287 +1,342 @@
|
||||
From: "Doug Sauder" <doug@example.com>
|
||||
To: "Joe Blow" <jblow@example.com>
|
||||
Subject: Test message from Microsoft Outlook 00
|
||||
Date: Wed, 17 May 2000 19:42:10 -0400
|
||||
Message-ID: <NDBBIAKOPKHFGPLCODIGGEKFCHAA.doug@example.com>
|
||||
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
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<HTML><HEAD>
|
||||
<META content=3D"text/html; charset=3Diso-8859-1" =
|
||||
http-equiv=3DContent-Type>
|
||||
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR></HEAD>
|
||||
<BODY>
|
||||
<DIV><BR><FONT face=3DArial size=3D2>The Hare and the Tortoise =
|
||||
<BR> <BR>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. <BR> <BR>Slow but steady wins the =
|
||||
race. =20
|
||||
<BR></FONT></DIV></BODY></HTML>
|
||||
|
||||
------=_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 ----{
|
||||
"headers_rfc": {
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 17,
|
||||
"hour": 19,
|
||||
"minute": 42,
|
||||
"second": 10,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Test message from Microsoft Outlook 00"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Joe Blow",
|
||||
"address": "jblow@example.com"
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGGEKFCHAA.doug@example.com"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "mixed",
|
||||
"attributes": {
|
||||
"boundary": "----=_NextPart_000_0008_01BFC037.FDD8EE90"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"html_body": [
|
||||
2
|
||||
3
|
||||
],
|
||||
"text_body": [
|
||||
1
|
||||
2
|
||||
],
|
||||
"attachments": [
|
||||
3,
|
||||
4
|
||||
4,
|
||||
5
|
||||
],
|
||||
"parts": [
|
||||
{
|
||||
"Multipart": {
|
||||
"headers_rfc": {
|
||||
"content_type": {
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "from"
|
||||
},
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 5,
|
||||
"offset_end": 40
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "to"
|
||||
},
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Joe Blow",
|
||||
"address": "jblow@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 43,
|
||||
"offset_end": 76
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "subject"
|
||||
},
|
||||
"value": {
|
||||
"Text": "Test message from Microsoft Outlook 00"
|
||||
},
|
||||
"offset_start": 84,
|
||||
"offset_end": 125
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "date"
|
||||
},
|
||||
"value": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 17,
|
||||
"hour": 19,
|
||||
"minute": 42,
|
||||
"second": 10,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"offset_start": 130,
|
||||
"offset_end": 164
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "message_id"
|
||||
},
|
||||
"value": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGGEKFCHAA.doug@example.com"
|
||||
},
|
||||
"offset_start": 175,
|
||||
"offset_end": 225
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "mime_version"
|
||||
},
|
||||
"value": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"offset_start": 238,
|
||||
"offset_end": 244
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "mixed",
|
||||
"attributes": [
|
||||
[
|
||||
"boundary",
|
||||
"----=_NextPart_000_0008_01BFC037.FDD8EE90"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_start": 257,
|
||||
"offset_end": 331
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Priority"
|
||||
},
|
||||
"value": {
|
||||
"Text": " 3 (Normal)\r\n"
|
||||
},
|
||||
"offset_start": 342,
|
||||
"offset_end": 355
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-MSMail-Priority"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Normal\r\n"
|
||||
},
|
||||
"offset_start": 373,
|
||||
"offset_end": 382
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Mailer"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n"
|
||||
},
|
||||
"offset_start": 391,
|
||||
"offset_end": 444
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "Importance"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Normal\r\n"
|
||||
},
|
||||
"offset_start": 455,
|
||||
"offset_end": 464
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-MimeOLE"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n"
|
||||
},
|
||||
"offset_start": 474,
|
||||
"offset_end": 522
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Multipart": [
|
||||
1,
|
||||
4,
|
||||
5
|
||||
]
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 524,
|
||||
"offset_end": 7242
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "alternative",
|
||||
"attributes": {
|
||||
"boundary": "----=_NextPart_001_0009_01BFC037.FDD8EE90"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"boundary",
|
||||
"----=_NextPart_001_0009_01BFC037.FDD8EE90"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"offset_start": 630,
|
||||
"offset_end": 710
|
||||
}
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Multipart": [
|
||||
2,
|
||||
3
|
||||
]
|
||||
},
|
||||
"offset_header": 617,
|
||||
"offset_body": 712,
|
||||
"offset_end": 3039
|
||||
},
|
||||
{
|
||||
"Text": {
|
||||
"headers_rfc": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"content_type": {
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"charset",
|
||||
"iso-8859-1"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"offset_start": 772,
|
||||
"offset_end": 809
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": "\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"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Html": {
|
||||
"headers_rfc": {
|
||||
"content_transfer_encoding": {
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"content_type": {
|
||||
"offset_start": 835,
|
||||
"offset_end": 854
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Text": "\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"
|
||||
},
|
||||
"offset_header": 759,
|
||||
"offset_body": 856,
|
||||
"offset_end": 1657
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "html",
|
||||
"attributes": {
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"charset",
|
||||
"iso-8859-1"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"offset_start": 1717,
|
||||
"offset_end": 1753
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">\n<HTML><HEAD>\n<META content=\"text/html; charset=iso-8859-1\" http-equiv=Content-Type>\n<META content=\"MSHTML 5.00.2314.1000\" name=GENERATOR></HEAD>\n<BODY>\n<DIV><BR><FONT face=Arial size=2>The Hare and the Tortoise <BR> <BR>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. <BR> <BR>Slow but steady wins the race. \n<BR></FONT></DIV></BODY></HTML>\n"
|
||||
}
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"offset_start": 1779,
|
||||
"offset_end": 1798
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Html": "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">\n<HTML><HEAD>\n<META content=\"text/html; charset=iso-8859-1\" http-equiv=Content-Type>\n<META content=\"MSHTML 5.00.2314.1000\" name=GENERATOR></HEAD>\n<BODY>\n<DIV><BR><FONT face=Arial size=2>The Hare and the Tortoise <BR> <BR>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. <BR> <BR>Slow but steady wins the race. \n<BR></FONT></DIV></BODY></HTML>\n"
|
||||
},
|
||||
"offset_header": 1704,
|
||||
"offset_body": 1800,
|
||||
"offset_end": 2990
|
||||
},
|
||||
{
|
||||
"Binary": {
|
||||
"headers_rfc": {
|
||||
"content_type": {
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
"c_subtype": "png",
|
||||
"attributes": {
|
||||
"name": "greenball.png"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"name",
|
||||
"greenball.png"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"offset_start": 3099,
|
||||
"offset_end": 3135
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_disposition": {
|
||||
"offset_start": 3161,
|
||||
"offset_end": 3170
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_disposition"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "greenball.png"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"filename",
|
||||
"greenball.png"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": [
|
||||
},
|
||||
"offset_start": 3190,
|
||||
"offset_end": 3231
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Binary": [
|
||||
137,
|
||||
80,
|
||||
78,
|
||||
@@ -1581,35 +1636,65 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
96,
|
||||
130
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_header": 3086,
|
||||
"offset_body": 3233,
|
||||
"offset_end": 5011
|
||||
},
|
||||
{
|
||||
"Binary": {
|
||||
"headers_rfc": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "redball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
"c_subtype": "png",
|
||||
"attributes": {
|
||||
"name": "redball.png"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"name",
|
||||
"redball.png"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"offset_start": 5071,
|
||||
"offset_end": 5105
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"offset_start": 5131,
|
||||
"offset_end": 5140
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_disposition"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": [
|
||||
[
|
||||
"filename",
|
||||
"redball.png"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_start": 5160,
|
||||
"offset_end": 5199
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Binary": [
|
||||
137,
|
||||
80,
|
||||
78,
|
||||
@@ -3064,33 +3149,10 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
96,
|
||||
130
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_header": 5058,
|
||||
"offset_body": 5201,
|
||||
"offset_end": 7193
|
||||
}
|
||||
],
|
||||
"structure": {
|
||||
"List": [
|
||||
{
|
||||
"MultiPart": [
|
||||
0,
|
||||
[
|
||||
{
|
||||
"Part": 1
|
||||
},
|
||||
{
|
||||
"Part": 2
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"Part": 3
|
||||
},
|
||||
{
|
||||
"Part": 4
|
||||
}
|
||||
]
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 524,
|
||||
"offset_end": 7240
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
From: "Doug Sauder" <doug@example.com>
|
||||
To: "Jürgen Schmürgen" <schmuergen@example.com>
|
||||
Subject: Die Hasen und die Frösche (Microsoft Outlook 00)
|
||||
Date: Wed, 17 May 2000 19:08:29 -0400
|
||||
Message-ID: <NDBBIAKOPKHFGPLCODIGIEKBCHAA.doug@example.com>
|
||||
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."
|
||||
|
||||
@@ -0,0 +1,177 @@
|
||||
{
|
||||
"html_body": [
|
||||
0
|
||||
],
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "from"
|
||||
},
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 5,
|
||||
"offset_end": 40
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "to"
|
||||
},
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "J�rgen Schm�rgen",
|
||||
"address": "schmuergen@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 43,
|
||||
"offset_end": 89
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "subject"
|
||||
},
|
||||
"value": {
|
||||
"Text": "Die Hasen und die Fr�sche (Microsoft Outlook 00)"
|
||||
},
|
||||
"offset_start": 97,
|
||||
"offset_end": 148
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "date"
|
||||
},
|
||||
"value": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 17,
|
||||
"hour": 19,
|
||||
"minute": 8,
|
||||
"second": 29,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"offset_start": 153,
|
||||
"offset_end": 187
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "message_id"
|
||||
},
|
||||
"value": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGIEKBCHAA.doug@example.com"
|
||||
},
|
||||
"offset_start": 198,
|
||||
"offset_end": 248
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "mime_version"
|
||||
},
|
||||
"value": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"offset_start": 261,
|
||||
"offset_end": 267
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": [
|
||||
[
|
||||
"charset",
|
||||
"iso-8859-1"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_start": 280,
|
||||
"offset_end": 317
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "8bit"
|
||||
},
|
||||
"offset_start": 343,
|
||||
"offset_end": 350
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Priority"
|
||||
},
|
||||
"value": {
|
||||
"Text": " 3 (Normal)\r\n"
|
||||
},
|
||||
"offset_start": 361,
|
||||
"offset_end": 374
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-MSMail-Priority"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Normal\r\n"
|
||||
},
|
||||
"offset_start": 392,
|
||||
"offset_end": 401
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Mailer"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n"
|
||||
},
|
||||
"offset_start": 410,
|
||||
"offset_end": 463
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "Importance"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Normal\r\n"
|
||||
},
|
||||
"offset_start": 474,
|
||||
"offset_end": 483
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-MimeOLE"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n"
|
||||
},
|
||||
"offset_start": 493,
|
||||
"offset_end": 541
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Text": "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"
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 543,
|
||||
"offset_end": 1295
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,105 +0,0 @@
|
||||
From: "Doug Sauder" <doug@example.com>
|
||||
To: "Jürgen Schmürgen" <schmuergen@example.com>
|
||||
Subject: Die Hasen und die Frösche (Microsoft Outlook 00)
|
||||
Date: Wed, 17 May 2000 19:08:29 -0400
|
||||
Message-ID: <NDBBIAKOPKHFGPLCODIGIEKBCHAA.doug@example.com>
|
||||
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 ----{
|
||||
"headers_rfc": {
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Fr�sche (Microsoft Outlook 00)"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "J�rgen Schm�rgen",
|
||||
"address": "schmuergen@example.com"
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGIEKBCHAA.doug@example.com"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 17,
|
||||
"hour": 19,
|
||||
"minute": 8,
|
||||
"second": 29,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
}
|
||||
},
|
||||
"html_body": [
|
||||
0
|
||||
],
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers_rfc": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "8bit"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": "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"
|
||||
}
|
||||
}
|
||||
],
|
||||
"structure": {
|
||||
"Part": 0
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 543,
|
||||
"offset_end": 1295
|
||||
}
|
||||
@@ -0,0 +1,188 @@
|
||||
From: "Doug Sauder" <doug@example.com>
|
||||
To: "Joe Blow" <jblow@example.com>
|
||||
Subject: Test message from Microsoft Outlook 00
|
||||
Date: Wed, 17 May 2000 19:47:24 -0400
|
||||
Message-ID: <NDBBIAKOPKHFGPLCODIGOEKFCHAA.doug@example.com>
|
||||
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
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<HTML><HEAD>
|
||||
<META content=3D"text/html; charset=3Diso-8859-1" =
|
||||
http-equiv=3DContent-Type>
|
||||
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR></HEAD>
|
||||
<BODY>
|
||||
<DIV><FONT face=3DArial size=3D2><IMG align=3Dbaseline alt=3D"blue ball" =
|
||||
border=3D0=20
|
||||
hspace=3D0 src=3D"cid:938014623@17052000-0f9b"></FONT></DIV>
|
||||
<DIV><FONT face=3DArial size=3D2><BR>The Hare and the Tortoise =
|
||||
<BR> <BR>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. <BR> <BR>Slow but steady wins the =
|
||||
race. =20
|
||||
</FONT></DIV>
|
||||
<DIV><FONT face=3DArial size=3D2><BR> </DIV></FONT></BODY></HTML>
|
||||
|
||||
------=_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--
|
||||
@@ -1,341 +1,367 @@
|
||||
From: "Doug Sauder" <doug@example.com>
|
||||
To: "Joe Blow" <jblow@example.com>
|
||||
Subject: Test message from Microsoft Outlook 00
|
||||
Date: Wed, 17 May 2000 19:47:24 -0400
|
||||
Message-ID: <NDBBIAKOPKHFGPLCODIGOEKFCHAA.doug@example.com>
|
||||
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
|
||||
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
||||
<HTML><HEAD>
|
||||
<META content=3D"text/html; charset=3Diso-8859-1" =
|
||||
http-equiv=3DContent-Type>
|
||||
<META content=3D"MSHTML 5.00.2314.1000" name=3DGENERATOR></HEAD>
|
||||
<BODY>
|
||||
<DIV><FONT face=3DArial size=3D2><IMG align=3Dbaseline alt=3D"blue ball" =
|
||||
border=3D0=20
|
||||
hspace=3D0 src=3D"cid:938014623@17052000-0f9b"></FONT></DIV>
|
||||
<DIV><FONT face=3DArial size=3D2><BR>The Hare and the Tortoise =
|
||||
<BR> <BR>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. <BR> <BR>Slow but steady wins the =
|
||||
race. =20
|
||||
</FONT></DIV>
|
||||
<DIV><FONT face=3DArial size=3D2><BR> </DIV></FONT></BODY></HTML>
|
||||
|
||||
------=_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 ----{
|
||||
"headers_rfc": {
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "mixed",
|
||||
"attributes": {
|
||||
"boundary": "----=_NextPart_000_0010_01BFC038.B91BC650"
|
||||
}
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGOEKFCHAA.doug@example.com"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Joe Blow",
|
||||
"address": "jblow@example.com"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Test message from Microsoft Outlook 00"
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"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"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"html_body": [
|
||||
3
|
||||
4
|
||||
],
|
||||
"text_body": [
|
||||
2
|
||||
3
|
||||
],
|
||||
"attachments": [
|
||||
4,
|
||||
5,
|
||||
6
|
||||
6,
|
||||
7
|
||||
],
|
||||
"parts": [
|
||||
{
|
||||
"Multipart": {
|
||||
"headers_rfc": {
|
||||
"content_type": {
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "from"
|
||||
},
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 5,
|
||||
"offset_end": 40
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "to"
|
||||
},
|
||||
"value": {
|
||||
"Address": {
|
||||
"name": "Joe Blow",
|
||||
"address": "jblow@example.com"
|
||||
}
|
||||
},
|
||||
"offset_start": 43,
|
||||
"offset_end": 76
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "subject"
|
||||
},
|
||||
"value": {
|
||||
"Text": "Test message from Microsoft Outlook 00"
|
||||
},
|
||||
"offset_start": 84,
|
||||
"offset_end": 125
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "date"
|
||||
},
|
||||
"value": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 17,
|
||||
"hour": 19,
|
||||
"minute": 47,
|
||||
"second": 24,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"offset_start": 130,
|
||||
"offset_end": 164
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "message_id"
|
||||
},
|
||||
"value": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGOEKFCHAA.doug@example.com"
|
||||
},
|
||||
"offset_start": 175,
|
||||
"offset_end": 225
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "mime_version"
|
||||
},
|
||||
"value": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"offset_start": 238,
|
||||
"offset_end": 244
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "mixed",
|
||||
"attributes": [
|
||||
[
|
||||
"boundary",
|
||||
"----=_NextPart_000_0010_01BFC038.B91BC650"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_start": 257,
|
||||
"offset_end": 331
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Priority"
|
||||
},
|
||||
"value": {
|
||||
"Text": " 3 (Normal)\r\n"
|
||||
},
|
||||
"offset_start": 342,
|
||||
"offset_end": 355
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-MSMail-Priority"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Normal\r\n"
|
||||
},
|
||||
"offset_start": 373,
|
||||
"offset_end": 382
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-Mailer"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n"
|
||||
},
|
||||
"offset_start": 391,
|
||||
"offset_end": 444
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "Importance"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Normal\r\n"
|
||||
},
|
||||
"offset_start": 455,
|
||||
"offset_end": 464
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Other": "X-MimeOLE"
|
||||
},
|
||||
"value": {
|
||||
"Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n"
|
||||
},
|
||||
"offset_start": 474,
|
||||
"offset_end": 522
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Multipart": [
|
||||
1,
|
||||
6,
|
||||
7
|
||||
]
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 524,
|
||||
"offset_end": 9627
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "related",
|
||||
"attributes": {
|
||||
"boundary": "----=_NextPart_001_0011_01BFC038.B91BC650"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"boundary",
|
||||
"----=_NextPart_001_0011_01BFC038.B91BC650"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"offset_start": 630,
|
||||
"offset_end": 706
|
||||
}
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Multipart": [
|
||||
2,
|
||||
5
|
||||
]
|
||||
},
|
||||
"offset_header": 617,
|
||||
"offset_body": 708,
|
||||
"offset_end": 5424
|
||||
},
|
||||
{
|
||||
"Multipart": {
|
||||
"headers_rfc": {
|
||||
"content_type": {
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "alternative",
|
||||
"attributes": {
|
||||
"boundary": "----=_NextPart_002_0012_01BFC038.B91BC650"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"boundary",
|
||||
"----=_NextPart_002_0012_01BFC038.B91BC650"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"offset_start": 768,
|
||||
"offset_end": 848
|
||||
}
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Multipart": [
|
||||
3,
|
||||
4
|
||||
]
|
||||
},
|
||||
"offset_header": 755,
|
||||
"offset_body": 850,
|
||||
"offset_end": 3388
|
||||
},
|
||||
{
|
||||
"Text": {
|
||||
"headers_rfc": {
|
||||
"content_type": {
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"charset",
|
||||
"iso-8859-1"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
}
|
||||
"offset_start": 910,
|
||||
"offset_end": 947
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": "\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"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Html": {
|
||||
"headers_rfc": {
|
||||
"content_transfer_encoding": {
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"content_type": {
|
||||
"offset_start": 973,
|
||||
"offset_end": 992
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Text": "\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"
|
||||
},
|
||||
"offset_header": 897,
|
||||
"offset_body": 994,
|
||||
"offset_end": 1799
|
||||
},
|
||||
{
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "html",
|
||||
"attributes": {
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"charset",
|
||||
"iso-8859-1"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"offset_start": 1859,
|
||||
"offset_end": 1895
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">\n<HTML><HEAD>\n<META content=\"text/html; charset=iso-8859-1\" http-equiv=Content-Type>\n<META content=\"MSHTML 5.00.2314.1000\" name=GENERATOR></HEAD>\n<BODY>\n<DIV><FONT face=Arial size=2><IMG align=baseline alt=\"blue ball\" border=0 \nhspace=0 src=\"cid:938014623@17052000-0f9b\"></FONT></DIV>\n<DIV><FONT face=Arial size=2><BR>The Hare and the Tortoise <BR> <BR>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. <BR> <BR>Slow but steady wins the race. \n</FONT></DIV>\n<DIV><FONT face=Arial size=2><BR> </DIV></FONT></BODY></HTML>\n"
|
||||
}
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"offset_start": 1921,
|
||||
"offset_end": 1940
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Html": "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">\n<HTML><HEAD>\n<META content=\"text/html; charset=iso-8859-1\" http-equiv=Content-Type>\n<META content=\"MSHTML 5.00.2314.1000\" name=GENERATOR></HEAD>\n<BODY>\n<DIV><FONT face=Arial size=2><IMG align=baseline alt=\"blue ball\" border=0 \nhspace=0 src=\"cid:938014623@17052000-0f9b\"></FONT></DIV>\n<DIV><FONT face=Arial size=2><BR>The Hare and the Tortoise <BR> <BR>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. <BR> <BR>Slow but steady wins the race. \n</FONT></DIV>\n<DIV><FONT face=Arial size=2><BR> </DIV></FONT></BODY></HTML>\n"
|
||||
},
|
||||
"offset_header": 1846,
|
||||
"offset_body": 1942,
|
||||
"offset_end": 3339
|
||||
},
|
||||
{
|
||||
"Binary": {
|
||||
"headers_rfc": {
|
||||
"content_type": {
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
"c_subtype": "png",
|
||||
"attributes": {
|
||||
"name": "blueball.png"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"name",
|
||||
"blueball.png"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"content_id": {
|
||||
"offset_start": 3448,
|
||||
"offset_end": 3483
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"offset_start": 3509,
|
||||
"offset_end": 3518
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_id"
|
||||
},
|
||||
"value": {
|
||||
"Text": "938014623@17052000-0f9b"
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
}
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": [
|
||||
"offset_start": 3529,
|
||||
"offset_end": 3557
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Binary": [
|
||||
137,
|
||||
80,
|
||||
78,
|
||||
@@ -1662,35 +1688,65 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
96,
|
||||
130
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_header": 3435,
|
||||
"offset_body": 3559,
|
||||
"offset_end": 5375
|
||||
},
|
||||
{
|
||||
"Binary": {
|
||||
"headers_rfc": {
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "greenball.png"
|
||||
}
|
||||
}
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_type": {
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
"c_subtype": "png",
|
||||
"attributes": {
|
||||
"name": "greenball.png"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"name",
|
||||
"greenball.png"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"offset_start": 5484,
|
||||
"offset_end": 5520
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"offset_start": 5546,
|
||||
"offset_end": 5555
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_disposition"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": [
|
||||
[
|
||||
"filename",
|
||||
"greenball.png"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_start": 5575,
|
||||
"offset_end": 5616
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Binary": [
|
||||
137,
|
||||
80,
|
||||
78,
|
||||
@@ -2990,35 +3046,65 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
96,
|
||||
130
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_header": 5471,
|
||||
"offset_body": 5618,
|
||||
"offset_end": 7396
|
||||
},
|
||||
{
|
||||
"Binary": {
|
||||
"headers_rfc": {
|
||||
"content_type": {
|
||||
"headers": [
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_type"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
"c_subtype": "png",
|
||||
"attributes": {
|
||||
"name": "redball.png"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"name",
|
||||
"redball.png"
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"offset_start": 7456,
|
||||
"offset_end": 7490
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_transfer_encoding"
|
||||
},
|
||||
"value": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_disposition": {
|
||||
"offset_start": 7516,
|
||||
"offset_end": 7525
|
||||
},
|
||||
{
|
||||
"name": {
|
||||
"Rfc": "content_disposition"
|
||||
},
|
||||
"value": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "redball.png"
|
||||
}
|
||||
"attributes": [
|
||||
[
|
||||
"filename",
|
||||
"redball.png"
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"is_encoding_problem": false,
|
||||
"body": [
|
||||
},
|
||||
"offset_start": 7545,
|
||||
"offset_end": 7584
|
||||
}
|
||||
],
|
||||
"is_encoding_problem": false,
|
||||
"body": {
|
||||
"Binary": [
|
||||
137,
|
||||
80,
|
||||
78,
|
||||
@@ -4473,43 +4559,10 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
96,
|
||||
130
|
||||
]
|
||||
}
|
||||
},
|
||||
"offset_header": 7443,
|
||||
"offset_body": 7586,
|
||||
"offset_end": 9578
|
||||
}
|
||||
],
|
||||
"structure": {
|
||||
"List": [
|
||||
{
|
||||
"MultiPart": [
|
||||
0,
|
||||
[
|
||||
{
|
||||
"MultiPart": [
|
||||
1,
|
||||
[
|
||||
{
|
||||
"Part": 2
|
||||
},
|
||||
{
|
||||
"Part": 3
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"Part": 4
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
{
|
||||
"Part": 5
|
||||
},
|
||||
{
|
||||
"Part": 6
|
||||
}
|
||||
]
|
||||
},
|
||||
"offset_header": 0,
|
||||
"offset_body": 524,
|
||||
"offset_end": 9625
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
From: "Doug Sauder" <doug@example.com>
|
||||
To: "Jürgen Schmürgen" <schmuergen@example.com>
|
||||
Subject: Die Hasen und die Frösche (Microsoft Outlook 00)
|
||||
Date: Wed, 17 May 2000 19:11:50 -0400
|
||||
Message-ID: <NDBBIAKOPKHFGPLCODIGAEKCCHAA.doug@example.com>
|
||||
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==
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user