add "RcptTo" to webapi MessageGet result

otherwise, if the recipient was a bcc, there's no good way to see why the
message was received.

incoming webhooks already have this rcptto field, but that's not always the
moment you want to process it.

for mattanja on matrix, thanks for reporting!
This commit is contained in:
Mechiel Lukkien
2024-09-30 10:43:48 +02:00
parent a7bdc41cd4
commit b0c4b09010
4 changed files with 13 additions and 5 deletions

View File

@ -249,9 +249,10 @@ Get a message in parsed form:
"\$notjunk",
"\\seen"
],
"MailFrom": "",
"MailFrom": "mox@localhost",
"RcptTo": "mox@localhost",
"MailFromValidated": false,
"MsgFrom": "",
"MsgFrom": "mox@localhost",
"MsgFromValidated": false,
"DKIMVerifiedDomains": [],
"RemoteIP": "",