mirror of
https://github.com/stalwartlabs/mail-parser.git
synced 2026-11-29 00:01:49 +00:00
98 lines
1.9 KiB
JSON
98 lines
1.9 KiB
JSON
{
|
|
"html_body": [],
|
|
"text_body": [],
|
|
"attachments": [
|
|
2
|
|
],
|
|
"parts": [
|
|
{
|
|
"headers": [
|
|
{
|
|
"name": {
|
|
"Rfc": "content_type"
|
|
},
|
|
"value": {
|
|
"ContentType": {
|
|
"c_type": "multipart",
|
|
"c_subtype": "mixed",
|
|
"attributes": [
|
|
[
|
|
"boundary",
|
|
"ab"
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"offset_start": 13,
|
|
"offset_end": 45
|
|
}
|
|
],
|
|
"is_encoding_problem": false,
|
|
"body": {
|
|
"Multipart": [
|
|
1
|
|
]
|
|
},
|
|
"offset_header": 0,
|
|
"offset_body": 46,
|
|
"offset_end": 167
|
|
},
|
|
{
|
|
"headers": [
|
|
{
|
|
"name": {
|
|
"Rfc": "content_type"
|
|
},
|
|
"value": {
|
|
"ContentType": {
|
|
"c_type": "multipart",
|
|
"c_subtype": "mixed",
|
|
"attributes": [
|
|
[
|
|
"boundary",
|
|
"a"
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"offset_start": 64,
|
|
"offset_end": 95
|
|
}
|
|
],
|
|
"is_encoding_problem": false,
|
|
"body": {
|
|
"Multipart": [
|
|
2
|
|
]
|
|
},
|
|
"offset_header": 51,
|
|
"offset_body": 96,
|
|
"offset_end": 167
|
|
},
|
|
{
|
|
"headers": [
|
|
{
|
|
"name": {
|
|
"Rfc": "content_type"
|
|
},
|
|
"value": {
|
|
"ContentType": {
|
|
"c_type": "text",
|
|
"c_subtype": "plain",
|
|
"attributes": null
|
|
}
|
|
},
|
|
"offset_start": 113,
|
|
"offset_end": 125
|
|
}
|
|
],
|
|
"is_encoding_problem": true,
|
|
"body": {
|
|
"Text": "body\n--ab\nContent-Type: text/html\n\nbody2\n"
|
|
},
|
|
"offset_header": 100,
|
|
"offset_body": 126,
|
|
"offset_end": 167
|
|
}
|
|
]
|
|
} |