Files

164 lines
3.6 KiB
JSON

{
"messages": [
{
"id": 0,
"root": 0,
"container": null,
"source": "raw",
"text_body": [
1
],
"html_body": [
1
],
"attachments": [
2
],
"has_attachments": true
}
],
"parts": [
{
"id": 0,
"message": 0,
"parent": null,
"kind": "multipart",
"children": [
1,
2
],
"encoding": "none",
"flags": [],
"roles": [],
"role": "container",
"offset_header": 0,
"offset_body": 79,
"offset_end": 522,
"headers": [
{
"name": "Subject",
"value": {
"text": "In parts"
},
"offset_field": 0,
"offset_start": 8,
"offset_end": 18
},
{
"name": "MIME-Version",
"value": {
"text": "1.0"
},
"offset_field": 18,
"offset_start": 31,
"offset_end": 36
},
{
"name": "Content-Type",
"value": {
"content_type": {
"type": "multipart",
"subtype": "mixed",
"attributes": [
[
"boundary",
"1"
]
]
}
},
"offset_field": 36,
"offset_start": 49,
"offset_end": 78
}
]
},
{
"id": 1,
"message": 0,
"parent": 0,
"kind": "text",
"encoding": "none",
"flags": [],
"roles": [
"text_body",
"html_body"
],
"role": "text_body",
"offset_header": 83,
"offset_body": 143,
"offset_end": 191,
"headers": [
{
"name": "Content-Type",
"value": {
"content_type": {
"type": "text",
"subtype": "plain",
"attributes": []
}
},
"offset_field": 83,
"offset_start": 96,
"offset_end": 108
},
{
"name": "Content-Transfer-Encoding",
"value": {
"text": "binary"
},
"offset_field": 108,
"offset_start": 134,
"offset_end": 142
}
],
"text": "Hi, this is the fancy thing I was talking about!",
"decode_problems": []
},
{
"id": 2,
"message": 0,
"parent": 0,
"kind": "binary",
"encoding": "none",
"flags": [],
"roles": [
"attachment"
],
"role": "attachment",
"offset_header": 196,
"offset_body": 274,
"offset_end": 515,
"headers": [
{
"name": "Content-Type",
"value": {
"content_type": {
"type": "message",
"subtype": "partial",
"attributes": [
[
"number",
"1"
],
[
"total",
"5"
],
[
"id",
"heks68ewe@example.org"
]
]
}
},
"offset_field": 196,
"offset_start": 209,
"offset_end": 273
}
],
"binary": "WC1XZWlyZC1IZWFkZXItMTogQmFyClgtV2VpcmQtSGVhZGVyLTI6IEhlbGxvCk1lc3NhZ2UtSUQ6IDxjNmNjZWViYy0xZGNmLTExZWItYmU4Yy1mN2NhMTMyY2JmZWFAZXhhbXBsZS5vcmc+CkNvbnRlbnQtVHlwZTogdGV4dC9wbGFpbjsgY2hhcnNldD0idXMtYXNjaWkiCkNvbnRlbnQtVHJhbnNmZXItRW5jb2Rpbmc6IGJhc2U2NAoKZEdocGN5QnBjeUIwYUdVZ1ptbHljM1FnY0dGeWRDQnZaaUIwYUdVZ2JXVnpjMkZuWlFvPQ==",
"decode_problems": []
}
]
}