mirror of
https://github.com/stalwartlabs/mail-parser.git
synced 2026-11-29 16:01:27 +00:00
132 lines
2.5 KiB
JSON
132 lines
2.5 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",
|
|
"ab"
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"offset_field": 0,
|
|
"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_field": 51,
|
|
"offset_start": 64,
|
|
"offset_end": 95
|
|
}
|
|
],
|
|
"is_encoding_problem": false,
|
|
"body": {
|
|
"Multipart": [
|
|
2,
|
|
3
|
|
]
|
|
},
|
|
"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_field": 100,
|
|
"offset_start": 113,
|
|
"offset_end": 125
|
|
}
|
|
],
|
|
"is_encoding_problem": false,
|
|
"body": {
|
|
"Text": "body"
|
|
},
|
|
"offset_header": 100,
|
|
"offset_body": 126,
|
|
"offset_end": 130
|
|
},
|
|
{
|
|
"headers": [
|
|
{
|
|
"name": {
|
|
"Rfc": "content_type"
|
|
},
|
|
"value": {
|
|
"ContentType": {
|
|
"c_type": "text",
|
|
"c_subtype": "html",
|
|
"attributes": null
|
|
}
|
|
},
|
|
"offset_field": 136,
|
|
"offset_start": 149,
|
|
"offset_end": 160
|
|
}
|
|
],
|
|
"is_encoding_problem": true,
|
|
"body": {
|
|
"Text": "body2\n"
|
|
},
|
|
"offset_header": 134,
|
|
"offset_body": 161,
|
|
"offset_end": 167
|
|
}
|
|
]
|
|
} |