mirror of
https://github.com/stalwartlabs/mail-parser.git
synced 2026-11-30 00:01:25 +00:00
374 lines
7.8 KiB
JSON
374 lines
7.8 KiB
JSON
{
|
|
"messages": [
|
|
{
|
|
"id": 0,
|
|
"root": 0,
|
|
"container": null,
|
|
"source": "raw",
|
|
"text_body": [
|
|
1,
|
|
2,
|
|
3,
|
|
4,
|
|
5,
|
|
6
|
|
],
|
|
"html_body": [
|
|
1,
|
|
2,
|
|
3,
|
|
4,
|
|
5,
|
|
6
|
|
],
|
|
"attachments": [],
|
|
"has_attachments": false
|
|
}
|
|
],
|
|
"parts": [
|
|
{
|
|
"id": 0,
|
|
"message": 0,
|
|
"parent": null,
|
|
"kind": "multipart",
|
|
"children": [
|
|
1,
|
|
2,
|
|
3,
|
|
4,
|
|
5,
|
|
6
|
|
],
|
|
"encoding": "none",
|
|
"flags": [],
|
|
"roles": [],
|
|
"role": "container",
|
|
"offset_header": 0,
|
|
"offset_body": 63,
|
|
"offset_end": 704,
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": {
|
|
"content_type": {
|
|
"type": "multipart",
|
|
"subtype": "mixed",
|
|
"attributes": [
|
|
[
|
|
"boundary",
|
|
"1"
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"offset_field": 0,
|
|
"offset_start": 13,
|
|
"offset_end": 44
|
|
},
|
|
{
|
|
"name": "MIME-Version",
|
|
"value": {
|
|
"text": "1.0"
|
|
},
|
|
"offset_field": 44,
|
|
"offset_start": 57,
|
|
"offset_end": 62
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 1,
|
|
"message": 0,
|
|
"parent": 0,
|
|
"kind": "text",
|
|
"encoding": "none",
|
|
"flags": [],
|
|
"roles": [
|
|
"text_body",
|
|
"html_body"
|
|
],
|
|
"role": "text_body",
|
|
"offset_header": 67,
|
|
"offset_body": 140,
|
|
"offset_end": 174,
|
|
"headers": [
|
|
{
|
|
"name": "Content-Transfer-Encoding",
|
|
"value": {
|
|
"text": "6bit"
|
|
},
|
|
"offset_field": 67,
|
|
"offset_start": 93,
|
|
"offset_end": 99
|
|
},
|
|
{
|
|
"name": "Content-Type",
|
|
"value": {
|
|
"content_type": {
|
|
"type": "text",
|
|
"subtype": "plain",
|
|
"attributes": [
|
|
[
|
|
"charset",
|
|
"UTF-8"
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"offset_field": 99,
|
|
"offset_start": 112,
|
|
"offset_end": 139
|
|
}
|
|
],
|
|
"text": "Move black king to queen's bishop\n",
|
|
"decode_problems": [
|
|
"unknown_transfer_encoding"
|
|
]
|
|
},
|
|
{
|
|
"id": 2,
|
|
"message": 0,
|
|
"parent": 0,
|
|
"kind": "text",
|
|
"encoding": "none",
|
|
"flags": [],
|
|
"roles": [
|
|
"text_body",
|
|
"html_body"
|
|
],
|
|
"role": "text_body",
|
|
"offset_header": 179,
|
|
"offset_body": 259,
|
|
"offset_end": 281,
|
|
"headers": [
|
|
{
|
|
"name": "Content-Transfer-Encoding",
|
|
"value": {
|
|
"text": "7bits"
|
|
},
|
|
"offset_field": 179,
|
|
"offset_start": 205,
|
|
"offset_end": 218
|
|
},
|
|
{
|
|
"name": "Content-Type",
|
|
"value": {
|
|
"content_type": {
|
|
"type": "text",
|
|
"subtype": "plain",
|
|
"attributes": [
|
|
[
|
|
"charset",
|
|
"UTF-8"
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"offset_field": 218,
|
|
"offset_start": 231,
|
|
"offset_end": 258
|
|
}
|
|
],
|
|
"text": "Move ♚ to ♛'s ♝\n",
|
|
"decode_problems": [
|
|
"unknown_transfer_encoding"
|
|
]
|
|
},
|
|
{
|
|
"id": 3,
|
|
"message": 0,
|
|
"parent": 0,
|
|
"kind": "text",
|
|
"encoding": "none",
|
|
"flags": [],
|
|
"roles": [
|
|
"text_body",
|
|
"html_body"
|
|
],
|
|
"role": "text_body",
|
|
"offset_header": 286,
|
|
"offset_body": 360,
|
|
"offset_end": 382,
|
|
"headers": [
|
|
{
|
|
"name": "Content-Transfer-Encoding",
|
|
"value": {
|
|
"text": "8 bit"
|
|
},
|
|
"offset_field": 286,
|
|
"offset_start": 312,
|
|
"offset_end": 319
|
|
},
|
|
{
|
|
"name": "Content-Type",
|
|
"value": {
|
|
"content_type": {
|
|
"type": "text",
|
|
"subtype": "plain",
|
|
"attributes": [
|
|
[
|
|
"charset",
|
|
"UTF-8"
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"offset_field": 319,
|
|
"offset_start": 332,
|
|
"offset_end": 359
|
|
}
|
|
],
|
|
"text": "Move ♚ to ♛'s ♝\n",
|
|
"decode_problems": [
|
|
"unknown_transfer_encoding"
|
|
]
|
|
},
|
|
{
|
|
"id": 4,
|
|
"message": 0,
|
|
"parent": 0,
|
|
"kind": "text",
|
|
"encoding": "none",
|
|
"flags": [],
|
|
"roles": [
|
|
"text_body",
|
|
"html_body"
|
|
],
|
|
"role": "text_body",
|
|
"offset_header": 387,
|
|
"offset_body": 461,
|
|
"offset_end": 483,
|
|
"headers": [
|
|
{
|
|
"name": "Content-Transfer-Encoding",
|
|
"value": {
|
|
"text": "7-bit"
|
|
},
|
|
"offset_field": 387,
|
|
"offset_start": 413,
|
|
"offset_end": 420
|
|
},
|
|
{
|
|
"name": "Content-Type",
|
|
"value": {
|
|
"content_type": {
|
|
"type": "text",
|
|
"subtype": "plain",
|
|
"attributes": [
|
|
[
|
|
"charset",
|
|
"UTF-8"
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"offset_field": 420,
|
|
"offset_start": 433,
|
|
"offset_end": 460
|
|
}
|
|
],
|
|
"text": "Move ♚ to ♛'s ♝\n",
|
|
"decode_problems": [
|
|
"unknown_transfer_encoding"
|
|
]
|
|
},
|
|
{
|
|
"id": 5,
|
|
"message": 0,
|
|
"parent": 0,
|
|
"kind": "text",
|
|
"encoding": "none",
|
|
"flags": [],
|
|
"roles": [
|
|
"text_body",
|
|
"html_body"
|
|
],
|
|
"role": "text_body",
|
|
"offset_header": 488,
|
|
"offset_body": 562,
|
|
"offset_end": 584,
|
|
"headers": [
|
|
{
|
|
"name": "Content-Transfer-Encoding",
|
|
"value": {
|
|
"text": "8-bit"
|
|
},
|
|
"offset_field": 488,
|
|
"offset_start": 514,
|
|
"offset_end": 521
|
|
},
|
|
{
|
|
"name": "Content-Type",
|
|
"value": {
|
|
"content_type": {
|
|
"type": "text",
|
|
"subtype": "plain",
|
|
"attributes": [
|
|
[
|
|
"charset",
|
|
"UTF-8"
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"offset_field": 521,
|
|
"offset_start": 534,
|
|
"offset_end": 561
|
|
}
|
|
],
|
|
"text": "Move ♚ to ♛'s ♝\n",
|
|
"decode_problems": [
|
|
"unknown_transfer_encoding"
|
|
]
|
|
},
|
|
{
|
|
"id": 6,
|
|
"message": 0,
|
|
"parent": 0,
|
|
"kind": "text",
|
|
"encoding": "none",
|
|
"flags": [],
|
|
"roles": [
|
|
"text_body",
|
|
"html_body"
|
|
],
|
|
"role": "text_body",
|
|
"offset_header": 589,
|
|
"offset_body": 657,
|
|
"offset_end": 697,
|
|
"headers": [
|
|
{
|
|
"name": "Content-Transfer-Encoding",
|
|
"value": {
|
|
"text": ""
|
|
},
|
|
"offset_field": 589,
|
|
"offset_start": 615,
|
|
"offset_end": 616
|
|
},
|
|
{
|
|
"name": "Content-Type",
|
|
"value": {
|
|
"content_type": {
|
|
"type": "text",
|
|
"subtype": "plain",
|
|
"attributes": [
|
|
[
|
|
"charset",
|
|
"UTF-8"
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"offset_field": 616,
|
|
"offset_start": 629,
|
|
"offset_end": 656
|
|
}
|
|
],
|
|
"text": "Move =E2=99=9A to =E2=99=9B's =E2=99=9D\n",
|
|
"decode_problems": [
|
|
"unknown_transfer_encoding"
|
|
]
|
|
}
|
|
]
|
|
} |