mirror of
https://github.com/stalwartlabs/mail-parser.git
synced 2026-11-28 16:01:16 +00:00
128 lines
2.4 KiB
JSON
128 lines
2.4 KiB
JSON
{
|
|
"html_body": [
|
|
2
|
|
],
|
|
"text_body": [
|
|
2
|
|
],
|
|
"attachments": [
|
|
3
|
|
],
|
|
"parts": [
|
|
{
|
|
"headers": [
|
|
{
|
|
"name": {
|
|
"Rfc": "content_type"
|
|
},
|
|
"value": {
|
|
"ContentType": {
|
|
"c_type": "multipart",
|
|
"c_subtype": "mixed",
|
|
"attributes": [
|
|
[
|
|
"boundary",
|
|
"1"
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"offset_start": 13,
|
|
"offset_end": 44
|
|
}
|
|
],
|
|
"is_encoding_problem": false,
|
|
"body": {
|
|
"Multipart": [
|
|
1
|
|
]
|
|
},
|
|
"offset_header": 0,
|
|
"offset_body": 45,
|
|
"offset_end": 193
|
|
},
|
|
{
|
|
"headers": [
|
|
{
|
|
"name": {
|
|
"Rfc": "content_type"
|
|
},
|
|
"value": {
|
|
"ContentType": {
|
|
"c_type": "multipart",
|
|
"c_subtype": "mixed",
|
|
"attributes": [
|
|
[
|
|
"boundary",
|
|
"2"
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"offset_start": 62,
|
|
"offset_end": 93
|
|
}
|
|
],
|
|
"is_encoding_problem": false,
|
|
"body": {
|
|
"Multipart": [
|
|
2,
|
|
3
|
|
]
|
|
},
|
|
"offset_header": 49,
|
|
"offset_body": 94,
|
|
"offset_end": 193
|
|
},
|
|
{
|
|
"headers": [
|
|
{
|
|
"name": {
|
|
"Rfc": "content_type"
|
|
},
|
|
"value": {
|
|
"ContentType": {
|
|
"c_type": "text",
|
|
"c_subtype": "plain",
|
|
"attributes": null
|
|
}
|
|
},
|
|
"offset_start": 111,
|
|
"offset_end": 123
|
|
}
|
|
],
|
|
"is_encoding_problem": false,
|
|
"body": {
|
|
"Text": "1"
|
|
},
|
|
"offset_header": 98,
|
|
"offset_body": 124,
|
|
"offset_end": 125
|
|
},
|
|
{
|
|
"headers": [
|
|
{
|
|
"name": {
|
|
"Rfc": "content_type"
|
|
},
|
|
"value": {
|
|
"ContentType": {
|
|
"c_type": "text",
|
|
"c_subtype": "plain",
|
|
"attributes": null
|
|
}
|
|
},
|
|
"offset_start": 143,
|
|
"offset_end": 155
|
|
}
|
|
],
|
|
"is_encoding_problem": true,
|
|
"body": {
|
|
"Text": "22\n--1\nContent-Type: text/plain\n\n333\n"
|
|
},
|
|
"offset_header": 130,
|
|
"offset_body": 156,
|
|
"offset_end": 193
|
|
}
|
|
]
|
|
} |