RFC9698 - JMAPACCESS Extension for IMAP

This commit is contained in:
mdecimus
2025-05-16 16:44:37 +02:00
parent 10bb4e5661
commit cee4149ef4
15 changed files with 18 additions and 24 deletions

View File

@@ -1019,9 +1019,7 @@ impl Iterator for Mailbox {
internal_date: m.internal_date(),
contents: m.unwrap_contents(),
})
.map_err(|_| {
io::Error::new(io::ErrorKind::Other, "Failed to parse from mbox file.")
})
.map_err(|_| std::io::Error::other("Failed to parse from mbox file."))
}),
Mailbox::Maildir(it) => it.next().map(|r| {
r.map(|m| Message {