-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SMTP: Unifying output of multipart metadata
- Loading branch information
Lucas Hinderberger
committed
Jul 2, 2024
1 parent
696cbef
commit deee3f5
Showing
2 changed files
with
65 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2713,7 +2713,30 @@ the corresponding index is made available as JSON: | |
}, | ||
"idx": 1, | ||
"isMultipart": true, | ||
"receivedAt": "2024-07-02T11:23:31.212523916+02:00", | ||
"multiparts": [ | ||
{ | ||
"bodySize": 15, | ||
"headers": { | ||
"Content-Type": [ | ||
"text/plain; charset=utf-8" | ||
] | ||
}, | ||
"idx": 0, | ||
"isMultipart": false | ||
}, | ||
{ | ||
"bodySize": 39, | ||
"headers": { | ||
"Content-Type": [ | ||
"text/html; charset=utf-8" | ||
] | ||
}, | ||
"idx": 1, | ||
"isMultipart": false | ||
} | ||
], | ||
"multipartsCount": 2, | ||
"receivedAt": "2024-07-02T11:44:32.767921301+02:00", | ||
"smtpFrom": "[email protected]", | ||
"smtpRcptTo": [ | ||
"[email protected]" | ||
|
@@ -2745,7 +2768,6 @@ following schema: | |
|
||
```json | ||
{ | ||
"count": 2, | ||
"multiparts": [ | ||
{ | ||
"bodySize": 15, | ||
|
@@ -2754,6 +2776,7 @@ following schema: | |
"text/plain; charset=utf-8" | ||
] | ||
}, | ||
"idx": 0, | ||
"isMultipart": false | ||
}, | ||
{ | ||
|
@@ -2763,9 +2786,11 @@ following schema: | |
"text/html; charset=utf-8" | ||
] | ||
}, | ||
"idx": 1, | ||
"isMultipart": false | ||
} | ||
] | ||
], | ||
"multipartsCount": 2 | ||
} | ||
``` | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters