mirror of
https://github.com/mjl-/mox.git
synced 2025-07-10 08:34:40 +03:00
in webmail & webapisrv, store bcc header in sent messages
when sending a message with bcc's, prepend the bcc header to the message we store in the sent folder. still not in the message we send to the recipients.
This commit is contained in:
@ -382,7 +382,6 @@ func TestServer(t *testing.T) {
|
||||
msgRes, err := client.MessageGet(ctxbg, webapi.MessageGetRequest{MsgID: 1})
|
||||
tcheckf(t, err, "remove suppressed address")
|
||||
sentMsg := sendReq.Message
|
||||
sentMsg.BCC = []webapi.NameAddress{} // todo: the Sent message should contain the BCC. for webmail too.
|
||||
sentMsg.Date = msgRes.Message.Date
|
||||
sentMsg.HTML += "\n"
|
||||
tcompare(t, msgRes.Message, sentMsg)
|
||||
|
Reference in New Issue
Block a user