imap continuations must have a space after the "+"

prevented at least the gmail/mail (?) android app from appending a sent message
to the sent mailbox.
This commit is contained in:
Mechiel Lukkien
2023-07-24 19:54:55 +02:00
parent bc62aae0e6
commit cc4ecf2927
4 changed files with 5 additions and 5 deletions

View File

@ -512,7 +512,7 @@ func TestScenario(t *testing.T) {
tc.transactf("ok", "append inbox (\\seen) {%d+}\r\n%s", len(exampleMsg), exampleMsg)
tc.transactf("no", "append bogus () {%d}", len(exampleMsg))
tc.cmdf("", "append inbox () {%d}", len(exampleMsg))
tc.readprefixline("+")
tc.readprefixline("+ ")
_, err := tc.conn.Write([]byte(exampleMsg + "\r\n"))
tc.check(err, "write message")
tc.response("ok")