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:
@ -18,7 +18,7 @@ func TestUnselect(t *testing.T) {
|
||||
tc.transactf("no", "fetch 1 all") // Invalid when not selected.
|
||||
|
||||
tc.client.Select("inbox")
|
||||
tc.client.Append("inbox", nil, nil, []byte(exampleMsg))
|
||||
tc.client.Append("inbox", makeAppend(exampleMsg))
|
||||
tc.client.StoreFlagsAdd("1", true, `\Deleted`)
|
||||
tc.transactf("ok", "unselect")
|
||||
tc.transactf("ok", "status inbox (messages)")
|
||||
|
Reference in New Issue
Block a user