mirror of
https://github.com/stalwartlabs/mail-parser.git
synced 2026-11-28 16:01:16 +00:00
68 lines
1.2 KiB
JSON
68 lines
1.2 KiB
JSON
{
|
|
"html_body": [
|
|
1
|
|
],
|
|
"text_body": [
|
|
1
|
|
],
|
|
"attachments": [],
|
|
"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": 92
|
|
},
|
|
{
|
|
"headers": [
|
|
{
|
|
"name": {
|
|
"Rfc": "content_type"
|
|
},
|
|
"value": {
|
|
"ContentType": {
|
|
"c_type": "text",
|
|
"c_subtype": "plain",
|
|
"attributes": null
|
|
}
|
|
},
|
|
"offset_start": 62,
|
|
"offset_end": 74
|
|
}
|
|
],
|
|
"is_encoding_problem": false,
|
|
"body": {
|
|
"Text": "hello, world"
|
|
},
|
|
"offset_header": 49,
|
|
"offset_body": 75,
|
|
"offset_end": 87
|
|
}
|
|
]
|
|
} |