mirror of
https://github.com/stalwartlabs/mail-server.git
synced 2024-10-23 23:09:58 +00:00
150 lines
3.2 KiB
JSON
150 lines
3.2 KiB
JSON
{
|
|
"mailboxIds": null,
|
|
"size": 872,
|
|
"messageId": [
|
|
"random-message-id@example.com"
|
|
],
|
|
"from": [
|
|
{
|
|
"name": "Name",
|
|
"email": "email@example.com"
|
|
}
|
|
],
|
|
"to": [
|
|
{
|
|
"name": "email@example.com",
|
|
"email": "email@example.com"
|
|
}
|
|
],
|
|
"subject": "HTML test",
|
|
"sentAt": "2021-12-14T10:48:25Z",
|
|
"bodyStructure": {
|
|
"headers": [
|
|
{
|
|
"name": "To",
|
|
"value": " \"email@example.com\" <email@example.com>"
|
|
},
|
|
{
|
|
"name": "From",
|
|
"value": " Name <email@example.com>"
|
|
},
|
|
{
|
|
"name": "Subject",
|
|
"value": " HTML test"
|
|
},
|
|
{
|
|
"name": "Message-ID",
|
|
"value": " <random-message-id@example.com>"
|
|
},
|
|
{
|
|
"name": "Date",
|
|
"value": " Tue, 14 Dec 2021 11:48:25 +0100"
|
|
},
|
|
{
|
|
"name": "MIME-Version",
|
|
"value": " 1.0"
|
|
},
|
|
{
|
|
"name": "Content-Type",
|
|
"value": " multipart/alternative;\r\n boundary=\"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\""
|
|
},
|
|
{
|
|
"name": "Content-Language",
|
|
"value": " en-US"
|
|
}
|
|
],
|
|
"type": "multipart/alternative",
|
|
"language": [
|
|
"en-US"
|
|
],
|
|
"subParts": [
|
|
{
|
|
"partId": "1",
|
|
"blobId": "blob_0",
|
|
"size": 30,
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": " text/plain; charset=utf-8; format=flowed"
|
|
},
|
|
{
|
|
"name": "Content-Transfer-Encoding",
|
|
"value": " 7bit"
|
|
}
|
|
],
|
|
"type": "text/plain",
|
|
"charset": "utf-8"
|
|
},
|
|
{
|
|
"partId": "2",
|
|
"blobId": "blob_1",
|
|
"size": 173,
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": " text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Transfer-Encoding",
|
|
"value": " 7bit"
|
|
}
|
|
],
|
|
"type": "text/html",
|
|
"charset": "utf-8"
|
|
}
|
|
]
|
|
},
|
|
"bodyValues": {
|
|
"1": {
|
|
"value": "This is an *HTML* test message",
|
|
"isEncodingProblem": false,
|
|
"isTruncated": false
|
|
},
|
|
"2": {
|
|
"value": "<html>\n <head>\n <meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\">\n </head>...",
|
|
"isEncodingProblem": false,
|
|
"isTruncated": true
|
|
}
|
|
},
|
|
"textBody": [
|
|
{
|
|
"partId": "1",
|
|
"blobId": "blob_0",
|
|
"size": 30,
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": " text/plain; charset=utf-8; format=flowed"
|
|
},
|
|
{
|
|
"name": "Content-Transfer-Encoding",
|
|
"value": " 7bit"
|
|
}
|
|
],
|
|
"type": "text/plain",
|
|
"charset": "utf-8"
|
|
}
|
|
],
|
|
"htmlBody": [
|
|
{
|
|
"partId": "2",
|
|
"blobId": "blob_1",
|
|
"size": 173,
|
|
"headers": [
|
|
{
|
|
"name": "Content-Type",
|
|
"value": " text/html; charset=utf-8"
|
|
},
|
|
{
|
|
"name": "Content-Transfer-Encoding",
|
|
"value": " 7bit"
|
|
}
|
|
],
|
|
"type": "text/html",
|
|
"charset": "utf-8"
|
|
}
|
|
],
|
|
"attachments": [],
|
|
"hasAttachment": false,
|
|
"preview": "This is an *HTML* test message"
|
|
} |