mirror of
https://github.com/stalwartlabs/mail-parser.git
synced 2026-11-29 00:01:49 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f7281e09cf | ||
|
|
46a8db9a54 | ||
|
|
a0448c31e9 |
@@ -1,3 +1,8 @@
|
||||
mail-parser 0.4.3
|
||||
================================
|
||||
- Mbox file parsing support (issue #11) conforming to the [QMail specification](http://qmail.org/qmail-manual-html/man5/mbox.html).
|
||||
- Support for bincode serialize/deserialize.
|
||||
|
||||
mail-parser 0.4.2
|
||||
================================
|
||||
- Added `Message::get_thread_name()` to obtain the base subject of a message as defined in [RFC 5957 - Internet Message Access Protocol - SORT and THREAD Extensions (Section 2.1)](https://datatracker.ietf.org/doc/html/rfc5256#section-2.1).
|
||||
|
||||
Generated
+11
-1
@@ -8,6 +8,15 @@ version = "1.0.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a"
|
||||
|
||||
[[package]]
|
||||
name = "bincode"
|
||||
version = "1.3.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "b1f45e9417d87227c7a56d22e471c6206462cba514c7590c09aff4cf6d1ddcad"
|
||||
dependencies = [
|
||||
"serde",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "cfg-if"
|
||||
version = "1.0.0"
|
||||
@@ -59,8 +68,9 @@ checksum = "7fb9b38af92608140b86b693604b9ffcc5824240a484d1ecd4795bacb2fe88f3"
|
||||
|
||||
[[package]]
|
||||
name = "mail-parser"
|
||||
version = "0.4.2"
|
||||
version = "0.4.3"
|
||||
dependencies = [
|
||||
"bincode",
|
||||
"encoding_rs",
|
||||
"serde",
|
||||
"serde_bytes",
|
||||
|
||||
+2
-1
@@ -1,7 +1,7 @@
|
||||
[package]
|
||||
name = "mail-parser"
|
||||
description = "Fast and robust e-mail parsing library for Rust"
|
||||
version = "0.4.2"
|
||||
version = "0.4.3"
|
||||
edition = "2018"
|
||||
authors = [ "Stalwart Labs <hello@stalw.art>"]
|
||||
license = "Apache-2.0 OR MIT"
|
||||
@@ -19,6 +19,7 @@ serde_bytes = { version = "0.11", optional=true}
|
||||
[dev-dependencies]
|
||||
serde_yaml = "0.8"
|
||||
serde_json = "1.0"
|
||||
bincode = "1.3.3"
|
||||
|
||||
[features]
|
||||
default = ["serde_support", "full_encoding"]
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
[](https://github.com/stalwartlabs/mail-parser/actions/workflows/rust.yml)
|
||||
[](https://docs.rs/mail-parser)
|
||||
[](http://www.apache.org/licenses/LICENSE-2.0)
|
||||
[](https://twitter.com/stalwartlabs)
|
||||
|
||||
_mail-parser_ is an **e-mail parsing library** written in Rust that fully conforms to the Internet Message Format standard (_RFC 5322_), the
|
||||
Multipurpose Internet Mail Extensions (MIME; _RFC 2045 - 2049_) as well as many other [internet messaging RFCs](#conformed-rfcs).
|
||||
@@ -178,6 +177,8 @@ R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7
|
||||
println!("{}", serde_yaml::to_string(&message).unwrap());
|
||||
```
|
||||
|
||||
More examples available under the [examples](examples) directory.
|
||||
|
||||
## Testing, Fuzzing & Benchmarking
|
||||
|
||||
To run the testsuite:
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
* Copyright Stalwart Labs, Minter Ltd. See the COPYING
|
||||
* file at the top-level directory of this distribution.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
* https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
||||
* <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
|
||||
* option. This file may not be copied, modified, or distributed
|
||||
* except according to those terms.
|
||||
*/
|
||||
|
||||
use mail_parser::{parsers::mbox::MBoxParser, Message};
|
||||
|
||||
fn main() {
|
||||
// Read an MBox mailbox from stdin and prints each message as YAML.
|
||||
|
||||
for raw_message in MBoxParser::new(std::io::stdin()) {
|
||||
let message = Message::parse(&raw_message).unwrap();
|
||||
println!("{}", serde_yaml::to_string(&message).unwrap());
|
||||
}
|
||||
}
|
||||
+1
-56
@@ -270,48 +270,20 @@ use serde::{Deserialize, Serialize};
|
||||
#[derive(Debug, Default, PartialEq)]
|
||||
#[cfg_attr(feature = "serde_support", derive(Serialize, Deserialize))]
|
||||
pub struct Message<'x> {
|
||||
#[cfg_attr(
|
||||
feature = "serde_support",
|
||||
serde(skip_serializing_if = "HashMap::is_empty")
|
||||
)]
|
||||
#[cfg_attr(feature = "serde_support", serde(default))]
|
||||
pub headers_rfc: RfcHeaders<'x>,
|
||||
#[cfg_attr(
|
||||
feature = "serde_support",
|
||||
serde(skip_serializing_if = "HashMap::is_empty")
|
||||
)]
|
||||
#[cfg_attr(feature = "serde_support", serde(default))]
|
||||
pub headers_other: OtherHeaders<'x>,
|
||||
#[cfg_attr(
|
||||
feature = "serde_support",
|
||||
serde(skip_serializing_if = "Vec::is_empty")
|
||||
)]
|
||||
#[cfg_attr(feature = "serde_support", serde(default))]
|
||||
pub headers_offsets: Vec<HeaderOffset<'x>>,
|
||||
|
||||
#[cfg_attr(
|
||||
feature = "serde_support",
|
||||
serde(skip_serializing_if = "Vec::is_empty")
|
||||
)]
|
||||
#[cfg_attr(feature = "serde_support", serde(default))]
|
||||
pub html_body: Vec<MessagePartId>,
|
||||
#[cfg_attr(
|
||||
feature = "serde_support",
|
||||
serde(skip_serializing_if = "Vec::is_empty")
|
||||
)]
|
||||
#[cfg_attr(feature = "serde_support", serde(default))]
|
||||
pub text_body: Vec<MessagePartId>,
|
||||
#[cfg_attr(
|
||||
feature = "serde_support",
|
||||
serde(skip_serializing_if = "Vec::is_empty")
|
||||
)]
|
||||
#[cfg_attr(feature = "serde_support", serde(default))]
|
||||
pub attachments: Vec<MessagePartId>,
|
||||
|
||||
#[cfg_attr(
|
||||
feature = "serde_support",
|
||||
serde(skip_serializing_if = "Vec::is_empty")
|
||||
)]
|
||||
#[cfg_attr(feature = "serde_support", serde(default))]
|
||||
#[cfg_attr(feature = "serde_support", serde(borrow))]
|
||||
pub parts: Vec<MessagePart<'x>>,
|
||||
@@ -345,10 +317,6 @@ impl Default for MessageStructure {
|
||||
#[derive(Debug, Default, PartialEq)]
|
||||
#[cfg_attr(feature = "serde_support", derive(Serialize, Deserialize))]
|
||||
pub struct Part<'x, T> {
|
||||
#[cfg_attr(
|
||||
feature = "serde_support",
|
||||
serde(skip_serializing_if = "HashMap::is_empty")
|
||||
)]
|
||||
#[cfg_attr(feature = "serde_support", serde(default))]
|
||||
pub headers: RfcHeaders<'x>,
|
||||
|
||||
@@ -444,18 +412,10 @@ impl<'x> MessagePart<'x> {
|
||||
#[cfg_attr(feature = "serde_support", derive(Serialize, Deserialize))]
|
||||
pub struct Addr<'x> {
|
||||
/// The address name including comments
|
||||
#[cfg_attr(
|
||||
feature = "serde_support",
|
||||
serde(skip_serializing_if = "Option::is_none")
|
||||
)]
|
||||
#[cfg_attr(feature = "serde_support", serde(default))]
|
||||
pub name: Option<Cow<'x, str>>,
|
||||
|
||||
/// An e-mail address (RFC5322/RFC2369) or URL (RFC2369)
|
||||
#[cfg_attr(
|
||||
feature = "serde_support",
|
||||
serde(skip_serializing_if = "Option::is_none")
|
||||
)]
|
||||
#[cfg_attr(feature = "serde_support", serde(default))]
|
||||
pub address: Option<Cow<'x, str>>,
|
||||
}
|
||||
@@ -465,18 +425,10 @@ pub struct Addr<'x> {
|
||||
#[cfg_attr(feature = "serde_support", derive(Serialize, Deserialize))]
|
||||
pub struct Group<'x> {
|
||||
/// Group name
|
||||
#[cfg_attr(
|
||||
feature = "serde_support",
|
||||
serde(skip_serializing_if = "Option::is_none")
|
||||
)]
|
||||
#[cfg_attr(feature = "serde_support", serde(default))]
|
||||
pub name: Option<Cow<'x, str>>,
|
||||
|
||||
/// Addressess member of the group
|
||||
#[cfg_attr(
|
||||
feature = "serde_support",
|
||||
serde(skip_serializing_if = "Vec::is_empty")
|
||||
)]
|
||||
#[cfg_attr(feature = "serde_support", serde(default))]
|
||||
pub addresses: Vec<Addr<'x>>,
|
||||
}
|
||||
@@ -549,6 +501,7 @@ pub enum HeaderName {
|
||||
/// A parsed header value.
|
||||
#[derive(Debug, PartialEq)]
|
||||
#[cfg_attr(feature = "serde_support", derive(Serialize, Deserialize))]
|
||||
//#[cfg_attr(feature = "serde_support", serde(tag = "type"))]
|
||||
pub enum HeaderValue<'x> {
|
||||
/// A single address
|
||||
Address(Addr<'x>),
|
||||
@@ -647,16 +600,8 @@ impl<'x> HeaderValue<'x> {
|
||||
#[cfg_attr(feature = "serde_support", derive(Serialize, Deserialize))]
|
||||
pub struct ContentType<'x> {
|
||||
pub c_type: Cow<'x, str>,
|
||||
#[cfg_attr(
|
||||
feature = "serde_support",
|
||||
serde(skip_serializing_if = "Option::is_none")
|
||||
)]
|
||||
#[cfg_attr(feature = "serde_support", serde(default))]
|
||||
pub c_subtype: Option<Cow<'x, str>>,
|
||||
#[cfg_attr(
|
||||
feature = "serde_support",
|
||||
serde(skip_serializing_if = "Option::is_none")
|
||||
)]
|
||||
#[cfg_attr(feature = "serde_support", serde(default))]
|
||||
pub attributes: Option<HashMap<Cow<'x, str>, Cow<'x, str>>>,
|
||||
}
|
||||
|
||||
@@ -0,0 +1,126 @@
|
||||
/*
|
||||
* Copyright Stalwart Labs, Minter Ltd. See the COPYING
|
||||
* file at the top-level directory of this distribution.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
* https://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
||||
* <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your
|
||||
* option. This file may not be copied, modified, or distributed
|
||||
* except according to those terms.
|
||||
*/
|
||||
|
||||
use std::io::{BufRead, BufReader, Read};
|
||||
|
||||
/// Parses an MBox mailbox from a `Read` stream, returning each message as a
|
||||
/// `Vec<u8>`.
|
||||
/// supports >From quoting as defined in the [QMail mbox specification](http://qmail.org/qmail-manual-html/man5/mbox.html).
|
||||
pub struct MBoxParser<T: Read> {
|
||||
reader: BufReader<T>,
|
||||
found_from: bool,
|
||||
}
|
||||
|
||||
impl<T> MBoxParser<T>
|
||||
where
|
||||
T: Read,
|
||||
{
|
||||
pub fn new(reader: T) -> MBoxParser<T> {
|
||||
MBoxParser {
|
||||
reader: BufReader::new(reader),
|
||||
found_from: false,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl<T> Iterator for MBoxParser<T>
|
||||
where
|
||||
T: Read,
|
||||
{
|
||||
type Item = Vec<u8>;
|
||||
|
||||
fn next(&mut self) -> Option<Vec<u8>> {
|
||||
let mut message = Vec::with_capacity(1024);
|
||||
let mut message_line = Vec::with_capacity(80);
|
||||
|
||||
while self
|
||||
.reader
|
||||
.read_until(b'\n', &mut message_line)
|
||||
.expect("Error while reading Mbox")
|
||||
> 0
|
||||
{
|
||||
let is_from = message_line
|
||||
.get(..5)
|
||||
.map(|line| line == b"From ")
|
||||
.unwrap_or(false);
|
||||
|
||||
if self.found_from {
|
||||
if !is_from {
|
||||
if message_line[0] != b'>' {
|
||||
message.append(&mut message_line);
|
||||
} else if message_line
|
||||
.iter()
|
||||
.skip_while(|&&ch| ch == b'>')
|
||||
.take(5)
|
||||
.copied()
|
||||
.collect::<Vec<u8>>()
|
||||
== b"From "
|
||||
{
|
||||
message.extend_from_slice(&message_line[1..]);
|
||||
message_line.clear();
|
||||
} else {
|
||||
message.append(&mut message_line);
|
||||
}
|
||||
} else {
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
if is_from {
|
||||
self.found_from = true;
|
||||
}
|
||||
message_line.clear();
|
||||
}
|
||||
}
|
||||
|
||||
if !message.is_empty() {
|
||||
Some(message)
|
||||
} else {
|
||||
None
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::MBoxParser;
|
||||
|
||||
#[test]
|
||||
fn parse_mbox() {
|
||||
let message = br#"From Mon, 15 Jan 2018 15:30:00 +0100
|
||||
Message 1
|
||||
|
||||
From Mon, 15 Jan 2018 15:30:00 +0100
|
||||
Message 2
|
||||
|
||||
From Mon, 15 Jan 2018 15:30:00 +0100
|
||||
Message 3
|
||||
>From hello
|
||||
>>From world
|
||||
>>>From test
|
||||
|
||||
From Mon, 15 Jan 2018 15:30:00 +0100
|
||||
Message 4
|
||||
> From
|
||||
>F
|
||||
"#;
|
||||
|
||||
let mut parser = MBoxParser::new(&message[..]);
|
||||
|
||||
assert_eq!(parser.next().unwrap(), b"Message 1\n\n");
|
||||
assert_eq!(parser.next().unwrap(), b"Message 2\n\n");
|
||||
assert_eq!(
|
||||
parser.next().unwrap(),
|
||||
b"Message 3\nFrom hello\n>From world\n>>From test\n\n"
|
||||
);
|
||||
assert_eq!(parser.next().unwrap(), b"Message 4\n> From\n>F\n");
|
||||
assert!(parser.next().is_none());
|
||||
}
|
||||
}
|
||||
@@ -644,7 +644,8 @@ mod tests {
|
||||
}
|
||||
}
|
||||
|
||||
/*#[test]
|
||||
/*/
|
||||
#[test]
|
||||
fn message_to_yaml() {
|
||||
let mut file_name = PathBuf::from(env!("CARGO_MANIFEST_DIR"));
|
||||
file_name.push("tests");
|
||||
|
||||
@@ -11,5 +11,6 @@
|
||||
|
||||
pub mod fields;
|
||||
pub mod header;
|
||||
pub mod mbox;
|
||||
pub mod message;
|
||||
pub mod mime;
|
||||
|
||||
@@ -56,6 +56,12 @@ R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7
|
||||
|
||||
let message = Message::parse(input).unwrap();
|
||||
|
||||
assert_eq!(
|
||||
bincode::deserialize::<RfcHeaders>(&bincode::serialize(&message.headers_rfc).unwrap())
|
||||
.unwrap(),
|
||||
message.headers_rfc
|
||||
);
|
||||
|
||||
assert_eq!(
|
||||
message.get_from(),
|
||||
&HeaderValue::Address(Addr {
|
||||
@@ -63,6 +69,7 @@ R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7
|
||||
address: Some("art@vandelay.com".into())
|
||||
})
|
||||
);
|
||||
|
||||
assert_eq!(
|
||||
message.get_to(),
|
||||
&HeaderValue::GroupList(vec![
|
||||
@@ -93,10 +100,12 @@ R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7
|
||||
message.get_date().unwrap().to_iso8601(),
|
||||
"2021-11-20T14:22:01-08:00"
|
||||
);
|
||||
|
||||
assert_eq!(
|
||||
message.get_subject().unwrap(),
|
||||
"Why not both importing AND exporting? ☺"
|
||||
);
|
||||
|
||||
assert_eq!(
|
||||
message.get_html_body(0).unwrap(),
|
||||
concat!(
|
||||
@@ -105,6 +114,7 @@ R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7
|
||||
" why not do both? ☺</p></html>"
|
||||
)
|
||||
);
|
||||
|
||||
assert_eq!(
|
||||
message.get_text_body(0).unwrap(),
|
||||
concat!(
|
||||
@@ -112,26 +122,30 @@ R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7
|
||||
" “importing”,\nbut then I thought, why not do both? ☺\n"
|
||||
)
|
||||
);
|
||||
|
||||
let nested_message = message.get_attachment(0).unwrap().unwrap_message();
|
||||
|
||||
assert_eq!(
|
||||
nested_message.get_subject().unwrap(),
|
||||
"Exporting my book about coffee tables"
|
||||
);
|
||||
|
||||
assert_eq!(
|
||||
nested_message.get_text_body(0).unwrap(),
|
||||
"ℌ𝔢𝔩𝔭 𝔪𝔢 𝔢𝔵𝔭𝔬𝔯𝔱 𝔪𝔶 𝔟𝔬𝔬𝔨 𝔭𝔩𝔢𝔞𝔰𝔢!"
|
||||
);
|
||||
|
||||
assert_eq!(
|
||||
nested_message.get_html_body(0).unwrap(),
|
||||
"<html><body>ℌ𝔢𝔩𝔭 𝔪𝔢 𝔢𝔵𝔭𝔬𝔯𝔱 𝔪𝔶 𝔟𝔬𝔬𝔨 𝔭𝔩𝔢𝔞𝔰𝔢!</body></html>"
|
||||
);
|
||||
|
||||
let nested_attachment = nested_message.get_attachment(0).unwrap().unwrap_binary();
|
||||
|
||||
assert_eq!(nested_attachment.len(), 42);
|
||||
|
||||
assert_eq!(
|
||||
nested_attachment.get_attachment_name().unwrap(),
|
||||
"Book about ☕ tables.gif"
|
||||
);
|
||||
|
||||
//println!("{}", serde_json::to_string_pretty(&message).unwrap());
|
||||
//println!("{}", serde_yaml::to_string(&message).unwrap());
|
||||
}
|
||||
|
||||
+30
-26
@@ -45,12 +45,6 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Joe Blow",
|
||||
"address": "jblow@example.com"
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
@@ -60,6 +54,27 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
}
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGKEKECHAA.doug@example.com"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Joe Blow",
|
||||
"address": "jblow@example.com"
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Test message from Microsoft Outlook 00"
|
||||
},
|
||||
@@ -76,24 +91,10 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGKEKECHAA.doug@example.com"
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "redball.png"
|
||||
}
|
||||
@@ -101,18 +102,18 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
"X-MSMail-Priority": {
|
||||
"Text": "Normal"
|
||||
},
|
||||
"X-MimeOLE": {
|
||||
"Text": "Produced By Microsoft MimeOLE V5.00.2314.1300"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)"
|
||||
"X-MSMail-Priority": {
|
||||
"Text": "Normal"
|
||||
},
|
||||
"X-Priority": {
|
||||
"Text": "3 (Normal)"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)"
|
||||
},
|
||||
"Importance": {
|
||||
"Text": "Normal"
|
||||
}
|
||||
@@ -217,12 +218,15 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
"end": 576
|
||||
}
|
||||
],
|
||||
"html_body": [],
|
||||
"text_body": [],
|
||||
"attachments": [
|
||||
0
|
||||
],
|
||||
"parts": [
|
||||
{
|
||||
"Binary": {
|
||||
"headers": {},
|
||||
"body": [
|
||||
137,
|
||||
80,
|
||||
|
||||
+26
-24
@@ -36,14 +36,8 @@ m+APw-ssen als wir.+ACI-=20
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"to": {
|
||||
"AddressList": [
|
||||
@@ -57,16 +51,10 @@ m+APw-ssen als wir.+ACI-=20
|
||||
}
|
||||
]
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche (Microsoft Outlook 00)"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"charset": "utf-7"
|
||||
}
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"date": {
|
||||
@@ -82,23 +70,35 @@ m+APw-ssen als wir.+ACI-=20
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche (Microsoft Outlook 00)"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"charset": "utf-7"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGMEKCCHAA.doug@example.com"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
"X-MSMail-Priority": {
|
||||
"Text": "Normal"
|
||||
},
|
||||
"X-MimeOLE": {
|
||||
"Text": "Produced By Microsoft MimeOLE V5.00.2314.1300"
|
||||
},
|
||||
"Importance": {
|
||||
"Text": "Normal"
|
||||
},
|
||||
"X-MimeOLE": {
|
||||
"Text": "Produced By Microsoft MimeOLE V5.00.2314.1300"
|
||||
},
|
||||
"X-Priority": {
|
||||
"Text": "3 (Normal)"
|
||||
},
|
||||
@@ -205,9 +205,11 @@ m+APw-ssen als wir.+ACI-=20
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "Die Hasen und die Frösche\n\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst. Auf, laßt uns ein für allemal sterben.\" \n\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; allein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste untertauchten. \n\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, welche also wohl noch unglücklicher sein müssen als wir.\" \n\n"
|
||||
}
|
||||
}
|
||||
|
||||
+21
-19
@@ -38,27 +38,18 @@ wir." <br>
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "4.2.0.58.20000519003052.00a89c40@pop.example.com"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Heinz Müller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "4.2.0.58.20000519003052.00a89c40@pop.example.com"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
@@ -71,6 +62,12 @@ wir." <br>
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Heinz Müller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
@@ -83,17 +80,20 @@ wir." <br>
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
"X-Priority": {
|
||||
"Text": "2 (High)"
|
||||
"X-Sender": {
|
||||
"Text": "dwsauder@pop.example.com (Unverified)"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58"
|
||||
},
|
||||
"X-Sender": {
|
||||
"Text": "dwsauder@pop.example.com (Unverified)"
|
||||
"X-Priority": {
|
||||
"Text": "2 (High)"
|
||||
}
|
||||
},
|
||||
"headers_offsets": [
|
||||
@@ -181,9 +181,11 @@ wir." <br>
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Html": {
|
||||
"headers": {},
|
||||
"body": "<html>\n<font face=\"Arial, Helvetica\" size=5 color=\"#0000FF\"><b>Die Hasen und die\nFrösche<br>\n<br>\n</font></b><font face=\"Arial, Helvetica\">Die Hasen klagten einst über\nihre mißliche Lage; "wir leben", sprach ein Redner, "in\nsteter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler,\nja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst.\nAuf, laßt uns ein für allemal sterben." <br>\n<br>\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu;\nallein das außerordentliche Getöse und ihre wunderbare Gestalt\nerschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs\nschnellste untertauchten. <br>\n<br>\n"Halt", rief nun eben dieser Sprecher, "wir wollen das\nErsäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr\nseht, einige Tiere, welche also wohl noch unglücklicher sein müssen als\nwir." <br>\n<br>\n</font></html>\n\n"
|
||||
}
|
||||
}
|
||||
|
||||
+34
-33
@@ -65,9 +65,36 @@ wir." <br>
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "alternative",
|
||||
"attributes": {
|
||||
"boundary": "=====================_714967308==_.ALT"
|
||||
}
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Heinz Müller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "4.2.0.58.20000519002557.00a88870@pop.example.com"
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
@@ -80,44 +107,17 @@ wir." <br>
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "4.2.0.58.20000519002557.00a88870@pop.example.com"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Heinz Müller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "alternative",
|
||||
"attributes": {
|
||||
"boundary": "=====================_714967308==_.ALT"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
"X-Priority": {
|
||||
"Text": "2 (High)"
|
||||
},
|
||||
"X-Sender": {
|
||||
"Text": "dwsauder@pop.example.com (Unverified)"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58"
|
||||
},
|
||||
"X-Priority": {
|
||||
"Text": "2 (High)"
|
||||
}
|
||||
},
|
||||
"headers_offsets": [
|
||||
@@ -198,13 +198,11 @@ wir." <br>
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
@@ -213,6 +211,9 @@ wir." <br>
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
}
|
||||
},
|
||||
"body": "Die Hasen und die Frösche\n\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst. Auf, laßt uns ein für allemal sterben.\" \n\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; allein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste untertauchten. \n\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, welche also wohl noch unglücklicher sein müssen als wir.\" \n\n"
|
||||
|
||||
+31
-29
@@ -20,12 +20,36 @@ Slow but steady wins the race.
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"subject": {
|
||||
"Text": "The Hare and the Tortoise"
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "4.2.0.58.20000519011207.00a8cd70@pop.example.com"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"charset": "us-ascii"
|
||||
}
|
||||
}
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Joe Blow",
|
||||
"address": "blow@example.com"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "The Hare and the Tortoise"
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
@@ -38,41 +62,17 @@ Slow but steady wins the race.
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"charset": "us-ascii"
|
||||
}
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "4.2.0.58.20000519011207.00a8cd70@pop.example.com"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Joe Blow",
|
||||
"address": "blow@example.com"
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
"X-Mailer": {
|
||||
"Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58"
|
||||
},
|
||||
"X-Priority": {
|
||||
"Text": "5 (Lowest)"
|
||||
},
|
||||
"X-Sender": {
|
||||
"Text": "dwsauder@pop.example.com (Unverified)"
|
||||
},
|
||||
"X-Priority": {
|
||||
"Text": "5 (Lowest)"
|
||||
}
|
||||
},
|
||||
"headers_offsets": [
|
||||
@@ -153,9 +153,11 @@ Slow but steady wins the race.
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "\r\nThe Hare and the Tortoise \r\n \r\nA HARE one day ridiculed the short feet and slow pace of the Tortoise, who replied, laughing: \"Though you be swift as the wind, I will beat you in a race.\" The Hare, believing her assertion to be simply impossible, assented to the proposal; and they agreed that the Fox should choose the course and fix the goal. On the day appointed for the race the two started together. The Tortoise never for a moment stopped, but went on with a slow but steady pace straight to the end of the course. The Hare, lying down by the wayside, fell fast asleep. At last waking up, and moving as fast as he could, he saw the Tortoise had reached the goal, and was comfortably dozing after her fatigue. \r\n \r\nSlow but steady wins the race. \r\n\r\n"
|
||||
}
|
||||
}
|
||||
|
||||
+21
-19
@@ -34,18 +34,24 @@ m+APw-ssen als wir.+ACI-=20
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche (Microsoft Outlook 00)"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche (Microsoft Outlook 00)"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Heinz Müller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
@@ -62,12 +68,6 @@ m+APw-ssen als wir.+ACI-=20
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Heinz Müller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
@@ -82,20 +82,20 @@ m+APw-ssen als wir.+ACI-=20
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
"X-Priority": {
|
||||
"Text": "3 (Normal)"
|
||||
},
|
||||
"Importance": {
|
||||
"Text": "Normal"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)"
|
||||
},
|
||||
"X-MSMail-Priority": {
|
||||
"Text": "Normal"
|
||||
},
|
||||
"X-MimeOLE": {
|
||||
"Text": "Produced By Microsoft MimeOLE V5.00.2314.1300"
|
||||
},
|
||||
"X-MSMail-Priority": {
|
||||
"Importance": {
|
||||
"Text": "Normal"
|
||||
},
|
||||
"X-Priority": {
|
||||
"Text": "3 (Normal)"
|
||||
}
|
||||
},
|
||||
"headers_offsets": [
|
||||
@@ -197,9 +197,11 @@ m+APw-ssen als wir.+ACI-=20
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "Die Hasen und die Frösche\n\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst. Auf, laßt uns ein für allemal sterben.\" \n\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; allein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste untertauchten. \n\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, welche also wohl noch unglücklicher sein müssen als wir.\" \n"
|
||||
}
|
||||
}
|
||||
|
||||
+39
-35
@@ -91,15 +91,27 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
"address": "jblow@example.com"
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "mixed",
|
||||
"attributes": {
|
||||
"boundary": "----=_NextPart_000_0004_01BFC037.28F2FA90"
|
||||
}
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Test message from Microsoft Outlook 00"
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGOEKECHAA.doug@example.com"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGOEKECHAA.doug@example.com"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
@@ -115,33 +127,21 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "mixed",
|
||||
"attributes": {
|
||||
"boundary": "----=_NextPart_000_0004_01BFC037.28F2FA90"
|
||||
}
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Test message from Microsoft Outlook 00"
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
"X-MimeOLE": {
|
||||
"Text": "Produced By Microsoft MimeOLE V5.00.2314.1300"
|
||||
},
|
||||
"X-MSMail-Priority": {
|
||||
"Text": "Normal"
|
||||
},
|
||||
"X-Priority": {
|
||||
"Text": "3 (Normal)"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)"
|
||||
},
|
||||
"X-MimeOLE": {
|
||||
"Text": "Produced By Microsoft MimeOLE V5.00.2314.1300"
|
||||
},
|
||||
"X-Priority": {
|
||||
"Text": "3 (Normal)"
|
||||
},
|
||||
"Importance": {
|
||||
"Text": "Normal"
|
||||
}
|
||||
@@ -232,6 +232,8 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
"end": 522
|
||||
}
|
||||
],
|
||||
"html_body": [],
|
||||
"text_body": [],
|
||||
"attachments": [
|
||||
0,
|
||||
1
|
||||
@@ -240,17 +242,6 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
{
|
||||
"Binary": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"attributes": {
|
||||
"filename": "blueball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
@@ -259,6 +250,18 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
"name": "blueball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "blueball.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
@@ -1593,6 +1596,9 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
{
|
||||
"Binary": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
@@ -1602,12 +1608,10 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "redball.png"
|
||||
}
|
||||
|
||||
+30
-28
@@ -33,11 +33,8 @@ Tiere, welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."=20
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Jürgen Schmürgen",
|
||||
"address": "schmuergen@example.com"
|
||||
}
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
@@ -45,15 +42,21 @@ Tiere, welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."=20
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche (Microsoft Outlook 00)"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGIEKCCHAA.doug@example.com"
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
@@ -67,34 +70,31 @@ Tiere, welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."=20
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche (Microsoft Outlook 00)"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Jürgen Schmürgen",
|
||||
"address": "schmuergen@example.com"
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGIEKCCHAA.doug@example.com"
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
"X-MimeOLE": {
|
||||
"Text": "Produced By Microsoft MimeOLE V5.00.2314.1300"
|
||||
"X-Mailer": {
|
||||
"Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)"
|
||||
},
|
||||
"Importance": {
|
||||
"Text": "Normal"
|
||||
},
|
||||
"X-MSMail-Priority": {
|
||||
"Text": "Normal"
|
||||
},
|
||||
"X-Priority": {
|
||||
"Text": "3 (Normal)"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)"
|
||||
"X-MimeOLE": {
|
||||
"Text": "Produced By Microsoft MimeOLE V5.00.2314.1300"
|
||||
},
|
||||
"X-MSMail-Priority": {
|
||||
"Text": "Normal"
|
||||
}
|
||||
},
|
||||
"headers_offsets": [
|
||||
@@ -196,9 +196,11 @@ Tiere, welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."=20
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "Die Hasen und die Frösche\n\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst. Auf, laßt uns ein für allemal sterben.\" \n\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; allein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste untertauchten. \n\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, welche also wohl noch unglücklicher sein müssen als wir.\" \n\n"
|
||||
}
|
||||
}
|
||||
|
||||
+44
-41
@@ -137,17 +137,8 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Heinz Müller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
@@ -162,8 +153,8 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
"message_id": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGGEKECHAA.doug@example.com"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
@@ -174,28 +165,37 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
}
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGGEKECHAA.doug@example.com"
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Heinz Müller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Test message from Microsoft Outlook 00"
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
"Importance": {
|
||||
"Text": "Normal"
|
||||
"X-Priority": {
|
||||
"Text": "3 (Normal)"
|
||||
},
|
||||
"X-MimeOLE": {
|
||||
"Text": "Produced By Microsoft MimeOLE V5.00.2314.1300"
|
||||
},
|
||||
"X-MSMail-Priority": {
|
||||
"Text": "Normal"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)"
|
||||
},
|
||||
"X-Priority": {
|
||||
"Text": "3 (Normal)"
|
||||
"X-MSMail-Priority": {
|
||||
"Text": "Normal"
|
||||
},
|
||||
"Importance": {
|
||||
"Text": "Normal"
|
||||
}
|
||||
},
|
||||
"headers_offsets": [
|
||||
@@ -318,6 +318,15 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
{
|
||||
"Binary": {
|
||||
"headers": {
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "blueball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
@@ -327,14 +336,6 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"attributes": {
|
||||
"filename": "blueball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
}
|
||||
@@ -1671,6 +1672,15 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
{
|
||||
"Binary": {
|
||||
"headers": {
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "greenball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
@@ -1680,14 +1690,6 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"attributes": {
|
||||
"filename": "greenball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
}
|
||||
@@ -2997,17 +2999,18 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
{
|
||||
"Binary": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "redball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
|
||||
+29
-27
@@ -41,28 +41,9 @@ welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."
|
||||
"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"
|
||||
}
|
||||
}
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Jürgen Schmürgen",
|
||||
"address": "jschmuergen@example.com"
|
||||
}
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
@@ -76,28 +57,47 @@ welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"format": "flowed",
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Jürgen Schmürgen",
|
||||
"address": "jschmuergen@example.com"
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
"Disposition-Notification-To": {
|
||||
"Text": "<dwsauder@example.com>"
|
||||
},
|
||||
"X-Priority": {
|
||||
"Text": "1 (Highest)"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58"
|
||||
},
|
||||
"X-Sender": {
|
||||
"Text": "dwsauder@pop.example.com (Unverified)"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58"
|
||||
"Disposition-Notification-To": {
|
||||
"Text": "<dwsauder@example.com>"
|
||||
}
|
||||
},
|
||||
"headers_offsets": [
|
||||
@@ -192,9 +192,11 @@ welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "Die Hasen und die Frösche\n\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein \nRedner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, \nder Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der \nTod selbst. Auf, laßt uns ein für allemal sterben.\"\n\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; \nallein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte \neine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste \nuntertauchten.\n\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein \nwenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, \nwelche also wohl noch unglücklicher sein müssen als wir.\"\n\n\n"
|
||||
}
|
||||
}
|
||||
|
||||
+18
-16
@@ -23,8 +23,14 @@ In einem nahen Teich wollten sie sich nun ers
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "8bit"
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Heinz M�ller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
@@ -39,24 +45,18 @@ In einem nahen Teich wollten sie sich nun ers
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "4.2.0.58.20000519010842.00a8c7f0@pop.example.com"
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Fr�sche"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Heinz M�ller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "8bit"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
@@ -66,19 +66,19 @@ In einem nahen Teich wollten sie sich nun ers
|
||||
}
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
"message_id": {
|
||||
"Text": "4.2.0.58.20000519010842.00a8c7f0@pop.example.com"
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
"X-Priority": {
|
||||
"Text": "1 (Highest)"
|
||||
},
|
||||
"X-Sender": {
|
||||
"Text": "dwsauder@pop.example.com (Unverified)"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58"
|
||||
},
|
||||
"X-Priority": {
|
||||
"Text": "1 (Highest)"
|
||||
}
|
||||
},
|
||||
"headers_offsets": [
|
||||
@@ -166,9 +166,11 @@ In einem nahen Teich wollten sie sich nun ers
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "Die Hasen und die Frösche\r\n\r\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst. Auf, laßt uns ein für allemal sterben.\" \r\n\r\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; allein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste untertauchten. \r\n\r\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, welche also wohl noch unglücklicher sein müssen als wir.\" \r\n\r\n\r\n"
|
||||
}
|
||||
}
|
||||
|
||||
+23
-21
@@ -31,8 +31,18 @@ In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu;=
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche"
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 19,
|
||||
"hour": 0,
|
||||
"minute": 17,
|
||||
"second": 39,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "4.2.0.58.20000519001217.00a85b60@pop.example.com"
|
||||
@@ -40,18 +50,21 @@ In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu;=
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Jürgen Schmürgen",
|
||||
"address": "jschmuergen@example.com"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
@@ -63,19 +76,6 @@ In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu;=
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 19,
|
||||
"hour": 0,
|
||||
"minute": 17,
|
||||
"second": 39,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
@@ -164,9 +164,11 @@ In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu;=
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "Die Hasen und die Frösche\n\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst. Auf, laßt uns ein für allemal sterben.\" \n\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; allein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste untertauchten. \n\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, welche also wohl noch unglücklicher sein müssen als wir.\" \n\n\n"
|
||||
}
|
||||
}
|
||||
|
||||
+31
-29
@@ -32,17 +32,19 @@ Tiere, welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."=20
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 17,
|
||||
"hour": 19,
|
||||
"minute": 30,
|
||||
"second": 20,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
@@ -51,12 +53,6 @@ Tiere, welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."=20
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGCEKECHAA.doug@example.com"
|
||||
},
|
||||
@@ -69,31 +65,35 @@ Tiere, welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."=20
|
||||
}
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche (Microsoft Outlook 00)"
|
||||
},
|
||||
"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
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
"X-MimeOLE": {
|
||||
"Text": "Produced By Microsoft MimeOLE V5.00.2314.1300"
|
||||
},
|
||||
"Importance": {
|
||||
"Text": "Normal"
|
||||
},
|
||||
"X-Priority": {
|
||||
"Text": "3 (Normal)"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)"
|
||||
},
|
||||
"X-MSMail-Priority": {
|
||||
"Text": "Normal"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)"
|
||||
"X-MimeOLE": {
|
||||
"Text": "Produced By Microsoft MimeOLE V5.00.2314.1300"
|
||||
}
|
||||
},
|
||||
"headers_offsets": [
|
||||
@@ -195,9 +195,11 @@ Tiere, welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."=20
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "Die Hasen und die Frösche\n\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst. Auf, laßt uns ein für allemal sterben.\" \n\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; allein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste untertauchten. \n\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, welche also wohl noch unglücklicher sein müssen als wir.\" \n"
|
||||
}
|
||||
}
|
||||
|
||||
+36
-34
@@ -33,39 +33,9 @@ welche also wohl noch ungl
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"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"
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGEEKCCHAA.doug@example.com"
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "8bit"
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
@@ -78,17 +48,47 @@ welche also wohl noch ungl
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGEEKCCHAA.doug@example.com"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Jürgen Schmürgen",
|
||||
"address": "schmuergen@example.com"
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "8bit"
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
"X-Priority": {
|
||||
"Text": "3 (Normal)"
|
||||
"X-Mailer": {
|
||||
"Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)"
|
||||
},
|
||||
"X-MSMail-Priority": {
|
||||
"Text": "Normal"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)"
|
||||
"X-Priority": {
|
||||
"Text": "3 (Normal)"
|
||||
},
|
||||
"Importance": {
|
||||
"Text": "Normal"
|
||||
@@ -196,9 +196,11 @@ welche also wohl noch ungl
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "Die Hasen und die Frösche\r\n\r\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein\r\nRedner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der\r\nAdler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod\r\nselbst. Auf, laßt uns ein für allemal sterben.\"\r\n\r\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu;\r\nallein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte\r\neine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste\r\nuntertauchten.\r\n\r\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein\r\nwenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere,\r\nwelche also wohl noch unglücklicher sein müssen als wir.\"\r\n\r\n"
|
||||
}
|
||||
}
|
||||
|
||||
+22
-21
@@ -74,18 +74,6 @@ race. =20
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Test message from Microsoft Outlook 00"
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGCEKFCHAA.doug@example.com"
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
@@ -108,6 +96,18 @@ race. =20
|
||||
"address": "jblow@example.com"
|
||||
}
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Test message from Microsoft Outlook 00"
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGCEKFCHAA.doug@example.com"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
@@ -119,18 +119,18 @@ race. =20
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
"X-Mailer": {
|
||||
"Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)"
|
||||
},
|
||||
"X-MimeOLE": {
|
||||
"Text": "Produced By Microsoft MimeOLE V5.00.2314.1300"
|
||||
},
|
||||
"Importance": {
|
||||
"Text": "Normal"
|
||||
},
|
||||
"X-Priority": {
|
||||
"Text": "3 (Normal)"
|
||||
},
|
||||
"X-MimeOLE": {
|
||||
"Text": "Produced By Microsoft MimeOLE V5.00.2314.1300"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)"
|
||||
},
|
||||
"X-MSMail-Priority": {
|
||||
"Text": "Normal"
|
||||
}
|
||||
@@ -227,10 +227,14 @@ race. =20
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
@@ -239,9 +243,6 @@ race. =20
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
}
|
||||
},
|
||||
"body": "\nThe Hare and the Tortoise \n \nA HARE one day ridiculed the short feet and slow pace of the Tortoise, who replied, laughing: \"Though you be swift as the wind, I will beat you in a race.\" The Hare, believing her assertion to be simply impossible, assented to the proposal; and they agreed that the Fox should choose the course and fix the goal. On the day appointed for the race the two started together. The Tortoise never for a moment stopped, but went on with a slow but steady pace straight to the end of the course. The Hare, lying down by the wayside, fell fast asleep. At last waking up, and moving as fast as he could, he saw the Tortoise had reached the goal, and was comfortably dozing after her fatigue. \n \nSlow but steady wins the race. \n\n"
|
||||
|
||||
+57
-53
@@ -203,6 +203,18 @@ bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
"message_id": {
|
||||
"Text": "4.2.0.58.20000519003556.00a918e0@pop.example.com"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Heinz Müller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
@@ -216,24 +228,12 @@ bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Heinz Müller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
@@ -245,14 +245,14 @@ bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
"X-Priority": {
|
||||
"Text": "2 (High)"
|
||||
},
|
||||
"X-Sender": {
|
||||
"Text": "dwsauder@pop.example.com (Unverified)"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58"
|
||||
},
|
||||
"X-Priority": {
|
||||
"Text": "2 (High)"
|
||||
}
|
||||
},
|
||||
"headers_offsets": [
|
||||
@@ -347,8 +347,8 @@ bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "related",
|
||||
"attributes": {
|
||||
"type": "multipart/alternative",
|
||||
"boundary": "=====================_715392540==_.REL"
|
||||
"boundary": "=====================_715392540==_.REL",
|
||||
"type": "multipart/alternative"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -370,6 +370,9 @@ bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
{
|
||||
"Text": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
@@ -378,9 +381,6 @@ bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
}
|
||||
},
|
||||
"body": "Die Hasen und die Frösche\n\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst. Auf, laßt uns ein für allemal sterben.\" \n\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; allein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste untertauchten. \n\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, welche also wohl noch unglücklicher sein müssen als wir.\" \n\n2aa3ed95.png2aa3edd1.png"
|
||||
@@ -408,12 +408,6 @@ bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
{
|
||||
"Binary": {
|
||||
"headers": {
|
||||
"content_id": {
|
||||
"Text": "4.2.0.58.20000519003556.00a918e0@pop.example.com.2"
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
@@ -423,9 +417,16 @@ bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_id": {
|
||||
"Text": "4.2.0.58.20000519003556.00a918e0@pop.example.com.2"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "2aa3ed95.png"
|
||||
}
|
||||
@@ -1764,13 +1765,8 @@ bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
{
|
||||
"Binary": {
|
||||
"headers": {
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"attributes": {
|
||||
"filename": "2aa3edd1.png"
|
||||
}
|
||||
}
|
||||
"content_id": {
|
||||
"Text": "4.2.0.58.20000519003556.00a918e0@pop.example.com.3"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
@@ -1784,8 +1780,14 @@ bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_id": {
|
||||
"Text": "4.2.0.58.20000519003556.00a918e0@pop.example.com.3"
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "2aa3edd1.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
@@ -3248,13 +3250,8 @@ bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
{
|
||||
"Binary": {
|
||||
"headers": {
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"attributes": {
|
||||
"filename": "blueball.png"
|
||||
}
|
||||
}
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
@@ -3265,8 +3262,14 @@ bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "blueball.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
@@ -4601,25 +4604,26 @@ bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
{
|
||||
"Binary": {
|
||||
"headers": {
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
"c_subtype": "png",
|
||||
"attributes": {
|
||||
"name": "greenball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "greenball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
"c_subtype": "png",
|
||||
"attributes": {
|
||||
"name": "greenball.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
|
||||
+25
-23
@@ -97,27 +97,12 @@ JB@ac)(GTFLiL)!d09'8!!!:
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"message_id": {
|
||||
"Text": "4.2.0.58.20000519005150.00a85230@pop.example.com"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Jürgen Schmürgen",
|
||||
"address": "jschmuergen@example.com"
|
||||
}
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
@@ -131,6 +116,9 @@ JB@ac)(GTFLiL)!d09'8!!!:
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
@@ -139,6 +127,18 @@ JB@ac)(GTFLiL)!d09'8!!!:
|
||||
"boundary": "=====================_716373961==_"
|
||||
}
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "4.2.0.58.20000519005150.00a85230@pop.example.com"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Jürgen Schmürgen",
|
||||
"address": "jschmuergen@example.com"
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
@@ -247,14 +247,6 @@ JB@ac)(GTFLiL)!d09'8!!!:
|
||||
{
|
||||
"Binary": {
|
||||
"headers": {
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"attributes": {
|
||||
"filename": "blueball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "application",
|
||||
@@ -263,6 +255,15 @@ JB@ac)(GTFLiL)!d09'8!!!:
|
||||
"name": "blueball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "blueball.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
@@ -2214,6 +2215,7 @@ JB@ac)(GTFLiL)!d09'8!!!:
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "HasenundFr�sche.txt"
|
||||
}
|
||||
|
||||
+34
-32
@@ -104,14 +104,8 @@ end
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "The Hare and the Tortoise"
|
||||
"message_id": {
|
||||
"Text": "4.2.0.58.20000519004755.00a86100@pop.example.com"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
@@ -119,21 +113,12 @@ end
|
||||
"address": "jschmuergen@example.com"
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "mixed",
|
||||
"attributes": {
|
||||
"boundary": "=====================_716177458==_"
|
||||
}
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "4.2.0.58.20000519004755.00a86100@pop.example.com"
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
@@ -146,14 +131,29 @@ end
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "The Hare and the Tortoise"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "mixed",
|
||||
"attributes": {
|
||||
"boundary": "=====================_716177458==_"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
"X-Mailer": {
|
||||
"Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58"
|
||||
},
|
||||
"X-Sender": {
|
||||
"Text": "dwsauder@pop.example.com (Unverified)"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58"
|
||||
}
|
||||
},
|
||||
"headers_offsets": [
|
||||
@@ -251,6 +251,15 @@ end
|
||||
{
|
||||
"Binary": {
|
||||
"headers": {
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "greenball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "x-uuencode"
|
||||
},
|
||||
@@ -262,14 +271,6 @@ end
|
||||
"name": "greenball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"attributes": {
|
||||
"filename": "greenball.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
@@ -2149,6 +2150,7 @@ end
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "blueball.png"
|
||||
}
|
||||
|
||||
+33
-31
@@ -145,23 +145,26 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "related",
|
||||
"attributes": {
|
||||
"boundary": "=====================_715157131==_.REL",
|
||||
"type": "multipart/alternative"
|
||||
"type": "multipart/alternative",
|
||||
"boundary": "=====================_715157131==_.REL"
|
||||
}
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche"
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "4.2.0.58.20000519003143.00a8d550@pop.example.com"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Heinz Müller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "4.2.0.58.20000519003143.00a8d550@pop.example.com"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
@@ -180,20 +183,17 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
"X-Priority": {
|
||||
"Text": "2 (High)"
|
||||
},
|
||||
"X-Sender": {
|
||||
"Text": "dwsauder@pop.example.com (Unverified)"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58"
|
||||
},
|
||||
"X-Priority": {
|
||||
"Text": "2 (High)"
|
||||
}
|
||||
},
|
||||
"headers_offsets": [
|
||||
@@ -295,6 +295,9 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
{
|
||||
"Text": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
@@ -303,9 +306,6 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
}
|
||||
},
|
||||
"body": "blueball.png\n\nDie Hasen und die Frösche\n\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst. Auf, laßt uns ein für allemal sterben.\" \n\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; allein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste untertauchten. \n\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, welche also wohl noch unglücklicher sein müssen als wir.\" \n\nredball.png"
|
||||
@@ -314,6 +314,9 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
{
|
||||
"Html": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
@@ -322,9 +325,6 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
}
|
||||
},
|
||||
"body": "<html>\n<img src=\"cid:4.2.0.58.20000519003143.00a8d550@pop.example.com.0\" width=27 height=27 alt=\"blueball.png\"><br>\n<br>\n<font face=\"Arial, Helvetica\" size=5 color=\"#0000FF\"><b>Die Hasen und die\nFrösche<br>\n<br>\n</font></b><font face=\"Arial, Helvetica\">Die Hasen klagten einst über\nihre mißliche Lage; "wir leben", sprach ein Redner, "in\nsteter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler,\nja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst.\nAuf, laßt uns ein für allemal sterben." <br>\n<br>\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu;\nallein das außerordentliche Getöse und ihre wunderbare Gestalt\nerschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs\nschnellste untertauchten. <br>\n<br>\n"Halt", rief nun eben dieser Sprecher, "wir wollen das\nErsäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr\nseht, einige Tiere, welche also wohl noch unglücklicher sein müssen als\nwir." <br>\n<br>\n<img src=\"cid:4.2.0.58.20000519003143.00a8d550@pop.example.com.1\" width=27 height=27 alt=\"redball.png\"></font></html>\n"
|
||||
@@ -333,12 +333,10 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
{
|
||||
"Binary": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "blueball.png"
|
||||
}
|
||||
@@ -355,6 +353,9 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
"name": "blueball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
@@ -1689,6 +1690,18 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
{
|
||||
"Binary": {
|
||||
"headers": {
|
||||
"content_id": {
|
||||
"Text": "4.2.0.58.20000519003143.00a8d550@pop.example.com.1"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "redball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
@@ -1698,19 +1711,8 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_id": {
|
||||
"Text": "4.2.0.58.20000519003143.00a8d550@pop.example.com.1"
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"attributes": {
|
||||
"filename": "redball.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
|
||||
+35
-33
@@ -146,24 +146,9 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"subject": {
|
||||
"Text": "Test message from Microsoft Outlook 00"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Joe Blow",
|
||||
"address": "jblow@example.com"
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGGEKFCHAA.doug@example.com"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
@@ -176,6 +161,15 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
}
|
||||
}
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Joe Blow",
|
||||
"address": "jblow@example.com"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Test message from Microsoft Outlook 00"
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
@@ -188,23 +182,29 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
"X-MimeOLE": {
|
||||
"Text": "Produced By Microsoft MimeOLE V5.00.2314.1300"
|
||||
},
|
||||
"X-Priority": {
|
||||
"Text": "3 (Normal)"
|
||||
},
|
||||
"X-MSMail-Priority": {
|
||||
"Text": "Normal"
|
||||
"X-Mailer": {
|
||||
"Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)"
|
||||
},
|
||||
"Importance": {
|
||||
"Text": "Normal"
|
||||
},
|
||||
"X-MimeOLE": {
|
||||
"Text": "Produced By Microsoft MimeOLE V5.00.2314.1300"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)"
|
||||
"X-MSMail-Priority": {
|
||||
"Text": "Normal"
|
||||
}
|
||||
},
|
||||
"headers_offsets": [
|
||||
@@ -358,14 +358,6 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
{
|
||||
"Binary": {
|
||||
"headers": {
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"attributes": {
|
||||
"filename": "greenball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
@@ -377,6 +369,15 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
"name": "greenball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "greenball.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
@@ -1684,6 +1685,9 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
{
|
||||
"Binary": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
@@ -1696,13 +1700,11 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "redball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
|
||||
+24
-22
@@ -42,6 +42,21 @@ welche also wohl noch ungl
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "8bit"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Fr�sche (Microsoft Outlook 00)"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "J�rgen Schm�rgen",
|
||||
"address": "schmuergen@example.com"
|
||||
}
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
@@ -55,15 +70,6 @@ welche also wohl noch ungl
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Fr�sche (Microsoft Outlook 00)"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "J�rgen Schm�rgen",
|
||||
"address": "schmuergen@example.com"
|
||||
}
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
@@ -72,29 +78,23 @@ welche also wohl noch ungl
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGIEKBCHAA.doug@example.com"
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "8bit"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
"X-MimeOLE": {
|
||||
"Text": "Produced By Microsoft MimeOLE V5.00.2314.1300"
|
||||
"X-Mailer": {
|
||||
"Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)"
|
||||
},
|
||||
"X-Priority": {
|
||||
"Text": "3 (Normal)"
|
||||
},
|
||||
"Importance": {
|
||||
"Text": "Normal"
|
||||
},
|
||||
"X-MSMail-Priority": {
|
||||
"Text": "Normal"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)"
|
||||
"Importance": {
|
||||
"Text": "Normal"
|
||||
},
|
||||
"X-MimeOLE": {
|
||||
"Text": "Produced By Microsoft MimeOLE V5.00.2314.1300"
|
||||
}
|
||||
},
|
||||
"headers_offsets": [
|
||||
@@ -196,9 +196,11 @@ welche also wohl noch ungl
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "Die Hasen und die Frösche\r\n\r\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein\r\nRedner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der\r\nAdler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod\r\nselbst. Auf, laßt uns ein für allemal sterben.\"\r\n\r\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu;\r\nallein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte\r\neine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste\r\nuntertauchten.\r\n\r\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein\r\nwenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere,\r\nwelche also wohl noch unglücklicher sein müssen als wir.\"\r\n\r\n"
|
||||
}
|
||||
}
|
||||
|
||||
+40
-38
@@ -190,27 +190,15 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGOEKFCHAA.doug@example.com"
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Test message from Microsoft Outlook 00"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Joe Blow",
|
||||
"address": "jblow@example.com"
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGOEKFCHAA.doug@example.com"
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
@@ -224,6 +212,12 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
@@ -232,23 +226,29 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
"boundary": "----=_NextPart_000_0010_01BFC038.B91BC650"
|
||||
}
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Test message from Microsoft Outlook 00"
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
"X-MSMail-Priority": {
|
||||
"Text": "Normal"
|
||||
},
|
||||
"X-Priority": {
|
||||
"Text": "3 (Normal)"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)"
|
||||
},
|
||||
"Importance": {
|
||||
"Text": "Normal"
|
||||
},
|
||||
"X-MimeOLE": {
|
||||
"Text": "Produced By Microsoft MimeOLE V5.00.2314.1300"
|
||||
},
|
||||
"X-MSMail-Priority": {
|
||||
"Text": "Normal"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)"
|
||||
},
|
||||
"X-Priority": {
|
||||
"Text": "3 (Normal)"
|
||||
}
|
||||
},
|
||||
"headers_offsets": [
|
||||
@@ -1764,6 +1764,18 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
{
|
||||
"Binary": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "greenball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
@@ -1772,17 +1784,6 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
"name": "greenball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"attributes": {
|
||||
"filename": "greenball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
@@ -3099,16 +3100,17 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "redball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
|
||||
+26
-24
@@ -32,29 +32,38 @@ IiANCg==
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Fr�sche (Microsoft Outlook 00)"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "J�rgen Schm�rgen",
|
||||
"address": "schmuergen@example.com"
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGAEKCCHAA.doug@example.com"
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Fr�sche (Microsoft Outlook 00)"
|
||||
"message_id": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGAEKCCHAA.doug@example.com"
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
@@ -68,32 +77,23 @@ IiANCg==
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
"X-Priority": {
|
||||
"Text": "3 (Normal)"
|
||||
"X-MimeOLE": {
|
||||
"Text": "Produced By Microsoft MimeOLE V5.00.2314.1300"
|
||||
},
|
||||
"X-MSMail-Priority": {
|
||||
"Text": "Normal"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)"
|
||||
},
|
||||
"Importance": {
|
||||
"Text": "Normal"
|
||||
},
|
||||
"X-MimeOLE": {
|
||||
"Text": "Produced By Microsoft MimeOLE V5.00.2314.1300"
|
||||
"X-Priority": {
|
||||
"Text": "3 (Normal)"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)"
|
||||
}
|
||||
},
|
||||
"headers_offsets": [
|
||||
@@ -195,9 +195,11 @@ IiANCg==
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "Die Hasen und die Frösche\r\n\r\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst. Auf, laßt uns ein für allemal sterben.\" \r\n\r\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; allein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste untertauchten. \r\n\r\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, welche also wohl noch unglücklicher sein müssen als wir.\" \r\n"
|
||||
}
|
||||
}
|
||||
|
||||
+40
-37
@@ -116,6 +116,9 @@ In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu;=
|
||||
"address": "jschmuergen@example.com"
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "4.2.0.58.20000519005505.00a853a0@pop.example.com"
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche"
|
||||
},
|
||||
@@ -125,19 +128,6 @@ In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu;=
|
||||
"address": "dwsauder@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
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
@@ -150,16 +140,26 @@ In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu;=
|
||||
}
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "4.2.0.58.20000519005505.00a853a0@pop.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
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
"X-Sender": {
|
||||
"Text": "dwsauder@pop.example.com (Unverified)"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58"
|
||||
},
|
||||
"X-Sender": {
|
||||
"Text": "dwsauder@pop.example.com (Unverified)"
|
||||
}
|
||||
},
|
||||
"headers_offsets": [
|
||||
@@ -261,6 +261,9 @@ In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu;=
|
||||
{
|
||||
"Binary": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
@@ -270,12 +273,10 @@ In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu;=
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "blueball.png"
|
||||
}
|
||||
@@ -1614,14 +1615,6 @@ In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu;=
|
||||
{
|
||||
"Text": {
|
||||
"headers": {
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"attributes": {
|
||||
"filename": "farmerandstork.txt"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
@@ -1630,6 +1623,15 @@ In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu;=
|
||||
"charset": "us-ascii"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "farmerandstork.txt"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"body": "\r\nThe Farmer and the Stork \r\n \r\nA FARMER placed nets on his newly-sown plowlands and caught a\r\nnumber of Cranes, which came to pick up his seed. With them he\r\ntrapped a Stork that had fractured his leg in the net and was\r\nearnestly beseeching the Farmer to spare his life. \"Pray save\r\nme, Master,\" he said, \"and let me go free this once. My broken\r\nlimb should excite your pity. Besides, I am no Crane, I am a\r\nStork, a bird of excellent character; and see how I love and\r\nslave for my father and mother. Look too, at my feathers--\r\nthey are not the least like those of a Crane.\" The Farmer \r\nlaughed aloud and said, \"It may be all as you say, I only know \r\nthis: I have taken you with these robbers, the Cranes, and you \r\nmust die in their company.\" \r\n \r\nBirds of a feather flock together. \r\n\r"
|
||||
@@ -1638,6 +1640,15 @@ In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu;=
|
||||
{
|
||||
"Text": {
|
||||
"headers": {
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "HasenundFr�sche.txt"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
@@ -1649,14 +1660,6 @@ In einem nahen Teich wollten sie sich nun ers=E4ufen; sie eilten ihm zu;=
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"attributes": {
|
||||
"filename": "HasenundFr�sche.txt"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"body": "Die Hasen und die Frösche\n\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst. Auf, laßt uns ein für allemal sterben.\" \n\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; allein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste untertauchten. \n\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, welche also wohl noch unglücklicher sein müssen als wir.\" \n\n"
|
||||
|
||||
+17
-15
@@ -111,12 +111,6 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"message_id": {
|
||||
"Text": "4.2.0.58.20000519003735.00a8d7e0@pop.example.com"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
@@ -127,18 +121,18 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
}
|
||||
}
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Heinz Müller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
@@ -152,19 +146,25 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche"
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "4.2.0.58.20000519003735.00a8d7e0@pop.example.com"
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
"X-Sender": {
|
||||
"Text": "dwsauder@pop.example.com (Unverified)"
|
||||
},
|
||||
"X-Priority": {
|
||||
"Text": "2 (High)"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58"
|
||||
},
|
||||
"X-Priority": {
|
||||
"Text": "2 (High)"
|
||||
}
|
||||
},
|
||||
"headers_offsets": [
|
||||
@@ -281,6 +281,7 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "2aa48eb6.png"
|
||||
}
|
||||
@@ -1631,6 +1632,7 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "2aa48ec0.png"
|
||||
}
|
||||
|
||||
+56
-52
@@ -173,18 +173,19 @@ bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"message_id": {
|
||||
"Text": "4.2.0.58.20000519003809.00a85140@pop.example.com"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 19,
|
||||
"hour": 0,
|
||||
"minute": 38,
|
||||
"second": 13,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
@@ -197,33 +198,32 @@ bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Heinz Müller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 19,
|
||||
"hour": 0,
|
||||
"minute": 38,
|
||||
"second": 13,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
"message_id": {
|
||||
"Text": "4.2.0.58.20000519003809.00a85140@pop.example.com"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
"X-Sender": {
|
||||
"Text": "dwsauder@pop.example.com (Unverified)"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58"
|
||||
},
|
||||
"X-Sender": {
|
||||
"Text": "dwsauder@pop.example.com (Unverified)"
|
||||
},
|
||||
"X-Priority": {
|
||||
"Text": "2 (High)"
|
||||
}
|
||||
@@ -349,6 +349,21 @@ bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
{
|
||||
"Binary": {
|
||||
"headers": {
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "2aa51367.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_id": {
|
||||
"Text": "4.2.0.58.20000519003809.00a85140@pop.example.com.2"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
@@ -357,20 +372,6 @@ bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
"name": "2aa51367.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"attributes": {
|
||||
"filename": "2aa51367.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_id": {
|
||||
"Text": "4.2.0.58.20000519003809.00a85140@pop.example.com.2"
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
@@ -1705,6 +1706,9 @@ bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
{
|
||||
"Binary": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
@@ -1714,19 +1718,17 @@ bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_id": {
|
||||
"Text": "4.2.0.58.20000519003809.00a85140@pop.example.com.3"
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "2aa51371.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_id": {
|
||||
"Text": "4.2.0.58.20000519003809.00a85140@pop.example.com.3"
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
@@ -3204,6 +3206,7 @@ bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "blueball.png"
|
||||
}
|
||||
@@ -4542,14 +4545,6 @@ bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
{
|
||||
"Binary": {
|
||||
"headers": {
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"attributes": {
|
||||
"filename": "greenball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
@@ -4559,6 +4554,15 @@ bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "greenball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
}
|
||||
|
||||
+34
-32
@@ -95,15 +95,12 @@ Birds of a feather flock together.
|
||||
}
|
||||
}
|
||||
},
|
||||
"to": {
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Heinz Müller",
|
||||
"address": "mueller@example.com"
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "4.2.0.58.20000519005818.00a86aa0@pop.example.com"
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
@@ -117,25 +114,28 @@ Birds of a feather flock together.
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"from": {
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "4.2.0.58.20000519005818.00a86aa0@pop.example.com"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
"name": "Heinz Müller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
"X-Sender": {
|
||||
"Text": "dwsauder@pop.example.com (Unverified)"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58"
|
||||
},
|
||||
"X-Sender": {
|
||||
"Text": "dwsauder@pop.example.com (Unverified)"
|
||||
}
|
||||
},
|
||||
"headers_offsets": [
|
||||
@@ -239,24 +239,25 @@ Birds of a feather flock together.
|
||||
"content_transfer_encoding": {
|
||||
"Text": "x-uuencode"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "HasenundFr�sche.txt"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"name": "HasenundFr�sche.txt",
|
||||
"x-mac-type": "54455854",
|
||||
"name": "HasenundFr�sche.txt",
|
||||
"x-mac-creator": "74747874"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"attributes": {
|
||||
"filename": "HasenundFr�sche.txt"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"body": "\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\r"
|
||||
@@ -265,6 +266,15 @@ Birds of a feather flock together.
|
||||
{
|
||||
"Text": {
|
||||
"headers": {
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "farmerandstork.txt"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
@@ -273,14 +283,6 @@ Birds of a feather flock together.
|
||||
"charset": "us-ascii"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"attributes": {
|
||||
"filename": "farmerandstork.txt"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"body": "\r\nThe Farmer and the Stork \r\n \r\nA FARMER placed nets on his newly-sown plowlands and caught a\r\nnumber of Cranes, which came to pick up his seed. With them he\r\ntrapped a Stork that had fractured his leg in the net and was\r\nearnestly beseeching the Farmer to spare his life. \"Pray save\r\nme, Master,\" he said, \"and let me go free this once. My broken\r\nlimb should excite your pity. Besides, I am no Crane, I am a\r\nStork, a bird of excellent character; and see how I love and\r\nslave for my father and mother. Look too, at my feathers--\r\nthey are not the least like those of a Crane.\" The Farmer \r\nlaughed aloud and said, \"It may be all as you say, I only know \r\nthis: I have taken you with these robbers, the Cranes, and you \r\nmust die in their company.\" \r\n \r\nBirds of a feather flock together. \r\n\r"
|
||||
|
||||
+22
-20
@@ -33,6 +33,12 @@ Tiere, welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."=20
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
@@ -42,11 +48,8 @@ Tiere, welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."=20
|
||||
}
|
||||
}
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
@@ -54,11 +57,8 @@ Tiere, welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."=20
|
||||
"address": "schmuergen@example.com"
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGMEKBCHAA.doug@example.com"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Fr�sche (Microsoft Outlook 00)"
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
@@ -73,14 +73,20 @@ Tiere, welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."=20
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
"message_id": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGMEKBCHAA.doug@example.com"
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Fr�sche (Microsoft Outlook 00)"
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
"X-MimeOLE": {
|
||||
"Text": "Produced By Microsoft MimeOLE V5.00.2314.1300"
|
||||
},
|
||||
"X-Priority": {
|
||||
"Text": "3 (Normal)"
|
||||
},
|
||||
"Importance": {
|
||||
"Text": "Normal"
|
||||
},
|
||||
@@ -89,12 +95,6 @@ Tiere, welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."=20
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)"
|
||||
},
|
||||
"X-Priority": {
|
||||
"Text": "3 (Normal)"
|
||||
},
|
||||
"X-MimeOLE": {
|
||||
"Text": "Produced By Microsoft MimeOLE V5.00.2314.1300"
|
||||
}
|
||||
},
|
||||
"headers_offsets": [
|
||||
@@ -196,9 +196,11 @@ Tiere, welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."=20
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "Die Hasen und die Frösche\n\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst. Auf, laßt uns ein für allemal sterben.\" \n\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; allein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste untertauchten. \n\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, welche also wohl noch unglücklicher sein müssen als wir.\" \n\n"
|
||||
}
|
||||
}
|
||||
|
||||
+40
-40
@@ -158,17 +158,10 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
"month": 5,
|
||||
"day": 17,
|
||||
"hour": 19,
|
||||
"minute": 44,
|
||||
"second": 45,
|
||||
"tz_before_gmt": true,
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Joe Blow",
|
||||
"address": "jblow@example.com"
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
@@ -183,40 +176,47 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
}
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Test message from Microsoft Outlook 00"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Joe Blow",
|
||||
"address": "jblow@example.com"
|
||||
}
|
||||
"subject": {
|
||||
"Text": "Test message from Microsoft Outlook 00"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@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
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
"X-Priority": {
|
||||
"Text": "3 (Normal)"
|
||||
},
|
||||
"X-MimeOLE": {
|
||||
"Text": "Produced By Microsoft MimeOLE V5.00.2314.1300"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)"
|
||||
},
|
||||
"Importance": {
|
||||
"Text": "Normal"
|
||||
},
|
||||
"X-MSMail-Priority": {
|
||||
"Text": "Normal"
|
||||
},
|
||||
"X-Priority": {
|
||||
"Text": "3 (Normal)"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)"
|
||||
},
|
||||
"X-MimeOLE": {
|
||||
"Text": "Produced By Microsoft MimeOLE V5.00.2314.1300"
|
||||
}
|
||||
},
|
||||
"headers_offsets": [
|
||||
@@ -332,6 +332,9 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
{
|
||||
"Text": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
@@ -340,9 +343,6 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
}
|
||||
},
|
||||
"body": "\nThe Hare and the Tortoise \n \nA HARE one day ridiculed the short feet and slow pace of the Tortoise, who replied, laughing: \"Though you be swift as the wind, I will beat you in a race.\" The Hare, believing her assertion to be simply impossible, assented to the proposal; and they agreed that the Fox should choose the course and fix the goal. On the day appointed for the race the two started together. The Tortoise never for a moment stopped, but went on with a slow but steady pace straight to the end of the course. The Hare, lying down by the wayside, fell fast asleep. At last waking up, and moving as fast as he could, he saw the Tortoise had reached the goal, and was comfortably dozing after her fatigue. \n\n\n \nSlow but steady wins the race. \n\n\n\n"
|
||||
@@ -370,9 +370,6 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
{
|
||||
"Binary": {
|
||||
"headers": {
|
||||
"content_id": {
|
||||
"Text": "823504223@17052000-0f8d"
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
@@ -384,6 +381,9 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
"name": "blueball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_id": {
|
||||
"Text": "823504223@17052000-0f8d"
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
@@ -1718,6 +1718,12 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
{
|
||||
"Binary": {
|
||||
"headers": {
|
||||
"content_id": {
|
||||
"Text": "823504223@17052000-0f94"
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
@@ -1726,12 +1732,6 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
"name": "redball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_id": {
|
||||
"Text": "823504223@17052000-0f94"
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
|
||||
+32
-30
@@ -29,15 +29,39 @@ Slow but steady wins the race.
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"subject": {
|
||||
"Text": "Test message from Netscape Communicator 4.7"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "392362D8.B650789F@example.com"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"charset": "us-ascii"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "7bit"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Joe Blow",
|
||||
"address": "blow@example.com"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Test message from Netscape Communicator 4.7"
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
@@ -50,41 +74,17 @@ Slow but steady wins the race.
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "7bit"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Joe Blow",
|
||||
"address": "blow@example.com"
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"charset": "us-ascii"
|
||||
}
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "392362D8.B650789F@example.com"
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
"X-Mailer": {
|
||||
"Text": "Mozilla 4.7 [en] (WinNT; I)"
|
||||
},
|
||||
"X-Priority": {
|
||||
"Text": "1 (Highest)"
|
||||
},
|
||||
"X-Accept-Language": {
|
||||
"Text": "en"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "Mozilla 4.7 [en] (WinNT; I)"
|
||||
}
|
||||
},
|
||||
"headers_offsets": [
|
||||
@@ -172,9 +172,11 @@ Slow but steady wins the race.
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "\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"
|
||||
}
|
||||
}
|
||||
|
||||
+50
-47
@@ -113,36 +113,6 @@ Slow but steady wins the race.
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "3923635B.85C58444@example.com"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "mixed",
|
||||
"attributes": {
|
||||
"boundary": "------------0BBC657DDC74A0B8454627FD"
|
||||
}
|
||||
}
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Joe Blow",
|
||||
"address": "blow@example.com"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Test message from Netscape Communicator 4.7"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
@@ -155,14 +125,44 @@ Slow but steady wins the race.
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Joe Blow",
|
||||
"address": "blow@example.com"
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "3923635B.85C58444@example.com"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Test message from Netscape Communicator 4.7"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "mixed",
|
||||
"attributes": {
|
||||
"boundary": "------------0BBC657DDC74A0B8454627FD"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
"X-Accept-Language": {
|
||||
"Text": "en"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "Mozilla 4.7 [en] (WinNT; I)"
|
||||
},
|
||||
"X-Accept-Language": {
|
||||
"Text": "en"
|
||||
}
|
||||
},
|
||||
"headers_offsets": [
|
||||
@@ -268,14 +268,6 @@ Slow but steady wins the race.
|
||||
{
|
||||
"InlineBinary": {
|
||||
"headers": {
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"attributes": {
|
||||
"filename": "blueball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
@@ -287,6 +279,15 @@ Slow but steady wins the race.
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "blueball.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
@@ -1630,16 +1631,17 @@ Slow but steady wins the race.
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "greenball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
@@ -2947,9 +2949,6 @@ Slow but steady wins the race.
|
||||
{
|
||||
"Text": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "7bit"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
@@ -2963,10 +2962,14 @@ Slow but steady wins the race.
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "hareandtoroise.txt"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "7bit"
|
||||
}
|
||||
},
|
||||
"body": "\r\nThe Hare and the Tortoise \r\n \r\nA HARE one day ridiculed the short feet and slow pace of the Tortoise, who replied, laughing: \"Though you be swift as the wind, I will beat you in a race.\" The Hare, believing her assertion to be simply impossible, assented to the proposal; and they agreed that the Fox should choose the course and fix the goal. On the day appointed for the race the two started together. The Tortoise never for a moment stopped, but went on with a slow but steady pace straight to the end of the course. The Hare, lying down by the wayside, fell fast asleep. At last waking up, and moving as fast as he could, he saw the Tortoise had reached the goal, and was comfortably dozing after her fatigue. \r\n \r\nSlow but steady wins the race. \r\n\r"
|
||||
|
||||
+29
-26
@@ -98,15 +98,6 @@ Z3VldDZzO7wAAAAASUVORK5CYII=
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@penguin.example.com"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Test message from PINE"
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "Pine.LNX.4.21.0005190951410.8452-102000@penguin.example.com"
|
||||
},
|
||||
@@ -140,8 +131,18 @@ Z3VldDZzO7wAAAAASUVORK5CYII=
|
||||
"name": "Joe Blow",
|
||||
"address": "blow@example.com"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Test message from PINE"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@penguin.example.com"
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -232,9 +233,13 @@ Z3VldDZzO7wAAAAASUVORK5CYII=
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_id": {
|
||||
"Text": "Pine.LNX.4.21.0005190955480.8452@penguin.example.com"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "redball.png"
|
||||
}
|
||||
@@ -243,9 +248,6 @@ Z3VldDZzO7wAAAAASUVORK5CYII=
|
||||
"content_transfer_encoding": {
|
||||
"Text": "BASE64"
|
||||
},
|
||||
"content_id": {
|
||||
"Text": "Pine.LNX.4.21.0005190955480.8452@penguin.example.com"
|
||||
},
|
||||
"content_description": {
|
||||
"Text": "A PNG graphic file"
|
||||
}
|
||||
@@ -1710,6 +1712,21 @@ Z3VldDZzO7wAAAAASUVORK5CYII=
|
||||
{
|
||||
"Binary": {
|
||||
"headers": {
|
||||
"content_id": {
|
||||
"Text": "Pine.LNX.4.21.0005190955481.8452@penguin.example.com"
|
||||
},
|
||||
"content_description": {
|
||||
"Text": "A PNG graphic file"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "blueball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "application",
|
||||
@@ -1719,22 +1736,8 @@ Z3VldDZzO7wAAAAASUVORK5CYII=
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_id": {
|
||||
"Text": "Pine.LNX.4.21.0005190955481.8452@penguin.example.com"
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "BASE64"
|
||||
},
|
||||
"content_description": {
|
||||
"Text": "A PNG graphic file"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"attributes": {
|
||||
"filename": "blueball.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
|
||||
+43
-41
@@ -144,6 +144,27 @@ eSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
}
|
||||
}
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Joe Blow",
|
||||
"address": "blow@example.com"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Test message from Netscape Communicator 4.7"
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "39235EAD.E48E2160@example.com"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
@@ -156,35 +177,14 @@ eSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Joe Blow",
|
||||
"address": "blow@example.com"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Test message from Netscape Communicator 4.7"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "39235EAD.E48E2160@example.com"
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
"X-Mailer": {
|
||||
"Text": "Mozilla 4.7 [en] (WinNT; I)"
|
||||
},
|
||||
"X-Accept-Language": {
|
||||
"Text": "en"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "Mozilla 4.7 [en] (WinNT; I)"
|
||||
}
|
||||
},
|
||||
"headers_offsets": [
|
||||
@@ -283,9 +283,6 @@ eSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
{
|
||||
"Text": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
@@ -294,6 +291,9 @@ eSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
}
|
||||
},
|
||||
"body": "Die Hasen und die Frösche\n\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein\nRedner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde,\nder Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der\nTod selbst. Auf, laßt uns ein für allemal sterben.\"\n\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu;\nallein das außerordentliche Getöse und ihre wunderbare Gestalt\nerschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs\nschnellste untertauchten.\n\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein\nwenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere,\nwelche also wohl noch unglücklicher sein müssen als wir.\"\n\n\n"
|
||||
@@ -324,11 +324,15 @@ eSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "greenball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
@@ -337,9 +341,6 @@ eSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
"name": "greenball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
@@ -1647,17 +1648,6 @@ eSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
{
|
||||
"InlineBinary": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"attributes": {
|
||||
"filename": "blueball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
@@ -1666,6 +1656,18 @@ eSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
"name": "blueball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "blueball.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
|
||||
+23
-21
@@ -35,17 +35,11 @@ welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"message_id": {
|
||||
"Text": "392363E1.2AC47AB3@example.com"
|
||||
"subject": {
|
||||
"Text": "Test message from Netscape Communicator 4.7"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"charset": "UTF-8"
|
||||
}
|
||||
}
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
@@ -53,6 +47,9 @@ welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."
|
||||
"address": "blow@example.com"
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
@@ -66,31 +63,34 @@ welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Test message from Netscape Communicator 4.7"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
"message_id": {
|
||||
"Text": "392363E1.2AC47AB3@example.com"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"charset": "UTF-8"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
"X-Mailer": {
|
||||
"Text": "Mozilla 4.7 [en] (WinNT; I)"
|
||||
},
|
||||
"X-Accept-Language": {
|
||||
"Text": "en"
|
||||
},
|
||||
"X-Priority": {
|
||||
"Text": "5 (Lowest)"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "Mozilla 4.7 [en] (WinNT; I)"
|
||||
}
|
||||
},
|
||||
"headers_offsets": [
|
||||
@@ -178,9 +178,11 @@ welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "Die Hasen und die Fr�sche\n\nDie Hasen klagten einst �ber ihre mi�liche Lage; \"wir leben\", sprach ein\nRedner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde,\nder Adler, ja fast aller Raubtiere! Unsere stete Angst ist �rger als der\nTod selbst. Auf, la�t uns ein f�r allemal sterben.\" \n\nIn einem nahen Teich wollten sie sich nun ers�ufen; sie eilten ihm zu;\nallein das au�erordentliche Get�se und ihre wunderbare Gestalt\nerschreckte eine Menge Fr�sche, die am Ufer sa�en, so sehr, da� sie aufs\nschnellste untertauchten. \n\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ers�ufen noch ein\nwenig aufschieben, denn auch uns f�rchten, wie ihr seht, einige Tiere,\nwelche also wohl noch ungl�cklicher sein m�ssen als wir.\"\n"
|
||||
}
|
||||
}
|
||||
|
||||
+20
-18
@@ -41,6 +41,24 @@ welche also wohl noch ungl+uKs-licher sein m+vLM-en als wir."
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Fr+APY-sche"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "7bit"
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "39236497.12FA2A89@example.com"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Heinz M+APw-ller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
@@ -55,24 +73,6 @@ welche also wohl noch ungl+uKs-licher sein m+vLM-en als wir."
|
||||
"charset": "UTF-7"
|
||||
}
|
||||
}
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Heinz M+APw-ller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Fr+APY-sche"
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "7bit"
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "39236497.12FA2A89@example.com"
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
@@ -161,9 +161,11 @@ welche also wohl noch ungl+uKs-licher sein m+vLM-en als wir."
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "Die Hasen und die Fr岣he\r\n\r\nDie Hasen klagten einst 롥r ihre miެiche Lage; \"wir leben\", sprach ein\r\nRedner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde,\r\nder Adler, ja fast aller Raubtiere! Unsere stete Angst ist 㱧er als der\r\nTod selbst. Auf, la uns ein f밠allemal sterben.\" \r\n\r\nIn einem nahen Teich wollten sie sich nun ers㴦en; sie eilten ihm zu;\r\nallein das auޥrordentliche Get岥 und ihre wunderbare Gestalt\r\nerschreckte eine Menge Fr岣he, die am Ufer saޥn, so sehr, daݠsie aufs\r\nschnellste untertauchten. \r\n\r\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ers㴦en noch ein\r\nwenig aufschieben, denn auch uns f뱣hten, wie ihr seht, einige Tiere,\r\nwelche also wohl noch ungl뢫licher sein m벳en als wir.\"\r\n"
|
||||
}
|
||||
}
|
||||
|
||||
+43
-37
@@ -223,14 +223,17 @@ YII=
|
||||
}
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche (Netscape Messenger 4.7)"
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
@@ -253,9 +256,6 @@ YII=
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "39235FC5.276CCE00@example.com"
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche (Netscape Messenger 4.7)"
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
@@ -396,6 +396,9 @@ YII=
|
||||
{
|
||||
"Html": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "7bit"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
@@ -404,9 +407,6 @@ YII=
|
||||
"charset": "us-ascii"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "7bit"
|
||||
}
|
||||
},
|
||||
"body": "<!doctype html public \"-//w3c//dtd html 4.0 transitional//en\">\r\n<html>\r\n<img SRC=\"cid:part1.39235FC5.E71D8178@example.com\" ALT=\"blue ball\" height=27 width=27><b></b>\r\n<p><b>Die Hasen und die Frösche</b>\r\n<p>Die Hasen klagten einst über ihre mißliche Lage; \"wir leben\",\r\nsprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute\r\nder Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger\r\nals der Tod selbst. Auf, laßt uns ein für allemal sterben.\"\r\n<p>In einem nahen Teich wollten sie sich nun ersäufen; sie eilten\r\nihm zu; allein das außerordentliche Getöse und ihre wunderbare\r\nGestalt erschreckte eine Menge Frösche, die am Ufer saßen, so\r\nsehr, daß sie aufs schnellste untertauchten.\r\n<p>\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen\r\nnoch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht,\r\neinige Tiere, welche also wohl noch unglücklicher sein müssen\r\nals wir.\"\r\n<p><img SRC=\"cid:part2.39235FC5.E71D8178@example.com\" height=27 width=27>\r\n<br> \r\n<br> </html>\r\n\r"
|
||||
@@ -415,25 +415,27 @@ YII=
|
||||
{
|
||||
"Binary": {
|
||||
"headers": {
|
||||
"content_id": {
|
||||
"Text": "part1.39235FC5.E71D8178@example.com"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
"c_subtype": "png"
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_id": {
|
||||
"Text": "part1.39235FC5.E71D8178@example.com"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "C:TEMPnsmailEG.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
"c_subtype": "png",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
@@ -1768,23 +1770,25 @@ YII=
|
||||
{
|
||||
"Binary": {
|
||||
"headers": {
|
||||
"content_id": {
|
||||
"Text": "part2.39235FC5.E71D8178@example.com"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
"c_subtype": "png"
|
||||
"c_subtype": "png",
|
||||
"attributes": null
|
||||
}
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "C:TEMPnsmail39.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_id": {
|
||||
"Text": "part2.39235FC5.E71D8178@example.com"
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
}
|
||||
@@ -3252,6 +3256,15 @@ YII=
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "redball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
@@ -3260,14 +3273,6 @@ YII=
|
||||
"name": "redball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"attributes": {
|
||||
"filename": "redball.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
@@ -4730,14 +4735,6 @@ YII=
|
||||
{
|
||||
"InlineBinary": {
|
||||
"headers": {
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"attributes": {
|
||||
"filename": "greenball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
@@ -4749,6 +4746,15 @@ YII=
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "greenball.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
|
||||
+30
-27
@@ -28,8 +28,29 @@ lche also wohl noch ungl=FCcklicher sein m=FCssen als wir."=20
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"message_id": {
|
||||
"Text": "Pine.LNX.4.21.0005191014500.8452-100000@penguin.example.com"
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Jürgen Schmürgen",
|
||||
"address": "schmuergen@example.com"
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@penguin.example.com"
|
||||
}
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
@@ -44,37 +65,17 @@ lche also wohl noch ungl=FCcklicher sein m=FCssen als wir."=20
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "QUOTED-PRINTABLE"
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
}
|
||||
"content_transfer_encoding": {
|
||||
"Text": "QUOTED-PRINTABLE"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Jürgen Schmürgen",
|
||||
"address": "schmuergen@example.com"
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@penguin.example.com"
|
||||
}
|
||||
"message_id": {
|
||||
"Text": "Pine.LNX.4.21.0005191014500.8452-100000@penguin.example.com"
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -139,9 +140,11 @@ lche also wohl noch ungl=FCcklicher sein m=FCssen als wir."=20
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "Die Hasen und die Frösche\n\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst. Auf, laßt uns ein für allemal sterben.\" \n\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; allein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste untertauchten. \n\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, welche also wohl noch unglücklicher sein müssen als wir.\" \n\n\n"
|
||||
}
|
||||
}
|
||||
|
||||
+33
-32
@@ -53,30 +53,12 @@ eSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Joe Blow",
|
||||
"address": "blow@example.com"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Test message from Netscape Communicator 4.7"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "mixed",
|
||||
"attributes": {
|
||||
"boundary": "------------E7889DDF0F75D34163841C59"
|
||||
}
|
||||
}
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
@@ -90,19 +72,37 @@ eSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Test message from Netscape Communicator 4.7"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "mixed",
|
||||
"attributes": {
|
||||
"boundary": "------------E7889DDF0F75D34163841C59"
|
||||
}
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "392366A7.21929EA7@example.com"
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
"X-Accept-Language": {
|
||||
"Text": "en"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "Mozilla 4.7 [en] (WinNT; I)"
|
||||
},
|
||||
"X-Accept-Language": {
|
||||
"Text": "en"
|
||||
}
|
||||
},
|
||||
"headers_offsets": [
|
||||
@@ -204,17 +204,6 @@ eSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
{
|
||||
"InlineBinary": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"attributes": {
|
||||
"filename": "blueball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
@@ -223,6 +212,18 @@ eSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
"name": "blueball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "blueball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
|
||||
+29
-27
@@ -19,30 +19,6 @@ Slow but steady wins the race.
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"message_id": {
|
||||
"Text": "3923625B.59F0C3AC@example.com"
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "7bit"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Joe Blow",
|
||||
"address": "blow@example.com"
|
||||
}
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Test message from Netscape Communicator 4.7"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
@@ -56,6 +32,15 @@ Slow but steady wins the race.
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "7bit"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Joe Blow",
|
||||
"address": "blow@example.com"
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
@@ -64,14 +49,29 @@ Slow but steady wins the race.
|
||||
"charset": "us-ascii"
|
||||
}
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Test message from Netscape Communicator 4.7"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "3923625B.59F0C3AC@example.com"
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
"X-Accept-Language": {
|
||||
"Text": "en"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "Mozilla 4.7 [en] (WinNT; I)"
|
||||
},
|
||||
"X-Accept-Language": {
|
||||
"Text": "en"
|
||||
}
|
||||
},
|
||||
"headers_offsets": [
|
||||
@@ -152,9 +152,11 @@ Slow but steady wins the race.
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "\r\nThe Hare and the Tortoise \r\n \r\nA HARE one day ridiculed the short feet and slow pace of the Tortoise, who replied, laughing: \"Though you be swift as the wind, I will beat you in a race.\" The Hare, believing her assertion to be simply impossible, assented to the proposal; and they agreed that the Fox should choose the course and fix the goal. On the day appointed for the race the two started together. The Tortoise never for a moment stopped, but went on with a slow but steady pace straight to the end of the course. The Hare, lying down by the wayside, fell fast asleep. At last waking up, and moving as fast as he could, he saw the Tortoise had reached the goal, and was comfortably dozing after her fatigue. \r\n \r\nSlow but steady wins the race.\r\n"
|
||||
}
|
||||
}
|
||||
|
||||
+37
-31
@@ -173,6 +173,12 @@ eSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Test message from Netscape Communicator 4.7"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
@@ -188,15 +194,9 @@ eSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
}
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Test message from Netscape Communicator 4.7"
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "39236103.FFE674FC@example.com"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Jürgen Schmürgen",
|
||||
@@ -323,9 +323,6 @@ eSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
{
|
||||
"Html": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "7bit"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
@@ -334,6 +331,9 @@ eSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
"charset": "us-ascii"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "7bit"
|
||||
}
|
||||
},
|
||||
"body": "<!doctype html public \"-//w3c//dtd html 4.0 transitional//en\">\r\n<html>\r\n<img SRC=\"cid:part1.39236103.1B697A54@example.com\" ALT=\"blue ball\" height=27 width=27><b></b>\r\n<p><b><font size=+2>Die Hasen und die Frösche</font></b>\r\n<p>Die Hasen klagten einst über ihre mißliche Lage; \"wir leben\",\r\nsprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute\r\nder Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger\r\nals der Tod selbst. Auf, laßt uns ein für allemal sterben.\"\r\n<p>In einem nahen Teich wollten sie sich nun ersäufen; sie eilten\r\nihm zu; allein das außerordentliche Getöse und ihre wunderbare\r\nGestalt erschreckte eine Menge Frösche, die am Ufer saßen, so\r\nsehr, daß sie aufs schnellste untertauchten.\r\n<p>\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen\r\nnoch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht,\r\neinige Tiere, welche also wohl noch unglücklicher sein müssen\r\nals wir.\"\r\n<p><img SRC=\"cid:part2.39236103.1B697A54@example.com\" ALT=\"red ball\" height=27 width=27></html>\r\n\r"
|
||||
@@ -342,24 +342,26 @@ eSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
{
|
||||
"Binary": {
|
||||
"headers": {
|
||||
"content_id": {
|
||||
"Text": "part1.39236103.1B697A54@example.com"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "C:TEMPnsmailV0.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_id": {
|
||||
"Text": "part1.39236103.1B697A54@example.com"
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
"c_subtype": "png"
|
||||
"c_subtype": "png",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1695,24 +1697,26 @@ eSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
{
|
||||
"Binary": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"attributes": {
|
||||
"filename": "C:TEMPnsmailNM.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_id": {
|
||||
"Text": "part2.39236103.1B697A54@example.com"
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
"c_subtype": "png"
|
||||
"c_subtype": "png",
|
||||
"attributes": null
|
||||
}
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "C:TEMPnsmailNM.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -3176,9 +3180,6 @@ eSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
{
|
||||
"InlineBinary": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
@@ -3191,10 +3192,14 @@ eSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "greenball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
@@ -4505,11 +4510,15 @@ eSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "blueball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
@@ -4518,9 +4527,6 @@ eSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
"name": "blueball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
|
||||
+24
-22
@@ -30,36 +30,21 @@ n wenig aufschieben, denn auch uns f=FCrchten, wie ihr seht, einige Tiere=
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
}
|
||||
"message_id": {
|
||||
"Text": "39236653.CAA8A090@example.com"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"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": "schmuergen@example.com"
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "39236653.CAA8A090@example.com"
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
@@ -73,8 +58,23 @@ n wenig aufschieben, denn auch uns f=FCrchten, wie ihr seht, einige Tiere=
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche"
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Jürgen Schmürgen",
|
||||
"address": "schmuergen@example.com"
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
@@ -163,9 +163,11 @@ n wenig aufschieben, denn auch uns f=FCrchten, wie ihr seht, einige Tiere=
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "Die Hasen und die Frösche\n\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst. Auf, laßt uns ein für allemal sterben.\" \n\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; allein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste untertauchten. \n\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, welche also wohl noch unglücklicher sein müssen als wir.\"\n"
|
||||
}
|
||||
}
|
||||
|
||||
+45
-43
@@ -59,36 +59,6 @@ vAAAAABJRU5ErkJggg==
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "mixed",
|
||||
"attributes": {
|
||||
"boundary": "-1463757054-170444605-958746196=:8452"
|
||||
}
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "PNG graphic"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@penguin.example.com"
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "Pine.LNX.4.21.0005191019440.8452-101000@penguin.example.com"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Heinz Müller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
@@ -101,8 +71,39 @@ vAAAAABJRU5ErkJggg==
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"subject": {
|
||||
"Text": "PNG graphic"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "mixed",
|
||||
"attributes": {
|
||||
"boundary": "-1463757054-170444605-958746196=:8452"
|
||||
}
|
||||
}
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@penguin.example.com"
|
||||
}
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Heinz Müller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "Pine.LNX.4.21.0005191019440.8452-101000@penguin.example.com"
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -183,15 +184,18 @@ vAAAAABJRU5ErkJggg==
|
||||
{
|
||||
"Binary": {
|
||||
"headers": {
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "redball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_id": {
|
||||
"Text": "Pine.LNX.4.21.0005191023160.8452@penguin.example.com"
|
||||
},
|
||||
"content_description": {
|
||||
"Text": "red ball"
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "BASE64"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "application",
|
||||
@@ -201,13 +205,11 @@ vAAAAABJRU5ErkJggg==
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"attributes": {
|
||||
"filename": "redball.png"
|
||||
}
|
||||
}
|
||||
"content_transfer_encoding": {
|
||||
"Text": "BASE64"
|
||||
},
|
||||
"content_description": {
|
||||
"Text": "red ball"
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
|
||||
+27
-26
@@ -60,6 +60,27 @@ Birds of a feather flock together.
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"message_id": {
|
||||
"Text": "3923686C.99FB5E36@example.com"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Joe Blow",
|
||||
"address": "blow@example.com"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Test message from Netscape Communicator 4.7"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "mixed",
|
||||
"attributes": {
|
||||
"boundary": "------------77060D866A66DC8D0921E051"
|
||||
}
|
||||
}
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
@@ -76,32 +97,11 @@ Birds of a feather flock together.
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Joe Blow",
|
||||
"address": "blow@example.com"
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "mixed",
|
||||
"attributes": {
|
||||
"boundary": "------------77060D866A66DC8D0921E051"
|
||||
}
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "3923686C.99FB5E36@example.com"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Test message from Netscape Communicator 4.7"
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
@@ -190,9 +190,6 @@ Birds of a feather flock together.
|
||||
{
|
||||
"Text": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "7bit"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
@@ -201,6 +198,9 @@ Birds of a feather flock together.
|
||||
"charset": "us-ascii"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "7bit"
|
||||
}
|
||||
},
|
||||
"body": "\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"
|
||||
@@ -212,6 +212,7 @@ Birds of a feather flock together.
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "farmerandstork.txt"
|
||||
}
|
||||
@@ -225,8 +226,8 @@ Birds of a feather flock together.
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"charset": "us-ascii",
|
||||
"name": "farmerandstork.txt"
|
||||
"name": "farmerandstork.txt",
|
||||
"charset": "us-ascii"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+15
-14
@@ -63,6 +63,9 @@ als wir."
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche (Netscape Communicator 4.7)"
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "392359CF.DFF4527@example.com"
|
||||
},
|
||||
@@ -72,8 +75,14 @@ als wir."
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche (Netscape Communicator 4.7)"
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "alternative",
|
||||
"attributes": {
|
||||
"boundary": "------------9D454F23DA86BCD63FA3805F"
|
||||
}
|
||||
}
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
@@ -96,23 +105,14 @@ als wir."
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "alternative",
|
||||
"attributes": {
|
||||
"boundary": "------------9D454F23DA86BCD63FA3805F"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
"X-Accept-Language": {
|
||||
"Text": "en"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "Mozilla 4.7 [en] (WinNT; I)"
|
||||
},
|
||||
"X-Accept-Language": {
|
||||
"Text": "en"
|
||||
}
|
||||
},
|
||||
"headers_offsets": [
|
||||
@@ -186,6 +186,7 @@ als wir."
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
|
||||
+34
-31
@@ -139,9 +139,6 @@ eSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"message_id": {
|
||||
"Text": "39235E1C.1DC7EA90@example.com"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
@@ -154,6 +151,9 @@ eSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
"subject": {
|
||||
"Text": "Test message from Netscape Communicator 4.7"
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "39235E1C.1DC7EA90@example.com"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
@@ -184,11 +184,11 @@ eSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
"X-Mailer": {
|
||||
"Text": "Mozilla 4.7 [en] (WinNT; I)"
|
||||
},
|
||||
"X-Accept-Language": {
|
||||
"Text": "en"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "Mozilla 4.7 [en] (WinNT; I)"
|
||||
}
|
||||
},
|
||||
"headers_offsets": [
|
||||
@@ -296,12 +296,10 @@ eSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
{
|
||||
"InlineBinary": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "redball.png"
|
||||
}
|
||||
@@ -315,6 +313,9 @@ eSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
"name": "redball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
@@ -1777,17 +1778,6 @@ eSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
{
|
||||
"InlineBinary": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"attributes": {
|
||||
"filename": "greenball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
@@ -1796,6 +1786,18 @@ eSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
"name": "greenball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "greenball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
@@ -3103,17 +3105,6 @@ eSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
{
|
||||
"InlineBinary": {
|
||||
"headers": {
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"attributes": {
|
||||
"filename": "blueball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
@@ -3122,6 +3113,18 @@ eSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
"name": "blueball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "blueball.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
|
||||
+22
-20
@@ -44,6 +44,18 @@ bGljaGVyIHNlaW4gbfxzc2VuIGFscyB3aXIuIiANDQoNDQo=
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"message_id": {
|
||||
"Text": "Pine.LNX.4.21.0005191024380.8452-200000@penguin.example.com"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "mixed",
|
||||
"attributes": {
|
||||
"boundary": "-1463757054-891160829-958746372=:8452"
|
||||
}
|
||||
}
|
||||
},
|
||||
"to": {
|
||||
"AddressList": [
|
||||
{
|
||||
@@ -56,9 +68,6 @@ bGljaGVyIHNlaW4gbfxzc2VuIGFscyB3aXIuIiANDQoNDQo=
|
||||
}
|
||||
]
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
@@ -72,6 +81,9 @@ bGljaGVyIHNlaW4gbfxzc2VuIGFscyB3aXIuIiANDQoNDQo=
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
@@ -80,20 +92,9 @@ bGljaGVyIHNlaW4gbfxzc2VuIGFscyB3aXIuIiANDQoNDQo=
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche"
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "Pine.LNX.4.21.0005191024380.8452-200000@penguin.example.com"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "mixed",
|
||||
"attributes": {
|
||||
"boundary": "-1463757054-891160829-958746372=:8452"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -184,22 +185,23 @@ bGljaGVyIHNlaW4gbfxzc2VuIGFscyB3aXIuIiANDQoNDQo=
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_description": {
|
||||
"Text": "Short story in German"
|
||||
"content_id": {
|
||||
"Text": "Pine.LNX.4.21.0005191026120.8452@penguin.example.com"
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "BASE64"
|
||||
},
|
||||
"content_description": {
|
||||
"Text": "Short story in German"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "HasenundFrösche.txt"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_id": {
|
||||
"Text": "Pine.LNX.4.21.0005191026120.8452@penguin.example.com"
|
||||
}
|
||||
},
|
||||
"body": "Die Hasen und die Frösche\r\r\n\r\r\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst. Auf, laßt uns ein für allemal sterben.\" \r\r\n\r\r\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; allein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste untertauchten. \r\r\n\r\r\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, welche also wohl noch unglücklicher sein müssen als wir.\" \r\r\n\r\r\n"
|
||||
|
||||
+20
-18
@@ -34,15 +34,6 @@ welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
@@ -56,6 +47,24 @@ welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche (Netscape Communicator 4.7)"
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "3923561C.B7078DEF@example.com"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
@@ -70,15 +79,6 @@ welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."
|
||||
"name": "Jürgen Schmürgen",
|
||||
"address": "schmuergen@example.com"
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche (Netscape Communicator 4.7)"
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "3923561C.B7078DEF@example.com"
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
@@ -167,9 +167,11 @@ welche also wohl noch ungl=FCcklicher sein m=FCssen als wir."
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "Die Hasen und die Frösche\n\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein\nRedner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde,\nder Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der\nTod selbst. Auf, laßt uns ein für allemal sterben.\"\n\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu;\nallein das außerordentliche Getöse und ihre wunderbare Gestalt\nerschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs\nschnellste untertauchten.\n\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein\nwenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere,\nwelche also wohl noch unglücklicher sein müssen als wir.\"\n\n\n"
|
||||
}
|
||||
}
|
||||
|
||||
+23
-22
@@ -62,14 +62,11 @@ n wenig aufschieben, denn auch uns f=FCrchten, wie ihr seht, einige Tiere=
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "mixed",
|
||||
"attributes": {
|
||||
"boundary": "------------CA611088711119FBDB3473B4"
|
||||
}
|
||||
}
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Test message from Netscape Communicator 4.7"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
@@ -77,18 +74,21 @@ n wenig aufschieben, denn auch uns f=FCrchten, wie ihr seht, einige Tiere=
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "392367BC.3D075C95@example.com"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Joe Blow",
|
||||
"address": "blow@example.com"
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "mixed",
|
||||
"attributes": {
|
||||
"boundary": "------------CA611088711119FBDB3473B4"
|
||||
}
|
||||
}
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
@@ -102,8 +102,8 @@ n wenig aufschieben, denn auch uns f=FCrchten, wie ihr seht, einige Tiere=
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Test message from Netscape Communicator 4.7"
|
||||
"message_id": {
|
||||
"Text": "392367BC.3D075C95@example.com"
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
@@ -192,6 +192,9 @@ n wenig aufschieben, denn auch uns f=FCrchten, wie ihr seht, einige Tiere=
|
||||
{
|
||||
"Text": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "7bit"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
@@ -200,9 +203,6 @@ n wenig aufschieben, denn auch uns f=FCrchten, wie ihr seht, einige Tiere=
|
||||
"charset": "us-ascii"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "7bit"
|
||||
}
|
||||
},
|
||||
"body": "\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"
|
||||
@@ -211,9 +211,6 @@ n wenig aufschieben, denn auch uns f=FCrchten, wie ihr seht, einige Tiere=
|
||||
{
|
||||
"Text": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
@@ -227,10 +224,14 @@ n wenig aufschieben, denn auch uns f=FCrchten, wie ihr seht, einige Tiere=
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "HasenundFrösche.txt"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
}
|
||||
},
|
||||
"body": "Die Hasen und die Frösche\n\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst. Auf, laßt uns ein für allemal sterben.\" \n\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; allein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste untertauchten. \n\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, welche also wohl noch unglücklicher sein müssen als wir.\" \n\n"
|
||||
|
||||
+45
-42
@@ -163,12 +163,21 @@ end
|
||||
"address": "blow@example.com"
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Test message from Netscape Communicator 4.7"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "3923670C.67D83A99@example.com"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
@@ -178,9 +187,6 @@ end
|
||||
}
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "3923670C.67D83A99@example.com"
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
@@ -193,12 +199,6 @@ end
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
@@ -317,14 +317,6 @@ end
|
||||
"content_transfer_encoding": {
|
||||
"Text": "x-uuencode"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"attributes": {
|
||||
"filename": "redball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
@@ -333,6 +325,15 @@ end
|
||||
"name": "redball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "redball.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
@@ -2410,6 +2411,18 @@ end
|
||||
{
|
||||
"InlineBinary": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "x-uuencode"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "greenball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
@@ -2418,17 +2431,6 @@ end
|
||||
"name": "greenball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "x-uuencode"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"attributes": {
|
||||
"filename": "greenball.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
@@ -4288,17 +4290,6 @@ end
|
||||
{
|
||||
"InlineBinary": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "x-uuencode"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"attributes": {
|
||||
"filename": "blueball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
@@ -4307,6 +4298,18 @@ end
|
||||
"name": "blueball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "x-uuencode"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "blueball.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
|
||||
+12
-10
File diff suppressed because one or more lines are too long
+36
-34
@@ -111,21 +111,24 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "related",
|
||||
"attributes": {
|
||||
"type": "text/html",
|
||||
"boundary": "=====================_715546120==_.REL"
|
||||
"boundary": "=====================_715546120==_.REL",
|
||||
"type": "text/html"
|
||||
}
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "4.2.0.58.20000519003934.00a866f0@pop.example.com"
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche"
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Heinz Müller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
@@ -140,31 +143,28 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Heinz Müller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
"message_id": {
|
||||
"Text": "4.2.0.58.20000519003934.00a866f0@pop.example.com"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche"
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
"X-Priority": {
|
||||
"Text": "2 (High)"
|
||||
},
|
||||
"X-Sender": {
|
||||
"Text": "dwsauder@pop.example.com (Unverified)"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58"
|
||||
},
|
||||
"X-Sender": {
|
||||
"Text": "dwsauder@pop.example.com (Unverified)"
|
||||
}
|
||||
},
|
||||
"headers_offsets": [
|
||||
@@ -253,9 +253,6 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
{
|
||||
"Html": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
@@ -264,6 +261,9 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
"charset": "iso-8859-1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
}
|
||||
},
|
||||
"body": "<html>\n<img src=\"cid:4.2.0.58.20000519003934.00a866f0@pop.example.com.2\" width=27 height=27 alt=\"2aa658b6.png\"><br>\n<br>\n<font face=\"Arial, Helvetica\" size=5 color=\"#0000FF\"><b>Die Hasen und die\nFrösche<br>\n<br>\n</font></b><font face=\"Arial, Helvetica\">Die Hasen klagten einst über\nihre mißliche Lage; "wir leben", sprach ein Redner, "in\nsteter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler,\nja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst.\nAuf, laßt uns ein für allemal sterben." <br>\n<br>\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu;\nallein das außerordentliche Getöse und ihre wunderbare Gestalt\nerschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs\nschnellste untertauchten. <br>\n<br>\n"Halt", rief nun eben dieser Sprecher, "wir wollen das\nErsäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr\nseht, einige Tiere, welche also wohl noch unglücklicher sein müssen als\nwir." <br>\n<br>\n<img src=\"cid:4.2.0.58.20000519003934.00a866f0@pop.example.com.3\" width=27 height=27 alt=\"2aa658c0.png\"></font></html>\n"
|
||||
@@ -275,23 +275,24 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_type": {
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
"c_subtype": "png",
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"name": "2aa658b6.png"
|
||||
"filename": "2aa658b6.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_id": {
|
||||
"Text": "4.2.0.58.20000519003934.00a866f0@pop.example.com.2"
|
||||
},
|
||||
"content_disposition": {
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_type": "image",
|
||||
"c_subtype": "png",
|
||||
"attributes": {
|
||||
"filename": "2aa658b6.png"
|
||||
"name": "2aa658b6.png"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1628,6 +1629,12 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
{
|
||||
"Binary": {
|
||||
"headers": {
|
||||
"content_id": {
|
||||
"Text": "4.2.0.58.20000519003934.00a866f0@pop.example.com.3"
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
@@ -1637,19 +1644,14 @@ IFl2ZXMgUGlndWV0NnM7vAAAAABJRU5ErkJggg==
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_id": {
|
||||
"Text": "4.2.0.58.20000519003934.00a866f0@pop.example.com.3"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "2aa658c0.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
|
||||
+54
-50
@@ -166,12 +166,6 @@ bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche"
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "4.2.0.58.20000519003903.00a859b0@pop.example.com"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
@@ -181,17 +175,11 @@ bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
}
|
||||
}
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Heinz Müller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
"message_id": {
|
||||
"Text": "4.2.0.58.20000519003903.00a859b0@pop.example.com"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
@@ -205,17 +193,29 @@ bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Heinz Müller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "dwsauder@example.com"
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
"X-Priority": {
|
||||
"Text": "2 (High)"
|
||||
"X-Sender": {
|
||||
"Text": "dwsauder@pop.example.com (Unverified)"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "QUALCOMM Windows Eudora Pro Version 4.2.0.58"
|
||||
},
|
||||
"X-Sender": {
|
||||
"Text": "dwsauder@pop.example.com (Unverified)"
|
||||
"X-Priority": {
|
||||
"Text": "2 (High)"
|
||||
}
|
||||
},
|
||||
"headers_offsets": [
|
||||
@@ -310,8 +310,8 @@ bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "related",
|
||||
"attributes": {
|
||||
"type": "text/plain",
|
||||
"boundary": "=====================_715515186==_.REL"
|
||||
"boundary": "=====================_715515186==_.REL",
|
||||
"type": "text/plain"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -339,16 +339,20 @@ bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
{
|
||||
"Binary": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "2aa5e03a.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
"content_id": {
|
||||
"Text": "4.2.0.58.20000519003903.00a859b0@pop.example.com.2"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
@@ -358,9 +362,6 @@ bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
"name": "2aa5e03a.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_id": {
|
||||
"Text": "4.2.0.58.20000519003903.00a859b0@pop.example.com.2"
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
@@ -1695,8 +1696,8 @@ bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
{
|
||||
"Binary": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
"content_id": {
|
||||
"Text": "4.2.0.58.20000519003903.00a859b0@pop.example.com.3"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
@@ -1707,12 +1708,13 @@ bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_id": {
|
||||
"Text": "4.2.0.58.20000519003903.00a859b0@pop.example.com.3"
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "2aa5e044.png"
|
||||
}
|
||||
@@ -3179,14 +3181,6 @@ bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
{
|
||||
"Binary": {
|
||||
"headers": {
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"attributes": {
|
||||
"filename": "blueball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
@@ -3196,6 +3190,15 @@ bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "blueball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
}
|
||||
@@ -4532,17 +4535,6 @@ bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
{
|
||||
"Binary": {
|
||||
"headers": {
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"attributes": {
|
||||
"filename": "greenball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
@@ -4551,6 +4543,18 @@ bGlwMmdpZiB2LjAuNiBieSBZdmVzIFBpZ3VldDZzO7wAAAAASUVORK5CYII=
|
||||
"name": "greenball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "greenball.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
|
||||
+20
-18
@@ -29,12 +29,24 @@ welche also wohl noch ungl
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"message_id": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGOEKDCHAA.doug@example.com"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Heinz M�ller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Fr�sche (Microsoft Outlook 00)"
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2000,
|
||||
@@ -47,35 +59,23 @@ welche also wohl noch ungl
|
||||
"tz_hour": 4,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Fr�sche (Microsoft Outlook 00)"
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGOEKDCHAA.doug@example.com"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
"Importance": {
|
||||
"Text": "Normal"
|
||||
},
|
||||
"X-MSMail-Priority": {
|
||||
"Text": "Normal"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)"
|
||||
},
|
||||
"X-MimeOLE": {
|
||||
"Text": "Produced By Microsoft MimeOLE V5.00.2314.1300"
|
||||
},
|
||||
"X-Priority": {
|
||||
"Text": "3 (Normal)"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)"
|
||||
},
|
||||
"Importance": {
|
||||
"Text": "Normal"
|
||||
}
|
||||
},
|
||||
"headers_offsets": [
|
||||
@@ -156,9 +156,11 @@ welche also wohl noch ungl
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "Die Hasen und die Fr�sche\r\n\r\nDie Hasen klagten einst �ber ihre mi�liche Lage; \"wir leben\", sprach ein\r\nRedner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der\r\nAdler, ja fast aller Raubtiere! Unsere stete Angst ist �rger als der Tod\r\nselbst. Auf, la�t uns ein f�r allemal sterben.\"\r\n\r\nIn einem nahen Teich wollten sie sich nun ers�ufen; sie eilten ihm zu;\r\nallein das au�erordentliche Get�se und ihre wunderbare Gestalt erschreckte\r\neine Menge Fr�sche, die am Ufer sa�en, so sehr, da� sie aufs schnellste\r\nuntertauchten.\r\n\r\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ers�ufen noch ein\r\nwenig aufschieben, denn auch uns f�rchten, wie ihr seht, einige Tiere,\r\nwelche also wohl noch ungl�cklicher sein m�ssen als wir.\"\r\n\r\n"
|
||||
}
|
||||
}
|
||||
|
||||
+39
-37
@@ -34,35 +34,11 @@ als wir."=20
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche (Microsoft Outlook 00)"
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGKEKDCHAA.doug@example.com"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"charset": "utf-8"
|
||||
}
|
||||
}
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Heinz Müller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
@@ -77,25 +53,49 @@ als wir."=20
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Doug Sauder",
|
||||
"address": "doug@example.com"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Die Hasen und die Frösche (Microsoft Outlook 00)"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Heinz Müller",
|
||||
"address": "mueller@example.com"
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "NDBBIAKOPKHFGPLCODIGKEKDCHAA.doug@example.com"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain",
|
||||
"attributes": {
|
||||
"charset": "utf-8"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
"Importance": {
|
||||
"Text": "Normal"
|
||||
},
|
||||
"X-Priority": {
|
||||
"Text": "3 (Normal)"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)"
|
||||
},
|
||||
"X-MSMail-Priority": {
|
||||
"Text": "Normal"
|
||||
},
|
||||
"X-MimeOLE": {
|
||||
"Text": "Produced By Microsoft MimeOLE V5.00.2314.1300"
|
||||
},
|
||||
"X-Mailer": {
|
||||
"Text": "Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)"
|
||||
},
|
||||
"Importance": {
|
||||
"Text": "Normal"
|
||||
},
|
||||
"X-Priority": {
|
||||
"Text": "3 (Normal)"
|
||||
}
|
||||
},
|
||||
"headers_offsets": [
|
||||
@@ -197,9 +197,11 @@ als wir."=20
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "Die Hasen und die Frösche\n\nDie Hasen klagten einst über ihre mißliche Lage; \"wir leben\", sprach ein Redner, \"in steter Furcht vor Menschen und Tieren, eine Beute der Hunde, der Adler, ja fast aller Raubtiere! Unsere stete Angst ist ärger als der Tod selbst. Auf, laßt uns ein für allemal sterben.\" \n\nIn einem nahen Teich wollten sie sich nun ersäufen; sie eilten ihm zu; allein das außerordentliche Getöse und ihre wunderbare Gestalt erschreckte eine Menge Frösche, die am Ufer saßen, so sehr, daß sie aufs schnellste untertauchten. \n\n\"Halt\", rief nun eben dieser Sprecher, \"wir wollen das Ersäufen noch ein wenig aufschieben, denn auch uns fürchten, wie ihr seht, einige Tiere, welche also wohl noch unglücklicher sein müssen als wir.\" \n"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,6 +22,7 @@ Content-Type: text/html
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -39,9 +40,11 @@ Content-Type: text/html
|
||||
0,
|
||||
1
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "Content-Type: text/plain"
|
||||
}
|
||||
},
|
||||
@@ -51,7 +54,8 @@ Content-Type: text/html
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain"
|
||||
"c_subtype": "plain",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -22,6 +22,7 @@ Content-Type: text/plain
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -37,6 +38,7 @@ Content-Type: text/plain
|
||||
"text_body": [
|
||||
1
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Multipart": {
|
||||
@@ -53,6 +55,7 @@ Content-Type: text/plain
|
||||
},
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "Content-Type: text/plain\n"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,6 +15,7 @@ body
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -24,12 +25,15 @@ body
|
||||
"end": 45
|
||||
}
|
||||
],
|
||||
"html_body": [],
|
||||
"text_body": [],
|
||||
"attachments": [
|
||||
0
|
||||
],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "body\n"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,6 +21,7 @@ body
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -30,6 +31,8 @@ body
|
||||
"end": 44
|
||||
}
|
||||
],
|
||||
"html_body": [],
|
||||
"text_body": [],
|
||||
"attachments": [
|
||||
1
|
||||
],
|
||||
@@ -53,7 +56,8 @@ body
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain"
|
||||
"c_subtype": "plain",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -21,6 +21,7 @@ body
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -30,12 +31,15 @@ body
|
||||
"end": 44
|
||||
}
|
||||
],
|
||||
"html_body": [],
|
||||
"text_body": [],
|
||||
"attachments": [
|
||||
0
|
||||
],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "Content-Type: multipart/mixed; boundary=\"a\"\n\n--ac\nContent-Type: text/plain\n\nbody\n"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,6 +25,7 @@ body2
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -40,6 +41,7 @@ body2
|
||||
"text_body": [
|
||||
1
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Multipart": {
|
||||
@@ -60,7 +62,8 @@ body2
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain"
|
||||
"c_subtype": "plain",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -21,6 +21,7 @@ body
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -30,6 +31,8 @@ body
|
||||
"end": 44
|
||||
}
|
||||
],
|
||||
"html_body": [],
|
||||
"text_body": [],
|
||||
"attachments": [
|
||||
1
|
||||
],
|
||||
@@ -53,7 +56,8 @@ body
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain"
|
||||
"c_subtype": "plain",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -23,6 +23,7 @@ Content-Type: text/plain
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -32,12 +33,17 @@ Content-Type: text/plain
|
||||
"end": 44
|
||||
}
|
||||
],
|
||||
"html_body": [],
|
||||
"text_body": [],
|
||||
"attachments": [
|
||||
1
|
||||
],
|
||||
"parts": [
|
||||
{
|
||||
"Multipart": {
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
@@ -46,14 +52,12 @@ Content-Type: text/plain
|
||||
"boundary": "ab"
|
||||
}
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "--a--\n\n"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -25,6 +25,7 @@ body2
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -34,6 +35,8 @@ body2
|
||||
"end": 45
|
||||
}
|
||||
],
|
||||
"html_body": [],
|
||||
"text_body": [],
|
||||
"attachments": [
|
||||
1
|
||||
],
|
||||
@@ -57,7 +60,8 @@ body2
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain"
|
||||
"c_subtype": "plain",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -29,6 +29,7 @@ Content-Type: text/plain
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -67,7 +68,8 @@ Content-Type: text/plain
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain"
|
||||
"c_subtype": "plain",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -80,7 +82,8 @@ Content-Type: text/plain
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain"
|
||||
"c_subtype": "plain",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
+19
-5
@@ -12,10 +12,12 @@ Content-Type: text/plain
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "message",
|
||||
"c_subtype": "rfc822"
|
||||
"c_subtype": "rfc822",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -25,6 +27,8 @@ Content-Type: text/plain
|
||||
"end": 29
|
||||
}
|
||||
],
|
||||
"html_body": [],
|
||||
"text_body": [],
|
||||
"attachments": [
|
||||
0
|
||||
],
|
||||
@@ -35,7 +39,8 @@ Content-Type: text/plain
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "message",
|
||||
"c_subtype": "rfc822"
|
||||
"c_subtype": "rfc822",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -44,10 +49,12 @@ Content-Type: text/plain
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "message",
|
||||
"c_subtype": "rfc822"
|
||||
"c_subtype": "rfc822",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -57,6 +64,8 @@ Content-Type: text/plain
|
||||
"end": 59
|
||||
}
|
||||
],
|
||||
"html_body": [],
|
||||
"text_body": [],
|
||||
"attachments": [
|
||||
0
|
||||
],
|
||||
@@ -67,7 +76,8 @@ Content-Type: text/plain
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "message",
|
||||
"c_subtype": "rfc822"
|
||||
"c_subtype": "rfc822",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -76,10 +86,12 @@ Content-Type: text/plain
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain"
|
||||
"c_subtype": "plain",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -95,9 +107,11 @@ Content-Type: text/plain
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "1\n"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -29,6 +29,7 @@ Content-Type: text/plain
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -67,7 +68,8 @@ Content-Type: text/plain
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain"
|
||||
"c_subtype": "plain",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -80,7 +82,8 @@ Content-Type: text/plain
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain"
|
||||
"c_subtype": "plain",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
+18
-4
@@ -35,6 +35,7 @@ Content-Type: text/plain
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -44,6 +45,8 @@ Content-Type: text/plain
|
||||
"end": 44
|
||||
}
|
||||
],
|
||||
"html_body": [],
|
||||
"text_body": [],
|
||||
"attachments": [
|
||||
1,
|
||||
2
|
||||
@@ -68,7 +71,8 @@ Content-Type: text/plain
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "message",
|
||||
"c_subtype": "rfc822"
|
||||
"c_subtype": "rfc822",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -77,10 +81,12 @@ Content-Type: text/plain
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain"
|
||||
"c_subtype": "plain",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -96,9 +102,11 @@ Content-Type: text/plain
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "1"
|
||||
}
|
||||
}
|
||||
@@ -118,7 +126,8 @@ Content-Type: text/plain
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "message",
|
||||
"c_subtype": "rfc822"
|
||||
"c_subtype": "rfc822",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -127,10 +136,12 @@ Content-Type: text/plain
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain"
|
||||
"c_subtype": "plain",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -140,12 +151,15 @@ Content-Type: text/plain
|
||||
"end": 215
|
||||
}
|
||||
],
|
||||
"html_body": [],
|
||||
"text_body": [],
|
||||
"attachments": [
|
||||
0
|
||||
],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "22\n--1\nContent-Type: message/rfc822\n\nContent-Type: text/plain\n\n333\n"
|
||||
}
|
||||
}
|
||||
|
||||
+10
-4
@@ -47,6 +47,7 @@ hello, world
|
||||
"Text": "1.0"
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -75,6 +76,7 @@ hello, world
|
||||
4,
|
||||
6
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
@@ -82,7 +84,8 @@ hello, world
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain"
|
||||
"c_subtype": "plain",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -111,7 +114,8 @@ hello, world
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain"
|
||||
"c_subtype": "plain",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -140,7 +144,8 @@ hello, world
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain"
|
||||
"c_subtype": "plain",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -166,7 +171,8 @@ hello, world
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain"
|
||||
"c_subtype": "plain",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -19,6 +19,7 @@ hello, world
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -34,6 +35,7 @@ hello, world
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
@@ -41,7 +43,8 @@ hello, world
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain"
|
||||
"c_subtype": "plain",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
+24
-22
@@ -30,18 +30,10 @@ invalid
|
||||
"message_id": {
|
||||
"Text": "1.2.3.4@example"
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Hello world"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "signed",
|
||||
"attributes": {
|
||||
"boundary": "=-GNQXLhuj24Pl1aCkk4/d",
|
||||
"micalg": "pgp-sha1",
|
||||
"protocol": "application/pgp-signature"
|
||||
}
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Test User",
|
||||
"address": "test@example.org"
|
||||
}
|
||||
},
|
||||
"to": {
|
||||
@@ -50,18 +42,9 @@ invalid
|
||||
"address": "test2@example.org"
|
||||
}
|
||||
},
|
||||
"return_path": {
|
||||
"Text": "test@example.org"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Test User",
|
||||
"address": "test@example.org"
|
||||
}
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2007,
|
||||
@@ -74,8 +57,26 @@ invalid
|
||||
"tz_hour": 3,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Hello world"
|
||||
},
|
||||
"return_path": {
|
||||
"Text": "test@example.org"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "signed",
|
||||
"attributes": {
|
||||
"protocol": "application/pgp-signature",
|
||||
"boundary": "=-GNQXLhuj24Pl1aCkk4/d",
|
||||
"micalg": "pgp-sha1"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -150,7 +151,8 @@ invalid
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain"
|
||||
"c_subtype": "plain",
|
||||
"attributes": null
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
|
||||
@@ -36,6 +36,7 @@ Content-Type: text/plain
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -87,7 +88,8 @@ Content-Type: text/plain
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain"
|
||||
"c_subtype": "plain",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -100,7 +102,8 @@ Content-Type: text/plain
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain"
|
||||
"c_subtype": "plain",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
+47
-36
@@ -74,33 +74,12 @@ Content-Transfer-Encoding: Quoted-printable
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "mixed",
|
||||
"attributes": {
|
||||
"boundary": "unique-boundary-1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Ned Freed",
|
||||
"address": "ned@innosoft.com"
|
||||
}
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Nathaniel Borenstein",
|
||||
"address": "nsb@nsb.fv.com"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "A multipart example"
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 1994,
|
||||
@@ -113,8 +92,30 @@ Content-Transfer-Encoding: Quoted-printable
|
||||
"tz_hour": 7,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Nathaniel Borenstein",
|
||||
"address": "nsb@nsb.fv.com"
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "mixed",
|
||||
"attributes": {
|
||||
"boundary": "unique-boundary-1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "A multipart example"
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -176,6 +177,7 @@ Content-Transfer-Encoding: Quoted-printable
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "... Some text appears here ...\n\n[Note that the blank between the boundary and the start\nof the text in this part means no header fields were\ngiven and this is text in the US-ASCII character set.\nIt could have been done with explicit typing as in the\nnext part.]\n"
|
||||
}
|
||||
},
|
||||
@@ -211,14 +213,15 @@ Content-Transfer-Encoding: Quoted-printable
|
||||
{
|
||||
"Text": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "audio",
|
||||
"c_subtype": "basic"
|
||||
"c_subtype": "basic",
|
||||
"attributes": null
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
}
|
||||
},
|
||||
"body": "... base64-encoded 8000 Hz single-channel\n mu-law-format audio data goes here ...\n"
|
||||
@@ -233,7 +236,8 @@ Content-Transfer-Encoding: Quoted-printable
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
"c_subtype": "jpeg"
|
||||
"c_subtype": "jpeg",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -246,7 +250,8 @@ Content-Transfer-Encoding: Quoted-printable
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "enriched"
|
||||
"c_subtype": "enriched",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -259,7 +264,8 @@ Content-Transfer-Encoding: Quoted-printable
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "message",
|
||||
"c_subtype": "rfc822"
|
||||
"c_subtype": "rfc822",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -267,7 +273,14 @@ Content-Transfer-Encoding: Quoted-printable
|
||||
"headers_rfc": {
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "address in US-ASCII"
|
||||
"name": "address in US-ASCII",
|
||||
"address": null
|
||||
}
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "mailbox in US-ASCII",
|
||||
"address": null
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
@@ -279,18 +292,14 @@ Content-Transfer-Encoding: Quoted-printable
|
||||
}
|
||||
}
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "mailbox in US-ASCII"
|
||||
}
|
||||
"subject": {
|
||||
"Text": "(subject in US-ASCII)"
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "Quoted-printable"
|
||||
},
|
||||
"subject": {
|
||||
"Text": "(subject in US-ASCII)"
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -334,9 +343,11 @@ Content-Transfer-Encoding: Quoted-printable
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "... Additional text in ISO-8859-1 goes here ...\n"
|
||||
}
|
||||
}
|
||||
|
||||
+19
-14
@@ -45,8 +45,8 @@ get RFC-MIME.DOC
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "id1@host.com"
|
||||
"content_id": {
|
||||
"Text": "id001@guppylake.bellcore.com"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
@@ -57,23 +57,26 @@ get RFC-MIME.DOC
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_id": {
|
||||
"Text": "id001@guppylake.bellcore.com"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Someone"
|
||||
"name": "Someone",
|
||||
"address": null
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "whatever"
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "id1@host.com"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Whomever"
|
||||
"name": "Whomever",
|
||||
"address": null
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -132,6 +135,8 @@ get RFC-MIME.DOC
|
||||
"end": 197
|
||||
}
|
||||
],
|
||||
"html_body": [],
|
||||
"text_body": [],
|
||||
"attachments": [
|
||||
0,
|
||||
1,
|
||||
@@ -146,12 +151,12 @@ get RFC-MIME.DOC
|
||||
"c_type": "message",
|
||||
"c_subtype": "external-body",
|
||||
"attributes": {
|
||||
"expiration": "Fri, 14 Jun 1991 19:13:14 -0400 (EDT)",
|
||||
"directory": "pub",
|
||||
"access-type": "ANON-FTP",
|
||||
"expiration": "Fri, 14 Jun 1991 19:13:14 -0400 (EDT)",
|
||||
"mode": "image",
|
||||
"name": "BodyFormats.ps",
|
||||
"site": "thumper.bellcore.com",
|
||||
"access-type": "ANON-FTP"
|
||||
"site": "thumper.bellcore.com"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -247,9 +252,9 @@ get RFC-MIME.DOC
|
||||
"c_type": "message",
|
||||
"c_subtype": "external-body",
|
||||
"attributes": {
|
||||
"access-type": "local-file",
|
||||
"site": "thumper.bellcore.com",
|
||||
"expiration": "Fri, 14 Jun 1991 19:13:14 -0400 (EDT)",
|
||||
"site": "thumper.bellcore.com",
|
||||
"access-type": "local-file",
|
||||
"name": "/u/nsb/writing/rfcs/RFC-MIME.ps"
|
||||
}
|
||||
}
|
||||
@@ -346,9 +351,9 @@ get RFC-MIME.DOC
|
||||
"c_type": "message",
|
||||
"c_subtype": "external-body",
|
||||
"attributes": {
|
||||
"server": "listserv@bogus.bitnet",
|
||||
"expiration": "Fri, 14 Jun 1991 19:13:14 -0400 (EDT)",
|
||||
"access-type": "mail-server"
|
||||
"access-type": "mail-server",
|
||||
"server": "listserv@bogus.bitnet"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+57
-51
@@ -74,13 +74,10 @@ U6ZGxseyk8SasGw3J9GRzdTQky1iHNvcPNNI4TLeKdfMvy0vMqLrItvuxfDW8ubjueDtJufz
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "mixed",
|
||||
"attributes": {
|
||||
"boundary": "D7F------------D7FD5A0B8AB9C65CCDBFA872"
|
||||
}
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "White House Transportation Coordinator",
|
||||
"address": "transport@whitehouse.gov"
|
||||
}
|
||||
},
|
||||
"from": {
|
||||
@@ -89,16 +86,20 @@ U6ZGxseyk8SasGw3J9GRzdTQky1iHNvcPNNI4TLeKdfMvy0vMqLrItvuxfDW8ubjueDtJufz
|
||||
"address": "vice-president@whitehouse.gov"
|
||||
}
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "White House Transportation Coordinator",
|
||||
"address": "transport@whitehouse.gov"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "[Fwd: Map of Argentina with Description]"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "mixed",
|
||||
"attributes": {
|
||||
"boundary": "D7F------------D7FD5A0B8AB9C65CCDBFA872"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -167,26 +168,33 @@ U6ZGxseyk8SasGw3J9GRzdTQky1iHNvcPNNI4TLeKdfMvy0vMqLrItvuxfDW8ubjueDtJufz
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "message",
|
||||
"c_subtype": "rfc822"
|
||||
"c_subtype": "rfc822",
|
||||
"attributes": null
|
||||
}
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline"
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
"body": {
|
||||
"headers_rfc": {
|
||||
"return_path": {
|
||||
"Text": "president@whitehouse.gov"
|
||||
"received": {
|
||||
"Collection": [
|
||||
{
|
||||
"Text": "from mailhost.whitehouse.gov ([192.168.51.200])\n by heartbeat.whitehouse.gov (8.8.8/8.8.8) with ESMTP id SAA22453\n for <vice-president@heartbeat.whitehouse.gov>;\n Mon, 13 Aug 1998 l8:14:23 +1000"
|
||||
},
|
||||
{
|
||||
"Text": "from the_big_box.whitehouse.gov ([192.168.51.50])\n by mailhost.whitehouse.gov (8.8.8/8.8.7) with ESMTP id RAA20366\n for vice-president@whitehouse.gov; Mon, 13 Aug 1998 17:42:41 +1000"
|
||||
}
|
||||
]
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "199804130742.RAA20366@mai1host.whitehouse.gov"
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Map of Argentina with Description"
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 1998,
|
||||
@@ -200,15 +208,20 @@ U6ZGxseyk8SasGw3J9GRzdTQky1iHNvcPNNI4TLeKdfMvy0vMqLrItvuxfDW8ubjueDtJufz
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"received": {
|
||||
"Collection": [
|
||||
{
|
||||
"Text": "from mailhost.whitehouse.gov ([192.168.51.200])\n by heartbeat.whitehouse.gov (8.8.8/8.8.8) with ESMTP id SAA22453\n for <vice-president@heartbeat.whitehouse.gov>;\n Mon, 13 Aug 1998 l8:14:23 +1000"
|
||||
},
|
||||
{
|
||||
"Text": "from the_big_box.whitehouse.gov ([192.168.51.50])\n by mailhost.whitehouse.gov (8.8.8/8.8.7) with ESMTP id RAA20366\n for vice-president@whitehouse.gov; Mon, 13 Aug 1998 17:42:41 +1000"
|
||||
}
|
||||
]
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Bill Clinton",
|
||||
"address": "president@whitehouse.gov"
|
||||
}
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "A1 Gore (The Enforcer)",
|
||||
"address": "vice-president@whitehouse.gov"
|
||||
}
|
||||
},
|
||||
"return_path": {
|
||||
"Text": "president@whitehouse.gov"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
@@ -219,22 +232,14 @@ U6ZGxseyk8SasGw3J9GRzdTQky1iHNvcPNNI4TLeKdfMvy0vMqLrItvuxfDW8ubjueDtJufz
|
||||
}
|
||||
}
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "A1 Gore (The Enforcer)",
|
||||
"address": "vice-president@whitehouse.gov"
|
||||
}
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Bill Clinton",
|
||||
"address": "president@whitehouse.gov"
|
||||
}
|
||||
"subject": {
|
||||
"Text": "Map of Argentina with Description"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -341,17 +346,6 @@ U6ZGxseyk8SasGw3J9GRzdTQky1iHNvcPNNI4TLeKdfMvy0vMqLrItvuxfDW8ubjueDtJufz
|
||||
{
|
||||
"InlineBinary": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"attributes": {
|
||||
"fi1ename": "map_of_Argentina.gif"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
@@ -360,6 +354,18 @@ U6ZGxseyk8SasGw3J9GRzdTQky1iHNvcPNNI4TLeKdfMvy0vMqLrItvuxfDW8ubjueDtJufz
|
||||
"name": "map_of_Argentina.gif"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"fi1ename": "map_of_Argentina.gif"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"body": [
|
||||
|
||||
+16
-13
@@ -26,6 +26,9 @@ Content-Type: application/x-whatever
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"subject": {
|
||||
"Text": "Formatted text mail"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
@@ -35,14 +38,8 @@ Content-Type: application/x-whatever
|
||||
}
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Formatted text mail"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Ned Freed",
|
||||
"address": "ned@innosoft.com"
|
||||
}
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
@@ -50,6 +47,12 @@ Content-Type: application/x-whatever
|
||||
"address": "nsb@bellcore.com"
|
||||
}
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Ned Freed",
|
||||
"address": "ned@innosoft.com"
|
||||
}
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 1993,
|
||||
@@ -62,11 +65,9 @@ Content-Type: application/x-whatever
|
||||
"tz_hour": 8,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -144,7 +145,8 @@ Content-Type: application/x-whatever
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "enriched"
|
||||
"c_subtype": "enriched",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -157,7 +159,8 @@ Content-Type: application/x-whatever
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "application",
|
||||
"c_subtype": "x-whatever"
|
||||
"c_subtype": "x-whatever",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
+39
-25
@@ -40,28 +40,15 @@ Subject: my different opinion
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "mixed",
|
||||
"attributes": {
|
||||
"boundary": "---- main boundary ----"
|
||||
}
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Recipient-List",
|
||||
"address": null
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Internet Digest, volume 42"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Moderator-Address"
|
||||
}
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": "Recipient-List"
|
||||
}
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 1994,
|
||||
@@ -74,8 +61,24 @@ Subject: my different opinion
|
||||
"tz_hour": 0,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "mixed",
|
||||
"attributes": {
|
||||
"boundary": "---- main boundary ----"
|
||||
}
|
||||
}
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Moderator-Address",
|
||||
"address": null
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -133,6 +136,7 @@ Subject: my different opinion
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "...Introductory text or table of contents...\n"
|
||||
}
|
||||
},
|
||||
@@ -155,17 +159,13 @@ Subject: my different opinion
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "message",
|
||||
"c_subtype": "rfc822"
|
||||
"c_subtype": "rfc822",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
"body": {
|
||||
"headers_rfc": {
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "someone-else"
|
||||
}
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 1993,
|
||||
@@ -179,10 +179,17 @@ Subject: my different opinion
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "someone-else",
|
||||
"address": null
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "my opinion"
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -212,9 +219,11 @@ Subject: my different opinion
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "...body goes here ...\n"
|
||||
}
|
||||
}
|
||||
@@ -234,7 +243,8 @@ Subject: my different opinion
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "message",
|
||||
"c_subtype": "rfc822"
|
||||
"c_subtype": "rfc822",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -258,10 +268,12 @@ Subject: my different opinion
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "someone-else-again"
|
||||
"name": "someone-else-again",
|
||||
"address": null
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -291,9 +303,11 @@ Subject: my different opinion
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "... another body goes here ...\n"
|
||||
}
|
||||
}
|
||||
|
||||
+13
-10
@@ -26,14 +26,8 @@ This is the epilogue. It is also to be ignored.
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Nathaniel Borenstein",
|
||||
"address": "nsb@bellcore.com"
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
"subject": {
|
||||
"Text": "Sample message"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
@@ -41,6 +35,12 @@ This is the epilogue. It is also to be ignored.
|
||||
"address": "ned@innosoft.com"
|
||||
}
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Nathaniel Borenstein",
|
||||
"address": "nsb@bellcore.com"
|
||||
}
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 1993,
|
||||
@@ -63,10 +63,11 @@ This is the epilogue. It is also to be ignored.
|
||||
}
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Sample message"
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -119,9 +120,11 @@ This is the epilogue. It is also to be ignored.
|
||||
0,
|
||||
1
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "This is implicitly typed plain US-ASCII text.\nIt does NOT end with a linebreak."
|
||||
}
|
||||
},
|
||||
|
||||
+21
-13
@@ -24,19 +24,21 @@ Content-Disposition: inline
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"subject": {
|
||||
"Text": "Multipart Email Example"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
"name": null,
|
||||
"address": "recipient@example.com"
|
||||
}
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": null,
|
||||
"address": "sender@example.com"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Multipart Email Example"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
@@ -47,6 +49,7 @@ Content-Disposition: inline
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -83,6 +86,7 @@ Content-Disposition: inline
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
@@ -90,11 +94,6 @@ Content-Disposition: inline
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline"
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
@@ -103,6 +102,13 @@ Content-Disposition: inline
|
||||
"charset": "utf-8"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
"body": "Plain text email goes here!\nThis is the fallback if email client does not support HTML\n"
|
||||
@@ -111,11 +117,6 @@ Content-Disposition: inline
|
||||
{
|
||||
"Html": {
|
||||
"headers": {
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline"
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
@@ -127,6 +128,13 @@ Content-Disposition: inline
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "quoted-printable"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
"body": "<h1>This is the HTML Section!</h1>\n<p>This is what displays in most modern email clients</p>\n"
|
||||
|
||||
+58
-32
@@ -87,6 +87,7 @@ K
|
||||
"Text": "RFC 8621 Section 4.1.4 test"
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -126,15 +127,18 @@ K
|
||||
{
|
||||
"Text": {
|
||||
"headers": {
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline"
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain"
|
||||
"c_subtype": "plain",
|
||||
"attributes": null
|
||||
}
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -186,12 +190,15 @@ K
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain"
|
||||
"c_subtype": "plain",
|
||||
"attributes": null
|
||||
}
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline"
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -201,15 +208,18 @@ K
|
||||
{
|
||||
"InlineBinary": {
|
||||
"headers": {
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": null
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
"c_subtype": "jpeg"
|
||||
}
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline"
|
||||
"c_subtype": "jpeg",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -224,12 +234,15 @@ K
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain"
|
||||
"c_subtype": "plain",
|
||||
"attributes": null
|
||||
}
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline"
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -255,7 +268,8 @@ K
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "html"
|
||||
"c_subtype": "html",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -268,7 +282,8 @@ K
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
"c_subtype": "jpeg"
|
||||
"c_subtype": "jpeg",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -280,15 +295,18 @@ K
|
||||
{
|
||||
"Binary": {
|
||||
"headers": {
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment"
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "image",
|
||||
"c_subtype": "jpeg"
|
||||
"c_subtype": "jpeg",
|
||||
"attributes": null
|
||||
}
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -303,7 +321,8 @@ K
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "application",
|
||||
"c_subtype": "x-excel"
|
||||
"c_subtype": "x-excel",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -318,7 +337,8 @@ K
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "message",
|
||||
"c_subtype": "rfc822"
|
||||
"c_subtype": "rfc822",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -328,6 +348,7 @@ K
|
||||
"Text": "J"
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -343,9 +364,11 @@ K
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "J"
|
||||
}
|
||||
}
|
||||
@@ -362,15 +385,18 @@ K
|
||||
{
|
||||
"Text": {
|
||||
"headers": {
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline",
|
||||
"c_subtype": null,
|
||||
"attributes": null
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain"
|
||||
}
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "inline"
|
||||
"c_subtype": "plain",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
+29
-24
@@ -41,6 +41,7 @@ YWFhYWFhYWFhYWFhYS0tDQo=
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -82,28 +83,30 @@ YWFhYWFhYWFhYWFhYS0tDQo=
|
||||
{
|
||||
"Message": {
|
||||
"headers": {
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"attributes": {
|
||||
"filename": "attached_email.eml"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "message",
|
||||
"c_subtype": "rfc822"
|
||||
"c_subtype": "rfc822",
|
||||
"attributes": null
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_disposition": {
|
||||
"ContentType": {
|
||||
"c_type": "attachment",
|
||||
"c_subtype": null,
|
||||
"attributes": {
|
||||
"filename": "attached_email.eml"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"body": {
|
||||
"headers_rfc": {
|
||||
"subject": {
|
||||
"Text": "HTML test"
|
||||
"content_language": {
|
||||
"Text": "en-US"
|
||||
},
|
||||
"to": {
|
||||
"Address": {
|
||||
@@ -111,14 +114,8 @@ YWFhYWFhYWFhYWFhYS0tDQo=
|
||||
"address": "email@example.com"
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "alternative",
|
||||
"attributes": {
|
||||
"boundary": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
||||
}
|
||||
}
|
||||
"subject": {
|
||||
"Text": "HTML test"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
@@ -126,8 +123,8 @@ YWFhYWFhYWFhYWFhYS0tDQo=
|
||||
"address": "email@example.com"
|
||||
}
|
||||
},
|
||||
"content_language": {
|
||||
"Text": "en-US"
|
||||
"message_id": {
|
||||
"Text": "random-message-id@example.com"
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
@@ -142,13 +139,20 @@ YWFhYWFhYWFhYWFhYS0tDQo=
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"message_id": {
|
||||
"Text": "random-message-id@example.com"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "alternative",
|
||||
"attributes": {
|
||||
"boundary": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -213,6 +217,7 @@ YWFhYWFhYWFhYWFhYS0tDQo=
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
|
||||
Vendored
+12
-8
@@ -21,9 +21,6 @@ ZWg=
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
@@ -32,8 +29,12 @@ ZWg=
|
||||
"boundary": "bound"
|
||||
}
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -58,18 +59,20 @@ ZWg=
|
||||
0,
|
||||
1
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain"
|
||||
"c_subtype": "plain",
|
||||
"attributes": null
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
}
|
||||
},
|
||||
"body": "we have\ra lot \nof \u0000binary stuff in here\nb adjig sadjg jasidgjiaehga3wht8a3w8ghxjc dsgad hasdghsd gasd dsjdsoga sjdga0w3tjhawjgsertniq3n5oqerjqw2r89q23h awhrqh835r8a"
|
||||
@@ -81,7 +84,8 @@ ZWg=
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain"
|
||||
"c_subtype": "plain",
|
||||
"attributes": null
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
|
||||
Vendored
+8
-3
@@ -39,6 +39,7 @@ hello world
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -65,6 +66,7 @@ hello world
|
||||
1,
|
||||
2
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
@@ -72,7 +74,8 @@ hello world
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain"
|
||||
"c_subtype": "plain",
|
||||
"attributes": null
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
@@ -91,7 +94,8 @@ hello world
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain"
|
||||
"c_subtype": "plain",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -104,7 +108,8 @@ hello world
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain"
|
||||
"c_subtype": "plain",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Vendored
+7
-6
@@ -31,6 +31,7 @@ Content-Type: text/plain; charset=utf-8
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -74,6 +75,9 @@ Content-Type: text/plain; charset=utf-8
|
||||
{
|
||||
"Text": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
@@ -82,9 +86,6 @@ Content-Type: text/plain; charset=utf-8
|
||||
"charset": "utf-8"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
}
|
||||
},
|
||||
"body": "yötä vaan.\n�\t�"
|
||||
@@ -93,6 +94,9 @@ Content-Type: text/plain; charset=utf-8
|
||||
{
|
||||
"Text": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
@@ -101,9 +105,6 @@ Content-Type: text/plain; charset=utf-8
|
||||
"charset": "utf-8"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
}
|
||||
},
|
||||
"body": "?garbage"
|
||||
|
||||
Vendored
+11
-9
@@ -49,6 +49,7 @@ TW92ZSDimZogdG8g4pmbJ3Mg4pmdCg==
|
||||
"Text": "1.0"
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -79,10 +80,14 @@ TW92ZSDimZogdG8g4pmbJ3Mg4pmdCg==
|
||||
3,
|
||||
4
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "7bit"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
@@ -91,9 +96,6 @@ TW92ZSDimZogdG8g4pmbJ3Mg4pmdCg==
|
||||
"charset": "us-ascii"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "7bit"
|
||||
}
|
||||
},
|
||||
"body": "Move black king to queen's bishop\n"
|
||||
@@ -121,6 +123,9 @@ TW92ZSDimZogdG8g4pmbJ3Mg4pmdCg==
|
||||
{
|
||||
"Text": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "8bit"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
@@ -129,9 +134,6 @@ TW92ZSDimZogdG8g4pmbJ3Mg4pmdCg==
|
||||
"charset": "UTF-8"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "8bit"
|
||||
}
|
||||
},
|
||||
"body": "Move ♚ to ♛'s ♝\n"
|
||||
@@ -159,6 +161,9 @@ TW92ZSDimZogdG8g4pmbJ3Mg4pmdCg==
|
||||
{
|
||||
"Text": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
@@ -167,9 +172,6 @@ TW92ZSDimZogdG8g4pmbJ3Mg4pmdCg==
|
||||
"charset": "UTF-8"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "base64"
|
||||
}
|
||||
},
|
||||
"body": "Move ♚ to ♛'s ♝\n"
|
||||
|
||||
Vendored
+8
-6
@@ -55,6 +55,7 @@ Move =E2=99=9A to =E2=99=9B's =E2=99=9D
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -87,13 +88,11 @@ Move =E2=99=9A to =E2=99=9B's =E2=99=9D
|
||||
4,
|
||||
5
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "6bit"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
@@ -102,6 +101,9 @@ Move =E2=99=9A to =E2=99=9B's =E2=99=9D
|
||||
"charset": "UTF-8"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "6bit"
|
||||
}
|
||||
},
|
||||
"body": "Move black king to queen's bishop\n"
|
||||
@@ -148,9 +150,6 @@ Move =E2=99=9A to =E2=99=9B's =E2=99=9D
|
||||
{
|
||||
"Text": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "7-bit"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
@@ -159,6 +158,9 @@ Move =E2=99=9A to =E2=99=9B's =E2=99=9D
|
||||
"charset": "UTF-8"
|
||||
}
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "7-bit"
|
||||
}
|
||||
},
|
||||
"body": "Move ♚ to ♛'s ♝\n"
|
||||
|
||||
Vendored
BIN
Binary file not shown.
Vendored
+8
-6
@@ -31,12 +31,12 @@ Signed by undersigned
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"subject": {
|
||||
"Text": "Hide and seek"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
@@ -47,6 +47,7 @@ Signed by undersigned
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -88,8 +89,8 @@ Signed by undersigned
|
||||
"c_subtype": "signed",
|
||||
"attributes": {
|
||||
"migalc": "pen+paper",
|
||||
"boundary": "2",
|
||||
"protocol": "signature/plain"
|
||||
"protocol": "signature/plain",
|
||||
"boundary": "2"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -133,7 +134,8 @@ Signed by undersigned
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain"
|
||||
"c_subtype": "plain",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Vendored
+39
-25
@@ -35,6 +35,12 @@ Foobar
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Moderator-Address",
|
||||
"address": "moderator"
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
@@ -43,14 +49,9 @@ Foobar
|
||||
"boundary": "1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "Moderator-Address",
|
||||
"address": "moderator"
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -67,6 +68,8 @@ Foobar
|
||||
"end": 80
|
||||
}
|
||||
],
|
||||
"html_body": [],
|
||||
"text_body": [],
|
||||
"attachments": [
|
||||
0,
|
||||
1,
|
||||
@@ -79,7 +82,8 @@ Foobar
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "message",
|
||||
"c_subtype": "rfc822"
|
||||
"c_subtype": "rfc822",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -95,6 +99,7 @@ Foobar
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -117,9 +122,11 @@ Foobar
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "This is my opinion"
|
||||
}
|
||||
}
|
||||
@@ -139,22 +146,24 @@ Foobar
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "message",
|
||||
"c_subtype": "rfc822"
|
||||
"c_subtype": "rfc822",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
"body": {
|
||||
"headers_rfc": {
|
||||
"subject": {
|
||||
"Text": "i disagree"
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "another one",
|
||||
"address": "another@one"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "i disagree"
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -177,9 +186,11 @@ Foobar
|
||||
"text_body": [
|
||||
0
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "Not agreeing one bit!"
|
||||
}
|
||||
}
|
||||
@@ -199,21 +210,13 @@ Foobar
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "message",
|
||||
"c_subtype": "rfc822"
|
||||
"c_subtype": "rfc822",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
"body": {
|
||||
"headers_rfc": {
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "attachment",
|
||||
"address": "attachment@user"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "funny hat"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
@@ -222,8 +225,18 @@ Foobar
|
||||
"boundary": "2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": "attachment",
|
||||
"address": "attachment@user"
|
||||
}
|
||||
},
|
||||
"subject": {
|
||||
"Text": "funny hat"
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -260,14 +273,15 @@ Foobar
|
||||
{
|
||||
"Text": {
|
||||
"headers": {
|
||||
"content_transfer_encoding": {
|
||||
"Text": "binary"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain"
|
||||
"c_subtype": "plain",
|
||||
"attributes": null
|
||||
}
|
||||
},
|
||||
"content_transfer_encoding": {
|
||||
"Text": "binary"
|
||||
}
|
||||
},
|
||||
"body": "Lovely attachment for you"
|
||||
|
||||
Vendored
+34
-24
@@ -58,8 +58,11 @@ Root MIME epilogue
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": null,
|
||||
"address": "user@domain.org"
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
@@ -70,11 +73,6 @@ Root MIME epilogue
|
||||
}
|
||||
}
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"address": "user@domain.org"
|
||||
}
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2007,
|
||||
@@ -87,6 +85,9 @@ Root MIME epilogue
|
||||
"tz_hour": 2,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
}
|
||||
},
|
||||
"headers_other": {
|
||||
@@ -164,7 +165,8 @@ Root MIME epilogue
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "message",
|
||||
"c_subtype": "rfc822"
|
||||
"c_subtype": "rfc822",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -173,6 +175,21 @@ Root MIME epilogue
|
||||
"subject": {
|
||||
"Text": "submsg"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "alternative",
|
||||
"attributes": {
|
||||
"boundary": "sub1"
|
||||
}
|
||||
}
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"name": null,
|
||||
"address": "sub@domain.org"
|
||||
}
|
||||
},
|
||||
"date": {
|
||||
"DateTime": {
|
||||
"year": 2012,
|
||||
@@ -185,22 +202,9 @@ Root MIME epilogue
|
||||
"tz_hour": 3,
|
||||
"tz_minute": 0
|
||||
}
|
||||
},
|
||||
"from": {
|
||||
"Address": {
|
||||
"address": "sub@domain.org"
|
||||
}
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
"c_subtype": "alternative",
|
||||
"attributes": {
|
||||
"boundary": "sub1"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -240,6 +244,7 @@ Root MIME epilogue
|
||||
4,
|
||||
5
|
||||
],
|
||||
"attachments": [],
|
||||
"parts": [
|
||||
{
|
||||
"Html": {
|
||||
@@ -247,7 +252,8 @@ Root MIME epilogue
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "html"
|
||||
"c_subtype": "html",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -282,16 +288,19 @@ Root MIME epilogue
|
||||
},
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "sub3 text"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "sub3 text2"
|
||||
}
|
||||
},
|
||||
{
|
||||
"Text": {
|
||||
"headers": {},
|
||||
"body": "sub2 text2"
|
||||
}
|
||||
}
|
||||
@@ -338,7 +347,8 @@ Root MIME epilogue
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain"
|
||||
"c_subtype": "plain",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Vendored
+7
-5
@@ -22,6 +22,9 @@ dGhpcyBpcyB0aGUgZmlyc3QgcGFydCBvZiB0aGUgbWVzc2FnZQo=
|
||||
---- EXPECTED STRUCTURE ----
|
||||
{
|
||||
"headers_rfc": {
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
},
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "multipart",
|
||||
@@ -33,11 +36,9 @@ dGhpcyBpcyB0aGUgZmlyc3QgcGFydCBvZiB0aGUgbWVzc2FnZQo=
|
||||
},
|
||||
"subject": {
|
||||
"Text": "In parts"
|
||||
},
|
||||
"mime_version": {
|
||||
"Text": "1.0"
|
||||
}
|
||||
},
|
||||
"headers_other": {},
|
||||
"headers_offsets": [
|
||||
{
|
||||
"name": {
|
||||
@@ -80,7 +81,8 @@ dGhpcyBpcyB0aGUgZmlyc3QgcGFydCBvZiB0aGUgbWVzc2FnZQo=
|
||||
"content_type": {
|
||||
"ContentType": {
|
||||
"c_type": "text",
|
||||
"c_subtype": "plain"
|
||||
"c_subtype": "plain",
|
||||
"attributes": null
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -95,8 +97,8 @@ dGhpcyBpcyB0aGUgZmlyc3QgcGFydCBvZiB0aGUgbWVzc2FnZQo=
|
||||
"c_type": "message",
|
||||
"c_subtype": "partial",
|
||||
"attributes": {
|
||||
"id": "heks68ewe@example.org",
|
||||
"total": "5",
|
||||
"id": "heks68ewe@example.org",
|
||||
"number": "1"
|
||||
}
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user