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:
@ -59,7 +59,7 @@ func testSelectExamine(t *testing.T, examine bool) {
|
||||
tc.xcode(okcode)
|
||||
|
||||
// Append a message. It will be reported as UNSEEN.
|
||||
tc.client.Append("inbox", nil, nil, []byte(exampleMsg))
|
||||
tc.client.Append("inbox", makeAppend(exampleMsg))
|
||||
tc.transactf("ok", "%s inbox", cmd)
|
||||
tc.xuntagged(uclosed, uflags, upermflags, urecent, uunseen, uexists1, uuidval1, uuidnext2, ulist)
|
||||
tc.xcode(okcode)
|
||||
|
Reference in New Issue
Block a user