diff options
Diffstat (limited to 'src/mail')
-rw-r--r-- | src/mail/mailbox.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mail/mailbox.rs b/src/mail/mailbox.rs index 4a7d712..fe36a14 100644 --- a/src/mail/mailbox.rs +++ b/src/mail/mailbox.rs @@ -315,10 +315,9 @@ impl MailboxInternal { }, async { // Save mail meta - let mail_root = mail.parsed.imf; let meta = MailMeta { internaldate: now_msec(), - headers: vec![], + headers: mail.parsed.raw_headers.to_vec(), message_key: message_key.clone(), rfc822_size: mail.raw.len(), }; @@ -368,10 +367,9 @@ impl MailboxInternal { }, async { // Save mail meta - let mail_root = mail.parsed.imf; let meta = MailMeta { internaldate: now_msec(), - headers: vec![], //@FIXME we need to put the headers part + headers: mail.parsed.raw_headers.to_vec(), message_key: message_key.clone(), rfc822_size: mail.raw.len(), }; |