try fix incoming text/html in multipart/mixed

This commit is contained in:
holger krekel
2019-12-07 08:16:19 +01:00
parent f32876708a
commit 9e2a96675d
3 changed files with 16 additions and 35 deletions

View File

@@ -525,6 +525,12 @@ impl<'a, 'b> MimeFactory<'a, 'b> {
outer_message = outer_message.header(header);
}
if std::env::var(crate::DCC_MIME_DEBUG).is_ok() {
info!(self.context, "mimefactory: outgoing message mime:");
let raw_message = message.clone().build().as_string();
println!("{}", raw_message);
}
let encrypted =
encrypt_helper.encrypt(self.context, min_verified, message, &peerstates)?;