mirror of
https://github.com/stalwartlabs/mail-parser.git
synced 2026-11-29 00:01:49 +00:00
93 lines
1.8 KiB
JSON
93 lines
1.8 KiB
JSON
{
|
|
"html_body": [],
|
|
"text_body": [],
|
|
"attachments": [
|
|
2
|
|
],
|
|
"parts": [
|
|
{
|
|
"headers": [
|
|
{
|
|
"name": {
|
|
"Rfc": "content_type"
|
|
},
|
|
"value": {
|
|
"ContentType": {
|
|
"c_type": "multipart",
|
|
"c_subtype": "mixed",
|
|
"attributes": [
|
|
[
|
|
"boundary",
|
|
"a"
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"offset_start": 13,
|
|
"offset_end": 44
|
|
}
|
|
],
|
|
"is_encoding_problem": false,
|
|
"body": {
|
|
"Multipart": [
|
|
1
|
|
]
|
|
},
|
|
"offset_header": 0,
|
|
"offset_body": 45,
|
|
"offset_end": 157
|
|
},
|
|
{
|
|
"headers": [
|
|
{
|
|
"name": {
|
|
"Rfc": "content_type"
|
|
},
|
|
"value": {
|
|
"ContentType": {
|
|
"c_type": "multipart",
|
|
"c_subtype": "mixed",
|
|
"attributes": [
|
|
[
|
|
"boundary",
|
|
"ab"
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"offset_start": 62,
|
|
"offset_end": 94
|
|
},
|
|
{
|
|
"name": {
|
|
"Rfc": "mime_version"
|
|
},
|
|
"value": {
|
|
"Text": "1.0"
|
|
},
|
|
"offset_start": 107,
|
|
"offset_end": 112
|
|
}
|
|
],
|
|
"is_encoding_problem": false,
|
|
"body": {
|
|
"Multipart": [
|
|
2
|
|
]
|
|
},
|
|
"offset_header": 49,
|
|
"offset_body": 117,
|
|
"offset_end": 157
|
|
},
|
|
{
|
|
"headers": [],
|
|
"is_encoding_problem": true,
|
|
"body": {
|
|
"Text": "--a--\n\n"
|
|
},
|
|
"offset_header": 147,
|
|
"offset_body": 150,
|
|
"offset_end": 157
|
|
}
|
|
]
|
|
} |