mirror of
https://github.com/stalwartlabs/mail-parser.git
synced 2026-11-29 00:01:49 +00:00
160 lines
3.5 KiB
JSON
160 lines
3.5 KiB
JSON
{
|
|
"html_body": [
|
|
3
|
|
],
|
|
"text_body": [
|
|
3
|
|
],
|
|
"attachments": [
|
|
4
|
|
],
|
|
"parts": [
|
|
{
|
|
"headers": [
|
|
{
|
|
"name": {
|
|
"Rfc": "content_type"
|
|
},
|
|
"value": {
|
|
"ContentType": {
|
|
"c_type": "multipart",
|
|
"c_subtype": "mixed",
|
|
"attributes": [
|
|
[
|
|
"boundary",
|
|
"1234567890123456789012345678901234567890123456789012345678901234567890123456789012"
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"offset_start": 13,
|
|
"offset_end": 125
|
|
}
|
|
],
|
|
"is_encoding_problem": false,
|
|
"body": {
|
|
"Multipart": [
|
|
1
|
|
]
|
|
},
|
|
"offset_header": 0,
|
|
"offset_body": 126,
|
|
"offset_end": 997
|
|
},
|
|
{
|
|
"headers": [
|
|
{
|
|
"name": {
|
|
"Rfc": "content_type"
|
|
},
|
|
"value": {
|
|
"ContentType": {
|
|
"c_type": "multipart",
|
|
"c_subtype": "mixed",
|
|
"attributes": [
|
|
[
|
|
"boundary",
|
|
"123456789012345678901234567890123456789012345678901234567890123456789012345678901"
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"offset_start": 224,
|
|
"offset_end": 335
|
|
}
|
|
],
|
|
"is_encoding_problem": false,
|
|
"body": {
|
|
"Multipart": [
|
|
2
|
|
]
|
|
},
|
|
"offset_header": 211,
|
|
"offset_body": 336,
|
|
"offset_end": 997
|
|
},
|
|
{
|
|
"headers": [
|
|
{
|
|
"name": {
|
|
"Rfc": "content_type"
|
|
},
|
|
"value": {
|
|
"ContentType": {
|
|
"c_type": "multipart",
|
|
"c_subtype": "mixed",
|
|
"attributes": [
|
|
[
|
|
"boundary",
|
|
"12345678901234567890123456789012345678901234567890123456789012345678901234567890"
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"offset_start": 433,
|
|
"offset_end": 543
|
|
}
|
|
],
|
|
"is_encoding_problem": false,
|
|
"body": {
|
|
"Multipart": [
|
|
3,
|
|
4
|
|
]
|
|
},
|
|
"offset_header": 420,
|
|
"offset_body": 544,
|
|
"offset_end": 997
|
|
},
|
|
{
|
|
"headers": [
|
|
{
|
|
"name": {
|
|
"Rfc": "content_type"
|
|
},
|
|
"value": {
|
|
"ContentType": {
|
|
"c_type": "text",
|
|
"c_subtype": "plain",
|
|
"attributes": null
|
|
}
|
|
},
|
|
"offset_start": 640,
|
|
"offset_end": 652
|
|
}
|
|
],
|
|
"is_encoding_problem": false,
|
|
"body": {
|
|
"Text": "1\n--1234567890123456789012345678901234567890123456789012345678901234567890123456789012\nContent-Type: text/plain\n\n22\n--123456789012345678901234567890123456789012345678901234567890123456789012345678901\nContent-Type: text/plain\n\n333"
|
|
},
|
|
"offset_header": 627,
|
|
"offset_body": 653,
|
|
"offset_end": 882
|
|
},
|
|
{
|
|
"headers": [
|
|
{
|
|
"name": {
|
|
"Rfc": "content_type"
|
|
},
|
|
"value": {
|
|
"ContentType": {
|
|
"c_type": "text",
|
|
"c_subtype": "plain",
|
|
"attributes": null
|
|
}
|
|
},
|
|
"offset_start": 979,
|
|
"offset_end": 991
|
|
}
|
|
],
|
|
"is_encoding_problem": true,
|
|
"body": {
|
|
"Text": "4444\n"
|
|
},
|
|
"offset_header": 966,
|
|
"offset_body": 992,
|
|
"offset_end": 997
|
|
}
|
|
]
|
|
} |