Revision control
Copy as Markdown
Other Tools
{
"html_body": [
1,
2
],
"text_body": [
1,
2
],
"attachments": [
4,
5,
6,
7
],
"parts": [
{
"headers": [
{
"name": "mime_version",
"value": {
"Text": "1.0"
},
"offset_field": 0,
"offset_start": 13,
"offset_end": 18
},
{
"name": "from",
"value": {
"Address": {
"List": [
{
"name": "Nathaniel Borenstein",
"address": "nsb@nsb.fv.com"
}
]
}
},
"offset_field": 18,
"offset_start": 23,
"offset_end": 62
},
{
"name": "to",
"value": {
"Address": {
"List": [
{
"name": "Ned Freed",
"address": "ned@innosoft.com"
}
]
}
},
"offset_field": 62,
"offset_start": 65,
"offset_end": 95
},
{
"name": "date",
"value": {
"DateTime": {
"year": 1994,
"month": 10,
"day": 7,
"hour": 16,
"minute": 15,
"second": 5,
"tz_before_gmt": true,
"tz_hour": 7,
"tz_minute": 0
}
},
"offset_field": 95,
"offset_start": 100,
"offset_end": 139
},
{
"name": "subject",
"value": {
"Text": "A multipart example"
},
"offset_field": 139,
"offset_start": 147,
"offset_end": 168
},
{
"name": "content_type",
"value": {
"ContentType": {
"c_type": "multipart",
"c_subtype": "mixed",
"attributes": [
[
"boundary",
"unique-boundary-1"
]
]
}
},
"offset_field": 168,
"offset_start": 181,
"offset_end": 238
}
],
"is_encoding_problem": false,
"body": {
"Multipart": [
1,
2,
3,
6,
7
]
},
"offset_header": 0,
"offset_body": 239,
"offset_end": 1853
},
{
"headers": [],
"is_encoding_problem": false,
"body": {
"Text": "... 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"
},
"offset_header": 530,
"offset_body": 531,
"offset_end": 793
},
{
"headers": [
{
"name": "content_type",
"value": {
"ContentType": {
"c_type": "text",
"c_subtype": "plain",
"attributes": [
[
"charset",
"US-ASCII"
]
]
}
},
"offset_field": 814,
"offset_start": 827,
"offset_end": 857
}
],
"is_encoding_problem": false,
"body": {
"Text": "This could have been part of the previous part, but\nillustrates explicit versus implicit typing of body\nparts.\n"
},
"offset_header": 814,
"offset_body": 858,
"offset_end": 969
},
{
"headers": [
{
"name": "content_type",
"value": {
"ContentType": {
"c_type": "multipart",
"c_subtype": "parallel",
"attributes": [
[
"boundary",
"unique-boundary-2"
]
]
}
},
"offset_field": 990,
"offset_start": 1003,
"offset_end": 1051
}
],
"is_encoding_problem": false,
"body": {
"Multipart": [
4,
5
]
},
"offset_header": 990,
"offset_body": 1052,
"offset_end": 1366
},
{
"headers": [
{
"name": "content_type",
"value": {
"ContentType": {
"c_type": "audio",
"c_subtype": "basic",
"attributes": null
}
},
"offset_field": 1072,
"offset_start": 1085,
"offset_end": 1098
},
{
"name": "content_transfer_encoding",
"value": {
"Text": "base64"
},
"offset_field": 1098,
"offset_start": 1124,
"offset_end": 1132
}
],
"is_encoding_problem": true,
"body": {
"Text": "... base64-encoded 8000 Hz single-channel\n mu-law-format audio data goes here ...\n"
},
"offset_header": 1072,
"offset_body": 1133,
"offset_end": 1218
},
{
"headers": [
{
"name": "content_type",
"value": {
"ContentType": {
"c_type": "image",
"c_subtype": "jpeg",
"attributes": null
}
},
"offset_field": 1239,
"offset_start": 1252,
"offset_end": 1264
},
{
"name": "content_transfer_encoding",
"value": {
"Text": "base64"
},
"offset_field": 1264,
"offset_start": 1290,
"offset_end": 1298
}
],
"is_encoding_problem": true,
"body": {
"Text": "... base64-encoded image data goes here ...\n"
},
"offset_header": 1239,
"offset_body": 1299,
"offset_end": 1343
},
{
"headers": [
{
"name": "content_type",
"value": {
"ContentType": {
"c_type": "text",
"c_subtype": "enriched",
"attributes": null
}
},
"offset_field": 1387,
"offset_start": 1400,
"offset_end": 1415
}
],
"is_encoding_problem": false,
"body": {
"Text": "This is <bold><italic>enriched.</italic></bold>\n<smaller>as defined in RFC 1896</smaller>\n\nIsn't it\n<bigger><bigger>cool?</bigger></bigger>\n"
},
"offset_header": 1387,
"offset_body": 1416,
"offset_end": 1556
},
{
"headers": [
{
"name": "content_type",
"value": {
"ContentType": {
"c_type": "message",
"c_subtype": "rfc822",
"attributes": null
}
},
"offset_field": 1577,
"offset_start": 1590,
"offset_end": 1606
}
],
"is_encoding_problem": false,
"body": {
"Message": {
"html_body": [
0
],
"text_body": [
0
],
"attachments": [],
"parts": [
{
"headers": [
{
"name": "from",
"value": {
"Address": {
"List": [
{
"name": "mailbox in US-ASCII",
"address": null
}
]
}
},
"offset_field": 1607,
"offset_start": 1612,
"offset_end": 1635
},
{
"name": "to",
"value": {
"Address": {
"List": [
{
"name": "address in US-ASCII",
"address": null
}
]
}
},
"offset_field": 1635,
"offset_start": 1638,
"offset_end": 1661
},
{
"name": "subject",
"value": {
"Text": "(subject in US-ASCII)"
},
"offset_field": 1661,
"offset_start": 1669,
"offset_end": 1692
},
{
"name": "content_type",
"value": {
"ContentType": {
"c_type": "text",
"c_subtype": "plain",
"attributes": [
[
"charset",
"ISO-8859-1"
]
]
}
},
"offset_field": 1692,
"offset_start": 1705,
"offset_end": 1737
},
{
"name": "content_transfer_encoding",
"value": {
"Text": "Quoted-printable"
},
"offset_field": 1737,
"offset_start": 1763,
"offset_end": 1781
}
],
"is_encoding_problem": false,
"body": {
"Text": "... Additional text in ISO-8859-1 goes here ...\n"
},
"offset_header": 1607,
"offset_body": 1782,
"offset_end": 1830
}
]
}
},
"offset_header": 1577,
"offset_body": 1607,
"offset_end": 1830
}
]
}