aboutsummaryrefslogtreecommitdiff
path: root/src/imap/mailbox_view.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/imap/mailbox_view.rs')
-rw-r--r--src/imap/mailbox_view.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/imap/mailbox_view.rs b/src/imap/mailbox_view.rs
index 9a956b6..e1ea516 100644
--- a/src/imap/mailbox_view.rs
+++ b/src/imap/mailbox_view.rs
@@ -246,6 +246,11 @@ impl MailboxView {
IString::Literal(meta.headers.clone().try_into().unwrap()),
))))
}
+ FetchAttribute::Rfc822 => {
+ attributes.push(MessageAttribute::Rfc822(NString(Some(
+ IString::Literal(body.as_ref().unwrap().clone().try_into().unwrap()),
+ ))))
+ }
FetchAttribute::Envelope => {
attributes.push(MessageAttribute::Envelope(message_envelope(&parsed)))
}
@@ -260,7 +265,6 @@ impl MailboxView {
}));
}
- tracing::info!("Fetch result: {:?}", ret);
Ok(ret)
}