Browse Source

Fix: Add missing parameter

Reviewed-by: Manos Pitsidianakis <epilys@nessuent.xyz>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
tags/pre-alpha-0.4.0
Matthias Beyer 3 months ago
parent
commit
fa29aec83d
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      testing/src/email_parse.rs

+ 1
- 1
testing/src/email_parse.rs View File

@@ -13,7 +13,7 @@ fn main() -> Result<()> {
"Something went wrong reading the file {}",
filename.display()
));
let env = Envelope::from_bytes(&buffer.as_bytes()).expect("Couldn't parse email");
let env = Envelope::from_bytes(&buffer.as_bytes(), None).expect("Couldn't parse email");
debug!("Env is {:#?}", env);
debug!(env.body_bytes(buffer.as_bytes()));
} else {

Loading…
Cancel
Save