mirror of
https://github.com/stalwartlabs/mail-parser.git
synced 2026-12-04 08:01:42 +00:00
89 lines
1.5 KiB
Plaintext
89 lines
1.5 KiB
Plaintext
Subject: =?UTF-8?B?44GT44KT44Gr44Gh44Gv?=
|
|
MIME-Version: 1.0
|
|
Content-Type: multipart/mixed; boundary=1; comment=""
|
|
comment="人権の無視及"
|
|
|
|
--1
|
|
Content-Type: text/plain
|
|
Content-Transfer-Encoding: binary
|
|
Content-Language: ja
|
|
|
|
人権の無視及
|
|
--1--
|
|
---- EXPECTED STRUCTURE ----
|
|
{
|
|
"headers_rfc": {
|
|
"mime_version": {
|
|
"Text": "1.0"
|
|
},
|
|
"content_type": {
|
|
"ContentType": {
|
|
"c_type": "multipart",
|
|
"c_subtype": "mixed",
|
|
"attributes": {
|
|
"boundary": "1",
|
|
"comment": "人権の無視及"
|
|
}
|
|
}
|
|
},
|
|
"subject": {
|
|
"Text": "こんにちは"
|
|
}
|
|
},
|
|
"headers_offsets": [
|
|
{
|
|
"name": {
|
|
"Rfc": "subject"
|
|
},
|
|
"start": 8,
|
|
"end": 42
|
|
},
|
|
{
|
|
"name": {
|
|
"Rfc": "mime_version"
|
|
},
|
|
"start": 55,
|
|
"end": 60
|
|
},
|
|
{
|
|
"name": {
|
|
"Rfc": "content_type"
|
|
},
|
|
"start": 73,
|
|
"end": 145
|
|
}
|
|
],
|
|
"html_body": [
|
|
0
|
|
],
|
|
"text_body": [
|
|
0
|
|
],
|
|
"parts": [
|
|
{
|
|
"Text": {
|
|
"headers": {
|
|
"content_type": {
|
|
"ContentType": {
|
|
"c_type": "text",
|
|
"c_subtype": "plain"
|
|
}
|
|
},
|
|
"content_language": {
|
|
"Text": "ja"
|
|
},
|
|
"content_transfer_encoding": {
|
|
"Text": "binary"
|
|
}
|
|
},
|
|
"body": "人権の無視及"
|
|
}
|
|
}
|
|
],
|
|
"structure": {
|
|
"Part": 0
|
|
},
|
|
"offset_header": 0,
|
|
"offset_body": 146,
|
|
"offset_end": 255
|
|
} |