Skip to content

Commit

Permalink
add missing envelope property to
Browse files Browse the repository at this point in the history
  • Loading branch information
soywod committed Mar 10, 2024
1 parent 2566d45 commit 362a5ca
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/email/envelope/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ pub struct Envelope {
pub flags: Flags,
pub subject: String,
pub from: Mailbox,
pub to: Mailbox,
pub date: String,
}

Expand Down Expand Up @@ -96,6 +97,10 @@ impl Envelopes {
name: envelope.from.name.clone(),
addr: envelope.from.addr.clone(),
},
to: Mailbox {
name: envelope.to.name.clone(),
addr: envelope.to.addr.clone(),
},
date: envelope.format_date(config),
})
})
Expand Down

0 comments on commit 362a5ca

Please sign in to comment.