From d495538d55c723d8a088c32327258ce10c555a2e Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Sat, 6 Jan 2024 14:45:26 +0100 Subject: Stop dumping parsed emails in the logs --- src/mail/mod.rs | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/mail') diff --git a/src/mail/mod.rs b/src/mail/mod.rs index 1836052..bb2f130 100644 --- a/src/mail/mod.rs +++ b/src/mail/mod.rs @@ -22,9 +22,6 @@ impl<'a> TryFrom<&'a [u8]> for IMF<'a> { type Error = (); fn try_from(body: &'a [u8]) -> Result, ()> { - eprintln!("---- BEGIN PARSED MESSAGE ----"); - let _ = std::io::stderr().write_all(body); - eprintln!("---- END PARSED MESSAGE ----"); let parsed = eml_codec::parse_message(body).or(Err(()))?.1; Ok(Self { raw: body, parsed }) } -- cgit v1.2.3