Commit Graph
2 Commits
Author SHA1 Message Date
Daniel Eggert f1dd8b2cba Add ResponseText.Text for response text
`.no(.init(text: "No mailbox x\r\n* BYE pwned"))` was written verbatim,
injecting an untagged response; likewise tagged, BYE, PREAUTH and
continuation responses.

RFC 9051: `text = 1*(TEXT-CHAR / UTF8-2 / UTF8-3 / UTF8-4)`. New
`ResponseText.Text` replaces the `String`; `init?(_:)` rejects NUL, CR,
LF and a leading space (the parser skips it), literals trap. Empty stays
valid. The parser now accepts UTF-8 text.
2026-10-29 15:51:38 +01:00
Daniel Eggert 6c8cfaddcc Add a imperative IMAP client and an imap-tool CLI (#841) 2026-09-25 16:16:41 +01:00