Compare commits

...
14 Commits
282 changed files with 33065 additions and 28547 deletions
+8
View File
@@ -1,3 +1,11 @@
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.
Generated
+147 -33
View File
@@ -2,6 +2,15 @@
# It is not intended for manual editing.
version = 3
[[package]]
name = "android_system_properties"
version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d7ed72e1635e121ca3e79420540282af22da58be50de153d36f81ddc6b83aa9e"
dependencies = [
"libc",
]
[[package]]
name = "autocfg"
version = "1.1.0"
@@ -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"
@@ -25,17 +40,25 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]]
name = "chrono"
version = "0.4.19"
version = "0.4.22"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73"
checksum = "bfd4d1b31faaa3a89d7934dbded3111da0d2ef28e3ebccdb4f0179f5929d1ef1"
dependencies = [
"libc",
"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.31"
@@ -47,15 +70,28 @@ dependencies = [
[[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.8.2"
version = "1.9.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e6012d540c5baa3589337a98ce73408de9b5a25ec9fc2c6fd6be8f0d39e0ca5a"
checksum = "10a35a97730320ffe8e2d410b5d3b69279b98d2c14bdb8b70ea89ecf7888d41e"
dependencies = [
"autocfg",
"hashbrown",
@@ -63,25 +99,43 @@ dependencies = [
[[package]]
name = "itoa"
version = "1.0.2"
version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "112c678d4050afce233f4f2852bb2eb519230b3cf12f33585275537d7e41578d"
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.126"
version = "0.2.132"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836"
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.5.0"
version = "0.6.0"
dependencies = [
"bincode",
"chrono",
@@ -111,43 +165,49 @@ dependencies = [
]
[[package]]
name = "proc-macro2"
version = "1.0.39"
name = "once_cell"
version = "1.13.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c54b25569025b7fc9651de43004ae593a75ad88543b17178aa5e1b9c4f15f56f"
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.18"
version = "1.0.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a1feb54ed693b93a84e14094943b84b7c4eae204c512b7ccb95ab0c66d278ad1"
checksum = "bbe448f377a7d6961e30f5955f9b8d106c3f5e449d493ee1b125c1d43c2b5179"
dependencies = [
"proc-macro2",
]
[[package]]
name = "ryu"
version = "1.0.10"
version = "1.0.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f3f6f92acf49d1b98f7a81226834412ada05458b7364277387724a237f062695"
checksum = "4501abdff3ae82a1c1b477a17252eb69cee9e66eb915c1abaa4f44d873df9f09"
[[package]]
name = "serde"
version = "1.0.137"
version = "1.0.144"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "61ea8d54c77f8315140a05f4c7237403bf38b72704d031543aa1d16abbf517d1"
checksum = "0f747710de3dcd43b88c9168773254e809d8ddbdf9653b84e2554ab219f17860"
dependencies = [
"serde_derive",
]
[[package]]
name = "serde_derive"
version = "1.0.137"
version = "1.0.144"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1f26faba0c3959972377d3b2d306ee9f71faee9714294e41bb777f83f88578be"
checksum = "94ed3a816fb1d101812f83e789f888322c34e291f894f19590dc310963e87a00"
dependencies = [
"proc-macro2",
"quote",
@@ -156,9 +216,9 @@ dependencies = [
[[package]]
name = "serde_json"
version = "1.0.81"
version = "1.0.83"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9b7ce2b32a1aed03c558dc61a5cd328f15aff2dbc17daad8fb8af04d2100e15c"
checksum = "38dd04e3c8279e75b31ef29dbdceebfe5ad89f4d0937213c53f7d49d01b3d5a7"
dependencies = [
"itoa",
"ryu",
@@ -167,9 +227,9 @@ dependencies = [
[[package]]
name = "serde_yaml"
version = "0.8.24"
version = "0.8.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "707d15895415db6628332b737c838b88c598522e4dc70647e59b72312924aebc"
checksum = "578a7433b776b56a35785ed5ce9a7e777ac0598aac5a6dd1b4b18a307c7fc71b"
dependencies = [
"indexmap",
"ryu",
@@ -179,9 +239,9 @@ dependencies = [
[[package]]
name = "syn"
version = "1.0.96"
version = "1.0.99"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0748dd251e24453cb8717f0354206b91557e4ec8703673a4b30208f2abaf1ebf"
checksum = "58dbef6ec655055e20b86b15a8cc6d439cca19b667537ac6a1369572d151ab13"
dependencies = [
"proc-macro2",
"quote",
@@ -201,9 +261,9 @@ dependencies = [
[[package]]
name = "unicode-ident"
version = "1.0.0"
version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d22af068fba1eb5edcb4aea19d382b2a3deb4c8f9d475c589b6ada9e0fd493ee"
checksum = "c4f5b37a154999a8f3f98cc23a628d850e154479cd94decf3414696e12e31aaf"
[[package]]
name = "wasi"
@@ -211,6 +271,60 @@ 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"
+2 -2
View File
@@ -1,7 +1,7 @@
[package]
name = "mail-parser"
description = "Fast and robust e-mail parsing library for Rust"
version = "0.5.0"
version = "0.6.0"
edition = "2018"
authors = [ "Stalwart Labs <hello@stalw.art>"]
license = "Apache-2.0 OR MIT"
@@ -16,7 +16,7 @@ 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"
+1 -1
View File
@@ -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"
);
+36
View File
@@ -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())
);
}
}
}
@@ -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());
}
}
@@ -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"
);
+10 -5
View File
@@ -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,
),
(
+316 -221
View File
@@ -183,7 +183,7 @@
//! );
//!
//! assert_eq!(
//! message.get_date().unwrap().to_iso8601(),
//! message.get_date().unwrap().to_rfc3339(),
//! "2021-11-20T14:22:01-08:00"
//! );
//!
@@ -250,11 +250,11 @@
//!```
#[forbid(unsafe_code)]
pub mod decoders;
pub mod mailbox;
pub mod parsers;
use std::{
borrow::Cow,
collections::HashMap,
fmt::{self, Display},
};
@@ -290,19 +290,44 @@ pub struct Message<'x> {
#[cfg_attr(feature = "serde_support", derive(Serialize, Deserialize))]
pub struct MessagePart<'x> {
#[cfg_attr(feature = "serde_support", serde(default))]
pub headers_rfc: RfcHeaders<'x>,
#[cfg_attr(feature = "serde_support", serde(default))]
#[cfg_attr(feature = "serde_support", serde(skip))]
pub headers_raw: RawHeaders<'x>,
pub headers: Vec<Header<'x>>,
pub is_encoding_problem: bool,
#[cfg_attr(feature = "serde_support", serde(default))]
#[cfg_attr(feature = "serde_support", serde(borrow))]
pub body: PartType<'x>,
#[cfg_attr(feature = "serde_support", serde(skip))]
pub encoding: Encoding,
pub offset_header: usize,
pub offset_body: usize,
pub offset_end: usize,
}
/// MIME Part encoding type
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
#[cfg_attr(feature = "serde_support", derive(Serialize, Deserialize))]
#[repr(u8)]
pub enum Encoding {
None = 0,
QuotedPrintable = 1,
Base64 = 2,
}
impl From<u8> for Encoding {
fn from(v: u8) -> Self {
match v {
1 => Encoding::QuotedPrintable,
2 => Encoding::Base64,
_ => Encoding::None,
}
}
}
impl Default for Encoding {
fn default() -> Self {
Encoding::None
}
}
/// Unique ID representing a MIME part within a message.
pub type MessagePartId = usize;
@@ -344,7 +369,7 @@ impl<'x> Default for PartType<'x> {
}
/// An RFC5322 or RFC2369 internet address.
#[derive(Debug, PartialEq, Clone)]
#[derive(Debug, PartialEq, Eq, Clone)]
#[cfg_attr(feature = "serde_support", derive(Serialize, Deserialize))]
pub struct Addr<'x> {
/// The address name including comments
@@ -373,7 +398,7 @@ impl<'x> Addr<'x> {
}
/// An RFC5322 address group.
#[derive(Debug, PartialEq, Clone)]
#[derive(Debug, PartialEq, Eq, Clone)]
#[cfg_attr(feature = "serde_support", derive(Serialize, Deserialize))]
pub struct Group<'x> {
/// Group name
@@ -401,30 +426,57 @@ impl<'x> Group<'x> {
}
}
pub type RfcHeaders<'x> = HashMap<RfcHeader, HeaderValue<'x>>;
pub type RawHeaders<'x> = Vec<(HeaderName<'x>, HeaderOffset)>;
/// Offset of a message element in the raw message.
#[derive(Debug, PartialEq, Eq, Clone, Default)]
/// A message header.
#[derive(Debug, PartialEq, Eq, Clone)]
#[cfg_attr(feature = "serde_support", derive(Serialize, Deserialize))]
pub struct HeaderOffset {
pub start: usize,
pub end: usize,
pub struct Header<'x> {
pub name: HeaderName<'x>,
pub value: HeaderValue<'x>,
pub offset_start: usize,
pub offset_end: usize,
}
impl HeaderOffset {
pub fn new(start: usize, end: usize) -> Self {
Self { start, end }
impl<'x> Header<'x> {
/// Returns the header name
pub fn name(&self) -> &str {
self.name.as_str()
}
/// Returns the parsed header value
pub fn value(&self) -> &HeaderValue {
&self.value
}
/// Returns the raw offset start
pub fn offset_start(&self) -> usize {
self.offset_start
}
/// Returns the raw offset end
pub fn offset_end(&self) -> usize {
self.offset_end
}
}
#[derive(Debug, PartialEq, Eq, Hash, Clone)]
#[derive(Debug, Hash, Clone)]
#[cfg_attr(feature = "serde_support", derive(Serialize, Deserialize))]
pub enum HeaderName<'x> {
Rfc(RfcHeader),
Other(Cow<'x, str>),
}
impl PartialEq for HeaderName<'_> {
fn eq(&self, other: &Self) -> bool {
match (self, other) {
(Self::Rfc(a), Self::Rfc(b)) => a == b,
(Self::Other(a), Self::Other(b)) => a.eq_ignore_ascii_case(b),
_ => false,
}
}
}
impl Eq for HeaderName<'_> {}
impl<'x> HeaderName<'x> {
pub fn as_str(&self) -> &str {
match self {
@@ -566,7 +618,7 @@ impl Display for RfcHeader {
}
/// Parsed header value.
#[derive(Debug, PartialEq, Clone)]
#[derive(Debug, PartialEq, Eq, Clone)]
#[cfg_attr(feature = "serde_support", derive(Serialize, Deserialize))]
pub enum HeaderValue<'x> {
/// Single address
@@ -593,9 +645,6 @@ pub enum HeaderValue<'x> {
/// Content-Type or Content-Disposition header
ContentType(ContentType<'x>),
/// Collection of multiple header fields, for example
/// Resent-To, References, etc.
Collection(Vec<HeaderValue<'x>>),
Empty,
}
@@ -643,12 +692,6 @@ impl<'x> HeaderValue<'x> {
match *self {
HeaderValue::Text(ref s) => Some(vec![s.as_ref()]),
HeaderValue::TextList(ref l) => Some(l.iter().map(|l| l.as_ref()).collect()),
HeaderValue::Collection(ref l) => Some(
l.iter()
.filter_map(|v| v.as_text_list())
.flatten()
.collect(),
),
_ => None,
}
}
@@ -656,7 +699,6 @@ impl<'x> HeaderValue<'x> {
pub fn get_content_type(&self) -> &ContentType<'x> {
match *self {
HeaderValue::ContentType(ref ct) => ct,
HeaderValue::Collection(ref c) => c.last().unwrap().get_content_type(),
_ => panic!(
"HeaderValue::get_content_type called on non-ContentType: {:?}",
self
@@ -705,38 +747,35 @@ impl<'x> HeaderValue<'x> {
.collect()
}),
}),
HeaderValue::Collection(list) => {
HeaderValue::Collection(list.into_iter().map(|v| v.into_owned()).collect())
}
HeaderValue::Empty => HeaderValue::Empty,
}
}
}
/// An RFC2047 Content-Type or RFC2183 Content-Disposition MIME header field.
#[derive(Debug, PartialEq, Clone)]
#[derive(Debug, PartialEq, Eq, Clone)]
#[cfg_attr(feature = "serde_support", derive(Serialize, Deserialize))]
pub struct ContentType<'x> {
pub c_type: Cow<'x, str>,
#[cfg_attr(feature = "serde_support", serde(default))]
pub c_subtype: Option<Cow<'x, str>>,
#[cfg_attr(feature = "serde_support", serde(default))]
pub attributes: Option<HashMap<Cow<'x, str>, Cow<'x, str>>>,
pub attributes: Option<Vec<(Cow<'x, str>, Cow<'x, str>)>>,
}
/// An RFC5322 datetime.
#[derive(Clone, Debug, PartialEq, Eq)]
#[cfg_attr(feature = "serde_support", derive(Serialize, Deserialize))]
pub struct DateTime {
pub year: u32,
pub month: u32,
pub day: u32,
pub hour: u32,
pub minute: u32,
pub second: u32,
pub year: u16,
pub month: u8,
pub day: u8,
pub hour: u8,
pub minute: u8,
pub second: u8,
pub tz_before_gmt: bool,
pub tz_hour: u32,
pub tz_minute: u32,
pub tz_hour: u8,
pub tz_minute: u8,
}
impl<'x> Message<'x> {
@@ -745,239 +784,290 @@ impl<'x> Message<'x> {
&self.parts[0]
}
/// Returns a parsed RFC header.
pub fn get_header(&self, header: &RfcHeader) -> Option<&HeaderValue> {
self.parts[0].headers_rfc.get(header)
/// Returns a parsed header.
pub fn get_header(&self, header: &str) -> Option<&HeaderValue> {
self.parts[0].headers.get_header(header).map(|h| &h.value)
}
/// Removed a parsed header and returns its value.
pub fn remove_header(&mut self, header: &str) -> Option<HeaderValue> {
let headers = &mut self.parts[0].headers;
headers
.iter()
.position(|h| h.name.as_str() == header)
.map(|pos| headers.swap_remove(pos).value)
}
/// Removed a parsed RFC heade and returns its value.
pub fn remove_header_rfc(&mut self, header: RfcHeader) -> Option<HeaderValue> {
let headers = &mut self.parts[0].headers;
headers
.iter()
.position(|h| matches!(&h.name, HeaderName::Rfc(header_name) if header_name == &header))
.map(|pos| headers.swap_remove(pos).value)
}
/// Returns the raw header.
pub fn get_header_raw(&self, header: &str) -> Option<&str> {
self.parts[0]
.headers
.get_header(header)
.and_then(|h| std::str::from_utf8(&self.raw_message[h.offset_start..h.offset_end]).ok())
}
/// Returns an iterator over the RFC headers of this message.
pub fn get_headers_rfc(&self) -> impl Iterator<Item = (&RfcHeader, &HeaderValue<'x>)> {
self.parts[0].headers_rfc.iter()
pub fn get_headers(&self) -> &[Header] {
&self.parts[0].headers
}
/// Returns an iterator over the matching RFC headers of this message.
pub fn get_header_values<'y: 'x>(
&'y self,
name: RfcHeader,
) -> impl Iterator<Item = &HeaderValue<'x>> {
self.parts[0].headers.iter().filter_map(move |header| {
if matches!(&header.name, HeaderName::Rfc(rfc_name) if rfc_name == &name) {
Some(&header.value)
} else {
None
}
})
}
/// Returns all headers in raw format
pub fn get_headers_raw(&self) -> impl Iterator<Item = (&str, &str)> {
self.parts[0].headers.iter().filter_map(move |header| {
Some((
header.name.as_str(),
std::str::from_utf8(&self.raw_message[header.offset_start..header.offset_end])
.ok()?,
))
})
}
/// Returns the BCC header field
pub fn get_bcc(&self) -> &HeaderValue<'x> {
pub fn get_bcc(&self) -> &HeaderValue {
self.parts[0]
.headers_rfc
.get(&RfcHeader::Bcc)
.headers
.get_rfc(&RfcHeader::Bcc)
.unwrap_or(&HeaderValue::Empty)
}
/// Returns the CC header field
pub fn get_cc(&self) -> &HeaderValue<'x> {
pub fn get_cc(&self) -> &HeaderValue {
self.parts[0]
.headers_rfc
.get(&RfcHeader::Cc)
.headers
.get_rfc(&RfcHeader::Cc)
.unwrap_or(&HeaderValue::Empty)
}
/// Returns all Comments header fields
pub fn get_comments(&self) -> &HeaderValue<'x> {
pub fn get_comments(&self) -> &HeaderValue {
self.parts[0]
.headers_rfc
.get(&RfcHeader::Comments)
.headers
.get_rfc(&RfcHeader::Comments)
.unwrap_or(&HeaderValue::Empty)
}
/// Returns the Date header field
pub fn get_date(&self) -> Option<&DateTime> {
self.parts[0]
.headers_rfc
.get(&RfcHeader::Date)
.headers
.get_rfc(&RfcHeader::Date)
.and_then(|header| header.as_datetime_ref())
}
/// Returns the From header field
pub fn get_from(&self) -> &HeaderValue<'x> {
pub fn get_from(&self) -> &HeaderValue {
self.parts[0]
.headers_rfc
.get(&RfcHeader::From)
.headers
.get_rfc(&RfcHeader::From)
.unwrap_or(&HeaderValue::Empty)
}
/// Returns all In-Reply-To header fields
pub fn get_in_reply_to(&self) -> &HeaderValue<'x> {
pub fn get_in_reply_to(&self) -> &HeaderValue {
self.parts[0]
.headers_rfc
.get(&RfcHeader::InReplyTo)
.headers
.get_rfc(&RfcHeader::InReplyTo)
.unwrap_or(&HeaderValue::Empty)
}
/// Returns all Keywords header fields
pub fn get_keywords(&self) -> &HeaderValue<'x> {
pub fn get_keywords(&self) -> &HeaderValue {
self.parts[0]
.headers_rfc
.get(&RfcHeader::Keywords)
.headers
.get_rfc(&RfcHeader::Keywords)
.unwrap_or(&HeaderValue::Empty)
}
/// Returns the List-Archive header field
pub fn get_list_archive(&self) -> &HeaderValue<'x> {
pub fn get_list_archive(&self) -> &HeaderValue {
self.parts[0]
.headers_rfc
.get(&RfcHeader::ListArchive)
.headers
.get_rfc(&RfcHeader::ListArchive)
.unwrap_or(&HeaderValue::Empty)
}
/// Returns the List-Help header field
pub fn get_list_help(&self) -> &HeaderValue<'x> {
pub fn get_list_help(&self) -> &HeaderValue {
self.parts[0]
.headers_rfc
.get(&RfcHeader::ListHelp)
.headers
.get_rfc(&RfcHeader::ListHelp)
.unwrap_or(&HeaderValue::Empty)
}
/// Returns the List-ID header field
pub fn get_list_id(&self) -> &HeaderValue<'x> {
pub fn get_list_id(&self) -> &HeaderValue {
self.parts[0]
.headers_rfc
.get(&RfcHeader::ListId)
.headers
.get_rfc(&RfcHeader::ListId)
.unwrap_or(&HeaderValue::Empty)
}
/// Returns the List-Owner header field
pub fn get_list_owner(&self) -> &HeaderValue<'x> {
pub fn get_list_owner(&self) -> &HeaderValue {
self.parts[0]
.headers_rfc
.get(&RfcHeader::ListOwner)
.headers
.get_rfc(&RfcHeader::ListOwner)
.unwrap_or(&HeaderValue::Empty)
}
/// Returns the List-Post header field
pub fn get_list_post(&self) -> &HeaderValue<'x> {
pub fn get_list_post(&self) -> &HeaderValue {
self.parts[0]
.headers_rfc
.get(&RfcHeader::ListPost)
.headers
.get_rfc(&RfcHeader::ListPost)
.unwrap_or(&HeaderValue::Empty)
}
/// Returns the List-Subscribe header field
pub fn get_list_subscribe(&self) -> &HeaderValue<'x> {
pub fn get_list_subscribe(&self) -> &HeaderValue {
self.parts[0]
.headers_rfc
.get(&RfcHeader::ListSubscribe)
.headers
.get_rfc(&RfcHeader::ListSubscribe)
.unwrap_or(&HeaderValue::Empty)
}
/// Returns the List-Unsubscribe header field
pub fn get_list_unsubscribe(&self) -> &HeaderValue<'x> {
pub fn get_list_unsubscribe(&self) -> &HeaderValue {
self.parts[0]
.headers_rfc
.get(&RfcHeader::ListUnsubscribe)
.headers
.get_rfc(&RfcHeader::ListUnsubscribe)
.unwrap_or(&HeaderValue::Empty)
}
/// Returns the Message-ID header field
pub fn get_message_id(&self) -> Option<&str> {
self.parts[0]
.headers_rfc
.get(&RfcHeader::MessageId)
.headers
.get_rfc(&RfcHeader::MessageId)
.and_then(|header| header.as_text_ref())
}
/// Returns the MIME-Version header field
pub fn get_mime_version(&self) -> &HeaderValue<'x> {
pub fn get_mime_version(&self) -> &HeaderValue {
self.parts[0]
.headers_rfc
.get(&RfcHeader::MimeVersion)
.headers
.get_rfc(&RfcHeader::MimeVersion)
.unwrap_or(&HeaderValue::Empty)
}
/// Returns all Received header fields
pub fn get_received(&self) -> &HeaderValue<'x> {
pub fn get_received(&self) -> &HeaderValue {
self.parts[0]
.headers_rfc
.get(&RfcHeader::Received)
.headers
.get_rfc(&RfcHeader::Received)
.unwrap_or(&HeaderValue::Empty)
}
/// Returns all References header fields
pub fn get_references(&self) -> &HeaderValue<'x> {
pub fn get_references(&self) -> &HeaderValue {
self.parts[0]
.headers_rfc
.get(&RfcHeader::References)
.headers
.get_rfc(&RfcHeader::References)
.unwrap_or(&HeaderValue::Empty)
}
/// Returns the Reply-To header field
pub fn get_reply_to(&self) -> &HeaderValue<'x> {
pub fn get_reply_to(&self) -> &HeaderValue {
self.parts[0]
.headers_rfc
.get(&RfcHeader::ReplyTo)
.headers
.get_rfc(&RfcHeader::ReplyTo)
.unwrap_or(&HeaderValue::Empty)
}
/// Returns the Resent-BCC header field
pub fn get_resent_bcc(&self) -> &HeaderValue<'x> {
pub fn get_resent_bcc(&self) -> &HeaderValue {
self.parts[0]
.headers_rfc
.get(&RfcHeader::ResentBcc)
.headers
.get_rfc(&RfcHeader::ResentBcc)
.unwrap_or(&HeaderValue::Empty)
}
/// Returns the Resent-CC header field
pub fn get_resent_cc(&self) -> &HeaderValue<'x> {
pub fn get_resent_cc(&self) -> &HeaderValue {
self.parts[0]
.headers_rfc
.get(&RfcHeader::ResentTo)
.headers
.get_rfc(&RfcHeader::ResentTo)
.unwrap_or(&HeaderValue::Empty)
}
/// Returns all Resent-Date header fields
pub fn get_resent_date(&self) -> &HeaderValue<'x> {
pub fn get_resent_date(&self) -> &HeaderValue {
self.parts[0]
.headers_rfc
.get(&RfcHeader::ResentDate)
.headers
.get_rfc(&RfcHeader::ResentDate)
.unwrap_or(&HeaderValue::Empty)
}
/// Returns the Resent-From header field
pub fn get_resent_from(&self) -> &HeaderValue<'x> {
pub fn get_resent_from(&self) -> &HeaderValue {
self.parts[0]
.headers_rfc
.get(&RfcHeader::ResentFrom)
.headers
.get_rfc(&RfcHeader::ResentFrom)
.unwrap_or(&HeaderValue::Empty)
}
/// Returns all Resent-Message-ID header fields
pub fn get_resent_message_id(&self) -> &HeaderValue<'x> {
pub fn get_resent_message_id(&self) -> &HeaderValue {
self.parts[0]
.headers_rfc
.get(&RfcHeader::ResentMessageId)
.headers
.get_rfc(&RfcHeader::ResentMessageId)
.unwrap_or(&HeaderValue::Empty)
}
/// Returns the Sender header field
pub fn get_resent_sender(&self) -> &HeaderValue<'x> {
pub fn get_resent_sender(&self) -> &HeaderValue {
self.parts[0]
.headers_rfc
.get(&RfcHeader::ResentSender)
.headers
.get_rfc(&RfcHeader::ResentSender)
.unwrap_or(&HeaderValue::Empty)
}
/// Returns the Resent-To header field
pub fn get_resent_to(&self) -> &HeaderValue<'x> {
pub fn get_resent_to(&self) -> &HeaderValue {
self.parts[0]
.headers_rfc
.get(&RfcHeader::ResentTo)
.headers
.get_rfc(&RfcHeader::ResentTo)
.unwrap_or(&HeaderValue::Empty)
}
/// Returns all Return-Path header fields
pub fn get_return_path(&self) -> &HeaderValue<'x> {
pub fn get_return_path(&self) -> &HeaderValue {
self.parts[0]
.headers_rfc
.get(&RfcHeader::ReturnPath)
.headers
.get_rfc(&RfcHeader::ReturnPath)
.unwrap_or(&HeaderValue::Empty)
}
/// Returns the return address from either the Return-Path
/// or From header fields
pub fn get_return_address(&self) -> Option<&str> {
match self.parts[0].headers_rfc.get(&RfcHeader::ReturnPath) {
match self.parts[0].headers.get_rfc(&RfcHeader::ReturnPath) {
Some(HeaderValue::Text(text)) => Some(text.as_ref()),
Some(HeaderValue::TextList(text_list)) => text_list.last().map(|t| t.as_ref()),
_ => match self.parts[0].headers_rfc.get(&RfcHeader::From) {
_ => match self.parts[0].headers.get_rfc(&RfcHeader::From) {
Some(HeaderValue::Address(addr)) => addr.address.as_deref(),
Some(HeaderValue::AddressList(addr_list)) => {
addr_list.last().and_then(|a| a.address.as_deref())
@@ -988,18 +1078,18 @@ impl<'x> Message<'x> {
}
/// Returns the Sender header field
pub fn get_sender(&self) -> &HeaderValue<'x> {
pub fn get_sender(&self) -> &HeaderValue {
self.parts[0]
.headers_rfc
.get(&RfcHeader::Sender)
.headers
.get_rfc(&RfcHeader::Sender)
.unwrap_or(&HeaderValue::Empty)
}
/// Returns the Subject header field
pub fn get_subject(&self) -> Option<&str> {
self.parts[0]
.headers_rfc
.get(&RfcHeader::Subject)
.headers
.get_rfc(&RfcHeader::Subject)
.and_then(|header| header.as_text_ref())
}
@@ -1010,10 +1100,10 @@ impl<'x> Message<'x> {
}
/// Returns the To header field
pub fn get_to(&self) -> &HeaderValue<'x> {
pub fn get_to(&self) -> &HeaderValue {
self.parts[0]
.headers_rfc
.get(&RfcHeader::To)
.headers
.get_rfc(&RfcHeader::To)
.unwrap_or(&HeaderValue::Empty)
}
@@ -1028,47 +1118,6 @@ impl<'x> Message<'x> {
}
}
/// Returns all headers in raw format
pub fn get_raw_headers(&self) -> impl Iterator<Item = (&HeaderName, Cow<str>)> {
self.parts[0].headers_raw.iter().map(move |(name, offset)| {
(
name,
String::from_utf8_lossy(&self.raw_message[offset.start..offset.end]),
)
})
}
pub fn _get_raw(&'x self, name: HeaderName) -> Option<Vec<Cow<'x, str>>> {
let headers = self.parts[0]
.headers_raw
.iter()
.filter_map(|(k, v)| {
if k == &name {
Some(String::from_utf8_lossy(
self.raw_message.get(v.start..v.end).unwrap(),
))
} else {
None
}
})
.collect::<Vec<Cow<str>>>();
if !headers.is_empty() {
Some(headers)
} else {
None
}
}
/// Returns in raw format a header field not defined in the conformed RFCs
pub fn get_other_header(&'x self, name: &str) -> Option<Vec<Cow<'x, str>>> {
self._get_raw(HeaderName::Other(name.into()))
}
/// Returns in raw format a header field defined in the conformed RFCs
pub fn get_rfc_header(&'x self, name: RfcHeader) -> Option<Vec<Cow<'x, str>>> {
self._get_raw(HeaderName::Rfc(name))
}
/// Returns the transformed contents an inline HTML body part by position
pub fn get_html_body(&'x self, pos: usize) -> Option<Cow<'x, str>> {
let part = self.parts.get(*self.html_body.get(pos)?)?;
@@ -1153,7 +1202,7 @@ pub trait MimeHeaders<'x> {
/// Returns the Content-Type field
fn get_content_type(&self) -> Option<&ContentType>;
/// Returns the Content-Language field
fn get_content_language(&self) -> &HeaderValue<'x>;
fn get_content_language(&self) -> &HeaderValue;
/// Returns the Content-Location field
fn get_content_location(&self) -> Option<&str>;
/// Returns the attachment name, if any.
@@ -1170,50 +1219,50 @@ pub trait MimeHeaders<'x> {
impl<'x> MimeHeaders<'x> for Message<'x> {
fn get_content_description(&self) -> Option<&str> {
self.parts[0]
.headers_rfc
.get(&RfcHeader::ContentDescription)
.headers
.get_rfc(&RfcHeader::ContentDescription)
.and_then(|header| header.as_text_ref())
}
fn get_content_disposition(&self) -> Option<&ContentType> {
self.parts[0]
.headers_rfc
.get(&RfcHeader::ContentDisposition)
.headers
.get_rfc(&RfcHeader::ContentDisposition)
.and_then(|header| header.as_content_type_ref())
}
fn get_content_id(&self) -> Option<&str> {
self.parts[0]
.headers_rfc
.get(&RfcHeader::ContentId)
.headers
.get_rfc(&RfcHeader::ContentId)
.and_then(|header| header.as_text_ref())
}
fn get_content_transfer_encoding(&self) -> Option<&str> {
self.parts[0]
.headers_rfc
.get(&RfcHeader::ContentTransferEncoding)
.headers
.get_rfc(&RfcHeader::ContentTransferEncoding)
.and_then(|header| header.as_text_ref())
}
fn get_content_type(&self) -> Option<&ContentType> {
self.parts[0]
.headers_rfc
.get(&RfcHeader::ContentType)
.headers
.get_rfc(&RfcHeader::ContentType)
.and_then(|header| header.as_content_type_ref())
}
fn get_content_language(&self) -> &HeaderValue<'x> {
fn get_content_language(&self) -> &HeaderValue {
self.parts[0]
.headers_rfc
.get(&RfcHeader::ContentLanguage)
.headers
.get_rfc(&RfcHeader::ContentLanguage)
.unwrap_or(&HeaderValue::Empty)
}
fn get_content_location(&self) -> Option<&str> {
self.parts[0]
.headers_rfc
.get(&RfcHeader::ContentLocation)
.headers
.get_rfc(&RfcHeader::ContentLocation)
.and_then(|header| header.as_text_ref())
}
}
@@ -1282,6 +1331,11 @@ impl<'x> MessagePart<'x> {
matches!(self.body, PartType::Text(_) | PartType::Html(_))
}
/// Returns `true` when the body part MIME type is text/tml
pub fn is_text_html(&self) -> bool {
matches!(self.body, PartType::Html(_))
}
/// Returns `true` when the part is binary
pub fn is_binary(&self) -> bool {
matches!(self.body, PartType::Binary(_) | PartType::InlineBinary(_))
@@ -1303,8 +1357,8 @@ impl<'x> MessagePart<'x> {
}
/// Get the message headers
pub fn headers_rfc(&self) -> &HashMap<RfcHeader, HeaderValue> {
&self.headers_rfc
pub fn headers(&self) -> &[Header] {
&self.headers
}
/// Returns the body raw length
@@ -1323,7 +1377,7 @@ impl<'x> MessagePart<'x> {
}
/// Get the raw body end offset of this part
pub fn raw_end_offset(&self) -> usize {
pub fn offset_end_offset(&self) -> usize {
self.offset_header
}
}
@@ -1336,48 +1390,68 @@ impl<'x> fmt::Display for MessagePart<'x> {
impl<'x> MimeHeaders<'x> for MessagePart<'x> {
fn get_content_description(&self) -> Option<&str> {
self.headers_rfc
.get(&RfcHeader::ContentDescription)
self.headers
.get_rfc(&RfcHeader::ContentDescription)
.and_then(|header| header.as_text_ref())
}
fn get_content_disposition(&self) -> Option<&ContentType> {
self.headers_rfc
.get(&RfcHeader::ContentDisposition)
self.headers
.get_rfc(&RfcHeader::ContentDisposition)
.and_then(|header| header.as_content_type_ref())
}
fn get_content_id(&self) -> Option<&str> {
self.headers_rfc
.get(&RfcHeader::ContentId)
self.headers
.get_rfc(&RfcHeader::ContentId)
.and_then(|header| header.as_text_ref())
}
fn get_content_transfer_encoding(&self) -> Option<&str> {
self.headers_rfc
.get(&RfcHeader::ContentTransferEncoding)
self.headers
.get_rfc(&RfcHeader::ContentTransferEncoding)
.and_then(|header| header.as_text_ref())
}
fn get_content_type(&self) -> Option<&ContentType> {
self.headers_rfc
.get(&RfcHeader::ContentType)
self.headers
.get_rfc(&RfcHeader::ContentType)
.and_then(|header| header.as_content_type_ref())
}
fn get_content_language(&self) -> &HeaderValue<'x> {
self.headers_rfc
.get(&RfcHeader::ContentLanguage)
fn get_content_language(&self) -> &HeaderValue {
self.headers
.get_rfc(&RfcHeader::ContentLanguage)
.unwrap_or(&HeaderValue::Empty)
}
fn get_content_location(&self) -> Option<&str> {
self.headers_rfc
.get(&RfcHeader::ContentLocation)
self.headers
.get_rfc(&RfcHeader::ContentLocation)
.and_then(|header| header.as_text_ref())
}
}
pub trait GetHeader {
fn get_rfc(&self, name: &RfcHeader) -> Option<&HeaderValue>;
fn get_header(&self, name: &str) -> Option<&Header>;
}
impl<'x> GetHeader for Vec<Header<'x>> {
fn get_rfc(&self, name: &RfcHeader) -> Option<&HeaderValue<'x>> {
self.iter()
.rev()
.find(|header| matches!(&header.name, HeaderName::Rfc(rfc_name) if rfc_name == name))
.map(|header| &header.value)
}
fn get_header(&self, name: &str) -> Option<&Header> {
self.iter()
.rev()
.find(|header| header.name.as_str().eq_ignore_ascii_case(name))
}
}
#[doc(hidden)]
pub struct BodyPartIterator<'x> {
message: &'x Message<'x>,
@@ -1428,34 +1502,55 @@ impl<'x> Iterator for AttachmentIterator<'x> {
/// An RFC2047 Content-Type or RFC2183 Content-Disposition MIME header field.
impl<'x> ContentType<'x> {
/// Returns the type
pub fn get_type(&'x self) -> &'x str {
pub fn get_type(&self) -> &str {
&self.c_type
}
/// Returns the sub-type
pub fn get_subtype(&'x self) -> Option<&'x str> {
pub fn get_subtype(&self) -> Option<&str> {
self.c_subtype.as_ref()?.as_ref().into()
}
/// Returns an attribute by name
pub fn get_attribute(&'x self, name: &str) -> Option<&'x str> {
self.attributes.as_ref()?.get(name)?.as_ref().into()
pub fn get_attribute(&self, name: &str) -> Option<&str> {
self.attributes
.as_ref()?
.iter()
.find(|(key, _)| key == name)?
.1
.as_ref()
.into()
}
/// Removes an attribute by name
pub fn remove_attribute(&mut self, name: &str) -> Option<Cow<str>> {
let attributes = self.attributes.as_mut()?;
attributes
.iter()
.position(|(key, _)| key == name)
.map(|pos| attributes.swap_remove(pos).1)
}
/// Returns all attributes
pub fn get_attributes(&self) -> Option<&[(Cow<str>, Cow<str>)]> {
self.attributes.as_deref()
}
/// Returns `true` when the provided attribute name is present
pub fn has_attribute(&'x self, name: &str) -> bool {
pub fn has_attribute(&self, name: &str) -> bool {
self.attributes
.as_ref()
.map_or_else(|| false, |attr| attr.contains_key(name))
.map_or_else(|| false, |attr| attr.iter().any(|(key, _)| key == name))
}
/// Returns ```true``` if the Content-Disposition type is "attachment"
pub fn is_attachment(&'x self) -> bool {
pub fn is_attachment(&self) -> bool {
self.c_type.eq_ignore_ascii_case("attachment")
}
/// Returns ```true``` if the Content-Disposition type is "inline"
pub fn is_inline(&'x self) -> bool {
pub fn is_inline(&self) -> bool {
self.c_type.eq_ignore_ascii_case("inline")
}
}
+361
View File
@@ -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);
}
}
+279
View File
@@ -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);
}
}
}
+2
View File
@@ -0,0 +1,2 @@
pub mod maildir;
pub mod mbox;
+114 -57
View File
@@ -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 {
+65 -40
View File
@@ -14,24 +14,42 @@ 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 && (self.tz_hour > 0 || self.tz_minute > 0) {
"-"
} 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
@@ -50,9 +68,10 @@ impl DateTime {
/// 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 = self.month.wrapping_sub(3); /* March-based month. */
let carry = if m_adj > self.month { 1 } else { 0 };
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;
@@ -84,7 +103,7 @@ impl Ord for DateTime {
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())
}
}
@@ -207,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 {
@@ -288,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",
@@ -315,11 +334,10 @@ 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())) {
for (input, expected_result) in inputs {
match parse_date(&mut MessageStream::new(input.as_bytes())) {
HeaderValue::DateTime(datetime) => {
assert_eq!(input.1, datetime.to_iso8601());
assert_eq!(expected_result, datetime.to_rfc3339());
if datetime.is_valid() {
if let LocalResult::Single(chrono_datetime)
@@ -328,14 +346,21 @@ mod tests {
* if datetime.tz_before_gmt { 1i32 } else { -1i32 },
)
.unwrap_or_else(|| FixedOffset::east(0))
.ymd_opt(datetime.year as i32, datetime.month, datetime.day)
.and_hms_opt(datetime.hour, datetime.minute, datetime.second)
{
.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.0.escape_debug(),
input.escape_debug(),
datetime.to_timestamp(),
Utc.timestamp_opt(datetime.to_timestamp(), 0)
.unwrap()
@@ -350,7 +375,7 @@ mod tests {
}
HeaderValue::Empty => {
//println!("{} -> None", input.0.escape_debug());
assert!(input.1.is_empty());
assert!(expected_result.is_empty());
}
_ => panic!("Unexpected result"),
}
+11 -26
View File
@@ -73,7 +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::{HeaderName, Message, RfcHeader};
use crate::Message;
#[test]
fn parse_raw_text() {
@@ -116,41 +116,26 @@ Content-Type: multipart/mixed; boundary="festivus";
Here's a message body.
"#;
let message = Message::parse(input).unwrap();
let mut iter = message.get_raw_headers();
let mut iter = message.get_headers_raw();
assert_eq!(
iter.next().unwrap(),
(
&HeaderName::Rfc(RfcHeader::From),
" Art Vandelay <art@vandelay.com>\n".into()
)
("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(),
(
&HeaderName::Rfc(RfcHeader::To),
" jane@example.com\n".into()
"Subject",
" Why not both importing AND exporting? =?utf-8?b?4pi6?=\n"
)
);
assert_eq!(
iter.next().unwrap(),
(
&HeaderName::Rfc(RfcHeader::Date),
" Sat, 20 Nov 2021 14:22:01 -0800\n".into()
)
);
assert_eq!(
iter.next().unwrap(),
(
&HeaderName::Rfc(RfcHeader::Subject),
" Why not both importing AND exporting? =?utf-8?b?4pi6?=\n".into()
)
);
assert_eq!(
iter.next().unwrap(),
(
&HeaderName::Rfc(RfcHeader::ContentType),
" multipart/mixed; boundary=\"festivus\";\n".into()
)
("Content-Type", " multipart/mixed; boundary=\"festivus\";\n")
);
}
}
+19 -40
View File
@@ -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.push((
HeaderName::Rfc(name),
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.push((
HeaderName::Other(name),
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,
-126
View File
@@ -1,126 +0,0 @@
/*
* 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::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());
}
}
+84 -214
View File
@@ -16,8 +16,8 @@ use crate::{
base64::decode_base64, charsets::map::get_charset_decoder,
quoted_printable::decode_quoted_printable, DecodeFnc, DecodeResult,
},
ContentType, HeaderValue, Message, MessageAttachment, MessagePart, MessagePartId, PartType,
RawHeaders, RfcHeader, RfcHeaders,
ContentType, Encoding, GetHeader, HeaderValue, Message, MessageAttachment, MessagePart,
MessagePartId, PartType, RfcHeader,
};
use super::{
@@ -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,7 +130,7 @@ fn add_missing_type<'x>(
}),
);
}
}
}*/
#[derive(Default, Debug)]
struct MessageParserState {
@@ -202,21 +202,20 @@ impl<'x> Message<'x> {
let mut state = MessageParserState::new();
let mut state_stack = Vec::with_capacity(4);
let mut part_header = RfcHeaders::new();
let mut part_header_raw = RawHeaders::new();
let mut part_headers = Vec::new();
'outer: loop {
// Parse headers
state.offset_header = stream.pos;
if !parse_headers(&mut part_header, &mut part_header_raw, &mut stream) {
if !parse_headers(&mut part_headers, &mut stream) {
break;
}
state.parts += 1;
state.sub_part_ids.push(message.parts.len());
let content_type = part_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) =
@@ -226,7 +225,8 @@ impl<'x> Message<'x> {
if let Some(mime_boundary) =
content_type.map_or_else(|| None, |f| f.get_attribute("boundary"))
{
let mime_boundary = format!("\n--{}", 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()) {
@@ -243,14 +243,14 @@ impl<'x> Message<'x> {
part_id,
..Default::default()
};
add_missing_type(&mut part_header, "text".into(), "plain".into());
//add_missing_type(&mut part_header, "text".into(), "plain".into());
message.parts.push(MessagePart {
headers_rfc: std::mem::take(&mut part_header),
headers_raw: std::mem::take(&mut part_header_raw),
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));
@@ -267,19 +267,20 @@ impl<'x> Message<'x> {
skip_crlf(&mut stream);
state.offset_body = stream.pos;
let (is_binary, decode_fnc): (bool, DecodeFnc) = match part_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),
};
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 {
@@ -290,11 +291,10 @@ impl<'x> Message<'x> {
part_id: message.parts.len(),
..Default::default()
};
add_missing_type(&mut part_header, "message".into(), "rfc822".into());
message.attachments.push(message.parts.len());
message.parts.push(MessagePart {
headers_rfc: std::mem::take(&mut part_header),
headers_raw: std::mem::take(&mut part_header_raw),
headers: std::mem::take(&mut part_headers),
encoding,
is_encoding_problem: false,
offset_header: state.offset_header,
offset_body: state.offset_body,
@@ -320,6 +320,8 @@ impl<'x> Message<'x> {
// Attempt to recover contents of an invalid message
let is_encoding_problem = bytes_read == 0;
if is_encoding_problem {
encoding = Encoding::None;
let did_recover = if !(stream.pos >= stream.data.len()
|| (is_binary && state.mime_boundary.is_none()))
{
@@ -346,6 +348,7 @@ impl<'x> Message<'x> {
if bytes_read > 0 {
bytes = r_bytes;
stream.pos += bytes_read;
state.mime_boundary = None;
true
} else {
false
@@ -369,8 +372,8 @@ impl<'x> Message<'x> {
} else {
// Could not recover error, add part and abort
message.parts.push(MessagePart {
headers_rfc: std::mem::take(&mut part_header),
headers_raw: std::mem::take(&mut part_header_raw),
headers: std::mem::take(&mut part_headers),
encoding: Encoding::None,
is_encoding_problem: true,
body: PartType::Binary((&[][..]).into()),
offset_header: state.offset_header,
@@ -382,16 +385,28 @@ impl<'x> Message<'x> {
} else {
stream.pos += bytes_read;
}
state.offset_end = state
.mime_boundary
.as_ref()
.map(|b| stream.pos.saturating_sub(b.len() - 1))
.unwrap_or(stream.pos);
// 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
&& part_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
@@ -427,8 +442,6 @@ impl<'x> Message<'x> {
let text = result_to_string(bytes, stream.data, content_type);
let is_html = mime_type == MimeType::TextHtml;
add_missing_type(&mut part_header, "text".into(), "plain".into());
if add_to_html && !is_html {
message.html_body.push(message.parts.len());
} else if add_to_text && is_html {
@@ -466,15 +479,14 @@ impl<'x> Message<'x> {
}
}
} else {
add_missing_type(&mut part_header, "message".into(), "rfc822".into());
message.attachments.push(message.parts.len());
PartType::Message(MessageAttachment::Raw(result_to_bytes(bytes, stream.data)))
};
// Add part
message.parts.push(MessagePart {
headers_rfc: std::mem::take(&mut part_header),
headers_raw: std::mem::take(&mut part_header_raw),
headers: std::mem::take(&mut part_headers),
encoding,
is_encoding_problem,
body: body_part,
offset_header: state.offset_header,
@@ -491,7 +503,16 @@ impl<'x> Message<'x> {
let offset_end = state
.mime_boundary
.as_ref()
.map(|b| stream.pos.saturating_sub(b.len() - 1))
.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[state.offset_header..offset_end].as_ref().into();
@@ -598,6 +619,7 @@ impl<'x> Message<'x> {
message.raw_message = raw_message.into();
if !message.is_empty() {
message.parts[0].offset_end = message.raw_message.len();
Some(message)
} else {
None
@@ -607,65 +629,13 @@ impl<'x> Message<'x> {
#[cfg(test)]
mod tests {
use std::{collections::BTreeMap, fs, path::PathBuf};
use std::{fs, path::PathBuf};
use serde::Serialize;
use serde_json::Value;
use crate::{
parsers::message::Message, HeaderValue, MessagePart, MessagePartId, PartType, RawHeaders,
RfcHeader,
};
const SEPARATOR: &[u8] = "\n---- EXPECTED STRUCTURE ----".as_bytes();
#[derive(Serialize)]
pub struct SortedMessage<'x> {
pub html_body: Vec<MessagePartId>,
pub text_body: Vec<MessagePartId>,
pub attachments: Vec<MessagePartId>,
pub parts: Vec<SortedMessagePart<'x>>,
}
#[derive(Serialize)]
pub struct SortedMessagePart<'x> {
pub headers_rfc: BTreeMap<RfcHeader, HeaderValue<'x>>,
pub headers_raw: RawHeaders<'x>,
pub is_encoding_problem: bool,
pub body: PartType<'x>,
pub offset_header: usize,
pub offset_body: usize,
pub offset_end: usize,
}
impl<'x> From<Message<'x>> for SortedMessage<'x> {
fn from(message: Message<'x>) -> Self {
SortedMessage {
html_body: message.html_body,
text_body: message.text_body,
attachments: message.attachments,
parts: message.parts.into_iter().map(|p| p.into()).collect(),
}
}
}
impl<'x> From<MessagePart<'x>> for SortedMessagePart<'x> {
fn from(part: MessagePart<'x>) -> Self {
SortedMessagePart {
headers_rfc: part.headers_rfc.into_iter().collect(),
headers_raw: part.headers_raw,
is_encoding_problem: part.is_encoding_problem,
body: part.body,
offset_header: part.offset_header,
offset_body: part.offset_body,
offset_end: part.offset_end,
}
}
}
use crate::parsers::message::Message;
#[test]
fn parse_full_messages() {
for test_suite in ["malformed", "rfc", "legacy", "thirdparty", "malformed"] {
for test_suite in ["rfc", "legacy", "thirdparty", "malformed"] {
let mut test_dir = PathBuf::from(env!("CARGO_MANIFEST_DIR"));
test_dir.push("tests");
test_dir.push(test_suite);
@@ -673,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 (raw_message, expected_result) = input.split_at_mut(pos);
let message = SortedMessage::from(Message::parse(raw_message).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(&expected_result[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()
);
}
}
}
@@ -717,89 +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 ----".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;
}
println!("{:}", file_name.as_ref().unwrap().path().display());
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(&SortedMessage::from(
Message::parse(input.0).unwrap(),
))
.unwrap()
.as_bytes(),
);
fs::write(file_name.as_ref().unwrap().path(), &output).unwrap();
}
}
}*/
}
+20 -20
View File
@@ -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;
@@ -64,8 +66,12 @@ pub fn get_bytes_to_boundary<'x>(
if is_boundary_end(stream, read_pos) {
let mut match_pos = read_pos - match_count;
if let Some(b'\r') = stream.data.get(match_pos.saturating_sub(1)) {
match_pos -= 1;
if match_pos > 0 && match_pos == lf_pos {
if lf_pos == cr_pos + 1 {
match_pos -= 2;
} else {
match_pos -= 1;
}
}
return (
@@ -89,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)
@@ -103,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) {
@@ -126,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,
@@ -140,19 +152,7 @@ pub fn skip_crlf(stream: &mut MessageStream) {
}
#[inline(always)]
pub fn seek_crlf_end(stream: &MessageStream, mut start_pos: usize) -> usize {
for ch in &stream.data[start_pos..] {
if ch.is_ascii_whitespace() {
start_pos += 1;
} else {
break;
}
}
start_pos
}
#[inline(always)]
pub fn seek_crlf(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..] {
match ch {
b'\r' | b' ' | b'\t' => start_pos += 1,
-1
View File
@@ -11,7 +11,6 @@
pub mod fields;
pub mod header;
pub mod mbox;
pub mod message;
pub mod mime;
pub mod preview;
+19 -6
View File
@@ -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;
+4 -4
View File
@@ -57,11 +57,11 @@ R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7
let message = Message::parse(input).unwrap();
assert_eq!(
bincode::deserialize::<RfcHeaders>(
&bincode::serialize(&message.parts[0].headers_rfc).unwrap()
bincode::deserialize::<Vec<Header>>(
&bincode::serialize(&message.parts[0].headers).unwrap()
)
.unwrap(),
message.parts[0].headers_rfc
message.parts[0].headers
);
assert_eq!(
@@ -90,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"
);
+43
View File
@@ -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==
+148 -201
View File
@@ -1,48 +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
AAAdAAANAAAAAAAA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@ -50,190 +6,181 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
],
"parts": [
{
"headers_rfc": {
"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"
}
},
"date": {
"DateTime": {
"year": 2000,
"month": 5,
"day": 17,
"hour": 19,
"minute": 35,
"second": 5,
"tz_before_gmt": true,
"tz_hour": 4,
"tz_minute": 0
}
},
"message_id": {
"Text": "NDBBIAKOPKHFGPLCODIGKEKECHAA.doug@example.com"
},
"mime_version": {
"Text": "1.0"
},
"content_transfer_encoding": {
"Text": "base64"
},
"content_type": {
"ContentType": {
"c_type": "image",
"c_subtype": "png",
"attributes": {
"name": "redball.png"
}
}
},
"content_disposition": {
"ContentType": {
"c_type": "attachment",
"c_subtype": null,
"attributes": {
"filename": "redball.png"
}
}
}
},
"headers_raw": [
[
{
"headers": [
{
"name": {
"Rfc": "from"
},
{
"start": 5,
"end": 40
}
],
[
{
"value": {
"Address": {
"name": "Doug Sauder",
"address": "doug@example.com"
}
},
"offset_start": 5,
"offset_end": 40
},
{
"name": {
"Rfc": "to"
},
{
"start": 43,
"end": 76
}
],
[
{
"value": {
"Address": {
"name": "Joe Blow",
"address": "jblow@example.com"
}
},
"offset_start": 43,
"offset_end": 76
},
{
"name": {
"Rfc": "subject"
},
{
"start": 84,
"end": 125
}
],
[
{
"value": {
"Text": "Test message from Microsoft Outlook 00"
},
"offset_start": 84,
"offset_end": 125
},
{
"name": {
"Rfc": "date"
},
{
"start": 130,
"end": 164
}
],
[
{
"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"
},
{
"start": 175,
"end": 225
}
],
[
{
"value": {
"Text": "NDBBIAKOPKHFGPLCODIGKEKECHAA.doug@example.com"
},
"offset_start": 175,
"offset_end": 225
},
{
"name": {
"Rfc": "mime_version"
},
{
"start": 238,
"end": 244
}
],
[
{
"value": {
"Text": "1.0"
},
"offset_start": 238,
"offset_end": 244
},
{
"name": {
"Rfc": "content_type"
},
{
"start": 257,
"end": 291
}
],
[
{
"value": {
"ContentType": {
"c_type": "image",
"c_subtype": "png",
"attributes": [
[
"name",
"redball.png"
]
]
}
},
"offset_start": 257,
"offset_end": 291
},
{
"name": {
"Rfc": "content_transfer_encoding"
},
{
"start": 317,
"end": 326
}
],
[
{
"value": {
"Text": "base64"
},
"offset_start": 317,
"offset_end": 326
},
{
"name": {
"Rfc": "content_disposition"
},
{
"start": 346,
"end": 385
}
],
[
{
"value": {
"ContentType": {
"c_type": "attachment",
"c_subtype": null,
"attributes": [
[
"filename",
"redball.png"
]
]
}
},
"offset_start": 346,
"offset_end": 385
},
{
"name": {
"Other": "X-Priority"
},
{
"start": 396,
"end": 409
}
],
[
{
"value": {
"Text": " 3 (Normal)\r\n"
},
"offset_start": 396,
"offset_end": 409
},
{
"name": {
"Other": "X-MSMail-Priority"
},
{
"start": 427,
"end": 436
}
],
[
{
"value": {
"Text": " Normal\r\n"
},
"offset_start": 427,
"offset_end": 436
},
{
"name": {
"Other": "X-Mailer"
},
{
"start": 445,
"end": 498
}
],
[
{
"value": {
"Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n"
},
"offset_start": 445,
"offset_end": 498
},
{
"name": {
"Other": "Importance"
},
{
"start": 509,
"end": 518
}
],
[
{
"value": {
"Text": " Normal\r\n"
},
"offset_start": 509,
"offset_end": 518
},
{
"name": {
"Other": "X-MimeOLE"
},
{
"start": 528,
"end": 576
}
]
"value": {
"Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n"
},
"offset_start": 528,
"offset_end": 576
}
],
"is_encoding_problem": false,
"body": {
+34
View File
@@ -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
+183
View File
@@ -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
}
]
}
-228
View File
@@ -1,228 +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 ----{
"html_body": [
0
],
"text_body": [
0
],
"attachments": [],
"parts": [
{
"headers_rfc": {
"subject": {
"Text": "Die Hasen und die Frösche (Microsoft Outlook 00)"
},
"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"
}
]
},
"date": {
"DateTime": {
"year": 2000,
"month": 5,
"day": 17,
"hour": 19,
"minute": 18,
"second": 39,
"tz_before_gmt": true,
"tz_hour": 4,
"tz_minute": 0
}
},
"message_id": {
"Text": "NDBBIAKOPKHFGPLCODIGMEKCCHAA.doug@example.com"
},
"mime_version": {
"Text": "1.0"
},
"content_transfer_encoding": {
"Text": "quoted-printable"
},
"content_type": {
"ContentType": {
"c_type": "text",
"c_subtype": "plain",
"attributes": {
"charset": "utf-7"
}
}
}
},
"headers_raw": [
[
{
"Rfc": "from"
},
{
"start": 5,
"end": 39
}
],
[
{
"Rfc": "to"
},
{
"start": 42,
"end": 146
}
],
[
{
"Rfc": "subject"
},
{
"start": 154,
"end": 224
}
],
[
{
"Rfc": "date"
},
{
"start": 229,
"end": 262
}
],
[
{
"Rfc": "message_id"
},
{
"start": 273,
"end": 322
}
],
[
{
"Rfc": "mime_version"
},
{
"start": 335,
"end": 340
}
],
[
{
"Rfc": "content_type"
},
{
"start": 353,
"end": 383
}
],
[
{
"Rfc": "content_transfer_encoding"
},
{
"start": 409,
"end": 427
}
],
[
{
"Other": "X-Priority"
},
{
"start": 438,
"end": 450
}
],
[
{
"Other": "X-MSMail-Priority"
},
{
"start": 468,
"end": 476
}
],
[
{
"Other": "X-Mailer"
},
{
"start": 485,
"end": 537
}
],
[
{
"Other": "Importance"
},
{
"start": 548,
"end": 556
}
],
[
{
"Other": "X-MimeOLE"
},
{
"start": 566,
"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
}
]
}
+36
View File
@@ -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; &quot;wir leben&quot;, sprach ein Redner, &quot;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.&quot; <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>
&quot;Halt&quot;, rief nun eben dieser Sprecher, &quot;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.&quot; <br>
<br>
</font></html>
+157
View File
@@ -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; &quot;wir leben&quot;, sprach ein Redner, &quot;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.&quot; <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&quot;Halt&quot;, rief nun eben dieser Sprecher, &quot;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.&quot; <br>\n<br>\n</font></html>\n\n"
},
"offset_header": 0,
"offset_body": 500,
"offset_end": 1499
}
]
}
-206
View File
@@ -1,206 +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; &quot;wir leben&quot;, sprach ein Redner, &quot;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.&quot; <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>
&quot;Halt&quot;, rief nun eben dieser Sprecher, &quot;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.&quot; <br>
<br>
</font></html>
---- EXPECTED STRUCTURE ----{
"html_body": [
0
],
"text_body": [
0
],
"attachments": [],
"parts": [
{
"headers_rfc": {
"subject": {
"Text": "Die Hasen und die Frösche"
},
"from": {
"Address": {
"name": "Doug Sauder",
"address": "dwsauder@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
}
},
"message_id": {
"Text": "4.2.0.58.20000519003052.00a89c40@pop.example.com"
},
"mime_version": {
"Text": "1.0"
},
"content_transfer_encoding": {
"Text": "quoted-printable"
},
"content_type": {
"ContentType": {
"c_type": "text",
"c_subtype": "html",
"attributes": {
"charset": "iso-8859-1"
}
}
}
},
"headers_raw": [
[
{
"Rfc": "message_id"
},
{
"start": 11,
"end": 64
}
],
[
{
"Other": "X-Sender"
},
{
"start": 73,
"end": 113
}
],
[
{
"Other": "X-Mailer"
},
{
"start": 122,
"end": 170
}
],
[
{
"Other": "X-Priority"
},
{
"start": 181,
"end": 192
}
],
[
{
"Rfc": "date"
},
{
"start": 197,
"end": 231
}
],
[
{
"Rfc": "to"
},
{
"start": 234,
"end": 290
}
],
[
{
"Rfc": "from"
},
{
"start": 295,
"end": 332
}
],
[
{
"Rfc": "subject"
},
{
"start": 340,
"end": 387
}
],
[
{
"Rfc": "mime_version"
},
{
"start": 400,
"end": 406
}
],
[
{
"Rfc": "content_type"
},
{
"start": 419,
"end": 453
}
],
[
{
"Rfc": "content_transfer_encoding"
},
{
"start": 479,
"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; &quot;wir leben&quot;, sprach ein Redner, &quot;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.&quot; <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&quot;Halt&quot;, rief nun eben dieser Sprecher, &quot;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.&quot; <br>\n<br>\n</font></html>\n\n"
},
"offset_header": 0,
"offset_body": 500,
"offset_end": 1499
}
]
}
+63
View File
@@ -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; &quot;wir leben&quot;, sprach ein Redner, &quot;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.&quot; <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>
&quot;Halt&quot;, rief nun eben dieser Sprecher, &quot;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.&quot; <br>
<br>
</font></html>
--=====================_714967308==_.ALT--
+230
View File
@@ -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; &quot;wir leben&quot;, sprach ein Redner, &quot;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.&quot; <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&quot;Halt&quot;, rief nun eben dieser Sprecher, &quot;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.&quot; <br>\n<br>\n</font></html>\n"
},
"offset_header": 1488,
"offset_body": 1582,
"offset_end": 2579
}
]
}
-310
View File
@@ -1,310 +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; &quot;wir leben&quot;, sprach ein Redner, &quot;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.&quot; <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>
&quot;Halt&quot;, rief nun eben dieser Sprecher, &quot;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.&quot; <br>
<br>
</font></html>
--=====================_714967308==_.ALT--
---- EXPECTED STRUCTURE ----{
"html_body": [
2
],
"text_body": [
1
],
"attachments": [],
"parts": [
{
"headers_rfc": {
"subject": {
"Text": "Die Hasen und die Frösche"
},
"from": {
"Address": {
"name": "Doug Sauder",
"address": "dwsauder@example.com"
}
},
"to": {
"Address": {
"name": "Heinz Müller",
"address": "mueller@example.com"
}
},
"date": {
"DateTime": {
"year": 2000,
"month": 5,
"day": 19,
"hour": 0,
"minute": 29,
"second": 55,
"tz_before_gmt": true,
"tz_hour": 4,
"tz_minute": 0
}
},
"message_id": {
"Text": "4.2.0.58.20000519002557.00a88870@pop.example.com"
},
"mime_version": {
"Text": "1.0"
},
"content_type": {
"ContentType": {
"c_type": "multipart",
"c_subtype": "alternative",
"attributes": {
"boundary": "=====================_714967308==_.ALT"
}
}
}
},
"headers_raw": [
[
{
"Rfc": "message_id"
},
{
"start": 11,
"end": 64
}
],
[
{
"Other": "X-Sender"
},
{
"start": 73,
"end": 113
}
],
[
{
"Other": "X-Mailer"
},
{
"start": 122,
"end": 170
}
],
[
{
"Other": "X-Priority"
},
{
"start": 181,
"end": 192
}
],
[
{
"Rfc": "date"
},
{
"start": 197,
"end": 231
}
],
[
{
"Rfc": "to"
},
{
"start": 234,
"end": 290
}
],
[
{
"Rfc": "from"
},
{
"start": 295,
"end": 332
}
],
[
{
"Rfc": "subject"
},
{
"start": 340,
"end": 387
}
],
[
{
"Rfc": "mime_version"
},
{
"start": 400,
"end": 406
}
],
[
{
"Rfc": "content_type"
},
{
"start": 419,
"end": 496
}
]
],
"is_encoding_problem": false,
"body": {
"Multipart": [
1,
2
]
},
"offset_header": 0,
"offset_body": 498,
"offset_end": 2625
},
{
"headers_rfc": {
"content_transfer_encoding": {
"Text": "quoted-printable"
},
"content_type": {
"ContentType": {
"c_type": "text",
"c_subtype": "plain",
"attributes": {
"charset": "iso-8859-1"
}
}
}
},
"headers_raw": [
[
{
"Rfc": "content_type"
},
{
"start": 553,
"end": 588
}
],
[
{
"Rfc": "content_transfer_encoding"
},
{
"start": 614,
"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": 1446
},
{
"headers_rfc": {
"content_transfer_encoding": {
"Text": "quoted-printable"
},
"content_type": {
"ContentType": {
"c_type": "text",
"c_subtype": "html",
"attributes": {
"charset": "iso-8859-1"
}
}
}
},
"headers_raw": [
[
{
"Rfc": "content_type"
},
{
"start": 1501,
"end": 1535
}
],
[
{
"Rfc": "content_transfer_encoding"
},
{
"start": 1561,
"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; &quot;wir leben&quot;, sprach ein Redner, &quot;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.&quot; <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&quot;Halt&quot;, rief nun eben dieser Sprecher, &quot;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.&quot; <br>\n<br>\n</font></html>\n"
},
"offset_header": 1488,
"offset_body": 1582,
"offset_end": 2581
}
]
}
+18
View File
@@ -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.
+147
View File
@@ -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
}
]
}
-176
View File
@@ -1,176 +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 ----{
"html_body": [
0
],
"text_body": [
0
],
"attachments": [],
"parts": [
{
"headers_rfc": {
"subject": {
"Text": "The Hare and the Tortoise"
},
"from": {
"Address": {
"name": "Doug Sauder",
"address": "dwsauder@example.com"
}
},
"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
}
},
"message_id": {
"Text": "4.2.0.58.20000519011207.00a8cd70@pop.example.com"
},
"mime_version": {
"Text": "1.0"
},
"content_type": {
"ContentType": {
"c_type": "text",
"c_subtype": "plain",
"attributes": {
"charset": "us-ascii"
}
}
}
},
"headers_raw": [
[
{
"Rfc": "message_id"
},
{
"start": 11,
"end": 64
}
],
[
{
"Other": "X-Sender"
},
{
"start": 73,
"end": 113
}
],
[
{
"Other": "X-Mailer"
},
{
"start": 122,
"end": 170
}
],
[
{
"Other": "X-Priority"
},
{
"start": 181,
"end": 194
}
],
[
{
"Rfc": "date"
},
{
"start": 199,
"end": 233
}
],
[
{
"Rfc": "to"
},
{
"start": 236,
"end": 266
}
],
[
{
"Rfc": "from"
},
{
"start": 271,
"end": 308
}
],
[
{
"Rfc": "subject"
},
{
"start": 316,
"end": 344
}
],
[
{
"Rfc": "mime_version"
},
{
"start": 357,
"end": 363
}
],
[
{
"Rfc": "content_type"
},
{
"start": 376,
"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
}
]
}
+32
View File
@@ -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
+177
View File
@@ -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
}
]
}
-220
View File
@@ -1,220 +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 ----{
"html_body": [
0
],
"text_body": [
0
],
"attachments": [],
"parts": [
{
"headers_rfc": {
"subject": {
"Text": "Die Hasen und die Frösche (Microsoft Outlook 00)"
},
"from": {
"Address": {
"name": "Doug Sauder",
"address": "doug@example.com"
}
},
"to": {
"Address": {
"name": "Heinz Müller",
"address": "mueller@example.com"
}
},
"date": {
"DateTime": {
"year": 2000,
"month": 5,
"day": 17,
"hour": 19,
"minute": 20,
"second": 24,
"tz_before_gmt": true,
"tz_hour": 4,
"tz_minute": 0
}
},
"message_id": {
"Text": "NDBBIAKOPKHFGPLCODIGCEKDCHAA.doug@example.com"
},
"mime_version": {
"Text": "1.0"
},
"content_transfer_encoding": {
"Text": "quoted-printable"
},
"content_type": {
"ContentType": {
"c_type": "text",
"c_subtype": "plain",
"attributes": {
"charset": "utf-7"
}
}
}
},
"headers_raw": [
[
{
"Rfc": "from"
},
{
"start": 5,
"end": 40
}
],
[
{
"Rfc": "to"
},
{
"start": 43,
"end": 96
}
],
[
{
"Rfc": "subject"
},
{
"start": 104,
"end": 175
}
],
[
{
"Rfc": "date"
},
{
"start": 180,
"end": 214
}
],
[
{
"Rfc": "message_id"
},
{
"start": 225,
"end": 275
}
],
[
{
"Rfc": "mime_version"
},
{
"start": 288,
"end": 294
}
],
[
{
"Rfc": "content_type"
},
{
"start": 307,
"end": 339
}
],
[
{
"Rfc": "content_transfer_encoding"
},
{
"start": 365,
"end": 384
}
],
[
{
"Other": "X-Priority"
},
{
"start": 395,
"end": 408
}
],
[
{
"Other": "X-MSMail-Priority"
},
{
"start": 426,
"end": 435
}
],
[
{
"Other": "X-Mailer"
},
{
"start": 444,
"end": 497
}
],
[
{
"Other": "Importance"
},
{
"start": 508,
"end": 517
}
],
[
{
"Other": "X-MimeOLE"
},
{
"start": 527,
"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
}
]
}
+83
View File
@@ -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++cxu9ShO8pWucQOa1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+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
AAArAAAPAAC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ElX/LbikDm8T36KwbNmRo7O3zpHkPSZw
HBqL//8flz1x2OOkyKJTi7aqbzutfUZI2gIuF8F2lr/D5dw2+fZdwpl8YVOlI+CJ4/9/joOyYed5
QzMvhGqnm2V0WiClm///D0lfXHtJ6vLlK9w7rx7vQk5SQJbFtSms1y9evXid7QZacgOxmSxktNzd
tSwwU+J/VICaCPFIYU3XAJhIOtjf5sfyAAAAJXRFWHRDb21tZW50AGNsaXAyZ2lmIHYuMC42IGJ5
IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
------=_NextPart_000_0004_01BFC037.28F2FA90--
+211 -307
View File
@@ -1,88 +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: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+8YOaUY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anZ+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
AAArAAAPAACdAADFAADhBQXrKCjvPDzvNTXvGxvjAADQAADJAAC1AACXAAC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OkyKJTi7aqbzutfUZI2gIuF8F2lr/D5dw2+fZdwpl8YVOlI+CJ4/9/joOyYed5
QzMvhGqnm2V0WiClm///D0lfXHtJ6vLlK9w7rx7vQk5SQJbFtSms1y9evXid7QZacgOxmSxktNzd
tSwwU+J/VICaCPFIYU3XAJhIOtjf5sfyAAAAJXRFWHRDb21tZW50AGNsaXAyZ2lmIHYuMC42IGJ5
IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
------=_NextPart_000_0004_01BFC037.28F2FA90--
---- EXPECTED STRUCTURE ----{
{
"html_body": [],
"text_body": [],
"attachments": [
@@ -91,160 +7,152 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
],
"parts": [
{
"headers_rfc": {
"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"
}
},
"date": {
"DateTime": {
"year": 2000,
"month": 5,
"day": 17,
"hour": 19,
"minute": 36,
"second": 13,
"tz_before_gmt": true,
"tz_hour": 4,
"tz_minute": 0
}
},
"message_id": {
"Text": "NDBBIAKOPKHFGPLCODIGOEKECHAA.doug@example.com"
},
"mime_version": {
"Text": "1.0"
},
"content_type": {
"ContentType": {
"c_type": "multipart",
"c_subtype": "mixed",
"attributes": {
"boundary": "----=_NextPart_000_0004_01BFC037.28F2FA90"
}
}
}
},
"headers_raw": [
[
{
"headers": [
{
"name": {
"Rfc": "from"
},
{
"start": 5,
"end": 40
}
],
[
{
"value": {
"Address": {
"name": "Doug Sauder",
"address": "doug@example.com"
}
},
"offset_start": 5,
"offset_end": 40
},
{
"name": {
"Rfc": "to"
},
{
"start": 43,
"end": 76
}
],
[
{
"value": {
"Address": {
"name": "Joe Blow",
"address": "jblow@example.com"
}
},
"offset_start": 43,
"offset_end": 76
},
{
"name": {
"Rfc": "subject"
},
{
"start": 84,
"end": 125
}
],
[
{
"value": {
"Text": "Test message from Microsoft Outlook 00"
},
"offset_start": 84,
"offset_end": 125
},
{
"name": {
"Rfc": "date"
},
{
"start": 130,
"end": 164
}
],
[
{
"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"
},
{
"start": 175,
"end": 225
}
],
[
{
"value": {
"Text": "NDBBIAKOPKHFGPLCODIGOEKECHAA.doug@example.com"
},
"offset_start": 175,
"offset_end": 225
},
{
"name": {
"Rfc": "mime_version"
},
{
"start": 238,
"end": 244
}
],
[
{
"value": {
"Text": "1.0"
},
"offset_start": 238,
"offset_end": 244
},
{
"name": {
"Rfc": "content_type"
},
{
"start": 257,
"end": 331
}
],
[
{
"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"
},
{
"start": 342,
"end": 355
}
],
[
{
"value": {
"Text": " 3 (Normal)\r\n"
},
"offset_start": 342,
"offset_end": 355
},
{
"name": {
"Other": "X-MSMail-Priority"
},
{
"start": 373,
"end": 382
}
],
[
{
"value": {
"Text": " Normal\r\n"
},
"offset_start": 373,
"offset_end": 382
},
{
"name": {
"Other": "X-Mailer"
},
{
"start": 391,
"end": 444
}
],
[
{
"value": {
"Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n"
},
"offset_start": 391,
"offset_end": 444
},
{
"name": {
"Other": "Importance"
},
{
"start": 455,
"end": 464
}
],
[
{
"value": {
"Text": " Normal\r\n"
},
"offset_start": 455,
"offset_end": 464
},
{
"name": {
"Other": "X-MimeOLE"
},
{
"start": 474,
"end": 522
}
]
"value": {
"Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n"
},
"offset_start": 474,
"offset_end": 522
}
],
"is_encoding_problem": false,
"body": {
@@ -258,57 +166,55 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
"offset_end": 4809
},
{
"headers_rfc": {
"content_transfer_encoding": {
"Text": "base64"
},
"content_type": {
"ContentType": {
"c_type": "image",
"c_subtype": "png",
"attributes": {
"name": "blueball.png"
}
}
},
"content_disposition": {
"ContentType": {
"c_type": "attachment",
"c_subtype": null,
"attributes": {
"filename": "blueball.png"
}
}
}
},
"headers_raw": [
[
{
"headers": [
{
"name": {
"Rfc": "content_type"
},
{
"start": 630,
"end": 665
}
],
[
{
"value": {
"ContentType": {
"c_type": "image",
"c_subtype": "png",
"attributes": [
[
"name",
"blueball.png"
]
]
}
},
"offset_start": 630,
"offset_end": 665
},
{
"name": {
"Rfc": "content_transfer_encoding"
},
{
"start": 691,
"end": 700
}
],
[
{
"value": {
"Text": "base64"
},
"offset_start": 691,
"offset_end": 700
},
{
"name": {
"Rfc": "content_disposition"
},
{
"start": 720,
"end": 760
}
]
"value": {
"ContentType": {
"c_type": "attachment",
"c_subtype": null,
"attributes": [
[
"filename",
"blueball.png"
]
]
}
},
"offset_start": 720,
"offset_end": 760
}
],
"is_encoding_problem": false,
"body": {
@@ -1642,60 +1548,58 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
},
"offset_header": 617,
"offset_body": 762,
"offset_end": 2580
"offset_end": 2578
},
{
"headers_rfc": {
"content_transfer_encoding": {
"Text": "base64"
},
"content_type": {
"ContentType": {
"c_type": "image",
"c_subtype": "png",
"attributes": {
"name": "redball.png"
}
}
},
"content_disposition": {
"ContentType": {
"c_type": "attachment",
"c_subtype": null,
"attributes": {
"filename": "redball.png"
}
}
}
},
"headers_raw": [
[
{
"headers": [
{
"name": {
"Rfc": "content_type"
},
{
"start": 2638,
"end": 2672
}
],
[
{
"value": {
"ContentType": {
"c_type": "image",
"c_subtype": "png",
"attributes": [
[
"name",
"redball.png"
]
]
}
},
"offset_start": 2638,
"offset_end": 2672
},
{
"name": {
"Rfc": "content_transfer_encoding"
},
{
"start": 2698,
"end": 2707
}
],
[
{
"value": {
"Text": "base64"
},
"offset_start": 2698,
"offset_end": 2707
},
{
"name": {
"Rfc": "content_disposition"
},
{
"start": 2727,
"end": 2766
}
]
"value": {
"ContentType": {
"c_type": "attachment",
"c_subtype": null,
"attributes": [
[
"filename",
"redball.png"
]
]
}
},
"offset_start": 2727,
"offset_end": 2766
}
],
"is_encoding_problem": false,
"body": {
@@ -3157,7 +3061,7 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
},
"offset_header": 2625,
"offset_body": 2768,
"offset_end": 4762
"offset_end": 4760
}
]
}
+31
View File
@@ -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
+177
View File
@@ -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
}
]
}
-219
View File
@@ -1,219 +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 ----{
"html_body": [
0
],
"text_body": [
0
],
"attachments": [],
"parts": [
{
"headers_rfc": {
"subject": {
"Text": "Die Hasen und die Frösche (Microsoft Outlook 00)"
},
"from": {
"Address": {
"name": "Doug Sauder",
"address": "doug@example.com"
}
},
"to": {
"Address": {
"name": "Jürgen Schmürgen",
"address": "schmuergen@example.com"
}
},
"date": {
"DateTime": {
"year": 2000,
"month": 5,
"day": 17,
"hour": 19,
"minute": 15,
"second": 35,
"tz_before_gmt": true,
"tz_hour": 4,
"tz_minute": 0
}
},
"message_id": {
"Text": "NDBBIAKOPKHFGPLCODIGIEKCCHAA.doug@example.com"
},
"mime_version": {
"Text": "1.0"
},
"content_transfer_encoding": {
"Text": "quoted-printable"
},
"content_type": {
"ContentType": {
"c_type": "text",
"c_subtype": "plain",
"attributes": {
"charset": "iso-8859-1"
}
}
}
},
"headers_raw": [
[
{
"Rfc": "from"
},
{
"start": 5,
"end": 40
}
],
[
{
"Rfc": "to"
},
{
"start": 43,
"end": 112
}
],
[
{
"Rfc": "subject"
},
{
"start": 120,
"end": 194
}
],
[
{
"Rfc": "date"
},
{
"start": 199,
"end": 233
}
],
[
{
"Rfc": "message_id"
},
{
"start": 244,
"end": 294
}
],
[
{
"Rfc": "mime_version"
},
{
"start": 307,
"end": 313
}
],
[
{
"Rfc": "content_type"
},
{
"start": 326,
"end": 363
}
],
[
{
"Rfc": "content_transfer_encoding"
},
{
"start": 389,
"end": 408
}
],
[
{
"Other": "X-Priority"
},
{
"start": 419,
"end": 432
}
],
[
{
"Other": "X-MSMail-Priority"
},
{
"start": 450,
"end": 459
}
],
[
{
"Other": "X-Mailer"
},
{
"start": 468,
"end": 521
}
],
[
{
"Other": "Importance"
},
{
"start": 532,
"end": 541
}
],
[
{
"Other": "X-MimeOLE"
},
{
"start": 551,
"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
}
]
}
+135
View File
@@ -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
AAAAAAAAAAAAAAAAAAAAAAAA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6KdzZ9fGk9yatMsTgZLl3XVgFRAC6spj/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
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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iBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
------=_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--
+282 -435
View File
@@ -1,140 +1,4 @@
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+8pWu8IIXsAAAAAAAAAAAAAA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oGFawtjury9vru/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
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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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
AAAdAAANAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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lndWV0NnM7vAAAAABJRU5ErkJggg==
],
"parts": [
{
"headers_rfc": {
"subject": {
"Text": "Test message from Microsoft Outlook 00"
},
"from": {
"Address": {
"name": "Doug Sauder",
"address": "doug@example.com"
}
},
"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"
},
"content_type": {
"ContentType": {
"c_type": "multipart",
"c_subtype": "mixed",
"attributes": {
"boundary": "----=_NextPart_000_0002_01BFC036.AE309650"
}
}
}
},
"headers_raw": [
[
{
"headers": [
{
"name": {
"Rfc": "from"
},
{
"start": 5,
"end": 40
}
],
[
{
"value": {
"Address": {
"name": "Doug Sauder",
"address": "doug@example.com"
}
},
"offset_start": 5,
"offset_end": 40
},
{
"name": {
"Rfc": "to"
},
{
"start": 43,
"end": 99
}
],
[
{
"value": {
"Address": {
"name": "Heinz Müller",
"address": "mueller@example.com"
}
},
"offset_start": 43,
"offset_end": 99
},
{
"name": {
"Rfc": "subject"
},
{
"start": 107,
"end": 148
}
],
[
{
"value": {
"Text": "Test message from Microsoft Outlook 00"
},
"offset_start": 107,
"offset_end": 148
},
{
"name": {
"Rfc": "date"
},
{
"start": 153,
"end": 187
}
],
[
{
"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"
},
{
"start": 198,
"end": 248
}
],
[
{
"value": {
"Text": "NDBBIAKOPKHFGPLCODIGGEKECHAA.doug@example.com"
},
"offset_start": 198,
"offset_end": 248
},
{
"name": {
"Rfc": "mime_version"
},
{
"start": 261,
"end": 267
}
],
[
{
"value": {
"Text": "1.0"
},
"offset_start": 261,
"offset_end": 267
},
{
"name": {
"Rfc": "content_type"
},
{
"start": 280,
"end": 354
}
],
[
{
"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"
},
{
"start": 365,
"end": 378
}
],
[
{
"value": {
"Text": " 3 (Normal)\r\n"
},
"offset_start": 365,
"offset_end": 378
},
{
"name": {
"Other": "X-MSMail-Priority"
},
{
"start": 396,
"end": 405
}
],
[
{
"value": {
"Text": " Normal\r\n"
},
"offset_start": 396,
"offset_end": 405
},
{
"name": {
"Other": "X-Mailer"
},
{
"start": 414,
"end": 467
}
],
[
{
"value": {
"Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n"
},
"offset_start": 414,
"offset_end": 467
},
{
"name": {
"Other": "Importance"
},
{
"start": 478,
"end": 487
}
],
[
{
"value": {
"Text": " Normal\r\n"
},
"offset_start": 478,
"offset_end": 487
},
{
"name": {
"Other": "X-MimeOLE"
},
{
"start": 497,
"end": 545
}
]
"value": {
"Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n"
},
"offset_start": 497,
"offset_end": 545
}
],
"is_encoding_problem": false,
"body": {
@@ -317,39 +173,36 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
"offset_end": 7747
},
{
"headers_rfc": {
"content_transfer_encoding": {
"Text": "quoted-printable"
},
"content_type": {
"ContentType": {
"c_type": "text",
"c_subtype": "plain",
"attributes": {
"charset": "iso-8859-1"
}
}
}
},
"headers_raw": [
[
{
"headers": [
{
"name": {
"Rfc": "content_type"
},
{
"start": 653,
"end": 690
}
],
[
{
"value": {
"ContentType": {
"c_type": "text",
"c_subtype": "plain",
"attributes": [
[
"charset",
"iso-8859-1"
]
]
}
},
"offset_start": 653,
"offset_end": 690
},
{
"name": {
"Rfc": "content_transfer_encoding"
},
{
"start": 716,
"end": 735
}
]
"value": {
"Text": "quoted-printable"
},
"offset_start": 716,
"offset_end": 735
}
],
"is_encoding_problem": false,
"body": {
@@ -357,60 +210,58 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
},
"offset_header": 640,
"offset_body": 737,
"offset_end": 1538
"offset_end": 1536
},
{
"headers_rfc": {
"content_transfer_encoding": {
"Text": "base64"
},
"content_type": {
"ContentType": {
"c_type": "image",
"c_subtype": "png",
"attributes": {
"name": "blueball.png"
}
}
},
"content_disposition": {
"ContentType": {
"c_type": "attachment",
"c_subtype": null,
"attributes": {
"filename": "blueball.png"
}
}
}
},
"headers_raw": [
[
{
"headers": [
{
"name": {
"Rfc": "content_type"
},
{
"start": 1596,
"end": 1631
}
],
[
{
"value": {
"ContentType": {
"c_type": "image",
"c_subtype": "png",
"attributes": [
[
"name",
"blueball.png"
]
]
}
},
"offset_start": 1596,
"offset_end": 1631
},
{
"name": {
"Rfc": "content_transfer_encoding"
},
{
"start": 1657,
"end": 1666
}
],
[
{
"value": {
"Text": "base64"
},
"offset_start": 1657,
"offset_end": 1666
},
{
"name": {
"Rfc": "content_disposition"
},
{
"start": 1686,
"end": 1726
}
]
"value": {
"ContentType": {
"c_type": "attachment",
"c_subtype": null,
"attributes": [
[
"filename",
"blueball.png"
]
]
}
},
"offset_start": 1686,
"offset_end": 1726
}
],
"is_encoding_problem": false,
"body": {
@@ -1744,60 +1595,58 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
},
"offset_header": 1583,
"offset_body": 1728,
"offset_end": 3546
"offset_end": 3544
},
{
"headers_rfc": {
"content_transfer_encoding": {
"Text": "base64"
},
"content_type": {
"ContentType": {
"c_type": "image",
"c_subtype": "png",
"attributes": {
"name": "greenball.png"
}
}
},
"content_disposition": {
"ContentType": {
"c_type": "attachment",
"c_subtype": null,
"attributes": {
"filename": "greenball.png"
}
}
}
},
"headers_raw": [
[
{
"headers": [
{
"name": {
"Rfc": "content_type"
},
{
"start": 3604,
"end": 3640
}
],
[
{
"value": {
"ContentType": {
"c_type": "image",
"c_subtype": "png",
"attributes": [
[
"name",
"greenball.png"
]
]
}
},
"offset_start": 3604,
"offset_end": 3640
},
{
"name": {
"Rfc": "content_transfer_encoding"
},
{
"start": 3666,
"end": 3675
}
],
[
{
"value": {
"Text": "base64"
},
"offset_start": 3666,
"offset_end": 3675
},
{
"name": {
"Rfc": "content_disposition"
},
{
"start": 3695,
"end": 3736
}
]
"value": {
"ContentType": {
"c_type": "attachment",
"c_subtype": null,
"attributes": [
[
"filename",
"greenball.png"
]
]
}
},
"offset_start": 3695,
"offset_end": 3736
}
],
"is_encoding_problem": false,
"body": {
@@ -3104,60 +2953,58 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
},
"offset_header": 3591,
"offset_body": 3738,
"offset_end": 5518
"offset_end": 5516
},
{
"headers_rfc": {
"content_transfer_encoding": {
"Text": "base64"
},
"content_type": {
"ContentType": {
"c_type": "image",
"c_subtype": "png",
"attributes": {
"name": "redball.png"
}
}
},
"content_disposition": {
"ContentType": {
"c_type": "attachment",
"c_subtype": null,
"attributes": {
"filename": "redball.png"
}
}
}
},
"headers_raw": [
[
{
"headers": [
{
"name": {
"Rfc": "content_type"
},
{
"start": 5576,
"end": 5610
}
],
[
{
"value": {
"ContentType": {
"c_type": "image",
"c_subtype": "png",
"attributes": [
[
"name",
"redball.png"
]
]
}
},
"offset_start": 5576,
"offset_end": 5610
},
{
"name": {
"Rfc": "content_transfer_encoding"
},
{
"start": 5636,
"end": 5645
}
],
[
{
"value": {
"Text": "base64"
},
"offset_start": 5636,
"offset_end": 5645
},
{
"name": {
"Rfc": "content_disposition"
},
{
"start": 5665,
"end": 5704
}
]
"value": {
"ContentType": {
"c_type": "attachment",
"c_subtype": null,
"attributes": [
[
"filename",
"redball.png"
]
]
}
},
"offset_start": 5665,
"offset_end": 5704
}
],
"is_encoding_problem": false,
"body": {
@@ -4619,7 +4466,7 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
},
"offset_header": 5563,
"offset_body": 5706,
"offset_end": 7700
"offset_end": 7698
}
]
}
+36
View File
@@ -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."
+171
View File
@@ -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
}
]
}
-216
View File
@@ -1,216 +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 ----{
"html_body": [
0
],
"text_body": [
0
],
"attachments": [],
"parts": [
{
"headers_rfc": {
"subject": {
"Text": "Die Hasen und die Frösche"
},
"from": {
"Address": {
"name": "Doug Sauder",
"address": "dwsauder@example.com"
}
},
"to": {
"Address": {
"name": "Jürgen Schmürgen",
"address": "jschmuergen@example.com"
}
},
"date": {
"DateTime": {
"year": 2000,
"month": 5,
"day": 19,
"hour": 1,
"minute": 6,
"second": 18,
"tz_before_gmt": true,
"tz_hour": 4,
"tz_minute": 0
}
},
"message_id": {
"Text": "4.2.0.58.20000519010441.00a8d140@pop.example.com"
},
"mime_version": {
"Text": "1.0"
},
"content_transfer_encoding": {
"Text": "quoted-printable"
},
"content_type": {
"ContentType": {
"c_type": "text",
"c_subtype": "plain",
"attributes": {
"charset": "iso-8859-1",
"format": "flowed"
}
}
}
},
"headers_raw": [
[
{
"Rfc": "message_id"
},
{
"start": 11,
"end": 64
}
],
[
{
"Other": "X-Sender"
},
{
"start": 73,
"end": 113
}
],
[
{
"Other": "Disposition-Notification-To"
},
{
"start": 141,
"end": 166
}
],
[
{
"Other": "X-Mailer"
},
{
"start": 175,
"end": 223
}
],
[
{
"Other": "X-Priority"
},
{
"start": 234,
"end": 248
}
],
[
{
"Rfc": "date"
},
{
"start": 253,
"end": 287
}
],
[
{
"Rfc": "to"
},
{
"start": 290,
"end": 373
}
],
[
{
"Rfc": "from"
},
{
"start": 378,
"end": 415
}
],
[
{
"Rfc": "subject"
},
{
"start": 423,
"end": 468
}
],
[
{
"Rfc": "mime_version"
},
{
"start": 481,
"end": 487
}
],
[
{
"Rfc": "content_type"
},
{
"start": 500,
"end": 550
}
],
[
{
"Rfc": "content_transfer_encoding"
},
{
"start": 576,
"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
}
]
}
+21
View File
@@ -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."
+157
View File
@@ -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
}
]
}
-191
View File
@@ -1,191 +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 ----{
"html_body": [
0
],
"text_body": [
0
],
"attachments": [],
"parts": [
{
"headers_rfc": {
"subject": {
"Text": "Die Hasen und die Fr�sche"
},
"from": {
"Address": {
"name": "Doug Sauder",
"address": "dwsauder@example.com"
}
},
"to": {
"Address": {
"name": "Heinz M�ller",
"address": "mueller@example.com"
}
},
"date": {
"DateTime": {
"year": 2000,
"month": 5,
"day": 19,
"hour": 1,
"minute": 10,
"second": 27,
"tz_before_gmt": true,
"tz_hour": 4,
"tz_minute": 0
}
},
"message_id": {
"Text": "4.2.0.58.20000519010842.00a8c7f0@pop.example.com"
},
"mime_version": {
"Text": "1.0"
},
"content_transfer_encoding": {
"Text": "8bit"
},
"content_type": {
"ContentType": {
"c_type": "text",
"c_subtype": "plain",
"attributes": {
"charset": "iso-8859-1"
}
}
}
},
"headers_raw": [
[
{
"Rfc": "message_id"
},
{
"start": 11,
"end": 64
}
],
[
{
"Other": "X-Sender"
},
{
"start": 73,
"end": 113
}
],
[
{
"Other": "X-Mailer"
},
{
"start": 122,
"end": 170
}
],
[
{
"Other": "X-Priority"
},
{
"start": 181,
"end": 195
}
],
[
{
"Rfc": "date"
},
{
"start": 200,
"end": 234
}
],
[
{
"Rfc": "to"
},
{
"start": 237,
"end": 274
}
],
[
{
"Rfc": "from"
},
{
"start": 279,
"end": 316
}
],
[
{
"Rfc": "subject"
},
{
"start": 324,
"end": 352
}
],
[
{
"Rfc": "mime_version"
},
{
"start": 365,
"end": 371
}
],
[
{
"Rfc": "content_type"
},
{
"start": 384,
"end": 419
}
],
[
{
"Rfc": "content_transfer_encoding"
},
{
"start": 445,
"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
}
]
}
+29
View File
@@ -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
+147
View File
@@ -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
}
]
}
-190
View File
@@ -1,190 +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 ----{
"html_body": [
0
],
"text_body": [
0
],
"attachments": [],
"parts": [
{
"headers_rfc": {
"subject": {
"Text": "Die Hasen und die Frösche"
},
"from": {
"Address": {
"name": "Doug Sauder",
"address": "dwsauder@example.com"
}
},
"to": {
"Address": {
"name": "Jürgen Schmürgen",
"address": "jschmuergen@example.com"
}
},
"date": {
"DateTime": {
"year": 2000,
"month": 5,
"day": 19,
"hour": 0,
"minute": 17,
"second": 39,
"tz_before_gmt": true,
"tz_hour": 4,
"tz_minute": 0
}
},
"message_id": {
"Text": "4.2.0.58.20000519001217.00a85b60@pop.example.com"
},
"mime_version": {
"Text": "1.0"
},
"content_transfer_encoding": {
"Text": "quoted-printable"
},
"content_type": {
"ContentType": {
"c_type": "text",
"c_subtype": "plain",
"attributes": {
"charset": "iso-8859-1"
}
}
}
},
"headers_raw": [
[
{
"Rfc": "message_id"
},
{
"start": 11,
"end": 64
}
],
[
{
"Other": "X-Sender"
},
{
"start": 73,
"end": 113
}
],
[
{
"Other": "X-Mailer"
},
{
"start": 122,
"end": 170
}
],
[
{
"Rfc": "date"
},
{
"start": 175,
"end": 209
}
],
[
{
"Rfc": "to"
},
{
"start": 212,
"end": 299
}
],
[
{
"Rfc": "from"
},
{
"start": 304,
"end": 341
}
],
[
{
"Rfc": "subject"
},
{
"start": 349,
"end": 396
}
],
[
{
"Rfc": "mime_version"
},
{
"start": 409,
"end": 415
}
],
[
{
"Rfc": "content_type"
},
{
"start": 428,
"end": 463
}
],
[
{
"Rfc": "content_transfer_encoding"
},
{
"start": 489,
"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
}
]
}
+30
View File
@@ -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
+177
View File
@@ -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
}
]
}
-218
View File
@@ -1,218 +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 ----{
"html_body": [
0
],
"text_body": [
0
],
"attachments": [],
"parts": [
{
"headers_rfc": {
"subject": {
"Text": "Die Hasen und die Frösche (Microsoft Outlook 00)"
},
"from": {
"Address": {
"name": "Doug Sauder",
"address": "doug@example.com"
}
},
"to": {
"Address": {
"name": "Heinz Müller",
"address": "mueller@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
}
},
"message_id": {
"Text": "NDBBIAKOPKHFGPLCODIGCEKECHAA.doug@example.com"
},
"mime_version": {
"Text": "1.0"
},
"content_transfer_encoding": {
"Text": "quoted-printable"
},
"content_type": {
"ContentType": {
"c_type": "text",
"c_subtype": "plain",
"attributes": {
"charset": "Windows-1252"
}
}
}
},
"headers_raw": [
[
{
"Rfc": "from"
},
{
"start": 5,
"end": 40
}
],
[
{
"Rfc": "to"
},
{
"start": 43,
"end": 101
}
],
[
{
"Rfc": "subject"
},
{
"start": 109,
"end": 185
}
],
[
{
"Rfc": "date"
},
{
"start": 190,
"end": 224
}
],
[
{
"Rfc": "message_id"
},
{
"start": 235,
"end": 285
}
],
[
{
"Rfc": "mime_version"
},
{
"start": 298,
"end": 304
}
],
[
{
"Rfc": "content_type"
},
{
"start": 317,
"end": 356
}
],
[
{
"Rfc": "content_transfer_encoding"
},
{
"start": 382,
"end": 401
}
],
[
{
"Other": "X-Priority"
},
{
"start": 412,
"end": 425
}
],
[
{
"Other": "X-MSMail-Priority"
},
{
"start": 443,
"end": 452
}
],
[
{
"Other": "X-Mailer"
},
{
"start": 461,
"end": 514
}
],
[
{
"Other": "Importance"
},
{
"start": 525,
"end": 534
}
],
[
{
"Other": "X-MimeOLE"
},
{
"start": 544,
"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
}
]
}
+31
View File
@@ -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."
+177
View File
@@ -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
}
]
}
-219
View File
@@ -1,219 +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 ----{
"html_body": [
0
],
"text_body": [
0
],
"attachments": [],
"parts": [
{
"headers_rfc": {
"subject": {
"Text": "Die Hasen und die Frösche (Microsoft Outlook 00)"
},
"from": {
"Address": {
"name": "Doug Sauder",
"address": "doug@example.com"
}
},
"to": {
"Address": {
"name": "Jürgen Schmürgen",
"address": "schmuergen@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
}
},
"message_id": {
"Text": "NDBBIAKOPKHFGPLCODIGEEKCCHAA.doug@example.com"
},
"mime_version": {
"Text": "1.0"
},
"content_transfer_encoding": {
"Text": "8bit"
},
"content_type": {
"ContentType": {
"c_type": "text",
"c_subtype": "plain",
"attributes": {
"charset": "iso-8859-1"
}
}
}
},
"headers_raw": [
[
{
"Rfc": "from"
},
{
"start": 5,
"end": 40
}
],
[
{
"Rfc": "to"
},
{
"start": 43,
"end": 112
}
],
[
{
"Rfc": "subject"
},
{
"start": 120,
"end": 194
}
],
[
{
"Rfc": "date"
},
{
"start": 199,
"end": 233
}
],
[
{
"Rfc": "message_id"
},
{
"start": 244,
"end": 294
}
],
[
{
"Rfc": "mime_version"
},
{
"start": 307,
"end": 313
}
],
[
{
"Rfc": "content_type"
},
{
"start": 326,
"end": 363
}
],
[
{
"Rfc": "content_transfer_encoding"
},
{
"start": 389,
"end": 396
}
],
[
{
"Other": "X-Priority"
},
{
"start": 407,
"end": 420
}
],
[
{
"Other": "X-MSMail-Priority"
},
{
"start": 438,
"end": 447
}
],
[
{
"Other": "X-Mailer"
},
{
"start": 456,
"end": 509
}
],
[
{
"Other": "Importance"
},
{
"start": 520,
"end": 529
}
],
[
{
"Other": "X-MimeOLE"
},
{
"start": 539,
"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
}
]
}
+72
View File
@@ -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>&nbsp;<BR>A HARE=20
one day ridiculed the short feet and slow pace of the Tortoise, who =
replied,=20
laughing:&nbsp; "Though you be swift as the wind, I will beat you in a=20
race."&nbsp; 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.&nbsp; On the day appointed for the race the two started=20
together.&nbsp; The Tortoise never for a moment stopped, but went on =
with a slow=20
but steady pace straight to the end of the course.&nbsp; The Hare, lying =
down by=20
the wayside, fell fast asleep.&nbsp; 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.&nbsp; <BR>&nbsp;<BR>Slow but steady wins the =
race.&nbsp;=20
<BR></FONT></DIV></BODY></HTML>
------=_NextPart_000_0005_01BFC037.799BEF60--
+250
View File
@@ -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>&nbsp;<BR>A HARE \none day ridiculed the short feet and slow pace of the Tortoise, who replied, \nlaughing:&nbsp; \"Though you be swift as the wind, I will beat you in a \nrace.\"&nbsp; 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.&nbsp; On the day appointed for the race the two started \ntogether.&nbsp; The Tortoise never for a moment stopped, but went on with a slow \nbut steady pace straight to the end of the course.&nbsp; The Hare, lying down by \nthe wayside, fell fast asleep.&nbsp; 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.&nbsp; <BR>&nbsp;<BR>Slow but steady wins the race.&nbsp; \n<BR></FONT></DIV></BODY></HTML>\n"
},
"offset_header": 1568,
"offset_body": 1664,
"offset_end": 2854
}
]
}
-337
View File
@@ -1,337 +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>&nbsp;<BR>A HARE=20
one day ridiculed the short feet and slow pace of the Tortoise, who =
replied,=20
laughing:&nbsp; "Though you be swift as the wind, I will beat you in a=20
race."&nbsp; 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.&nbsp; On the day appointed for the race the two started=20
together.&nbsp; The Tortoise never for a moment stopped, but went on =
with a slow=20
but steady pace straight to the end of the course.&nbsp; The Hare, lying =
down by=20
the wayside, fell fast asleep.&nbsp; 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.&nbsp; <BR>&nbsp;<BR>Slow but steady wins the =
race.&nbsp;=20
<BR></FONT></DIV></BODY></HTML>
------=_NextPart_000_0005_01BFC037.799BEF60--
---- EXPECTED STRUCTURE ----{
"html_body": [
2
],
"text_body": [
1
],
"attachments": [],
"parts": [
{
"headers_rfc": {
"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"
}
},
"date": {
"DateTime": {
"year": 2000,
"month": 5,
"day": 17,
"hour": 19,
"minute": 38,
"second": 28,
"tz_before_gmt": true,
"tz_hour": 4,
"tz_minute": 0
}
},
"message_id": {
"Text": "NDBBIAKOPKHFGPLCODIGCEKFCHAA.doug@example.com"
},
"mime_version": {
"Text": "1.0"
},
"content_type": {
"ContentType": {
"c_type": "multipart",
"c_subtype": "alternative",
"attributes": {
"boundary": "----=_NextPart_000_0005_01BFC037.799BEF60"
}
}
}
},
"headers_raw": [
[
{
"Rfc": "from"
},
{
"start": 5,
"end": 40
}
],
[
{
"Rfc": "to"
},
{
"start": 43,
"end": 76
}
],
[
{
"Rfc": "subject"
},
{
"start": 84,
"end": 125
}
],
[
{
"Rfc": "date"
},
{
"start": 130,
"end": 164
}
],
[
{
"Rfc": "message_id"
},
{
"start": 175,
"end": 225
}
],
[
{
"Rfc": "mime_version"
},
{
"start": 238,
"end": 244
}
],
[
{
"Rfc": "content_type"
},
{
"start": 257,
"end": 337
}
],
[
{
"Other": "X-Priority"
},
{
"start": 348,
"end": 361
}
],
[
{
"Other": "X-MSMail-Priority"
},
{
"start": 379,
"end": 388
}
],
[
{
"Other": "X-Mailer"
},
{
"start": 397,
"end": 450
}
],
[
{
"Other": "Importance"
},
{
"start": 461,
"end": 470
}
],
[
{
"Other": "X-MimeOLE"
},
{
"start": 480,
"end": 528
}
]
],
"is_encoding_problem": false,
"body": {
"Multipart": [
1,
2
]
},
"offset_header": 0,
"offset_body": 530,
"offset_end": 2903
},
{
"headers_rfc": {
"content_transfer_encoding": {
"Text": "quoted-printable"
},
"content_type": {
"ContentType": {
"c_type": "text",
"c_subtype": "plain",
"attributes": {
"charset": "iso-8859-1"
}
}
}
},
"headers_raw": [
[
{
"Rfc": "content_type"
},
{
"start": 636,
"end": 673
}
],
[
{
"Rfc": "content_transfer_encoding"
},
{
"start": 699,
"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": 1523
},
{
"headers_rfc": {
"content_transfer_encoding": {
"Text": "quoted-printable"
},
"content_type": {
"ContentType": {
"c_type": "text",
"c_subtype": "html",
"attributes": {
"charset": "iso-8859-1"
}
}
}
},
"headers_raw": [
[
{
"Rfc": "content_type"
},
{
"start": 1581,
"end": 1617
}
],
[
{
"Rfc": "content_transfer_encoding"
},
{
"start": 1643,
"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>&nbsp;<BR>A HARE \none day ridiculed the short feet and slow pace of the Tortoise, who replied, \nlaughing:&nbsp; \"Though you be swift as the wind, I will beat you in a \nrace.\"&nbsp; 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.&nbsp; On the day appointed for the race the two started \ntogether.&nbsp; The Tortoise never for a moment stopped, but went on with a slow \nbut steady pace straight to the end of the course.&nbsp; The Hare, lying down by \nthe wayside, fell fast asleep.&nbsp; 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.&nbsp; <BR>&nbsp;<BR>Slow but steady wins the race.&nbsp; \n<BR></FONT></DIV></BODY></HTML>\n"
},
"offset_header": 1568,
"offset_body": 1664,
"offset_end": 2856
}
]
}
+198
View File
@@ -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; &quot;wir leben&quot;, sprach ein Redner, &quot;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.&quot; <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>
&quot;Halt&quot;, rief nun eben dieser Sprecher, &quot;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.&quot; <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
CCkAEEIAEEoACDEAEFIIIXMIKXsIKYQIIWsAGFoACDkIIWMQOZwYQqUYQq0YQr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ddJtV5swGAbgEk6AJhBSk4bMCUynBSLaqovbrG/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
AAAAAAAAAAAAAAAAAAA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UIlZrL/W86XJkyJVG9Ea
EjIx2XyZmZJGioeUaL+2AY8TY8omR6nkLKhu70zjUKVJXsp3quS2DVSJWNh3zzJKCyexI0ZxBP3a
fE0ElyqOlZJyw8r3BE2SFiJCyxA434SCkg65RhdeQBljQtCg39LWrA90RDDG1EWrYUO23hMANUKR
Rl61E529cR++D2G5LK002dr/qrcfu9u0V3bxn/XdhR/NYeeN0ggsLAAAACV0RVh0Q29tbWVudABj
bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
--=====================_715392540==_--
File diff suppressed because it is too large Load Diff
+95
View File
@@ -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!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!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TEQPRC5"8D@9bC5`
JGf9XBfKP)'&XFfmJGfpSE#"ZEf0S)(9ZCfcmBfYXD@0SCA)JFf9TEL"Yr(0cC@i
JB@ac)(GTFLiL)!d09'8!!!:
--=====================_716373961==_--
+199 -309
View File
@@ -1,100 +1,4 @@
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#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!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!`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)RG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"parts": [
{
"headers_rfc": {
"subject": {
"Text": "Die Hasen und die Frösche"
},
"from": {
"Address": {
"name": "Doug Sauder",
"address": "dwsauder@example.com"
}
},
"to": {
"Address": {
"name": "Jürgen Schmürgen",
"address": "jschmuergen@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
}
},
"message_id": {
"Text": "4.2.0.58.20000519005150.00a85230@pop.example.com"
},
"mime_version": {
"Text": "1.0"
},
"content_type": {
"ContentType": {
"c_type": "multipart",
"c_subtype": "mixed",
"attributes": {
"boundary": "=====================_716373961==_"
}
}
}
},
"headers_raw": [
[
{
"headers": [
{
"name": {
"Rfc": "message_id"
},
{
"start": 11,
"end": 64
}
],
[
{
"value": {
"Text": "4.2.0.58.20000519005150.00a85230@pop.example.com"
},
"offset_start": 11,
"offset_end": 64
},
{
"name": {
"Other": "X-Sender"
},
{
"start": 73,
"end": 113
}
],
[
{
"value": {
"Text": " dwsauder@pop.example.com (Unverified)\r\n"
},
"offset_start": 73,
"offset_end": 113
},
{
"name": {
"Other": "X-Mailer"
},
{
"start": 122,
"end": 170
}
],
[
{
"value": {
"Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n"
},
"offset_start": 122,
"offset_end": 170
},
{
"name": {
"Rfc": "date"
},
{
"start": 175,
"end": 209
}
],
[
{
"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"
},
{
"start": 212,
"end": 295
}
],
[
{
"value": {
"Address": {
"name": "Jürgen Schmürgen",
"address": "jschmuergen@example.com"
}
},
"offset_start": 212,
"offset_end": 295
},
{
"name": {
"Rfc": "from"
},
{
"start": 300,
"end": 337
}
],
[
{
"value": {
"Address": {
"name": "Doug Sauder",
"address": "dwsauder@example.com"
}
},
"offset_start": 300,
"offset_end": 337
},
{
"name": {
"Rfc": "subject"
},
{
"start": 345,
"end": 390
}
],
[
{
"value": {
"Text": "Die Hasen und die Frösche"
},
"offset_start": 345,
"offset_end": 390
},
{
"name": {
"Rfc": "mime_version"
},
{
"start": 403,
"end": 409
}
],
[
{
"value": {
"Text": "1.0"
},
"offset_start": 403,
"offset_end": 409
},
{
"name": {
"Rfc": "content_type"
},
{
"start": 422,
"end": 489
}
]
"value": {
"ContentType": {
"c_type": "multipart",
"c_subtype": "mixed",
"attributes": [
[
"boundary",
"=====================_716373961==_"
]
]
}
},
"offset_start": 422,
"offset_end": 489
}
],
"is_encoding_problem": false,
"body": {
@@ -245,42 +138,39 @@ JB@ac)(GTFLiL)!d09'8!!!:
},
"offset_header": 0,
"offset_body": 491,
"offset_end": 4871
"offset_end": 4873
},
{
"headers_rfc": {
"content_transfer_encoding": {
"Text": "quoted-printable"
},
"content_type": {
"ContentType": {
"c_type": "text",
"c_subtype": "plain",
"attributes": {
"charset": "iso-8859-1"
}
}
}
},
"headers_raw": [
[
{
"headers": [
{
"name": {
"Rfc": "content_type"
},
{
"start": 542,
"end": 577
}
],
[
{
"value": {
"ContentType": {
"c_type": "text",
"c_subtype": "plain",
"attributes": [
[
"charset",
"iso-8859-1"
]
]
}
},
"offset_start": 542,
"offset_end": 577
},
{
"name": {
"Rfc": "content_transfer_encoding"
},
{
"start": 603,
"end": 622
}
]
"value": {
"Text": "quoted-printable"
},
"offset_start": 603,
"offset_end": 622
}
],
"is_encoding_problem": false,
"body": {
@@ -288,48 +178,48 @@ JB@ac)(GTFLiL)!d09'8!!!:
},
"offset_header": 529,
"offset_body": 624,
"offset_end": 1435
"offset_end": 1433
},
{
"headers_rfc": {
"content_type": {
"ContentType": {
"c_type": "application",
"c_subtype": "mac-binhex40",
"attributes": {
"name": "blueball.png"
}
}
},
"content_disposition": {
"ContentType": {
"c_type": "attachment",
"c_subtype": null,
"attributes": {
"filename": "blueball.png"
}
}
}
},
"headers_raw": [
[
{
"headers": [
{
"name": {
"Rfc": "content_type"
},
{
"start": 1486,
"end": 1534
}
],
[
{
"value": {
"ContentType": {
"c_type": "application",
"c_subtype": "mac-binhex40",
"attributes": [
[
"name",
"blueball.png"
]
]
}
},
"offset_start": 1486,
"offset_end": 1534
},
{
"name": {
"Rfc": "content_disposition"
},
{
"start": 1554,
"end": 1592
}
]
"value": {
"ContentType": {
"c_type": "attachment",
"c_subtype": null,
"attributes": [
[
"filename",
"blueball.png"
]
]
}
},
"offset_start": 1554,
"offset_end": 1592
}
],
"is_encoding_problem": false,
"body": {
@@ -2267,48 +2157,48 @@ JB@ac)(GTFLiL)!d09'8!!!:
},
"offset_header": 1473,
"offset_body": 1594,
"offset_end": 3525
"offset_end": 3523
},
{
"headers_rfc": {
"content_type": {
"ContentType": {
"c_type": "application",
"c_subtype": "mac-binhex40",
"attributes": {
"name": "HasenundFr�sche.txt"
}
}
},
"content_disposition": {
"ContentType": {
"c_type": "attachment",
"c_subtype": null,
"attributes": {
"filename": "HasenundFr�sche.txt"
}
}
}
},
"headers_raw": [
[
{
"headers": [
{
"name": {
"Rfc": "content_type"
},
{
"start": 3576,
"end": 3631
}
],
[
{
"value": {
"ContentType": {
"c_type": "application",
"c_subtype": "mac-binhex40",
"attributes": [
[
"name",
"HasenundFr�sche.txt"
]
]
}
},
"offset_start": 3576,
"offset_end": 3631
},
{
"name": {
"Rfc": "content_disposition"
},
{
"start": 3651,
"end": 3696
}
]
"value": {
"ContentType": {
"c_type": "attachment",
"c_subtype": null,
"attributes": [
[
"filename",
"HasenundFr�sche.txt"
]
]
}
},
"offset_start": 3651,
"offset_end": 3696
}
],
"is_encoding_problem": false,
"body": {
@@ -3448,7 +3338,7 @@ JB@ac)(GTFLiL)!d09'8!!!:
},
"offset_header": 3563,
"offset_body": 3698,
"offset_end": 4831
"offset_end": 4829
}
]
}
+102
View File
@@ -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==_--
+207 -326
View File
@@ -1,107 +1,4 @@
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 ----{
{
"html_body": [
1
],
@@ -114,133 +11,122 @@ end
],
"parts": [
{
"headers_rfc": {
"subject": {
"Text": "The Hare and the Tortoise"
},
"from": {
"Address": {
"name": "Doug Sauder",
"address": "dwsauder@example.com"
}
},
"to": {
"Address": {
"name": "J�rgen Schm�rgen",
"address": "jschmuergen@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
}
},
"message_id": {
"Text": "4.2.0.58.20000519004755.00a86100@pop.example.com"
},
"mime_version": {
"Text": "1.0"
},
"content_type": {
"ContentType": {
"c_type": "multipart",
"c_subtype": "mixed",
"attributes": {
"boundary": "=====================_716177458==_"
}
}
}
},
"headers_raw": [
[
{
"headers": [
{
"name": {
"Rfc": "message_id"
},
{
"start": 11,
"end": 64
}
],
[
{
"value": {
"Text": "4.2.0.58.20000519004755.00a86100@pop.example.com"
},
"offset_start": 11,
"offset_end": 64
},
{
"name": {
"Other": "X-Sender"
},
{
"start": 73,
"end": 113
}
],
[
{
"value": {
"Text": " dwsauder@pop.example.com (Unverified)\r\n"
},
"offset_start": 73,
"offset_end": 113
},
{
"name": {
"Other": "X-Mailer"
},
{
"start": 122,
"end": 170
}
],
[
{
"value": {
"Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n"
},
"offset_start": 122,
"offset_end": 170
},
{
"name": {
"Rfc": "date"
},
{
"start": 175,
"end": 209
}
],
[
{
"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"
},
{
"start": 212,
"end": 257
}
],
[
{
"value": {
"Address": {
"name": "J�rgen Schm�rgen",
"address": "jschmuergen@example.com"
}
},
"offset_start": 212,
"offset_end": 257
},
{
"name": {
"Rfc": "from"
},
{
"start": 262,
"end": 299
}
],
[
{
"value": {
"Address": {
"name": "Doug Sauder",
"address": "dwsauder@example.com"
}
},
"offset_start": 262,
"offset_end": 299
},
{
"name": {
"Rfc": "subject"
},
{
"start": 307,
"end": 335
}
],
[
{
"value": {
"Text": "The Hare and the Tortoise"
},
"offset_start": 307,
"offset_end": 335
},
{
"name": {
"Rfc": "mime_version"
},
{
"start": 348,
"end": 354
}
],
[
{
"value": {
"Text": "1.0"
},
"offset_start": 348,
"offset_end": 354
},
{
"name": {
"Rfc": "content_type"
},
{
"start": 367,
"end": 434
}
]
"value": {
"ContentType": {
"c_type": "multipart",
"c_subtype": "mixed",
"attributes": [
[
"boundary",
"=====================_716177458==_"
]
]
}
},
"offset_start": 367,
"offset_end": 434
}
],
"is_encoding_problem": false,
"body": {
@@ -252,30 +138,29 @@ end
},
"offset_header": 0,
"offset_body": 436,
"offset_end": 5446
"offset_end": 5448
},
{
"headers_rfc": {
"content_type": {
"ContentType": {
"c_type": "text",
"c_subtype": "plain",
"attributes": {
"charset": "us-ascii"
}
}
}
},
"headers_raw": [
[
{
"headers": [
{
"name": {
"Rfc": "content_type"
},
{
"start": 487,
"end": 520
}
]
"value": {
"ContentType": {
"c_type": "text",
"c_subtype": "plain",
"attributes": [
[
"charset",
"us-ascii"
]
]
}
},
"offset_start": 487,
"offset_end": 520
}
],
"is_encoding_problem": false,
"body": {
@@ -283,60 +168,58 @@ end
},
"offset_header": 474,
"offset_body": 522,
"offset_end": 1288
"offset_end": 1286
},
{
"headers_rfc": {
"content_transfer_encoding": {
"Text": "x-uuencode"
},
"content_type": {
"ContentType": {
"c_type": "image",
"c_subtype": "png",
"attributes": {
"name": "greenball.png"
}
}
},
"content_disposition": {
"ContentType": {
"c_type": "attachment",
"c_subtype": null,
"attributes": {
"filename": "greenball.png"
}
}
}
},
"headers_raw": [
[
{
"headers": [
{
"name": {
"Rfc": "content_type"
},
{
"start": 1339,
"end": 1373
}
],
[
{
"value": {
"ContentType": {
"c_type": "image",
"c_subtype": "png",
"attributes": [
[
"name",
"greenball.png"
]
]
}
},
"offset_start": 1339,
"offset_end": 1373
},
{
"name": {
"Rfc": "content_transfer_encoding"
},
{
"start": 1399,
"end": 1412
}
],
[
{
"value": {
"Text": "x-uuencode"
},
"offset_start": 1399,
"offset_end": 1412
},
{
"name": {
"Rfc": "content_disposition"
},
{
"start": 1432,
"end": 1471
}
]
"value": {
"ContentType": {
"c_type": "attachment",
"c_subtype": null,
"attributes": [
[
"filename",
"greenball.png"
]
]
}
},
"offset_start": 1432,
"offset_end": 1471
}
],
"is_encoding_problem": false,
"body": {
@@ -2199,60 +2082,58 @@ end
},
"offset_header": 1326,
"offset_body": 1473,
"offset_end": 3329
"offset_end": 3327
},
{
"headers_rfc": {
"content_transfer_encoding": {
"Text": "x-uuencode"
},
"content_type": {
"ContentType": {
"c_type": "image",
"c_subtype": "png",
"attributes": {
"name": "blueball.png"
}
}
},
"content_disposition": {
"ContentType": {
"c_type": "attachment",
"c_subtype": null,
"attributes": {
"filename": "blueball.png"
}
}
}
},
"headers_raw": [
[
{
"headers": [
{
"name": {
"Rfc": "content_type"
},
{
"start": 3380,
"end": 3413
}
],
[
{
"value": {
"ContentType": {
"c_type": "image",
"c_subtype": "png",
"attributes": [
[
"name",
"blueball.png"
]
]
}
},
"offset_start": 3380,
"offset_end": 3413
},
{
"name": {
"Rfc": "content_transfer_encoding"
},
{
"start": 3439,
"end": 3452
}
],
[
{
"value": {
"Text": "x-uuencode"
},
"offset_start": 3439,
"offset_end": 3452
},
{
"name": {
"Rfc": "content_disposition"
},
{
"start": 3472,
"end": 3510
}
]
"value": {
"ContentType": {
"c_type": "attachment",
"c_subtype": null,
"attributes": [
[
"filename",
"blueball.png"
]
]
}
},
"offset_start": 3472,
"offset_end": 3510
}
],
"is_encoding_problem": false,
"body": {
@@ -4153,7 +4034,7 @@ end
},
"offset_header": 3367,
"offset_body": 3512,
"offset_end": 5406
"offset_end": 5404
}
]
}
+138
View File
@@ -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; &quot;wir leben&quot;, sprach ein Redner, &quot;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.&quot; <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>
&quot;Halt&quot;, rief nun eben dieser Sprecher, &quot;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.&quot; <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
AAAAAAAAAAAAAA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ThK/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
AABiAADpAADvAgLnAADYAADLAAC6AACwAABwAAATAAAkAABYAADIAADTAADNAACzAACDAABuAA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iClm///D0lfXHtJ6vLlK9w7rx7vQk5SQJbFtSms1y9evXid7QZacgOxmSxktNzd
tSwwU+J/VICaCPFIYU3XAJhIOtjf5sfyAAAAJXRFWHRDb21tZW50AGNsaXAyZ2lmIHYuMC42IGJ5
IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
--=====================_715157131==_.REL--
File diff suppressed because it is too large Load Diff
-3350
View File
File diff suppressed because it is too large Load Diff
+144
View File
@@ -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>&nbsp;<BR>A HARE=20
one day ridiculed the short feet and slow pace of the Tortoise, who =
replied,=20
laughing:&nbsp; "Though you be swift as the wind, I will beat you in a=20
race."&nbsp; 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.&nbsp; On the day appointed for the race the two started=20
together.&nbsp; The Tortoise never for a moment stopped, but went on =
with a slow=20
but steady pace straight to the end of the course.&nbsp; The Hare, lying =
down by=20
the wayside, fell fast asleep.&nbsp; 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.&nbsp; <BR>&nbsp;<BR>Slow but steady wins the =
race.&nbsp;=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
7xgp5wAp7wAx7wAIhAAQtQ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YRF59GeDastu7+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
AABiAADpAADvAgLnAADYAADLAAC6AACwAABwAAATAAA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4/9/joOyYed5
QzMvhGqnm2V0WiClm///D0lfXHtJ6vLlK9w7rx7vQk5SQJbFtSms1y9evXid7QZacgOxmSxktNzd
tSwwU+J/VICaCPFIYU3XAJhIOtjf5sfyAAAAJXRFWHRDb21tZW50AGNsaXAyZ2lmIHYuMC42IGJ5
IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
------=_NextPart_000_0008_01BFC037.FDD8EE90--
+283 -447
View File
@@ -1,149 +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: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>&nbsp;<BR>A HARE=20
one day ridiculed the short feet and slow pace of the Tortoise, who =
replied,=20
laughing:&nbsp; "Though you be swift as the wind, I will beat you in a=20
race."&nbsp; 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.&nbsp; On the day appointed for the race the two started=20
together.&nbsp; The Tortoise never for a moment stopped, but went on =
with a slow=20
but steady pace straight to the end of the course.&nbsp; The Hare, lying =
down by=20
the wayside, fell fast asleep.&nbsp; 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.&nbsp; <BR>&nbsp;<BR>Slow but steady wins the =
race.&nbsp;=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
7xgp5wAp7wAx7wAIhAAQtQAAA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59GeDastu7+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
AABiAADpAADvAgLnAADYAADLAAC6AACwAABwAAATAAAkAAB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/joOyYed5
QzMvhGqnm2V0WiClm///D0lfXHtJ6vLlK9w7rx7vQk5SQJbFtSms1y9evXid7QZacgOxmSxktNzd
tSwwU+J/VICaCPFIYU3XAJhIOtjf5sfyAAAAJXRFWHRDb21tZW50AGNsaXAyZ2lmIHYuMC42IGJ5
IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
------=_NextPart_000_0008_01BFC037.FDD8EE90--
---- EXPECTED STRUCTURE ----{
{
"html_body": [
3
],
@@ -156,160 +11,152 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
],
"parts": [
{
"headers_rfc": {
"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"
}
},
"date": {
"DateTime": {
"year": 2000,
"month": 5,
"day": 17,
"hour": 19,
"minute": 42,
"second": 10,
"tz_before_gmt": true,
"tz_hour": 4,
"tz_minute": 0
}
},
"message_id": {
"Text": "NDBBIAKOPKHFGPLCODIGGEKFCHAA.doug@example.com"
},
"mime_version": {
"Text": "1.0"
},
"content_type": {
"ContentType": {
"c_type": "multipart",
"c_subtype": "mixed",
"attributes": {
"boundary": "----=_NextPart_000_0008_01BFC037.FDD8EE90"
}
}
}
},
"headers_raw": [
[
{
"headers": [
{
"name": {
"Rfc": "from"
},
{
"start": 5,
"end": 40
}
],
[
{
"value": {
"Address": {
"name": "Doug Sauder",
"address": "doug@example.com"
}
},
"offset_start": 5,
"offset_end": 40
},
{
"name": {
"Rfc": "to"
},
{
"start": 43,
"end": 76
}
],
[
{
"value": {
"Address": {
"name": "Joe Blow",
"address": "jblow@example.com"
}
},
"offset_start": 43,
"offset_end": 76
},
{
"name": {
"Rfc": "subject"
},
{
"start": 84,
"end": 125
}
],
[
{
"value": {
"Text": "Test message from Microsoft Outlook 00"
},
"offset_start": 84,
"offset_end": 125
},
{
"name": {
"Rfc": "date"
},
{
"start": 130,
"end": 164
}
],
[
{
"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"
},
{
"start": 175,
"end": 225
}
],
[
{
"value": {
"Text": "NDBBIAKOPKHFGPLCODIGGEKFCHAA.doug@example.com"
},
"offset_start": 175,
"offset_end": 225
},
{
"name": {
"Rfc": "mime_version"
},
{
"start": 238,
"end": 244
}
],
[
{
"value": {
"Text": "1.0"
},
"offset_start": 238,
"offset_end": 244
},
{
"name": {
"Rfc": "content_type"
},
{
"start": 257,
"end": 331
}
],
[
{
"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"
},
{
"start": 342,
"end": 355
}
],
[
{
"value": {
"Text": " 3 (Normal)\r\n"
},
"offset_start": 342,
"offset_end": 355
},
{
"name": {
"Other": "X-MSMail-Priority"
},
{
"start": 373,
"end": 382
}
],
[
{
"value": {
"Text": " Normal\r\n"
},
"offset_start": 373,
"offset_end": 382
},
{
"name": {
"Other": "X-Mailer"
},
{
"start": 391,
"end": 444
}
],
[
{
"value": {
"Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n"
},
"offset_start": 391,
"offset_end": 444
},
{
"name": {
"Other": "Importance"
},
{
"start": 455,
"end": 464
}
],
[
{
"value": {
"Text": " Normal\r\n"
},
"offset_start": 455,
"offset_end": 464
},
{
"name": {
"Other": "X-MimeOLE"
},
{
"start": 474,
"end": 522
}
]
"value": {
"Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n"
},
"offset_start": 474,
"offset_end": 522
}
],
"is_encoding_problem": false,
"body": {
@@ -324,27 +171,26 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
"offset_end": 7242
},
{
"headers_rfc": {
"content_type": {
"ContentType": {
"c_type": "multipart",
"c_subtype": "alternative",
"attributes": {
"boundary": "----=_NextPart_001_0009_01BFC037.FDD8EE90"
}
}
}
},
"headers_raw": [
[
{
"headers": [
{
"name": {
"Rfc": "content_type"
},
{
"start": 630,
"end": 710
}
]
"value": {
"ContentType": {
"c_type": "multipart",
"c_subtype": "alternative",
"attributes": [
[
"boundary",
"----=_NextPart_001_0009_01BFC037.FDD8EE90"
]
]
}
},
"offset_start": 630,
"offset_end": 710
}
],
"is_encoding_problem": false,
"body": {
@@ -358,39 +204,36 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
"offset_end": 3039
},
{
"headers_rfc": {
"content_transfer_encoding": {
"Text": "quoted-printable"
},
"content_type": {
"ContentType": {
"c_type": "text",
"c_subtype": "plain",
"attributes": {
"charset": "iso-8859-1"
}
}
}
},
"headers_raw": [
[
{
"headers": [
{
"name": {
"Rfc": "content_type"
},
{
"start": 772,
"end": 809
}
],
[
{
"value": {
"ContentType": {
"c_type": "text",
"c_subtype": "plain",
"attributes": [
[
"charset",
"iso-8859-1"
]
]
}
},
"offset_start": 772,
"offset_end": 809
},
{
"name": {
"Rfc": "content_transfer_encoding"
},
{
"start": 835,
"end": 854
}
]
"value": {
"Text": "quoted-printable"
},
"offset_start": 835,
"offset_end": 854
}
],
"is_encoding_problem": false,
"body": {
@@ -398,42 +241,39 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
},
"offset_header": 759,
"offset_body": 856,
"offset_end": 1659
"offset_end": 1657
},
{
"headers_rfc": {
"content_transfer_encoding": {
"Text": "quoted-printable"
},
"content_type": {
"ContentType": {
"c_type": "text",
"c_subtype": "html",
"attributes": {
"charset": "iso-8859-1"
}
}
}
},
"headers_raw": [
[
{
"headers": [
{
"name": {
"Rfc": "content_type"
},
{
"start": 1717,
"end": 1753
}
],
[
{
"value": {
"ContentType": {
"c_type": "text",
"c_subtype": "html",
"attributes": [
[
"charset",
"iso-8859-1"
]
]
}
},
"offset_start": 1717,
"offset_end": 1753
},
{
"name": {
"Rfc": "content_transfer_encoding"
},
{
"start": 1779,
"end": 1798
}
]
"value": {
"Text": "quoted-printable"
},
"offset_start": 1779,
"offset_end": 1798
}
],
"is_encoding_problem": false,
"body": {
@@ -441,60 +281,58 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
},
"offset_header": 1704,
"offset_body": 1800,
"offset_end": 2992
"offset_end": 2990
},
{
"headers_rfc": {
"content_transfer_encoding": {
"Text": "base64"
},
"content_type": {
"ContentType": {
"c_type": "image",
"c_subtype": "png",
"attributes": {
"name": "greenball.png"
}
}
},
"content_disposition": {
"ContentType": {
"c_type": "attachment",
"c_subtype": null,
"attributes": {
"filename": "greenball.png"
}
}
}
},
"headers_raw": [
[
{
"headers": [
{
"name": {
"Rfc": "content_type"
},
{
"start": 3099,
"end": 3135
}
],
[
{
"value": {
"ContentType": {
"c_type": "image",
"c_subtype": "png",
"attributes": [
[
"name",
"greenball.png"
]
]
}
},
"offset_start": 3099,
"offset_end": 3135
},
{
"name": {
"Rfc": "content_transfer_encoding"
},
{
"start": 3161,
"end": 3170
}
],
[
{
"value": {
"Text": "base64"
},
"offset_start": 3161,
"offset_end": 3170
},
{
"name": {
"Rfc": "content_disposition"
},
{
"start": 3190,
"end": 3231
}
]
"value": {
"ContentType": {
"c_type": "attachment",
"c_subtype": null,
"attributes": [
[
"filename",
"greenball.png"
]
]
}
},
"offset_start": 3190,
"offset_end": 3231
}
],
"is_encoding_problem": false,
"body": {
@@ -1801,60 +1639,58 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
},
"offset_header": 3086,
"offset_body": 3233,
"offset_end": 5013
"offset_end": 5011
},
{
"headers_rfc": {
"content_transfer_encoding": {
"Text": "base64"
},
"content_type": {
"ContentType": {
"c_type": "image",
"c_subtype": "png",
"attributes": {
"name": "redball.png"
}
}
},
"content_disposition": {
"ContentType": {
"c_type": "attachment",
"c_subtype": null,
"attributes": {
"filename": "redball.png"
}
}
}
},
"headers_raw": [
[
{
"headers": [
{
"name": {
"Rfc": "content_type"
},
{
"start": 5071,
"end": 5105
}
],
[
{
"value": {
"ContentType": {
"c_type": "image",
"c_subtype": "png",
"attributes": [
[
"name",
"redball.png"
]
]
}
},
"offset_start": 5071,
"offset_end": 5105
},
{
"name": {
"Rfc": "content_transfer_encoding"
},
{
"start": 5131,
"end": 5140
}
],
[
{
"value": {
"Text": "base64"
},
"offset_start": 5131,
"offset_end": 5140
},
{
"name": {
"Rfc": "content_disposition"
},
{
"start": 5160,
"end": 5199
}
]
"value": {
"ContentType": {
"c_type": "attachment",
"c_subtype": null,
"attributes": [
[
"filename",
"redball.png"
]
]
}
},
"offset_start": 5160,
"offset_end": 5199
}
],
"is_encoding_problem": false,
"body": {
@@ -3316,7 +3152,7 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
},
"offset_header": 5058,
"offset_body": 5201,
"offset_end": 7195
"offset_end": 7193
}
]
}
+31
View File
@@ -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."
+177
View File
@@ -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
}
]
}
-219
View File
@@ -1,219 +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 ----{
"html_body": [
0
],
"text_body": [
0
],
"attachments": [],
"parts": [
{
"headers_rfc": {
"subject": {
"Text": "Die Hasen und die Fr�sche (Microsoft Outlook 00)"
},
"from": {
"Address": {
"name": "Doug Sauder",
"address": "doug@example.com"
}
},
"to": {
"Address": {
"name": "J�rgen Schm�rgen",
"address": "schmuergen@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
}
},
"message_id": {
"Text": "NDBBIAKOPKHFGPLCODIGIEKBCHAA.doug@example.com"
},
"mime_version": {
"Text": "1.0"
},
"content_transfer_encoding": {
"Text": "8bit"
},
"content_type": {
"ContentType": {
"c_type": "text",
"c_subtype": "plain",
"attributes": {
"charset": "iso-8859-1"
}
}
}
},
"headers_raw": [
[
{
"Rfc": "from"
},
{
"start": 5,
"end": 40
}
],
[
{
"Rfc": "to"
},
{
"start": 43,
"end": 89
}
],
[
{
"Rfc": "subject"
},
{
"start": 97,
"end": 148
}
],
[
{
"Rfc": "date"
},
{
"start": 153,
"end": 187
}
],
[
{
"Rfc": "message_id"
},
{
"start": 198,
"end": 248
}
],
[
{
"Rfc": "mime_version"
},
{
"start": 261,
"end": 267
}
],
[
{
"Rfc": "content_type"
},
{
"start": 280,
"end": 317
}
],
[
{
"Rfc": "content_transfer_encoding"
},
{
"start": 343,
"end": 350
}
],
[
{
"Other": "X-Priority"
},
{
"start": 361,
"end": 374
}
],
[
{
"Other": "X-MSMail-Priority"
},
{
"start": 392,
"end": 401
}
],
[
{
"Other": "X-Mailer"
},
{
"start": 410,
"end": 463
}
],
[
{
"Other": "Importance"
},
{
"start": 474,
"end": 483
}
],
[
{
"Other": "X-MimeOLE"
},
{
"start": 493,
"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
}
]
}
+188
View File
@@ -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>&nbsp;<BR>A HARE=20
one day ridiculed the short feet and slow pace of the Tortoise, who =
replied,=20
laughing:&nbsp; "Though you be swift as the wind, I will beat you in a=20
race."&nbsp; 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.&nbsp; On the day appointed for the race the two started=20
together.&nbsp; The Tortoise never for a moment stopped, but went on =
with a slow=20
but steady pace straight to the end of the course.&nbsp; The Hare, lying =
down by=20
the wayside, fell fast asleep.&nbsp; 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.&nbsp; <BR>&nbsp;<BR>Slow but steady wins the =
race.&nbsp;=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><BR>&nbsp;</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
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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JVtWVa3NdBSacL8+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
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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zIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
------=_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--
File diff suppressed because it is too large Load Diff
+30
View File
@@ -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==
+177
View File
@@ -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": 11,
"second": 50,
"tz_before_gmt": true,
"tz_hour": 4,
"tz_minute": 0
}
},
"offset_start": 153,
"offset_end": 187
},
{
"name": {
"Rfc": "message_id"
},
"value": {
"Text": "NDBBIAKOPKHFGPLCODIGAEKCCHAA.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": "base64"
},
"offset_start": 343,
"offset_end": 352
},
{
"name": {
"Other": "X-Priority"
},
"value": {
"Text": " 3 (Normal)\r\n"
},
"offset_start": 363,
"offset_end": 376
},
{
"name": {
"Other": "X-MSMail-Priority"
},
"value": {
"Text": " Normal\r\n"
},
"offset_start": 394,
"offset_end": 403
},
{
"name": {
"Other": "X-Mailer"
},
"value": {
"Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n"
},
"offset_start": 412,
"offset_end": 465
},
{
"name": {
"Other": "Importance"
},
"value": {
"Text": " Normal\r\n"
},
"offset_start": 476,
"offset_end": 485
},
{
"name": {
"Other": "X-MimeOLE"
},
"value": {
"Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n"
},
"offset_start": 495,
"offset_end": 543
}
],
"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"
},
"offset_header": 0,
"offset_body": 545,
"offset_end": 1571
}
]
}
-218
View File
@@ -1,218 +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: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: Norm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/GNrbGljaGVyIHNlaW4gbfxzc2VuIGFscyB3aXIu
IiANCg==
---- EXPECTED STRUCTURE ----{
"html_body": [
0
],
"text_body": [
0
],
"attachments": [],
"parts": [
{
"headers_rfc": {
"subject": {
"Text": "Die Hasen und die Fr�sche (Microsoft Outlook 00)"
},
"from": {
"Address": {
"name": "Doug Sauder",
"address": "doug@example.com"
}
},
"to": {
"Address": {
"name": "J�rgen Schm�rgen",
"address": "schmuergen@example.com"
}
},
"date": {
"DateTime": {
"year": 2000,
"month": 5,
"day": 17,
"hour": 19,
"minute": 11,
"second": 50,
"tz_before_gmt": true,
"tz_hour": 4,
"tz_minute": 0
}
},
"message_id": {
"Text": "NDBBIAKOPKHFGPLCODIGAEKCCHAA.doug@example.com"
},
"mime_version": {
"Text": "1.0"
},
"content_transfer_encoding": {
"Text": "base64"
},
"content_type": {
"ContentType": {
"c_type": "text",
"c_subtype": "plain",
"attributes": {
"charset": "iso-8859-1"
}
}
}
},
"headers_raw": [
[
{
"Rfc": "from"
},
{
"start": 5,
"end": 40
}
],
[
{
"Rfc": "to"
},
{
"start": 43,
"end": 89
}
],
[
{
"Rfc": "subject"
},
{
"start": 97,
"end": 148
}
],
[
{
"Rfc": "date"
},
{
"start": 153,
"end": 187
}
],
[
{
"Rfc": "message_id"
},
{
"start": 198,
"end": 248
}
],
[
{
"Rfc": "mime_version"
},
{
"start": 261,
"end": 267
}
],
[
{
"Rfc": "content_type"
},
{
"start": 280,
"end": 317
}
],
[
{
"Rfc": "content_transfer_encoding"
},
{
"start": 343,
"end": 352
}
],
[
{
"Other": "X-Priority"
},
{
"start": 363,
"end": 376
}
],
[
{
"Other": "X-MSMail-Priority"
},
{
"start": 394,
"end": 403
}
],
[
{
"Other": "X-Mailer"
},
{
"start": 412,
"end": 465
}
],
[
{
"Other": "Importance"
},
{
"start": 476,
"end": 485
}
],
[
{
"Other": "X-MimeOLE"
},
{
"start": 495,
"end": 543
}
]
],
"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"
},
"offset_header": 0,
"offset_body": 545,
"offset_end": 1571
}
]
}
+108
View File
@@ -0,0 +1,108 @@
Message-Id: <4.2.0.58.20000519005505.00a853a0@pop.example.com>
X-Sender: dwsauder@pop.example.com (Unverified)
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58
Date: Fri, 19 May 2000 00:56:13 -0400
To: =?iso-8859-1?Q?Jürgen?= =?iso-8859-1?Q?_Schmürgen?=
<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="=====================_716541962==_"
--=====================_716541962==_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Die Hasen und die Fr=F6sche
Die Hasen klagten einst =FCber ihre mi=DFliche Lage; "wir leben", sprach ein=
Redner, "in steter Furcht vor Menschen und Tieren, eine Beute der Hunde,=
der Adler, ja fast aller Raubtiere! Unsere stete Angst ist =E4rger als der=
Tod selbst. Auf, la=DFt uns ein f=FCr allemal sterben."=20
In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu;=
allein das au=DFerordentliche Get=F6se und ihre wunderbare Gestalt=
erschreckte eine Menge Fr=F6sche, die am Ufer sa=DFen, so sehr, da=DF sie=
aufs schnellste untertauchten.=20
"Halt", rief nun eben dieser Sprecher, "wir wollen das Ers=E4ufen noch ein=
wenig aufschieben, denn auch uns f=FCrchten, wie ihr seht, einige Tiere,=
welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."=20
--=====================_716541962==_
Content-Type: image/png; name="blueball.png"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="blueball.png"
iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAgAABAAABgAAAAA
CCkAEEIAEEoACDEAEFIIIXMIKXsIKYQIIWsAGFoACDkIIWMQOZwYQqUYQq0YQrUQOaUQMZQAGFIQ
MYwpUrU5Y8Y5Y84pWs4YSs4YQs4YQr1Ca8Z7nNacvd6Mtd5jlOcxa94hUt4YStYYQsYQMaUAACHO
5+/n7++cxu9ShO8pWucQOa1Ke86tzt6lzu9ajO8QMZxahNat1ufO7++Mve9Ke+8YOaUYSsaMvee1
5++Uve8AAClajOdzpe9rnO8IKYwxY+8pWu8IIXsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAADBMg1VAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAu
MT1evmgAAAGISURBVHicddJtV5swGAbgEk6AJhBSk4bMCUynBSLaqovbrG/bfPn/vyh70lbssceb
L5xznTsh5BmNhgQoRChwo50EOIohUYLDj4zHhKYQkrEoQdvock4ne0IKMVUpKZLQDeqSTIsv+18P
yqqWUw2IBsRM7307PPp+fDJrWtnpLDJvewYxnewfnvanZ+fzpmwXijC8KbqEa3Fx2ff91Y95U9XC
UpaDeQwiMpHXP/v+1++bWVPWQoGFawtjury9vru/f/C1Vi7ezT0WWpQHf/7+u/G71aLThK/MjRxm
T6KdzZ9fGk9yatMsTgZLl3XVgFRAC6spj/13enssqJVtWVa3NdBSacL8+VZmYqKmdd1CSYoOiMOS
GwtzlqqlFFIuOqv0a1ZEZrUkWICLLFW266y1KvWE1zV/iDAH1EopnVLCiygZCIomH3NCKX0lnI+B
1iuuzCGTxwXjnDO4d7NpbX42YJJHkBwmAm2TxwAZg40J3+Xtbv1rgOAZwG0NxW62p+lT+Yi747sD
/wEUVMzYmWkOvwAAACV0RVh0Q29tbWVudABjbGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZz
O7wAAAAASUVORK5CYII=
--=====================_716541962==_
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: attachment; filename="farmerandstork.txt"
The Farmer and the Stork
A FARMER placed nets on his newly-sown plowlands and caught a
number of Cranes, which came to pick up his seed. With them he
trapped a Stork that had fractured his leg in the net and was
earnestly beseeching the Farmer to spare his life. "Pray save
me, Master," he said, "and let me go free this once. My broken
limb should excite your pity. Besides, I am no Crane, I am a
Stork, a bird of excellent character; and see how I love and
slave for my father and mother. Look too, at my feathers--
they are not the least like those of a Crane." The Farmer
laughed aloud and said, "It may be all as you say, I only know
this: I have taken you with these robbers, the Cranes, and you
must die in their company."
Birds of a feather flock together.
--=====================_716541962==_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; filename="HasenundFrösche.txt"
Die Hasen und die Fr=F6sche
Die Hasen klagten einst =FCber ihre mi=DFliche Lage; "wir leben", sprach ein=
Redner, "in steter Furcht vor Menschen und Tieren, eine Beute der Hunde,=
der Adler, ja fast aller Raubtiere! Unsere stete Angst ist =E4rger als der=
Tod selbst. Auf, la=DFt uns ein f=FCr allemal sterben."=20
In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu;=
allein das au=DFerordentliche Get=F6se und ihre wunderbare Gestalt=
erschreckte eine Menge Fr=F6sche, die am Ufer sa=DFen, so sehr, da=DF sie=
aufs schnellste untertauchten.=20
"Halt", rief nun eben dieser Sprecher, "wir wollen das Ers=E4ufen noch ein=
wenig aufschieben, denn auch uns f=FCrchten, wie ihr seht, einige Tiere,=
welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."=20
--=====================_716541962==_--
+251 -378
View File
@@ -1,113 +1,4 @@
Message-Id: <4.2.0.58.20000519005505.00a853a0@pop.example.com>
X-Sender: dwsauder@pop.example.com (Unverified)
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58
Date: Fri, 19 May 2000 00:56:13 -0400
To: =?iso-8859-1?Q?Jürgen?= =?iso-8859-1?Q?_Schmürgen?=
<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="=====================_716541962==_"
--=====================_716541962==_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Die Hasen und die Fr=F6sche
Die Hasen klagten einst =FCber ihre mi=DFliche Lage; "wir leben", sprach ein=
Redner, "in steter Furcht vor Menschen und Tieren, eine Beute der Hunde,=
der Adler, ja fast aller Raubtiere! Unsere stete Angst ist =E4rger als der=
Tod selbst. Auf, la=DFt uns ein f=FCr allemal sterben."=20
In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu;=
allein das au=DFerordentliche Get=F6se und ihre wunderbare Gestalt=
erschreckte eine Menge Fr=F6sche, die am Ufer sa=DFen, so sehr, da=DF sie=
aufs schnellste untertauchten.=20
"Halt", rief nun eben dieser Sprecher, "wir wollen das Ers=E4ufen noch ein=
wenig aufschieben, denn auch uns f=FCrchten, wie ihr seht, einige Tiere,=
welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."=20
--=====================_716541962==_
Content-Type: image/png; name="blueball.png"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="blueball.png"
iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAgAABAAABgAAAAA
CCkAEEIAEEoACDEAEFIIIXMIKXsIKYQIIWsAGFoACDkIIWMQOZwYQqUYQq0YQrUQOaUQMZQAGFIQ
MYwpUrU5Y8Y5Y84pWs4YSs4YQs4YQr1Ca8Z7nNacvd6Mtd5jlOcxa94hUt4YStYYQsYQMaUAACHO
5+/n7++cxu9ShO8pWucQOa1Ke86tzt6lzu9ajO8QMZxahNat1ufO7++Mve9Ke+8YOaUYSsaMvee1
5++Uve8AAClajOdzpe9rnO8IKYwxY+8pWu8IIXsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAA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dd1CSYoOiMOS
GwtzlqqlFFIuOqv0a1ZEZrUkWICLLFW266y1KvWE1zV/iDAH1EopnVLCiygZCIomH3NCKX0lnI+B
1iuuzCGTxwXjnDO4d7NpbX42YJJHkBwmAm2TxwAZg40J3+Xtbv1rgOAZwG0NxW62p+lT+Yi747sD
/wEUVMzYmWkOvwAAACV0RVh0Q29tbWVudABjbGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZz
O7wAAAAASUVORK5CYII=
--=====================_716541962==_
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: attachment; filename="farmerandstork.txt"
The Farmer and the Stork
A FARMER placed nets on his newly-sown plowlands and caught a
number of Cranes, which came to pick up his seed. With them he
trapped a Stork that had fractured his leg in the net and was
earnestly beseeching the Farmer to spare his life. "Pray save
me, Master," he said, "and let me go free this once. My broken
limb should excite your pity. Besides, I am no Crane, I am a
Stork, a bird of excellent character; and see how I love and
slave for my father and mother. Look too, at my feathers--
they are not the least like those of a Crane." The Farmer
laughed aloud and said, "It may be all as you say, I only know
this: I have taken you with these robbers, the Cranes, and you
must die in their company."
Birds of a feather flock together.
--=====================_716541962==_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment; filename="HasenundFrösche.txt"
Die Hasen und die Fr=F6sche
Die Hasen klagten einst =FCber ihre mi=DFliche Lage; "wir leben", sprach ein=
Redner, "in steter Furcht vor Menschen und Tieren, eine Beute der Hunde,=
der Adler, ja fast aller Raubtiere! Unsere stete Angst ist =E4rger als der=
Tod selbst. Auf, la=DFt uns ein f=FCr allemal sterben."=20
In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu;=
allein das au=DFerordentliche Get=F6se und ihre wunderbare Gestalt=
erschreckte eine Menge Fr=F6sche, die am Ufer sa=DFen, so sehr, da=DF sie=
aufs schnellste untertauchten.=20
"Halt", rief nun eben dieser Sprecher, "wir wollen das Ers=E4ufen noch ein=
wenig aufschieben, denn auch uns f=FCrchten, wie ihr seht, einige Tiere,=
welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."=20
--=====================_716541962==_--
---- EXPECTED STRUCTURE ----{
{
"html_body": [
1
],
@@ -121,133 +12,122 @@ In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu;=
],
"parts": [
{
"headers_rfc": {
"subject": {
"Text": "Die Hasen und die Frösche"
},
"from": {
"Address": {
"name": "Doug Sauder",
"address": "dwsauder@example.com"
}
},
"to": {
"Address": {
"name": "Jürgen Schmürgen",
"address": "jschmuergen@example.com"
}
},
"date": {
"DateTime": {
"year": 2000,
"month": 5,
"day": 19,
"hour": 0,
"minute": 56,
"second": 13,
"tz_before_gmt": true,
"tz_hour": 4,
"tz_minute": 0
}
},
"message_id": {
"Text": "4.2.0.58.20000519005505.00a853a0@pop.example.com"
},
"mime_version": {
"Text": "1.0"
},
"content_type": {
"ContentType": {
"c_type": "multipart",
"c_subtype": "mixed",
"attributes": {
"boundary": "=====================_716541962==_"
}
}
}
},
"headers_raw": [
[
{
"headers": [
{
"name": {
"Rfc": "message_id"
},
{
"start": 11,
"end": 64
}
],
[
{
"value": {
"Text": "4.2.0.58.20000519005505.00a853a0@pop.example.com"
},
"offset_start": 11,
"offset_end": 64
},
{
"name": {
"Other": "X-Sender"
},
{
"start": 73,
"end": 113
}
],
[
{
"value": {
"Text": " dwsauder@pop.example.com (Unverified)\r\n"
},
"offset_start": 73,
"offset_end": 113
},
{
"name": {
"Other": "X-Mailer"
},
{
"start": 122,
"end": 170
}
],
[
{
"value": {
"Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n"
},
"offset_start": 122,
"offset_end": 170
},
{
"name": {
"Rfc": "date"
},
{
"start": 175,
"end": 209
}
],
[
{
"value": {
"DateTime": {
"year": 2000,
"month": 5,
"day": 19,
"hour": 0,
"minute": 56,
"second": 13,
"tz_before_gmt": true,
"tz_hour": 4,
"tz_minute": 0
}
},
"offset_start": 175,
"offset_end": 209
},
{
"name": {
"Rfc": "to"
},
{
"start": 212,
"end": 295
}
],
[
{
"value": {
"Address": {
"name": "Jürgen Schmürgen",
"address": "jschmuergen@example.com"
}
},
"offset_start": 212,
"offset_end": 295
},
{
"name": {
"Rfc": "from"
},
{
"start": 300,
"end": 337
}
],
[
{
"value": {
"Address": {
"name": "Doug Sauder",
"address": "dwsauder@example.com"
}
},
"offset_start": 300,
"offset_end": 337
},
{
"name": {
"Rfc": "subject"
},
{
"start": 345,
"end": 390
}
],
[
{
"value": {
"Text": "Die Hasen und die Frösche"
},
"offset_start": 345,
"offset_end": 390
},
{
"name": {
"Rfc": "mime_version"
},
{
"start": 403,
"end": 409
}
],
[
{
"value": {
"Text": "1.0"
},
"offset_start": 403,
"offset_end": 409
},
{
"name": {
"Rfc": "content_type"
},
{
"start": 422,
"end": 489
}
]
"value": {
"ContentType": {
"c_type": "multipart",
"c_subtype": "mixed",
"attributes": [
[
"boundary",
"=====================_716541962==_"
]
]
}
},
"offset_start": 422,
"offset_end": 489
}
],
"is_encoding_problem": false,
"body": {
@@ -260,42 +140,39 @@ In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu;=
},
"offset_header": 0,
"offset_body": 491,
"offset_end": 5435
"offset_end": 5437
},
{
"headers_rfc": {
"content_transfer_encoding": {
"Text": "quoted-printable"
},
"content_type": {
"ContentType": {
"c_type": "text",
"c_subtype": "plain",
"attributes": {
"charset": "iso-8859-1"
}
}
}
},
"headers_raw": [
[
{
"headers": [
{
"name": {
"Rfc": "content_type"
},
{
"start": 542,
"end": 577
}
],
[
{
"value": {
"ContentType": {
"c_type": "text",
"c_subtype": "plain",
"attributes": [
[
"charset",
"iso-8859-1"
]
]
}
},
"offset_start": 542,
"offset_end": 577
},
{
"name": {
"Rfc": "content_transfer_encoding"
},
{
"start": 603,
"end": 622
}
]
"value": {
"Text": "quoted-printable"
},
"offset_start": 603,
"offset_end": 622
}
],
"is_encoding_problem": false,
"body": {
@@ -303,60 +180,58 @@ In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu;=
},
"offset_header": 529,
"offset_body": 624,
"offset_end": 1435
"offset_end": 1433
},
{
"headers_rfc": {
"content_transfer_encoding": {
"Text": "base64"
},
"content_type": {
"ContentType": {
"c_type": "image",
"c_subtype": "png",
"attributes": {
"name": "blueball.png"
}
}
},
"content_disposition": {
"ContentType": {
"c_type": "attachment",
"c_subtype": null,
"attributes": {
"filename": "blueball.png"
}
}
}
},
"headers_raw": [
[
{
"headers": [
{
"name": {
"Rfc": "content_type"
},
{
"start": 1486,
"end": 1519
}
],
[
{
"value": {
"ContentType": {
"c_type": "image",
"c_subtype": "png",
"attributes": [
[
"name",
"blueball.png"
]
]
}
},
"offset_start": 1486,
"offset_end": 1519
},
{
"name": {
"Rfc": "content_transfer_encoding"
},
{
"start": 1545,
"end": 1554
}
],
[
{
"value": {
"Text": "base64"
},
"offset_start": 1545,
"offset_end": 1554
},
{
"name": {
"Rfc": "content_disposition"
},
{
"start": 1574,
"end": 1612
}
]
"value": {
"ContentType": {
"c_type": "attachment",
"c_subtype": null,
"attributes": [
[
"filename",
"blueball.png"
]
]
}
},
"offset_start": 1574,
"offset_end": 1612
}
],
"is_encoding_problem": false,
"body": {
@@ -1690,48 +1565,48 @@ In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu;=
},
"offset_header": 1473,
"offset_body": 1614,
"offset_end": 3430
"offset_end": 3428
},
{
"headers_rfc": {
"content_type": {
"ContentType": {
"c_type": "text",
"c_subtype": "plain",
"attributes": {
"charset": "us-ascii"
}
}
},
"content_disposition": {
"ContentType": {
"c_type": "attachment",
"c_subtype": null,
"attributes": {
"filename": "farmerandstork.txt"
}
}
}
},
"headers_raw": [
[
{
"headers": [
{
"name": {
"Rfc": "content_type"
},
{
"start": 3481,
"end": 3514
}
],
[
{
"value": {
"ContentType": {
"c_type": "text",
"c_subtype": "plain",
"attributes": [
[
"charset",
"us-ascii"
]
]
}
},
"offset_start": 3481,
"offset_end": 3514
},
{
"name": {
"Rfc": "content_disposition"
},
{
"start": 3534,
"end": 3578
}
]
"value": {
"ContentType": {
"c_type": "attachment",
"c_subtype": null,
"attributes": [
[
"filename",
"farmerandstork.txt"
]
]
}
},
"offset_start": 3534,
"offset_end": 3578
}
],
"is_encoding_problem": false,
"body": {
@@ -1739,60 +1614,58 @@ In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu;=
},
"offset_header": 3468,
"offset_body": 3580,
"offset_end": 4386
"offset_end": 4384
},
{
"headers_rfc": {
"content_transfer_encoding": {
"Text": "quoted-printable"
},
"content_type": {
"ContentType": {
"c_type": "text",
"c_subtype": "plain",
"attributes": {
"charset": "iso-8859-1"
}
}
},
"content_disposition": {
"ContentType": {
"c_type": "attachment",
"c_subtype": null,
"attributes": {
"filename": "HasenundFr�sche.txt"
}
}
}
},
"headers_raw": [
[
{
"headers": [
{
"name": {
"Rfc": "content_type"
},
{
"start": 4437,
"end": 4472
}
],
[
{
"value": {
"ContentType": {
"c_type": "text",
"c_subtype": "plain",
"attributes": [
[
"charset",
"iso-8859-1"
]
]
}
},
"offset_start": 4437,
"offset_end": 4472
},
{
"name": {
"Rfc": "content_transfer_encoding"
},
{
"start": 4498,
"end": 4517
}
],
[
{
"value": {
"Text": "quoted-printable"
},
"offset_start": 4498,
"offset_end": 4517
},
{
"name": {
"Rfc": "content_disposition"
},
{
"start": 4537,
"end": 4582
}
]
"value": {
"ContentType": {
"c_type": "attachment",
"c_subtype": null,
"attributes": [
[
"filename",
"HasenundFr�sche.txt"
]
]
}
},
"offset_start": 4537,
"offset_end": 4582
}
],
"is_encoding_problem": false,
"body": {
@@ -1800,7 +1673,7 @@ In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu;=
},
"offset_header": 4424,
"offset_body": 4584,
"offset_end": 5395
"offset_end": 5393
}
]
}
+109
View File
@@ -0,0 +1,109 @@
Message-Id: <4.2.0.58.20000519003735.00a8d7e0@pop.example.com>
X-Sender: dwsauder@pop.example.com (Unverified)
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58
X-Priority: 2 (High)
Date: Fri, 19 May 2000 00:37:39 -0400
To: Heinz =?iso-8859-1?Q?Müller?= <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="text/html";
boundary="=====================_715429112==_.REL"
--=====================_715429112==_.REL
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html>
<img src=3D"cid:4.2.0.58.20000519003735.00a8d7e0@pop.example.com.2" width=3D27=
height=3D27 alt=3D"2aa48eb6.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; &quot;wir leben&quot;, sprach ein Redner, &quot;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.&quot; <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>
&quot;Halt&quot;, rief nun eben dieser Sprecher, &quot;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.&quot; <br>
<br>
<img src=3D"cid:4.2.0.58.20000519003735.00a8d7e0@pop.example.com.3" width=3D27=
height=3D27 alt=3D"2aa48ec0.png"></font></html>
--=====================_715429112==_.REL
Content-Type: image/png; name="2aa48eb6.png"
Content-ID: <4.2.0.58.20000519003735.00a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AAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAADBMg1VAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAu
MT1evmgAAAGISURBVHicddJtV5swGAbgEk6AJhBSk4bMCUynBSLaqovbrG/bfPn/vyh70lbssceb
L5xznTsh5BmNhgQoRChwo50EOIohUYLDj4zHhKYQkrEoQdvock4ne0IKMVUpKZLQDeqSTIsv+18P
yqqWUw2IBsRM7307PPp+fDJrWtnpLDJvewYxnewfnvanZ+fzpmwXijC8KbqEa3Fx2ff91Y95U9XC
UpaDeQwiMpHXP/v+1++bWVPWQoGFawtjury9vru/f/C1Vi7ezT0WWpQHf/7+u/G71aLThK/MjRxm
T6KdzZ9fGk9yatMsTgZLl3XVgFRAC6spj/13enssqJVtWVa3NdBSacL8+VZmYqKmdd1CSYoOiMOS
GwtzlqqlFFIuOqv0a1ZEZrUkWICLLFW266y1KvWE1zV/iDAH1EopnVLCiygZCIomH3NCKX0lnI+B
1iuuzCGTxwXjnDO4d7NpbX42YJJHkBwmAm2TxwAZg40J3+Xtbv1rgOAZwG0NxW62p+lT+Yi747sD
/wEUVMzYmWkOvwAAACV0RVh0Q29tbWVudABjbGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZz
O7wAAAAASUVORK5CYII=
--=====================_715429112==_.REL
Content-Type: image/png; name="2aa48ec0.png"
Content-ID: <4.2.0.58.20000519003735.00a8d7e0@pop.example.com.3>
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename="2aa48ec0.png"
iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAABAAALAAAVAAAa
AAAXAAARAAAKAAADAAAcAAAyAABEAABNAABIAAA9AAAjAAAWAAAmAABhAAB7AACGAACHAAB9AAB0
AABgAAA5AAAUAAAGAAAnAABLAABvAACQAAClAAC7AAC/AACrAAChAACMAABzAABbAAAuAAAIAABM
AAB3AACZAAC0GRnKODjVPT3bKSndBQW4AACoAAB5AAAxAAAYAAAEAABFAACaAAC7JCTRYWHfhITm
f3/mVlbqHx/SAAC5AACjAABdAABCAAAoAAAJAABnAAC6Dw/QVFTek5PlrKzpmZntZWXvJSXXAADB
AACxAACcAABtAABTAAA2AAAbAAAFAABKAACBAADLICDdZ2fonJzrpqbtiorvUVHvFBTRAADDAAC2
AAB4AABeAABAAAAiAABXAACSAADCAADaGxvoVVXseHjveHjvV1fvJibhAADOAAC3AACnAACVAABH
AAArAAAPAACdAADFAADhBQXrKCjvPDzvNTXvGxvjAADQAADJAAC1AACXAACEAABsAABPAAASAAAC
AABiAADpAADvAgLnAADYAADLAAC6AACwAABwAAATAAAkAABYAADIAADTAADNAACzAACDAABuAAAe
AAB+AADAAACkAACNAAB/AABpAABQAAAwAACRAACpAAC8AACqAACbAABlAABJAAAqAAAOAAA0AACs
AACvAACtAACmAACJAAB6AABrAABaAAA+AAApAABqAACCAACfAACeAACWAACPAAB8AAAZAAAHAABV
AACOAACKAAA4AAAQAAA/AAByAACAAABcAAA3AAAsAABmAABDAABWAAAgAAAzAAA8AAA6AAAfAAAM
AAAdAAANAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAD8LtlFAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAu
MT1evmgAAAIISURBVHicY2CAg/8QwIABmJhZWFnZ2Dk4MaU5uLh5eHn5+LkFBDlQJf8zC/EIi4iK
iUtI8koJScsgyf5nlpWTV1BUUlZRVVPX4NFk1UJIyghp6+jq6RsYGhmbKJgK85mZW8Dk/rNaSlhZ
29ja2Ts4Ojkr6Li4urFDNf53N/Ow8vTy9vH18w8IDAoWDQkNC4+ASP5ni4wKio6JjYtPSExKTnFW
SE1LF4A69n9GZlZ2Tm5efkFhUXFySWlZlEd5RSVY7j+TkGRVdU1tXX1DY1Ozcktpa1t7h2YnOAj+
d7l1tyo79vT29SdNSJ44SbFVdHIo9xSIHNPUaWqTpifNSJrZnK00S0U1a/acUG5piNz/uXLzVJ2q
m6dXz584S2WB1cJFi5cshZr539xVftnyFKUVTi2TVjqvyhJLXb1m7TqoHPt6F/HW0g0bN63crGqV
tWXrtu07BJihcsw71+zanRW8Z89eq337RQ/Ip60xO3gIElX/LbikDm8T36KwbNmRo7O3zpHkPSZw
HBqL//8flz1x2OOkyKJTi7aqbzutfUZI2gIuF8F2lr/D5dw2+fZdwpl8YVOlI+CJ4/9/joOyYed5
QzMvhGqnm2V0WiClm///D0lfXHtJ6vLlK9w7rx7vQk5SQJbFtSms1y9evXid7QZacgOxmSxktNzd
tSwwU+J/VICaCPFIYU3XAJhIOtjf5sfyAAAAJXRFWHRDb21tZW50AGNsaXAyZ2lmIHYuMC42IGJ5
IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
--=====================_715429112==_.REL--
+243 -371
View File
@@ -1,114 +1,4 @@
Message-Id: <4.2.0.58.20000519003735.00a8d7e0@pop.example.com>
X-Sender: dwsauder@pop.example.com (Unverified)
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58
X-Priority: 2 (High)
Date: Fri, 19 May 2000 00:37:39 -0400
To: Heinz =?iso-8859-1?Q?Müller?= <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="text/html";
boundary="=====================_715429112==_.REL"
--=====================_715429112==_.REL
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<html>
<img src=3D"cid:4.2.0.58.20000519003735.00a8d7e0@pop.example.com.2" width=3D27=
height=3D27 alt=3D"2aa48eb6.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; &quot;wir leben&quot;, sprach ein Redner, &quot;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.&quot; <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>
&quot;Halt&quot;, rief nun eben dieser Sprecher, &quot;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.&quot; <br>
<br>
<img src=3D"cid:4.2.0.58.20000519003735.00a8d7e0@pop.example.com.3" width=3D27=
height=3D27 alt=3D"2aa48ec0.png"></font></html>
--=====================_715429112==_.REL
Content-Type: image/png; name="2aa48eb6.png"
Content-ID: <4.2.0.58.20000519003735.00a8d7e0@pop.example.com.2>
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename="2aa48eb6.png"
iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAgAABAAABgAAAAA
CCkAEEIAEEoACDEAEFIIIXMIKXsIKYQIIWsAGFoACDkIIWMQOZwYQqUYQq0YQrUQOaUQMZQAGFIQ
MYwpUrU5Y8Y5Y84pWs4YSs4YQs4YQr1Ca8Z7nNacvd6Mtd5jlOcxa94hUt4YStYYQsYQMaUAACHO
5+/n7++cxu9ShO8pWucQOa1Ke86tzt6l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Uw2IBsRM7307PPp+fDJrWtnpLDJvewYxnewfnvanZ+fzpmwXijC8KbqEa3Fx2ff91Y95U9XC
UpaDeQwiMpHXP/v+1++bWVPWQoGFawtjury9vru/f/C1Vi7ezT0WWpQHf/7+u/G71aLThK/MjRxm
T6KdzZ9fGk9yatMsTgZLl3XVgFRAC6spj/13enssqJVtWVa3NdBSacL8+VZmYqKmdd1CSYoOiMOS
GwtzlqqlFFIuOqv0a1ZEZrUkWICLLFW266y1KvWE1zV/iDAH1EopnVLCiygZCIomH3NCKX0lnI+B
1iuuzCGTxwXjnDO4d7NpbX42YJJHkBwmAm2TxwAZg40J3+Xtbv1rgOAZwG0NxW62p+lT+Yi747sD
/wEUVMzYmWkOvwAAACV0RVh0Q29tbWVudABjbGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZz
O7wAAAAASUVORK5CYII=
--=====================_715429112==_.REL
Content-Type: image/png; name="2aa48ec0.png"
Content-ID: <4.2.0.58.20000519003735.00a8d7e0@pop.example.com.3>
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename="2aa48ec0.png"
iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAABAAALAAAVAAAa
AAAXAAARAAAKAAADAAAcAAAyAABEAABNAABIAAA9AAAjAAAWAAAmAABhAAB7AACGAACHAAB9AAB0
AABgAAA5AAAUAAAGAAAnAABLAABvAACQAAClAAC7AAC/AACrAAChAACMAABzAABbAAAuAAAIAABM
AAB3AACZAAC0GRnKODjVPT3bKSndBQW4AACoAAB5AAAxAAAYAAAEAABFAACaAAC7JCTRYWHfhITm
f3/mVlbqHx/SAAC5AACjAABdAABCAAAoAAAJAABnAAC6Dw/QVFTek5PlrKzpmZntZWXvJSXXAADB
AACxAACcAABtAABTAAA2AAAbAAAFAABKAACBAADLICDdZ2fonJzrpqbtiorvUVHvFBTRAADDAAC2
AAB4AABeAABAAAAiAABXAACSAADCAADaGxvoVVXseHjveHjvV1fvJibh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71+zanRW8Z89eq337RQ/Ip60xO3gIElX/LbikDm8T36KwbNmRo7O3zpHkPSZw
HBqL//8flz1x2OOkyKJTi7aqbzutfUZI2gIuF8F2lr/D5dw2+fZdwpl8YVOlI+CJ4/9/joOyYed5
QzMvhGqnm2V0WiClm///D0lfXHtJ6vLlK9w7rx7vQk5SQJbFtSms1y9evXid7QZacgOxmSxktNzd
tSwwU+J/VICaCPFIYU3XAJhIOtjf5sfyAAAAJXRFWHRDb21tZW50AGNsaXAyZ2lmIHYuMC42IGJ5
IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
--=====================_715429112==_.REL--
---- EXPECTED STRUCTURE ----{
{
"html_body": [
1
],
@@ -121,143 +11,136 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
],
"parts": [
{
"headers_rfc": {
"subject": {
"Text": "Die Hasen und die Frösche"
},
"from": {
"Address": {
"name": "Doug Sauder",
"address": "dwsauder@example.com"
}
},
"to": {
"Address": {
"name": "Heinz Müller",
"address": "mueller@example.com"
}
},
"date": {
"DateTime": {
"year": 2000,
"month": 5,
"day": 19,
"hour": 0,
"minute": 37,
"second": 39,
"tz_before_gmt": true,
"tz_hour": 4,
"tz_minute": 0
}
},
"message_id": {
"Text": "4.2.0.58.20000519003735.00a8d7e0@pop.example.com"
},
"mime_version": {
"Text": "1.0"
},
"content_type": {
"ContentType": {
"c_type": "multipart",
"c_subtype": "related",
"attributes": {
"type": "text/html",
"boundary": "=====================_715429112==_.REL"
}
}
}
},
"headers_raw": [
[
{
"headers": [
{
"name": {
"Rfc": "message_id"
},
{
"start": 11,
"end": 64
}
],
[
{
"value": {
"Text": "4.2.0.58.20000519003735.00a8d7e0@pop.example.com"
},
"offset_start": 11,
"offset_end": 64
},
{
"name": {
"Other": "X-Sender"
},
{
"start": 73,
"end": 113
}
],
[
{
"value": {
"Text": " dwsauder@pop.example.com (Unverified)\r\n"
},
"offset_start": 73,
"offset_end": 113
},
{
"name": {
"Other": "X-Mailer"
},
{
"start": 122,
"end": 170
}
],
[
{
"value": {
"Text": " QUALCOMM Windows Eudora Pro Version 4.2.0.58 \r\n"
},
"offset_start": 122,
"offset_end": 170
},
{
"name": {
"Other": "X-Priority"
},
{
"start": 181,
"end": 192
}
],
[
{
"value": {
"Text": " 2 (High)\r\n"
},
"offset_start": 181,
"offset_end": 192
},
{
"name": {
"Rfc": "date"
},
{
"start": 197,
"end": 231
}
],
[
{
"value": {
"DateTime": {
"year": 2000,
"month": 5,
"day": 19,
"hour": 0,
"minute": 37,
"second": 39,
"tz_before_gmt": true,
"tz_hour": 4,
"tz_minute": 0
}
},
"offset_start": 197,
"offset_end": 231
},
{
"name": {
"Rfc": "to"
},
{
"start": 234,
"end": 288
}
],
[
{
"value": {
"Address": {
"name": "Heinz Müller",
"address": "mueller@example.com"
}
},
"offset_start": 234,
"offset_end": 288
},
{
"name": {
"Rfc": "from"
},
{
"start": 293,
"end": 330
}
],
[
{
"value": {
"Address": {
"name": "Doug Sauder",
"address": "dwsauder@example.com"
}
},
"offset_start": 293,
"offset_end": 330
},
{
"name": {
"Rfc": "subject"
},
{
"start": 338,
"end": 383
}
],
[
{
"value": {
"Text": "Die Hasen und die Frösche"
},
"offset_start": 338,
"offset_end": 383
},
{
"name": {
"Rfc": "mime_version"
},
{
"start": 396,
"end": 402
}
],
[
{
"value": {
"Text": "1.0"
},
"offset_start": 396,
"offset_end": 402
},
{
"name": {
"Rfc": "content_type"
},
{
"start": 415,
"end": 508
}
]
"value": {
"ContentType": {
"c_type": "multipart",
"c_subtype": "related",
"attributes": [
[
"type",
"text/html"
],
[
"boundary",
"=====================_715429112==_.REL"
]
]
}
},
"offset_start": 415,
"offset_end": 508
}
],
"is_encoding_problem": false,
"body": {
@@ -269,42 +152,39 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
},
"offset_header": 0,
"offset_body": 510,
"offset_end": 6229
"offset_end": 6231
},
{
"headers_rfc": {
"content_transfer_encoding": {
"Text": "quoted-printable"
},
"content_type": {
"ContentType": {
"c_type": "text",
"c_subtype": "html",
"attributes": {
"charset": "iso-8859-1"
}
}
}
},
"headers_raw": [
[
{
"headers": [
{
"name": {
"Rfc": "content_type"
},
{
"start": 565,
"end": 599
}
],
[
{
"value": {
"ContentType": {
"c_type": "text",
"c_subtype": "html",
"attributes": [
[
"charset",
"iso-8859-1"
]
]
}
},
"offset_start": 565,
"offset_end": 599
},
{
"name": {
"Rfc": "content_transfer_encoding"
},
{
"start": 625,
"end": 644
}
]
"value": {
"Text": "quoted-printable"
},
"offset_start": 625,
"offset_end": 644
}
],
"is_encoding_problem": false,
"body": {
@@ -312,72 +192,68 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
},
"offset_header": 552,
"offset_body": 646,
"offset_end": 1887
"offset_end": 1885
},
{
"headers_rfc": {
"content_id": {
"Text": "4.2.0.58.20000519003735.00a8d7e0@pop.example.com.2"
},
"content_transfer_encoding": {
"Text": "base64"
},
"content_type": {
"ContentType": {
"c_type": "image",
"c_subtype": "png",
"attributes": {
"name": "2aa48eb6.png"
}
}
},
"content_disposition": {
"ContentType": {
"c_type": "inline",
"c_subtype": null,
"attributes": {
"filename": "2aa48eb6.png"
}
}
}
},
"headers_raw": [
[
{
"headers": [
{
"name": {
"Rfc": "content_type"
},
{
"start": 1942,
"end": 1975
}
],
[
{
"value": {
"ContentType": {
"c_type": "image",
"c_subtype": "png",
"attributes": [
[
"name",
"2aa48eb6.png"
]
]
}
},
"offset_start": 1942,
"offset_end": 1975
},
{
"name": {
"Rfc": "content_id"
},
{
"start": 1986,
"end": 2041
}
],
[
{
"value": {
"Text": "4.2.0.58.20000519003735.00a8d7e0@pop.example.com.2"
},
"offset_start": 1986,
"offset_end": 2041
},
{
"name": {
"Rfc": "content_transfer_encoding"
},
{
"start": 2067,
"end": 2076
}
],
[
{
"value": {
"Text": "base64"
},
"offset_start": 2067,
"offset_end": 2076
},
{
"name": {
"Rfc": "content_disposition"
},
{
"start": 2096,
"end": 2130
}
]
"value": {
"ContentType": {
"c_type": "inline",
"c_subtype": null,
"attributes": [
[
"filename",
"2aa48eb6.png"
]
]
}
},
"offset_start": 2096,
"offset_end": 2130
}
],
"is_encoding_problem": false,
"body": {
@@ -1711,72 +1587,68 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
},
"offset_header": 1929,
"offset_body": 2132,
"offset_end": 3948
"offset_end": 3946
},
{
"headers_rfc": {
"content_id": {
"Text": "4.2.0.58.20000519003735.00a8d7e0@pop.example.com.3"
},
"content_transfer_encoding": {
"Text": "base64"
},
"content_type": {
"ContentType": {
"c_type": "image",
"c_subtype": "png",
"attributes": {
"name": "2aa48ec0.png"
}
}
},
"content_disposition": {
"ContentType": {
"c_type": "inline",
"c_subtype": null,
"attributes": {
"filename": "2aa48ec0.png"
}
}
}
},
"headers_raw": [
[
{
"headers": [
{
"name": {
"Rfc": "content_type"
},
{
"start": 4003,
"end": 4036
}
],
[
{
"value": {
"ContentType": {
"c_type": "image",
"c_subtype": "png",
"attributes": [
[
"name",
"2aa48ec0.png"
]
]
}
},
"offset_start": 4003,
"offset_end": 4036
},
{
"name": {
"Rfc": "content_id"
},
{
"start": 4047,
"end": 4102
}
],
[
{
"value": {
"Text": "4.2.0.58.20000519003735.00a8d7e0@pop.example.com.3"
},
"offset_start": 4047,
"offset_end": 4102
},
{
"name": {
"Rfc": "content_transfer_encoding"
},
{
"start": 4128,
"end": 4137
}
],
[
{
"value": {
"Text": "base64"
},
"offset_start": 4128,
"offset_end": 4137
},
{
"name": {
"Rfc": "content_disposition"
},
{
"start": 4157,
"end": 4191
}
]
"value": {
"ContentType": {
"c_type": "inline",
"c_subtype": null,
"attributes": [
[
"filename",
"2aa48ec0.png"
]
]
}
},
"offset_start": 4157,
"offset_end": 4191
}
],
"is_encoding_problem": false,
"body": {
@@ -3238,7 +3110,7 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
},
"offset_header": 3990,
"offset_body": 4193,
"offset_end": 6185
"offset_end": 6183
}
]
}
+171
View File
@@ -0,0 +1,171 @@
Message-Id: <4.2.0.58.20000519003809.00a85140@pop.example.com>
X-Sender: dwsauder@pop.example.com (Unverified)
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58
X-Priority: 2 (High)
Date: Fri, 19 May 2000 00:38:13 -0400
To: Heinz =?iso-8859-1?Q?Müller?= <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="=====================_715462801==_"
--=====================_715462801==_
Content-Type: multipart/related;
type="text/html";
boundary="=====================_715462801==_.REL"
--=====================_715462801==_.REL
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<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; &quot;wir leben&quot;, sprach ein Redner, &quot;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.&quot; <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>
&quot;Halt&quot;, rief nun eben dieser Sprecher, &quot;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.&quot; <br>
<br>
</font><img src=3D"cid:4.2.0.58.20000519003809.00a85140@pop.example.com.2"=
width=3D27 height=3D27 alt=3D"2aa51367.png"><img=
src=3D"cid:4.2.0.58.20000519003809.00a85140@pop.example.com.3" width=3D27=
height=3D27 alt=3D"2aa51371.png"></html>
--=====================_715462801==_.REL
Content-Type: image/png; name="2aa51367.png"
Content-ID: <4.2.0.58.20000519003809.00a85140@pop.example.com.2>
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename="2aa51367.png"
iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAgAABAAABgAAAAA
CCkAEEIAEEoACDEAEFIIIXMIKXsIKYQIIWsAGFoACDkIIWMQOZwYQqUYQq0YQrUQOaUQMZQAGFIQ
MYwpUrU5Y8Y5Y84pWs4YSs4YQs4YQr1Ca8Z7nNacvd6Mtd5jlOcxa94hUt4YStYYQsYQMaUAACHO
5+/n7++cxu9ShO8pWucQOa1Ke86tzt6lzu9ajO8QMZxahNat1ufO7++Mve9Ke+8YOaUYSsaMvee1
5++Uve8AAClajOdzpe9rnO8IKYwxY+8pWu8IIXsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAADBMg1VAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAu
MT1evmgAAAGISURBVHicddJtV5swGAbgEk6AJhBSk4bMCUynBSLaqovbrG/bfPn/vyh70lbssceb
L5xznTsh5BmNhgQoRChwo50EOIohUYLDj4zHhKYQkrEoQdvock4ne0IKMVUpKZLQDeqSTIsv+18P
yqqWUw2IBsRM7307PPp+fDJrWtnpLDJvewYxnewfnvanZ+fzpmwXijC8KbqEa3Fx2ff91Y95U9XC
UpaDeQwiMpHXP/v+1++bWVPWQoGFawtjury9vru/f/C1Vi7ezT0WWpQHf/7+u/G71aLThK/MjRxm
T6KdzZ9fGk9yatMsTgZLl3XVgFRAC6spj/13enssqJVtWVa3NdBSacL8+VZmYqKmdd1CSYoOiMOS
GwtzlqqlFFIuOqv0a1ZEZrUkWICLLFW266y1KvWE1zV/iDAH1EopnVLCiygZCIomH3NCKX0lnI+B
1iuuzCGTxwXjnDO4d7NpbX42YJJHkBwmAm2TxwAZg40J3+Xtbv1rgOAZwG0NxW62p+lT+Yi747sD
/wEUVMzYmWkOvwAAACV0RVh0Q29tbWVudABjbGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZz
O7wAAAAASUVORK5CYII=
--=====================_715462801==_.REL
Content-Type: image/png; name="2aa51371.png"
Content-ID: <4.2.0.58.20000519003809.00a85140@pop.example.com.3>
Content-Transfer-Encoding: base64
Content-Disposition: inline; filename="2aa51371.png"
iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAABAAALAAAVAAAa
AAAXAAARAAAKAAADAAAcAAAyAABEAABNAABIAAA9AAAjAAAWAAAmAABhAAB7AACGAACHAAB9AAB0
AABgAAA5AAAUAAAGAAAnAABLAABvAACQAAClAAC7AAC/AACrAAChAACMAABzAABbAAAuAAAIAABM
AAB3AACZAAC0GRnKODjVPT3bKSndBQW4AACoAAB5AAAxAAAYAAAEAABFAACaAAC7JCTRYWHfhITm
f3/mVlbqHx/SAAC5AACjAABdAABCAAAoAAAJAABnAAC6Dw/QVFTek5PlrKzpmZntZWXvJSXXAADB
AACxAACcAABtAABTAAA2AAAbAAAFAABKAACBAADLICDdZ2fonJzrpqbtiorvUVHvFBTRAADDAAC2
AAB4AABeAABAAAAiAABXAACSAADCAADaGxvoVVXseHjveHjvV1fvJibhAADOAAC3AACnAACVAABH
AAArAAAPAACdAADFAADhBQXrKCjvPDzvNTXvGxvjAADQAADJAAC1AACXAACEAABsAABPAAASAAAC
AABiAADpAADvAgLnAADYAADLAAC6AACwAABwAAATAAAkAABYAADIAADTAADNAACzAACDAABuAAAe
AAB+AADAAACkAACNAAB/AABpAABQAAAwAACRAACpAAC8AACqAACbAABlAABJAAAqAAAOAAA0AACs
AACvAACtAACmAACJAAB6AABrAABaAAA+AAApAABqAACCAACfAACeAACWAACPAAB8AAAZAAAHAABV
AACOAACKAAA4AAAQAAA/AAByAACAAABcAAA3AAAsAABmAABDAABWAAAgAAAzAAA8AAA6AAAfAAAM
AAAdAAANAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAD8LtlFAAAAAXRSTlMAQObYZgAAABZ0RVh0U29mdHdhcmUAZ2lmMnBuZyAyLjAu
MT1evmgAAAIISURBVHicY2CAg/8QwIABmJhZWFnZ2Dk4MaU5uLh5eHn5+LkFBDlQJf8zC/EIi4iK
iUtI8koJScsgyf5nlpWTV1BUUlZRVVPX4NFk1UJIyghp6+jq6RsYGhmbKJgK85mZW8Dk/rNaSlhZ
29ja2Ts4Ojkr6Li4urFDNf53N/Ow8vTy9vH18w8IDAoWDQkNC4+ASP5ni4wKio6JjYtPSExKTnFW
SE1LF4A69n9GZlZ2Tm5efkFhUXFySWlZlEd5RSVY7j+TkGRVdU1tXX1DY1Ozcktpa1t7h2YnOAj+
d7l1tyo79vT29SdNSJ44SbFVdHIo9xSIHNPUaWqTpifNSJrZnK00S0U1a/acUG5piNz/uXLzVJ2q
m6dXz584S2WB1cJFi5cshZr539xVftnyFKUVTi2TVjqvyhJLXb1m7TqoHPt6F/HW0g0bN63crGqV
tWXrtu07BJihcsw71+zanRW8Z89eq337RQ/Ip60xO3gIElX/LbikDm8T36KwbNmRo7O3zpHkPSZw
HBqL//8flz1x2OOkyKJTi7aqbzutfUZI2gIuF8F2lr/D5dw2+fZdwpl8YVOlI+CJ4/9/joOyYed5
QzMvhGqnm2V0WiClm///D0lfXHtJ6vLlK9w7rx7vQk5SQJbFtSms1y9evXid7QZacgOxmSxktNzd
tSwwU+J/VICaCPFIYU3XAJhIOtjf5sfyAAAAJXRFWHRDb21tZW50AGNsaXAyZ2lmIHYuMC42IGJ5
IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
--=====================_715462801==_.REL--
--=====================_715462801==_
Content-Type: image/png; name="blueball.png"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="blueball.png"
iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAgAABAAABgAAAAA
CCkAEEIAEEoACDEAEFIIIXMIKXsIKYQIIWsAGFoACDkIIWMQOZwYQqUYQq0YQrUQOaUQMZQAGFIQ
MYwpUrU5Y8Y5Y84pWs4YSs4YQs4YQr1Ca8Z7nNacvd6Mtd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Chwo50EOIohUYLDj4zHhKYQkrEoQdvock4ne0IKMVUpKZLQDeqSTIsv+18P
yqqWUw2IBsRM7307PPp+fDJrWtnpLDJvewYxnewfnvanZ+fzpmwXijC8KbqEa3Fx2ff91Y95U9XC
UpaDeQwiMpHXP/v+1++bWVPWQoGFawtjury9vru/f/C1Vi7ezT0WWpQHf/7+u/G71aLThK/MjRxm
T6KdzZ9fGk9yatMsTgZLl3XVgFRAC6spj/13enssqJVtWVa3NdBSacL8+VZmYqKmdd1CSYoOiMOS
GwtzlqqlFFIuOqv0a1ZEZrUkWICLLFW266y1KvWE1zV/iDAH1EopnVLCiygZCIomH3NCKX0lnI+B
1iuuzCGTxwXjnDO4d7NpbX42YJJHkBwmAm2TxwAZg40J3+Xtbv1rgOAZwG0NxW62p+lT+Yi747sD
/wEUVMzYmWkOvwAAACV0RVh0Q29tbWVudABjbGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZz
O7wAAAAASUVORK5CYII=
--=====================_715462801==_
Content-Type: image/png; name="greenball.png"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="greenball.png"
iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAAAEAAAGAAAIQAA
CAAAMQAAQgAAUgAAWgAASgAIYwAIcwAIewAQjAAIawAAOQAAYwAQlAAQnAAhpQAQpQAhrQBCvRhj
xjFjxjlSxiEpzgAYvQAQrQAYrQAhvQCU1mOt1nuE1lJK3hgh1gAYxgAYtQAAKQBCzhDO55Te563G
55SU52NS5yEh3gAYzgBS3iGc52vW75y974yE71JC7xCt73ul3nNa7ykh5wAY1gAx5wBS7yFr7zlK
7xgp5wAp7wAx7wAIhAAQtQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAA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quS2DVSJWNh3zzJKCyexI0ZxBP3a
fE0ElyqOlZJyw8r3BE2SFiJCyxA434SCkg65RhdeQBljQtCg39LWrA90RDDG1EWrYUO23hMANUKR
Rl61E529cR++D2G5LK002dr/qrcfu9u0V3bxn/XdhR/NYeeN0ggsLAAAACV0RVh0Q29tbWVudABj
bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
--=====================_715462801==_--
File diff suppressed because it is too large Load Diff
+84
View File
@@ -0,0 +1,84 @@
Message-Id: <4.2.0.58.20000519005818.00a86aa0@pop.example.com>
X-Sender: dwsauder@pop.example.com (Unverified)
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58
Date: Fri, 19 May 2000 00:59:31 -0400
To: Heinz =?iso-8859-1?Q?Müller?= <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="=====================_716740438==_"
--=====================_716740438==_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Die Hasen und die Fr=F6sche
Die Hasen klagten einst =FCber ihre mi=DFliche Lage; "wir leben", sprach ein=
Redner, "in steter Furcht vor Menschen und Tieren, eine Beute der Hunde,=
der Adler, ja fast aller Raubtiere! Unsere stete Angst ist =E4rger als der=
Tod selbst. Auf, la=DFt uns ein f=FCr allemal sterben."=20
In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu;=
allein das au=DFerordentliche Get=F6se und ihre wunderbare Gestalt=
erschreckte eine Menge Fr=F6sche, die am Ufer sa=DFen, so sehr, da=DF sie=
aufs schnellste untertauchten.=20
"Halt", rief nun eben dieser Sprecher, "wir wollen das Ers=E4ufen noch ein=
wenig aufschieben, denn auch uns f=FCrchten, wie ihr seht, einige Tiere,=
welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."=20
--=====================_716740438==_
Content-Type: text/plain; name="HasenundFrösche.txt";
x-mac-type="54455854"; x-mac-creator="74747874"
Content-Transfer-Encoding: x-uuencode
Content-Disposition: attachment; filename="HasenundFrösche.txt"
begin 600 HasenundFrösche.txt
M1&EE($AA<V5N('5N9"!D:64@1G+V<V-H90T*#0I$:64@2&%S96X@:VQA9W1E
M;B!E:6YS="#\8F5R(&EH<F4@;6G?;&EC:&4@3&%G93L@(G=I<B!L96)E;B(L
M('-P<F%C:"!E:6X@4F5D;F5R+"`B:6X@<W1E=&5R($9U<F-H="!V;W(@365N
M<V-H96X@=6YD(%1I97)E;BP@96EN92!"975T92!D97(@2'5N9&4L(&1E<B!!
M9&QE<BP@:F$@9F%S="!A;&QE<B!2875B=&EE<F4A(%5N<V5R92!S=&5T92!!
M;F=S="!I<W0@Y')G97(@86QS(&1E<B!4;V0@<V5L8G-T+B!!=68L(&QAWW0@
M=6YS(&5I;B!F_'(@86QL96UA;"!S=&5R8F5N+B(@#0H-"DEN(&5I;F5M(&YA
M:&5N(%1E:6-H('=O;&QT96X@<VEE('-I8V@@;G5N(&5R<^1U9F5N.R!S:64@
M96EL=&5N(&EH;2!Z=3L@86QL96EN(&1A<R!A==]E<F]R9&5N=&QI8VAE($=E
M=/9S92!U;F0@:6AR92!W=6YD97)B87)E($=E<W1A;'0@97)S8VAR96-K=&4@
M96EN92!-96YG92!&<O9S8VAE+"!D:64@86T@569E<B!S8=]E;BP@<V\@<V5H
M<BP@9&'?('-I92!A=69S('-C:&YE;&QS=&4@=6YT97)T875C:'1E;BX@#0H-
M"B)(86QT(BP@<FEE9B!N=6X@96)E;B!D:65S97(@4W!R96-H97(L(")W:7(@
M=V]L;&5N(&1A<R!%<G/D=69E;B!N;V-H(&5I;B!W96YI9R!A=69S8VAI96)E
M;BP@9&5N;B!A=6-H('5N<R!F_')C:'1E;BP@=VEE(&EH<B!S96AT+"!E:6YI
M9V4@5&EE<F4L('=E;&-H92!A;'-O('=O:&P@;F]C:"!U;F=L_&-K;&EC:&5R
;('-E:6X@;?QS<V5N(&%L<R!W:7(N(B`-"@T*
`
end
--=====================_716740438==_
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: attachment; filename="farmerandstork.txt"
The Farmer and the Stork
A FARMER placed nets on his newly-sown plowlands and caught a
number of Cranes, which came to pick up his seed. With them he
trapped a Stork that had fractured his leg in the net and was
earnestly beseeching the Farmer to spare his life. "Pray save
me, Master," he said, "and let me go free this once. My broken
limb should excite your pity. Besides, I am no Crane, I am a
Stork, a bird of excellent character; and see how I love and
slave for my father and mother. Look too, at my feathers--
they are not the least like those of a Crane." The Farmer
laughed aloud and said, "It may be all as you say, I only know
this: I have taken you with these robbers, the Cranes, and you
must die in their company."
Birds of a feather flock together.
--=====================_716740438==_--
+300
View File
@@ -0,0 +1,300 @@
{
"html_body": [
1
],
"text_body": [
1
],
"attachments": [
2,
3
],
"parts": [
{
"headers": [
{
"name": {
"Rfc": "message_id"
},
"value": {
"Text": "4.2.0.58.20000519005818.00a86aa0@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": 59,
"second": 31,
"tz_before_gmt": true,
"tz_hour": 4,
"tz_minute": 0
}
},
"offset_start": 175,
"offset_end": 209
},
{
"name": {
"Rfc": "to"
},
"value": {
"Address": {
"name": "Heinz Müller",
"address": "mueller@example.com"
}
},
"offset_start": 212,
"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": "Die Hasen und die Frösche"
},
"offset_start": 316,
"offset_end": 361
},
{
"name": {
"Rfc": "mime_version"
},
"value": {
"Text": "1.0"
},
"offset_start": 374,
"offset_end": 380
},
{
"name": {
"Rfc": "content_type"
},
"value": {
"ContentType": {
"c_type": "multipart",
"c_subtype": "mixed",
"attributes": [
[
"boundary",
"=====================_716740438==_"
]
]
}
},
"offset_start": 393,
"offset_end": 460
}
],
"is_encoding_problem": false,
"body": {
"Multipart": [
1,
2,
3
]
},
"offset_header": 0,
"offset_body": 462,
"offset_end": 3743
},
{
"headers": [
{
"name": {
"Rfc": "content_type"
},
"value": {
"ContentType": {
"c_type": "text",
"c_subtype": "plain",
"attributes": [
[
"charset",
"iso-8859-1"
]
]
}
},
"offset_start": 513,
"offset_end": 548
},
{
"name": {
"Rfc": "content_transfer_encoding"
},
"value": {
"Text": "quoted-printable"
},
"offset_start": 574,
"offset_end": 593
}
],
"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": 500,
"offset_body": 595,
"offset_end": 1404
},
{
"headers": [
{
"name": {
"Rfc": "content_type"
},
"value": {
"ContentType": {
"c_type": "text",
"c_subtype": "plain",
"attributes": [
[
"name",
"HasenundFr�sche.txt"
],
[
"x-mac-type",
"54455854"
],
[
"x-mac-creator",
"74747874"
]
]
}
},
"offset_start": 1457,
"offset_end": 1549
},
{
"name": {
"Rfc": "content_transfer_encoding"
},
"value": {
"Text": "x-uuencode"
},
"offset_start": 1575,
"offset_end": 1588
},
{
"name": {
"Rfc": "content_disposition"
},
"value": {
"ContentType": {
"c_type": "attachment",
"c_subtype": null,
"attributes": [
[
"filename",
"HasenundFr�sche.txt"
]
]
}
},
"offset_start": 1608,
"offset_end": 1653
}
],
"is_encoding_problem": false,
"body": {
"Text": "\r\nbegin 600 HasenundFr�sche.txt\r\nM1&EE($AA<V5N('5N9\"!D:64@1G+V<V-H90T*#0I$:64@2&%S96X@:VQA9W1E\r\nM;B!E:6YS=\"#\\8F5R(&EH<F4@;6G?;&EC:&4@3&%G93L@(G=I<B!L96)E;B(L\r\nM('-P<F%C:\"!E:6X@4F5D;F5R+\"`B:6X@<W1E=&5R($9U<F-H=\"!V;W(@365N\r\nM<V-H96X@=6YD(%1I97)E;BP@96EN92!\"975T92!D97(@2'5N9&4L(&1E<B!!\r\nM9&QE<BP@:F$@9F%S=\"!A;&QE<B!2875B=&EE<F4A(%5N<V5R92!S=&5T92!!\r\nM;F=S=\"!I<W0@Y')G97(@86QS(&1E<B!4;V0@<V5L8G-T+B!!=68L(&QAWW0@\r\nM=6YS(&5I;B!F_'(@86QL96UA;\"!S=&5R8F5N+B(@#0H-\"DEN(&5I;F5M(&YA\r\nM:&5N(%1E:6-H('=O;&QT96X@<VEE('-I8V@@;G5N(&5R<^1U9F5N.R!S:64@\r\nM96EL=&5N(&EH;2!Z=3L@86QL96EN(&1A<R!A==]E<F]R9&5N=&QI8VAE($=E\r\nM=/9S92!U;F0@:6AR92!W=6YD97)B87)E($=E<W1A;'0@97)S8VAR96-K=&4@\r\nM96EN92!-96YG92!&<O9S8VAE+\"!D:64@86T@569E<B!S8=]E;BP@<V\\@<V5H\r\nM<BP@9&'?('-I92!A=69S('-C:&YE;&QS=&4@=6YT97)T875C:'1E;BX@#0H-\r\nM\"B)(86QT(BP@<FEE9B!N=6X@96)E;B!D:65S97(@4W!R96-H97(L(\")W:7(@\r\nM=V]L;&5N(&1A<R!%<G/D=69E;B!N;V-H(&5I;B!W96YI9R!A=69S8VAI96)E\r\nM;BP@9&5N;B!A=6-H('5N<R!F_')C:'1E;BP@=VEE(&EH<B!S96AT+\"!E:6YI\r\nM9V4@5&EE<F4L('=E;&-H92!A;'-O('=O:&P@;F]C:\"!U;F=L_&-K;&EC:&5R\r\n;('-E:6X@;?QS<V5N(&%L<R!W:7(N(B`-\"@T*\r\n`\r\nend\r\n"
},
"offset_header": 1444,
"offset_body": 1655,
"offset_end": 2743
},
{
"headers": [
{
"name": {
"Rfc": "content_type"
},
"value": {
"ContentType": {
"c_type": "text",
"c_subtype": "plain",
"attributes": [
[
"charset",
"us-ascii"
]
]
}
},
"offset_start": 2796,
"offset_end": 2829
},
{
"name": {
"Rfc": "content_disposition"
},
"value": {
"ContentType": {
"c_type": "attachment",
"c_subtype": null,
"attributes": [
[
"filename",
"farmerandstork.txt"
]
]
}
},
"offset_start": 2849,
"offset_end": 2893
}
],
"is_encoding_problem": false,
"body": {
"Text": "\r\nThe Farmer and the Stork \r\n \r\nA FARMER placed nets on his newly-sown plowlands and caught a\r\nnumber of Cranes, which came to pick up his seed. With them he\r\ntrapped a Stork that had fractured his leg in the net and was\r\nearnestly beseeching the Farmer to spare his life. \"Pray save\r\nme, Master,\" he said, \"and let me go free this once. My broken\r\nlimb should excite your pity. Besides, I am no Crane, I am a\r\nStork, a bird of excellent character; and see how I love and\r\nslave for my father and mother. Look too, at my feathers--\r\nthey are not the least like those of a Crane.\" The Farmer \r\nlaughed aloud and said, \"It may be all as you say, I only know \r\nthis: I have taken you with these robbers, the Cranes, and you \r\nmust die in their company.\" \r\n \r\nBirds of a feather flock together. \r\n"
},
"offset_header": 2783,
"offset_body": 2895,
"offset_end": 3699
}
]
}
-395
View File
@@ -1,395 +0,0 @@
Message-Id: <4.2.0.58.20000519005818.00a86aa0@pop.example.com>
X-Sender: dwsauder@pop.example.com (Unverified)
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58
Date: Fri, 19 May 2000 00:59:31 -0400
To: Heinz =?iso-8859-1?Q?Müller?= <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="=====================_716740438==_"
--=====================_716740438==_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Die Hasen und die Fr=F6sche
Die Hasen klagten einst =FCber ihre mi=DFliche Lage; "wir leben", sprach ein=
Redner, "in steter Furcht vor Menschen und Tieren, eine Beute der Hunde,=
der Adler, ja fast aller Raubtiere! Unsere stete Angst ist =E4rger als der=
Tod selbst. Auf, la=DFt uns ein f=FCr allemal sterben."=20
In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu;=
allein das au=DFerordentliche Get=F6se und ihre wunderbare Gestalt=
erschreckte eine Menge Fr=F6sche, die am Ufer sa=DFen, so sehr, da=DF sie=
aufs schnellste untertauchten.=20
"Halt", rief nun eben dieser Sprecher, "wir wollen das Ers=E4ufen noch ein=
wenig aufschieben, denn auch uns f=FCrchten, wie ihr seht, einige Tiere,=
welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."=20
--=====================_716740438==_
Content-Type: text/plain; name="HasenundFrösche.txt";
x-mac-type="54455854"; x-mac-creator="74747874"
Content-Transfer-Encoding: x-uuencode
Content-Disposition: attachment; filename="HasenundFrösche.txt"
begin 600 HasenundFrösche.txt
M1&EE($AA<V5N('5N9"!D:64@1G+V<V-H90T*#0I$:64@2&%S96X@:VQA9W1E
M;B!E:6YS="#\8F5R(&EH<F4@;6G?;&EC:&4@3&%G93L@(G=I<B!L96)E;B(L
M('-P<F%C:"!E:6X@4F5D;F5R+"`B:6X@<W1E=&5R($9U<F-H="!V;W(@365N
M<V-H96X@=6YD(%1I97)E;BP@96EN92!"975T92!D97(@2'5N9&4L(&1E<B!!
M9&QE<BP@:F$@9F%S="!A;&QE<B!2875B=&EE<F4A(%5N<V5R92!S=&5T92!!
M;F=S="!I<W0@Y')G97(@86QS(&1E<B!4;V0@<V5L8G-T+B!!=68L(&QAWW0@
M=6YS(&5I;B!F_'(@86QL96UA;"!S=&5R8F5N+B(@#0H-"DEN(&5I;F5M(&YA
M:&5N(%1E:6-H('=O;&QT96X@<VEE('-I8V@@;G5N(&5R<^1U9F5N.R!S:64@
M96EL=&5N(&EH;2!Z=3L@86QL96EN(&1A<R!A==]E<F]R9&5N=&QI8VAE($=E
M=/9S92!U;F0@:6AR92!W=6YD97)B87)E($=E<W1A;'0@97)S8VAR96-K=&4@
M96EN92!-96YG92!&<O9S8VAE+"!D:64@86T@569E<B!S8=]E;BP@<V\@<V5H
M<BP@9&'?('-I92!A=69S('-C:&YE;&QS=&4@=6YT97)T875C:'1E;BX@#0H-
M"B)(86QT(BP@<FEE9B!N=6X@96)E;B!D:65S97(@4W!R96-H97(L(")W:7(@
M=V]L;&5N(&1A<R!%<G/D=69E;B!N;V-H(&5I;B!W96YI9R!A=69S8VAI96)E
M;BP@9&5N;B!A=6-H('5N<R!F_')C:'1E;BP@=VEE(&EH<B!S96AT+"!E:6YI
M9V4@5&EE<F4L('=E;&-H92!A;'-O('=O:&P@;F]C:"!U;F=L_&-K;&EC:&5R
;('-E:6X@;?QS<V5N(&%L<R!W:7(N(B`-"@T*
`
end
--=====================_716740438==_
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: attachment; filename="farmerandstork.txt"
The Farmer and the Stork
A FARMER placed nets on his newly-sown plowlands and caught a
number of Cranes, which came to pick up his seed. With them he
trapped a Stork that had fractured his leg in the net and was
earnestly beseeching the Farmer to spare his life. "Pray save
me, Master," he said, "and let me go free this once. My broken
limb should excite your pity. Besides, I am no Crane, I am a
Stork, a bird of excellent character; and see how I love and
slave for my father and mother. Look too, at my feathers--
they are not the least like those of a Crane." The Farmer
laughed aloud and said, "It may be all as you say, I only know
this: I have taken you with these robbers, the Cranes, and you
must die in their company."
Birds of a feather flock together.
--=====================_716740438==_--
---- EXPECTED STRUCTURE ----{
"html_body": [
1
],
"text_body": [
1
],
"attachments": [
2,
3
],
"parts": [
{
"headers_rfc": {
"subject": {
"Text": "Die Hasen und die Frösche"
},
"from": {
"Address": {
"name": "Doug Sauder",
"address": "dwsauder@example.com"
}
},
"to": {
"Address": {
"name": "Heinz Müller",
"address": "mueller@example.com"
}
},
"date": {
"DateTime": {
"year": 2000,
"month": 5,
"day": 19,
"hour": 0,
"minute": 59,
"second": 31,
"tz_before_gmt": true,
"tz_hour": 4,
"tz_minute": 0
}
},
"message_id": {
"Text": "4.2.0.58.20000519005818.00a86aa0@pop.example.com"
},
"mime_version": {
"Text": "1.0"
},
"content_type": {
"ContentType": {
"c_type": "multipart",
"c_subtype": "mixed",
"attributes": {
"boundary": "=====================_716740438==_"
}
}
}
},
"headers_raw": [
[
{
"Rfc": "message_id"
},
{
"start": 11,
"end": 64
}
],
[
{
"Other": "X-Sender"
},
{
"start": 73,
"end": 113
}
],
[
{
"Other": "X-Mailer"
},
{
"start": 122,
"end": 170
}
],
[
{
"Rfc": "date"
},
{
"start": 175,
"end": 209
}
],
[
{
"Rfc": "to"
},
{
"start": 212,
"end": 266
}
],
[
{
"Rfc": "from"
},
{
"start": 271,
"end": 308
}
],
[
{
"Rfc": "subject"
},
{
"start": 316,
"end": 361
}
],
[
{
"Rfc": "mime_version"
},
{
"start": 374,
"end": 380
}
],
[
{
"Rfc": "content_type"
},
{
"start": 393,
"end": 460
}
]
],
"is_encoding_problem": false,
"body": {
"Multipart": [
1,
2,
3
]
},
"offset_header": 0,
"offset_body": 462,
"offset_end": 3741
},
{
"headers_rfc": {
"content_transfer_encoding": {
"Text": "quoted-printable"
},
"content_type": {
"ContentType": {
"c_type": "text",
"c_subtype": "plain",
"attributes": {
"charset": "iso-8859-1"
}
}
}
},
"headers_raw": [
[
{
"Rfc": "content_type"
},
{
"start": 513,
"end": 548
}
],
[
{
"Rfc": "content_transfer_encoding"
},
{
"start": 574,
"end": 593
}
]
],
"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": 500,
"offset_body": 595,
"offset_end": 1406
},
{
"headers_rfc": {
"content_transfer_encoding": {
"Text": "x-uuencode"
},
"content_type": {
"ContentType": {
"c_type": "text",
"c_subtype": "plain",
"attributes": {
"x-mac-creator": "74747874",
"x-mac-type": "54455854",
"name": "HasenundFr�sche.txt"
}
}
},
"content_disposition": {
"ContentType": {
"c_type": "attachment",
"c_subtype": null,
"attributes": {
"filename": "HasenundFr�sche.txt"
}
}
}
},
"headers_raw": [
[
{
"Rfc": "content_type"
},
{
"start": 1457,
"end": 1549
}
],
[
{
"Rfc": "content_transfer_encoding"
},
{
"start": 1575,
"end": 1588
}
],
[
{
"Rfc": "content_disposition"
},
{
"start": 1608,
"end": 1653
}
]
],
"is_encoding_problem": false,
"body": {
"Text": "\r\nbegin 600 HasenundFr�sche.txt\r\nM1&EE($AA<V5N('5N9\"!D:64@1G+V<V-H90T*#0I$:64@2&%S96X@:VQA9W1E\r\nM;B!E:6YS=\"#\\8F5R(&EH<F4@;6G?;&EC:&4@3&%G93L@(G=I<B!L96)E;B(L\r\nM('-P<F%C:\"!E:6X@4F5D;F5R+\"`B:6X@<W1E=&5R($9U<F-H=\"!V;W(@365N\r\nM<V-H96X@=6YD(%1I97)E;BP@96EN92!\"975T92!D97(@2'5N9&4L(&1E<B!!\r\nM9&QE<BP@:F$@9F%S=\"!A;&QE<B!2875B=&EE<F4A(%5N<V5R92!S=&5T92!!\r\nM;F=S=\"!I<W0@Y')G97(@86QS(&1E<B!4;V0@<V5L8G-T+B!!=68L(&QAWW0@\r\nM=6YS(&5I;B!F_'(@86QL96UA;\"!S=&5R8F5N+B(@#0H-\"DEN(&5I;F5M(&YA\r\nM:&5N(%1E:6-H('=O;&QT96X@<VEE('-I8V@@;G5N(&5R<^1U9F5N.R!S:64@\r\nM96EL=&5N(&EH;2!Z=3L@86QL96EN(&1A<R!A==]E<F]R9&5N=&QI8VAE($=E\r\nM=/9S92!U;F0@:6AR92!W=6YD97)B87)E($=E<W1A;'0@97)S8VAR96-K=&4@\r\nM96EN92!-96YG92!&<O9S8VAE+\"!D:64@86T@569E<B!S8=]E;BP@<V\\@<V5H\r\nM<BP@9&'?('-I92!A=69S('-C:&YE;&QS=&4@=6YT97)T875C:'1E;BX@#0H-\r\nM\"B)(86QT(BP@<FEE9B!N=6X@96)E;B!D:65S97(@4W!R96-H97(L(\")W:7(@\r\nM=V]L;&5N(&1A<R!%<G/D=69E;B!N;V-H(&5I;B!W96YI9R!A=69S8VAI96)E\r\nM;BP@9&5N;B!A=6-H('5N<R!F_')C:'1E;BP@=VEE(&EH<B!S96AT+\"!E:6YI\r\nM9V4@5&EE<F4L('=E;&-H92!A;'-O('=O:&P@;F]C:\"!U;F=L_&-K;&EC:&5R\r\n;('-E:6X@;?QS<V5N(&%L<R!W:7(N(B`-\"@T*\r\n`\r\nend\r\n"
},
"offset_header": 1444,
"offset_body": 1655,
"offset_end": 2745
},
{
"headers_rfc": {
"content_type": {
"ContentType": {
"c_type": "text",
"c_subtype": "plain",
"attributes": {
"charset": "us-ascii"
}
}
},
"content_disposition": {
"ContentType": {
"c_type": "attachment",
"c_subtype": null,
"attributes": {
"filename": "farmerandstork.txt"
}
}
}
},
"headers_raw": [
[
{
"Rfc": "content_type"
},
{
"start": 2796,
"end": 2829
}
],
[
{
"Rfc": "content_disposition"
},
{
"start": 2849,
"end": 2893
}
]
],
"is_encoding_problem": false,
"body": {
"Text": "\r\nThe Farmer and the Stork \r\n \r\nA FARMER placed nets on his newly-sown plowlands and caught a\r\nnumber of Cranes, which came to pick up his seed. With them he\r\ntrapped a Stork that had fractured his leg in the net and was\r\nearnestly beseeching the Farmer to spare his life. \"Pray save\r\nme, Master,\" he said, \"and let me go free this once. My broken\r\nlimb should excite your pity. Besides, I am no Crane, I am a\r\nStork, a bird of excellent character; and see how I love and\r\nslave for my father and mother. Look too, at my feathers--\r\nthey are not the least like those of a Crane.\" The Farmer \r\nlaughed aloud and said, \"It may be all as you say, I only know \r\nthis: I have taken you with these robbers, the Cranes, and you \r\nmust die in their company.\" \r\n \r\nBirds of a feather flock together. \r\n"
},
"offset_header": 2783,
"offset_body": 2895,
"offset_end": 3701
}
]
}
+31
View File
@@ -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:10:31 -0400
Message-ID: <NDBBIAKOPKHFGPLCODIGMEKBCHAA.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
+177
View File
@@ -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": 10,
"second": 31,
"tz_before_gmt": true,
"tz_hour": 4,
"tz_minute": 0
}
},
"offset_start": 153,
"offset_end": 187
},
{
"name": {
"Rfc": "message_id"
},
"value": {
"Text": "NDBBIAKOPKHFGPLCODIGMEKBCHAA.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": "quoted-printable"
},
"offset_start": 343,
"offset_end": 362
},
{
"name": {
"Other": "X-Priority"
},
"value": {
"Text": " 3 (Normal)\r\n"
},
"offset_start": 373,
"offset_end": 386
},
{
"name": {
"Other": "X-MSMail-Priority"
},
"value": {
"Text": " Normal\r\n"
},
"offset_start": 404,
"offset_end": 413
},
{
"name": {
"Other": "X-Mailer"
},
"value": {
"Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n"
},
"offset_start": 422,
"offset_end": 475
},
{
"name": {
"Other": "Importance"
},
"value": {
"Text": " Normal\r\n"
},
"offset_start": 486,
"offset_end": 495
},
{
"name": {
"Other": "X-MimeOLE"
},
"value": {
"Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n"
},
"offset_start": 505,
"offset_end": 553
}
],
"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": 555,
"offset_end": 1364
}
]
}
-219
View File
@@ -1,219 +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:10:31 -0400
Message-ID: <NDBBIAKOPKHFGPLCODIGMEKBCHAA.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 ----{
"html_body": [
0
],
"text_body": [
0
],
"attachments": [],
"parts": [
{
"headers_rfc": {
"subject": {
"Text": "Die Hasen und die Fr�sche (Microsoft Outlook 00)"
},
"from": {
"Address": {
"name": "Doug Sauder",
"address": "doug@example.com"
}
},
"to": {
"Address": {
"name": "J�rgen Schm�rgen",
"address": "schmuergen@example.com"
}
},
"date": {
"DateTime": {
"year": 2000,
"month": 5,
"day": 17,
"hour": 19,
"minute": 10,
"second": 31,
"tz_before_gmt": true,
"tz_hour": 4,
"tz_minute": 0
}
},
"message_id": {
"Text": "NDBBIAKOPKHFGPLCODIGMEKBCHAA.doug@example.com"
},
"mime_version": {
"Text": "1.0"
},
"content_transfer_encoding": {
"Text": "quoted-printable"
},
"content_type": {
"ContentType": {
"c_type": "text",
"c_subtype": "plain",
"attributes": {
"charset": "iso-8859-1"
}
}
}
},
"headers_raw": [
[
{
"Rfc": "from"
},
{
"start": 5,
"end": 40
}
],
[
{
"Rfc": "to"
},
{
"start": 43,
"end": 89
}
],
[
{
"Rfc": "subject"
},
{
"start": 97,
"end": 148
}
],
[
{
"Rfc": "date"
},
{
"start": 153,
"end": 187
}
],
[
{
"Rfc": "message_id"
},
{
"start": 198,
"end": 248
}
],
[
{
"Rfc": "mime_version"
},
{
"start": 261,
"end": 267
}
],
[
{
"Rfc": "content_type"
},
{
"start": 280,
"end": 317
}
],
[
{
"Rfc": "content_transfer_encoding"
},
{
"start": 343,
"end": 362
}
],
[
{
"Other": "X-Priority"
},
{
"start": 373,
"end": 386
}
],
[
{
"Other": "X-MSMail-Priority"
},
{
"start": 404,
"end": 413
}
],
[
{
"Other": "X-Mailer"
},
{
"start": 422,
"end": 475
}
],
[
{
"Other": "Importance"
},
{
"start": 486,
"end": 495
}
],
[
{
"Other": "X-MimeOLE"
},
{
"start": 505,
"end": 553
}
]
],
"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": 555,
"offset_end": 1364
}
]
}
+156
View File
@@ -0,0 +1,156 @@
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:44:45 -0400
Message-ID: <NDBBIAKOPKHFGPLCODIGKEKFCHAA.doug@example.com>
MIME-Version: 1.0
Content-Type: multipart/related;
boundary="----=_NextPart_000_000C_01BFC038.5A5C8E60"
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
This is a multi-part message in MIME format.
------=_NextPart_000_000C_01BFC038.5A5C8E60
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_000D_01BFC038.5A5C8E60"
------=_NextPart_001_000D_01BFC038.5A5C8E60
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
The Hare and the Tortoise=20
=20
A HARE one day ridiculed the short feet and slow pace of the Tortoise, =
who replied, laughing: "Though you be swift as the wind, I will beat =
you in a race." The Hare, believing her assertion to be simply =
impossible, assented to the proposal; and they agreed that the Fox =
should choose the course and fix the goal. On the day appointed for the =
race the two started together. The Tortoise never for a moment stopped, =
but went on with a slow but steady pace straight to the end of the =
course. The Hare, lying down by the wayside, fell fast asleep. At last =
waking up, and moving as fast as he could, he saw the Tortoise had =
reached the goal, and was comfortably dozing after her fatigue. =20
=20
Slow but steady wins the race. =20
------=_NextPart_001_000D_01BFC038.5A5C8E60
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!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>&nbsp;<BR>A HARE=20
one day ridiculed the short feet and slow pace of the Tortoise, who =
replied,=20
laughing:&nbsp; "Though you be swift as the wind, I will beat you in a=20
race."&nbsp; 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.&nbsp; On the day appointed for the race the two started=20
together.&nbsp; The Tortoise never for a moment stopped, but went on =
with a slow=20
but steady pace straight to the end of the course.&nbsp; The Hare, lying =
down by=20
the wayside, fell fast asleep.&nbsp; 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.&nbsp;&nbsp;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><IMG align=3Dbaseline alt=3D"blue ball" =
border=3D0=20
hspace=3D0 src=3D"cid:823504223@17052000-0f8d"><BR>&nbsp;<BR>Slow but =
steady wins=20
the race.&nbsp; </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><IMG align=3Dbaseline alt=3D"red ball" =
border=3D0=20
hspace=3D0 =
src=3D"cid:823504223@17052000-0f94"><BR></DIV></FONT></BODY></HTML>
------=_NextPart_001_000D_01BFC038.5A5C8E60--
------=_NextPart_000_000C_01BFC038.5A5C8E60
Content-Type: image/png;
name="blueball.png"
Content-Transfer-Encoding: base64
Content-ID: <823504223@17052000-0f8d>
iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAgAABAAABgAAAAA
CCkAEEIAEEoACDEAEFIIIXMIKXsIKYQIIWsAGFoACDkIIWMQOZwYQqUYQq0YQrUQOaUQMZQAGFIQ
MYwpUrU5Y8Y5Y84pWs4YSs4YQs4YQr1Ca8Z7nNacvd6Mtd5jlOcxa94hUt4YStYYQsYQMaUAACHO
5+/n7++cxu9ShO8pWucQOa1Ke86tzt6lzu9ajO8QMZxahNat1ufO7++Mve9Ke+8YOaUYSsaMvee1
5++Uve8AAClajOdzpe9rnO8IKYwxY+8pWu8IIXsAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAA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aLThK/MjRxm
T6KdzZ9fGk9yatMsTgZLl3XVgFRAC6spj/13enssqJVtWVa3NdBSacL8+VZmYqKmdd1CSYoOiMOS
GwtzlqqlFFIuOqv0a1ZEZrUkWICLLFW266y1KvWE1zV/iDAH1EopnVLCiygZCIomH3NCKX0lnI+B
1iuuzCGTxwXjnDO4d7NpbX42YJJHkBwmAm2TxwAZg40J3+Xtbv1rgOAZwG0NxW62p+lT+Yi747sD
/wEUVMzYmWkOvwAAACV0RVh0Q29tbWVudABjbGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZz
O7wAAAAASUVORK5CYII=
------=_NextPart_000_000C_01BFC038.5A5C8E60
Content-Type: image/png;
name="redball.png"
Content-Transfer-Encoding: base64
Content-ID: <823504223@17052000-0f94>
iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAABAAALAAAVAAAa
AAAXAAARAAAKAAADAAAcAAAyAABEAABNAABIAAA9AAAjAAAWAAAmAABhAAB7AACGAACHAAB9AAB0
AABgAAA5AAAUAAAGAAAnAABLAABvAACQAAClAAC7AAC/AACrAAChAACMAABzAABbAAAuAAAIAABM
AAB3AACZAAC0GRnKODjVPT3bKSndBQW4AACoAAB5AAAxAAAYAAAEAABFAACaAAC7JCTRYWHfhITm
f3/mVlbqHx/SAAC5AACjAABdAABCAAAoAAAJAABnAAC6Dw/QVFTek5PlrKzpmZntZWXvJSXXAADB
AACxAACcAABtAABTAAA2AAAbAAAFAABKAACBAADLICDdZ2fonJzrpqbtiorvUVHvFBTRAADDAAC2
AAB4AABeAABAAAAiAABXAACSAADCAADaGxvoVVXseHjveHjvV1fvJibhAADOAAC3AACnAACVAABH
AAArAAAPAACdAADFAADhBQXrKCjvPDzvNTXvGxvjAADQAADJAAC1AACXAACEAABsAABPAAASAAAC
AABiAADpAADvAgLnAADYAADLAAC6AACwAABwAAATAAAkAABYAADIAADTAADNAACzAACDAABuAAAe
AAB+AADAAACkAACNAAB/A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rx7vQk5SQJbFtSms1y9evXid7QZacgOxmSxktNzd
tSwwU+J/VICaCPFIYU3XAJhIOtjf5sfyAAAAJXRFWHRDb21tZW50AGNsaXAyZ2lmIHYuMC42IGJ5
IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
------=_NextPart_000_000C_01BFC038.5A5C8E60--
+265 -447
View File
@@ -1,161 +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:44:45 -0400
Message-ID: <NDBBIAKOPKHFGPLCODIGKEKFCHAA.doug@example.com>
MIME-Version: 1.0
Content-Type: multipart/related;
boundary="----=_NextPart_000_000C_01BFC038.5A5C8E60"
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
This is a multi-part message in MIME format.
------=_NextPart_000_000C_01BFC038.5A5C8E60
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_000D_01BFC038.5A5C8E60"
------=_NextPart_001_000D_01BFC038.5A5C8E60
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
The Hare and the Tortoise=20
=20
A HARE one day ridiculed the short feet and slow pace of the Tortoise, =
who replied, laughing: "Though you be swift as the wind, I will beat =
you in a race." The Hare, believing her assertion to be simply =
impossible, assented to the proposal; and they agreed that the Fox =
should choose the course and fix the goal. On the day appointed for the =
race the two started together. The Tortoise never for a moment stopped, =
but went on with a slow but steady pace straight to the end of the =
course. The Hare, lying down by the wayside, fell fast asleep. At last =
waking up, and moving as fast as he could, he saw the Tortoise had =
reached the goal, and was comfortably dozing after her fatigue. =20
=20
Slow but steady wins the race. =20
------=_NextPart_001_000D_01BFC038.5A5C8E60
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!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>&nbsp;<BR>A HARE=20
one day ridiculed the short feet and slow pace of the Tortoise, who =
replied,=20
laughing:&nbsp; "Though you be swift as the wind, I will beat you in a=20
race."&nbsp; 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.&nbsp; On the day appointed for the race the two started=20
together.&nbsp; The Tortoise never for a moment stopped, but went on =
with a slow=20
but steady pace straight to the end of the course.&nbsp; The Hare, lying =
down by=20
the wayside, fell fast asleep.&nbsp; 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.&nbsp;&nbsp;</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><IMG align=3Dbaseline alt=3D"blue ball" =
border=3D0=20
hspace=3D0 src=3D"cid:823504223@17052000-0f8d"><BR>&nbsp;<BR>Slow but =
steady wins=20
the race.&nbsp; </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><IMG align=3Dbaseline alt=3D"red ball" =
border=3D0=20
hspace=3D0 =
src=3D"cid:823504223@17052000-0f94"><BR></DIV></FONT></BODY></HTML>
------=_NextPart_001_000D_01BFC038.5A5C8E60--
------=_NextPart_000_000C_01BFC038.5A5C8E60
Content-Type: image/png;
name="blueball.png"
Content-Transfer-Encoding: base64
Content-ID: <823504223@17052000-0f8d>
iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAgAABAAABgAAAAA
CCkAEEIAEEoACDEAEFIIIXMIKXsIKYQIIWsAGFoACDkIIWMQOZwY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AAAGISURBVHicddJtV5swGAbgEk6AJhBSk4bMCUynBSLaqovbrG/bfPn/vyh70lbssceb
L5xznTsh5BmNhgQoRChwo50EOIohUYLDj4zHhKYQkrEoQdvock4ne0IKMVUpKZLQDeqSTIsv+18P
yqqWUw2IBsRM7307PPp+fDJrWtnpLDJvewYxnewfnvanZ+fzpmwXijC8KbqEa3Fx2ff91Y95U9XC
UpaDeQwiMpHXP/v+1++bWVPWQoGFawtjury9vru/f/C1Vi7ezT0WWpQHf/7+u/G71aLThK/MjRxm
T6KdzZ9fGk9yatMsTgZLl3XVgFRAC6spj/13enssqJVtWVa3NdBSacL8+VZmYqKmdd1CSYoOiMOS
GwtzlqqlFFIuOqv0a1ZEZrUkWICLLFW266y1KvWE1zV/iDAH1EopnVLCiygZCIomH3NCKX0lnI+B
1iuuzCGTxwXjnDO4d7NpbX42YJJHkBwmAm2TxwAZg40J3+Xtbv1rgOAZwG0NxW62p+lT+Yi747sD
/wEUVMzYmWkOvwAAACV0RVh0Q29tbWVudABjbGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZz
O7wAAAAASUVORK5CYII=
------=_NextPart_000_000C_01BFC038.5A5C8E60
Content-Type: image/png;
name="redball.png"
Content-Transfer-Encoding: base64
Content-ID: <823504223@17052000-0f94>
iVBORw0KGgoAAAANSUhEUgAAABsAAAAbCAMAAAC6CgRnAAADAFBMVEX///8AAAABAAALAAAVAAAa
AAAXAAARAAAKAAADAAAcAAAyAABEAABNAABIAAA9AAAjAAAWAAAmAABhAAB7AACGAACHAAB9AAB0
AABgAAA5AAAUAAAGAAAnAABLAABvAACQAAClAAC7AAC/AACrAAChAACMAABzAABbAAAuAAAIAABM
AAB3AACZAAC0GRnKODjVPT3bKSndBQW4AACoAAB5AAAxAAAYAAAEAABFAACaAAC7JCTRYWHfhITm
f3/mVlbqHx/SAAC5AACjAABdAABCAAAoAAAJAABnAAC6Dw/QVFTek5PlrKzpmZntZWXvJSXXAADB
AACxAACcAABtAABTAAA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UG5piNz/uXLzVJ2q
m6dXz584S2WB1cJFi5cshZr539xVftnyFKUVTi2TVjqvyhJLXb1m7TqoHPt6F/HW0g0bN63crGqV
tWXrtu07BJihcsw71+zanRW8Z89eq337RQ/Ip60xO3gIElX/LbikDm8T36KwbNmRo7O3zpHkPSZw
HBqL//8flz1x2OOkyKJTi7aqbzutfUZI2gIuF8F2lr/D5dw2+fZdwpl8YVOlI+CJ4/9/joOyYed5
QzMvhGqnm2V0WiClm///D0lfXHtJ6vLlK9w7rx7vQk5SQJbFtSms1y9evXid7QZacgOxmSxktNzd
tSwwU+J/VICaCPFIYU3XAJhIOtjf5sfyAAAAJXRFWHRDb21tZW50AGNsaXAyZ2lmIHYuMC42IGJ5
IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
------=_NextPart_000_000C_01BFC038.5A5C8E60--
---- EXPECTED STRUCTURE ----{
{
"html_body": [
3
],
@@ -168,160 +11,152 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
],
"parts": [
{
"headers_rfc": {
"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"
}
},
"date": {
"DateTime": {
"year": 2000,
"month": 5,
"day": 17,
"hour": 19,
"minute": 44,
"second": 45,
"tz_before_gmt": true,
"tz_hour": 4,
"tz_minute": 0
}
},
"message_id": {
"Text": "NDBBIAKOPKHFGPLCODIGKEKFCHAA.doug@example.com"
},
"mime_version": {
"Text": "1.0"
},
"content_type": {
"ContentType": {
"c_type": "multipart",
"c_subtype": "related",
"attributes": {
"boundary": "----=_NextPart_000_000C_01BFC038.5A5C8E60"
}
}
}
},
"headers_raw": [
[
{
"headers": [
{
"name": {
"Rfc": "from"
},
{
"start": 5,
"end": 40
}
],
[
{
"value": {
"Address": {
"name": "Doug Sauder",
"address": "doug@example.com"
}
},
"offset_start": 5,
"offset_end": 40
},
{
"name": {
"Rfc": "to"
},
{
"start": 43,
"end": 76
}
],
[
{
"value": {
"Address": {
"name": "Joe Blow",
"address": "jblow@example.com"
}
},
"offset_start": 43,
"offset_end": 76
},
{
"name": {
"Rfc": "subject"
},
{
"start": 84,
"end": 125
}
],
[
{
"value": {
"Text": "Test message from Microsoft Outlook 00"
},
"offset_start": 84,
"offset_end": 125
},
{
"name": {
"Rfc": "date"
},
{
"start": 130,
"end": 164
}
],
[
{
"value": {
"DateTime": {
"year": 2000,
"month": 5,
"day": 17,
"hour": 19,
"minute": 44,
"second": 45,
"tz_before_gmt": true,
"tz_hour": 4,
"tz_minute": 0
}
},
"offset_start": 130,
"offset_end": 164
},
{
"name": {
"Rfc": "message_id"
},
{
"start": 175,
"end": 225
}
],
[
{
"value": {
"Text": "NDBBIAKOPKHFGPLCODIGKEKFCHAA.doug@example.com"
},
"offset_start": 175,
"offset_end": 225
},
{
"name": {
"Rfc": "mime_version"
},
{
"start": 238,
"end": 244
}
],
[
{
"value": {
"Text": "1.0"
},
"offset_start": 238,
"offset_end": 244
},
{
"name": {
"Rfc": "content_type"
},
{
"start": 257,
"end": 333
}
],
[
{
"value": {
"ContentType": {
"c_type": "multipart",
"c_subtype": "related",
"attributes": [
[
"boundary",
"----=_NextPart_000_000C_01BFC038.5A5C8E60"
]
]
}
},
"offset_start": 257,
"offset_end": 333
},
{
"name": {
"Other": "X-Priority"
},
{
"start": 344,
"end": 357
}
],
[
{
"value": {
"Text": " 3 (Normal)\r\n"
},
"offset_start": 344,
"offset_end": 357
},
{
"name": {
"Other": "X-MSMail-Priority"
},
{
"start": 375,
"end": 384
}
],
[
{
"value": {
"Text": " Normal\r\n"
},
"offset_start": 375,
"offset_end": 384
},
{
"name": {
"Other": "X-Mailer"
},
{
"start": 393,
"end": 446
}
],
[
{
"value": {
"Text": " Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)\r\n"
},
"offset_start": 393,
"offset_end": 446
},
{
"name": {
"Other": "Importance"
},
{
"start": 457,
"end": 466
}
],
[
{
"value": {
"Text": " Normal\r\n"
},
"offset_start": 457,
"offset_end": 466
},
{
"name": {
"Other": "X-MimeOLE"
},
{
"start": 476,
"end": 524
}
]
"value": {
"Text": " Produced By Microsoft MimeOLE V5.00.2314.1300\r\n"
},
"offset_start": 476,
"offset_end": 524
}
],
"is_encoding_problem": false,
"body": {
@@ -336,27 +171,26 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
"offset_end": 7633
},
{
"headers_rfc": {
"content_type": {
"ContentType": {
"c_type": "multipart",
"c_subtype": "alternative",
"attributes": {
"boundary": "----=_NextPart_001_000D_01BFC038.5A5C8E60"
}
}
}
},
"headers_raw": [
[
{
"headers": [
{
"name": {
"Rfc": "content_type"
},
{
"start": 632,
"end": 712
}
]
"value": {
"ContentType": {
"c_type": "multipart",
"c_subtype": "alternative",
"attributes": [
[
"boundary",
"----=_NextPart_001_000D_01BFC038.5A5C8E60"
]
]
}
},
"offset_start": 632,
"offset_end": 712
}
],
"is_encoding_problem": false,
"body": {
@@ -370,39 +204,36 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
"offset_end": 3435
},
{
"headers_rfc": {
"content_transfer_encoding": {
"Text": "quoted-printable"
},
"content_type": {
"ContentType": {
"c_type": "text",
"c_subtype": "plain",
"attributes": {
"charset": "iso-8859-1"
}
}
}
},
"headers_raw": [
[
{
"headers": [
{
"name": {
"Rfc": "content_type"
},
{
"start": 774,
"end": 811
}
],
[
{
"value": {
"ContentType": {
"c_type": "text",
"c_subtype": "plain",
"attributes": [
[
"charset",
"iso-8859-1"
]
]
}
},
"offset_start": 774,
"offset_end": 811
},
{
"name": {
"Rfc": "content_transfer_encoding"
},
{
"start": 837,
"end": 856
}
]
"value": {
"Text": "quoted-printable"
},
"offset_start": 837,
"offset_end": 856
}
],
"is_encoding_problem": false,
"body": {
@@ -410,42 +241,39 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
},
"offset_header": 761,
"offset_body": 858,
"offset_end": 1669
"offset_end": 1667
},
{
"headers_rfc": {
"content_transfer_encoding": {
"Text": "quoted-printable"
},
"content_type": {
"ContentType": {
"c_type": "text",
"c_subtype": "html",
"attributes": {
"charset": "iso-8859-1"
}
}
}
},
"headers_raw": [
[
{
"headers": [
{
"name": {
"Rfc": "content_type"
},
{
"start": 1727,
"end": 1763
}
],
[
{
"value": {
"ContentType": {
"c_type": "text",
"c_subtype": "html",
"attributes": [
[
"charset",
"iso-8859-1"
]
]
}
},
"offset_start": 1727,
"offset_end": 1763
},
{
"name": {
"Rfc": "content_transfer_encoding"
},
{
"start": 1789,
"end": 1808
}
]
"value": {
"Text": "quoted-printable"
},
"offset_start": 1789,
"offset_end": 1808
}
],
"is_encoding_problem": false,
"body": {
@@ -453,54 +281,49 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
},
"offset_header": 1714,
"offset_body": 1810,
"offset_end": 3388
"offset_end": 3386
},
{
"headers_rfc": {
"content_id": {
"Text": "823504223@17052000-0f8d"
},
"content_transfer_encoding": {
"Text": "base64"
},
"content_type": {
"ContentType": {
"c_type": "image",
"c_subtype": "png",
"attributes": {
"name": "blueball.png"
}
}
}
},
"headers_raw": [
[
{
"headers": [
{
"name": {
"Rfc": "content_type"
},
{
"start": 3495,
"end": 3530
}
],
[
{
"value": {
"ContentType": {
"c_type": "image",
"c_subtype": "png",
"attributes": [
[
"name",
"blueball.png"
]
]
}
},
"offset_start": 3495,
"offset_end": 3530
},
{
"name": {
"Rfc": "content_transfer_encoding"
},
{
"start": 3556,
"end": 3565
}
],
[
{
"value": {
"Text": "base64"
},
"offset_start": 3556,
"offset_end": 3565
},
{
"name": {
"Rfc": "content_id"
},
{
"start": 3576,
"end": 3604
}
]
"value": {
"Text": "823504223@17052000-0f8d"
},
"offset_start": 3576,
"offset_end": 3604
}
],
"is_encoding_problem": false,
"body": {
@@ -1834,54 +1657,49 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
},
"offset_header": 3482,
"offset_body": 3606,
"offset_end": 5424
"offset_end": 5422
},
{
"headers_rfc": {
"content_id": {
"Text": "823504223@17052000-0f94"
},
"content_transfer_encoding": {
"Text": "base64"
},
"content_type": {
"ContentType": {
"c_type": "image",
"c_subtype": "png",
"attributes": {
"name": "redball.png"
}
}
}
},
"headers_raw": [
[
{
"headers": [
{
"name": {
"Rfc": "content_type"
},
{
"start": 5482,
"end": 5516
}
],
[
{
"value": {
"ContentType": {
"c_type": "image",
"c_subtype": "png",
"attributes": [
[
"name",
"redball.png"
]
]
}
},
"offset_start": 5482,
"offset_end": 5516
},
{
"name": {
"Rfc": "content_transfer_encoding"
},
{
"start": 5542,
"end": 5551
}
],
[
{
"value": {
"Text": "base64"
},
"offset_start": 5542,
"offset_end": 5551
},
{
"name": {
"Rfc": "content_id"
},
{
"start": 5562,
"end": 5590
}
]
"value": {
"Text": "823504223@17052000-0f94"
},
"offset_start": 5562,
"offset_end": 5590
}
],
"is_encoding_problem": false,
"body": {
@@ -3343,7 +3161,7 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
},
"offset_header": 5469,
"offset_body": 5592,
"offset_end": 7586
"offset_end": 7584
}
]
}
+27
View File
@@ -0,0 +1,27 @@
Message-ID: <392362D8.B650789F@example.com>
Date: Wed, 17 May 2000 23:26:16 -0400
From: Doug Sauder <dwsauder@example.com>
X-Mailer: Mozilla 4.7 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: Joe Blow <blow@example.com>
Subject: Test message from Netscape Communicator 4.7
X-Priority: 1 (Highest)
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
The Hare and the Tortoise
A HARE one day ridiculed the short feet and slow pace of the Tortoise,
who replied, laughing: "Though you be swift as the wind, I will beat
you in a race." The Hare, believing her assertion to be simply
impossible, assented to the proposal; and they agreed that the Fox
should choose the course and fix the goal. On the day appointed for the
race the two started together. The Tortoise never for a moment stopped,
but went on with a slow but steady pace straight to the end of the
course. The Hare, lying down by the wayside, fell fast asleep. At last
waking up, and moving as fast as he could, he saw the Tortoise had
reached the goal, and was comfortably dozing after her fatigue.
Slow but steady wins the race.
+157
View File
@@ -0,0 +1,157 @@
{
"html_body": [
0
],
"text_body": [
0
],
"attachments": [],
"parts": [
{
"headers": [
{
"name": {
"Rfc": "message_id"
},
"value": {
"Text": "392362D8.B650789F@example.com"
},
"offset_start": 11,
"offset_end": 45
},
{
"name": {
"Rfc": "date"
},
"value": {
"DateTime": {
"year": 2000,
"month": 5,
"day": 17,
"hour": 23,
"minute": 26,
"second": 16,
"tz_before_gmt": true,
"tz_hour": 4,
"tz_minute": 0
}
},
"offset_start": 50,
"offset_end": 84
},
{
"name": {
"Rfc": "from"
},
"value": {
"Address": {
"name": "Doug Sauder",
"address": "dwsauder@example.com"
}
},
"offset_start": 89,
"offset_end": 126
},
{
"name": {
"Other": "X-Mailer"
},
"value": {
"Text": " Mozilla 4.7 [en] (WinNT; I)\r\n"
},
"offset_start": 135,
"offset_end": 165
},
{
"name": {
"Other": "X-Accept-Language"
},
"value": {
"Text": " en\r\n"
},
"offset_start": 183,
"offset_end": 188
},
{
"name": {
"Rfc": "mime_version"
},
"value": {
"Text": "1.0"
},
"offset_start": 201,
"offset_end": 207
},
{
"name": {
"Rfc": "to"
},
"value": {
"Address": {
"name": "Joe Blow",
"address": "blow@example.com"
}
},
"offset_start": 210,
"offset_end": 240
},
{
"name": {
"Rfc": "subject"
},
"value": {
"Text": "Test message from Netscape Communicator 4.7"
},
"offset_start": 248,
"offset_end": 294
},
{
"name": {
"Other": "X-Priority"
},
"value": {
"Text": " 1 (Highest)\r\n"
},
"offset_start": 305,
"offset_end": 319
},
{
"name": {
"Rfc": "content_type"
},
"value": {
"ContentType": {
"c_type": "text",
"c_subtype": "plain",
"attributes": [
[
"charset",
"us-ascii"
]
]
}
},
"offset_start": 332,
"offset_end": 363
},
{
"name": {
"Rfc": "content_transfer_encoding"
},
"value": {
"Text": "7bit"
},
"offset_start": 389,
"offset_end": 396
}
],
"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,\r\nwho replied, laughing: \"Though you be swift as the wind, I will beat\r\nyou in a race.\" The Hare, believing her assertion to be simply\r\nimpossible, assented to the proposal; and they agreed that the Fox\r\nshould choose the course and fix the goal. On the day appointed for the\r\nrace the two started together. The Tortoise never for a moment stopped,\r\nbut went on with a slow but steady pace straight to the end of the\r\ncourse. The Hare, lying down by the wayside, fell fast asleep. At last\r\nwaking up, and moving as fast as he could, he saw the Tortoise had\r\nreached the goal, and was comfortably dozing after her fatigue. \r\n \r\nSlow but steady wins the race.\r\n"
},
"offset_header": 0,
"offset_body": 398,
"offset_end": 1167
}
]
}

Some files were not shown because too many files have changed in this diff Show More