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:
@ -342,7 +342,7 @@ func TestAuthenticateTLSClientCert(t *testing.T) {
|
||||
tc.client.Enable("imap4rev2")
|
||||
received, err := time.Parse(time.RFC3339, "2022-11-16T10:01:00+01:00")
|
||||
tc.check(err, "parse time")
|
||||
tc.client.Append("inbox", nil, &received, []byte(exampleMsg))
|
||||
tc.client.Append("inbox", makeAppendTime(exampleMsg, received))
|
||||
tc.client.Select("inbox")
|
||||
tc.close()
|
||||
|
||||
|
Reference in New Issue
Block a user