Bounded byte-stream mboxrd archive decoding, Maildir storage and MoonMIME integration
///|
test "Maildir flag updates preserve unique identity" {
let n = @mailbox.parse_maildir_name("123.host")
let updated = n.with_flags("RS")
assert_eq(updated.unique, "123.host")
assert_eq(updated.encode(), "123.host:2,RS")
assert_true(
try {
ignore(n.with_flags("?"))
false
} catch {
_ => true
},
)
}pub struct MboxrdDecoder {
// private fields
}fn MboxrdDecoder::new(max_message_bytes? : Int, max_line_bytes? : Int) -> MboxrdDecoder raise MailboxErrorInstall
Download zipBounded byte-stream mboxrd archive decoding, Maildir storage and MoonMIME integration