mirror of
https://github.com/mjl-/mox.git
synced 2025-07-19 03:26:37 +03:00
imapclient: add a type Append for messages for the APPEND-command, and accept multiple for servers with MULTIAPPEND capability
and a few nits.
This commit is contained in:
@ -54,7 +54,7 @@ func TestDelete(t *testing.T) {
|
||||
|
||||
// Let's try again with a message present.
|
||||
tc.client.Create("msgs", nil)
|
||||
tc.client.Append("msgs", nil, nil, []byte(exampleMsg))
|
||||
tc.client.Append("msgs", makeAppend(exampleMsg))
|
||||
tc.transactf("ok", "delete msgs")
|
||||
|
||||
// Delete for inbox/* is allowed.
|
||||
|
Reference in New Issue
Block a user